gda-connection-private.h | gda-connection-private.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#include <libgda/gda-meta-store.h> | #include <libgda/gda-meta-store.h> | |||
#include <providers-support/gda-pstmt.h> | #include <providers-support/gda-pstmt.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
/* | /* | |||
* Provider's specific connection data management | * Provider's specific connection data management | |||
*/ | */ | |||
void gda_connection_internal_set_provider_data (GdaConnection *cnc, gpo inter data, GDestroyNotify destroy_func); | void gda_connection_internal_set_provider_data (GdaConnection *cnc, gpo inter data, GDestroyNotify destroy_func); | |||
gpointer gda_connection_internal_get_provider_data (GdaConnection *cnc); | gpointer gda_connection_internal_get_provider_data (GdaConnection *cnc); | |||
gpointer gda_connection_internal_get_provider_data_error (GdaConnection *cn c, GError **error); | ||||
/* | /* | |||
* Connection's events | * Connection's events | |||
*/ | */ | |||
GdaConnectionEvent *gda_connection_point_available_event(GdaConnection *cn c, GdaConnectionEventType type); | GdaConnectionEvent *gda_connection_point_available_event(GdaConnection *cn c, GdaConnectionEventType type); | |||
void gda_connection_add_event (GdaConnection *cn c, GdaConnectionEvent *event); | void gda_connection_add_event (GdaConnection *cn c, GdaConnectionEvent *event); | |||
GdaConnectionEvent *gda_connection_add_event_string (GdaConnection *cn c, const gchar *str, ...); | GdaConnectionEvent *gda_connection_add_event_string (GdaConnection *cn c, const gchar *str, ...); | |||
void gda_connection_clear_events_list (GdaConnection *cn c); | void gda_connection_clear_events_list (GdaConnection *cn c); | |||
/* | /* | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
gda-connection.h | gda-connection.h | |||
---|---|---|---|---|
skipping to change at line 275 | skipping to change at line 275 | |||
GDA_CONNECTION_META_FIELDS, | GDA_CONNECTION_META_FIELDS, | |||
GDA_CONNECTION_META_INDEXES | GDA_CONNECTION_META_INDEXES | |||
} GdaConnectionMetaType; | } GdaConnectionMetaType; | |||
GType gda_connection_get_type (void) G_GNUC_CONS T; | GType gda_connection_get_type (void) G_GNUC_CONS T; | |||
GdaConnection *gda_connection_open_from_dsn (const gchar *dsn, const gchar *auth_string, | GdaConnection *gda_connection_open_from_dsn (const gchar *dsn, const gchar *auth_string, | |||
GdaConnectionOptio ns options, GError **error); | GdaConnectionOptio ns options, GError **error); | |||
GdaConnection *gda_connection_open_from_string (const gchar *prov ider_name, | GdaConnection *gda_connection_open_from_string (const gchar *prov ider_name, | |||
const gchar *cnc_s tring, const gchar *auth_string, | const gchar *cnc_s tring, const gchar *auth_string, | |||
GdaConnectionOptio ns options, GError **error); | GdaConnectionOptio ns options, GError **error); | |||
GdaConnection *gda_connection_new_from_dsn (const gchar *dsn, | ||||
const gchar *auth_string, | ||||
GdaConnectionOptio | ||||
ns options, GError **error); | ||||
GdaConnection *gda_connection_new_from_string (const gchar *prov | ||||
ider_name, | ||||
const gchar *cnc_s | ||||
tring, const gchar *auth_string, | ||||
GdaConnectionOptio | ||||
ns options, GError **error); | ||||
gboolean gda_connection_open (GdaConnection *cn c, GError **error); | gboolean gda_connection_open (GdaConnection *cn c, GError **error); | |||
void gda_connection_close (GdaConnection *cn c); | void gda_connection_close (GdaConnection *cn c); | |||
void gda_connection_close_no_warning (GdaConnection *cn c); | void gda_connection_close_no_warning (GdaConnection *cn c); | |||
gboolean gda_connection_is_opened (GdaConnection *cn c); | gboolean gda_connection_is_opened (GdaConnection *cn c); | |||
GdaConnectionOptions gda_connection_get_options (GdaConnection *cn c); | GdaConnectionOptions gda_connection_get_options (GdaConnection *cn c); | |||
GdaServerProvider *gda_connection_get_provider (GdaConnection *cn c); | GdaServerProvider *gda_connection_get_provider (GdaConnection *cn c); | |||
const gchar *gda_connection_get_provider_name (GdaConnection *cn c); | const gchar *gda_connection_get_provider_name (GdaConnection *cn c); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 10 lines changed or added | |||
gda-decl.h | gda-decl.h | |||
---|---|---|---|---|
skipping to change at line 137 | skipping to change at line 137 | |||
typedef struct _GdaTreeNodeClass GdaTreeNodeClass; | typedef struct _GdaTreeNodeClass GdaTreeNodeClass; | |||
typedef struct _GdaTreeNodePrivate GdaTreeNodePrivate; | typedef struct _GdaTreeNodePrivate GdaTreeNodePrivate; | |||
/* | /* | |||
* Win32 adaptations | * Win32 adaptations | |||
*/ | */ | |||
#ifdef G_OS_WIN32 | #ifdef G_OS_WIN32 | |||
#define strtok_r(s,d,p) strtok(s,d) | #define strtok_r(s,d,p) strtok(s,d) | |||
#endif | #endif | |||
/* | ||||
* | ||||
*/ | ||||
#ifndef GSEAL | ||||
/* introduce GSEAL() here for all API without the need to modify GDA */ | ||||
# ifdef GSEAL_ENABLE | ||||
# define GSEAL(ident) _g_sealed__ ## ident | ||||
# else | ||||
# define GSEAL(ident) ident | ||||
# endif | ||||
#endif /* !GSEAL */ | ||||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 14 lines changed or added | |||
gda-value.h | gda-value.h | |||
---|---|---|---|---|
skipping to change at line 76 | skipping to change at line 76 | |||
/** | /** | |||
* GdaGeometricPoint: | * GdaGeometricPoint: | |||
* @x: | * @x: | |||
* @y: | * @y: | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
gdouble x; | gdouble x; | |||
gdouble y; | gdouble y; | |||
} GdaGeometricPoint; | } GdaGeometricPoint; | |||
typedef struct _GdaNumeric GdaNumeric; | ||||
# ifdef GSEAL_ENABLE | ||||
# else | ||||
/** | /** | |||
* GdaNumeric: | * GdaNumeric: | |||
* @number: | * @number: a string representing a number | |||
* @precision: | * @precision: precision to use when @number is converted (not implemented | |||
* @width: | jet) | |||
* @width: (not implemented jet) | ||||
* | ||||
* Holds numbers represented as strings. | ||||
* | ||||
* This struct must be considered as opaque. Any access to its members must | ||||
use its | ||||
* accessors added since version 5.0.2. | ||||
* | ||||
* Set value func: gda_value_set_numeric | ||||
* Get value func: gda_value_get_numeric | ||||
*/ | */ | |||
typedef struct { | struct _GdaNumeric { | |||
gchar *number; | gchar* GSEAL(number); | |||
glong precision; | glong GSEAL(precision); | |||
glong width; | glong GSEAL(width); | |||
/*< private >*/ | /*< private >*/ | |||
gpointer reserved; /* reserved for future usage with GMP (http://gmp lib.org/) */ | gpointer reserved; /* reserved for future usage with GMP (http://gmp lib.org/) */ | |||
} GdaNumeric; | }; | |||
#endif | ||||
/** | /** | |||
* GdaTime: | * GdaTime: | |||
* @hour: | * @hour: | |||
* @minute: | * @minute: | |||
* @second: | * @second: | |||
* @fraction: | * @fraction: | |||
* @timezone: | * @timezone: | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
skipping to change at line 254 | skipping to change at line 266 | |||
GdaBinary *gda_string_to_binary (const gchar *str); | GdaBinary *gda_string_to_binary (const gchar *str); | |||
gchar *gda_blob_to_string (GdaBlob *blob, guint maxlen); | gchar *gda_blob_to_string (GdaBlob *blob, guint maxlen); | |||
GdaBlob *gda_string_to_blob (const gchar *str); | GdaBlob *gda_string_to_blob (const gchar *str); | |||
/* Custom data types */ | /* Custom data types */ | |||
GType gda_null_get_type (void) G_GNUC_CONST; | GType gda_null_get_type (void) G_GNUC_CONST; | |||
GType gda_default_get_type (void) G_GNUC_CONST; | GType gda_default_get_type (void) G_GNUC_CONST; | |||
GType gda_numeric_get_type (void) G_GNUC_CONST; | GType gda_numeric_get_type (void) G_GNUC_CONST; | |||
gpointer gda_numeric_copy (gpointer boxed); | GdaNumeric* gda_numeric_new (void); | |||
void gda_numeric_free (gpointer boxed); | GdaNumeric* gda_numeric_copy (GdaNumeric *src); | |||
void gda_numeric_set_from_string (GdaNumeric * | ||||
numeric, const gchar* str); | ||||
void gda_numeric_set_double (GdaNumeric *numer | ||||
ic, gdouble number); | ||||
gdouble gda_numeric_get_double (GdaNumeric *numer | ||||
ic); | ||||
void gda_numeric_set_precision (GdaNumeric *nu | ||||
meric, glong precision); | ||||
glong gda_numeric_get_precision (GdaNumeric *nu | ||||
meric); | ||||
void gda_numeric_set_width (GdaNumeric *numeri | ||||
c, glong width); | ||||
glong gda_numeric_get_width (GdaNumeric *numeri | ||||
c); | ||||
gchar* gda_numeric_get_string (GdaNumeric *numer | ||||
ic); | ||||
void gda_numeric_free (GdaNumeric *numeric); | ||||
GType gda_time_get_type (void) G_GNUC_CONST; | GType gda_time_get_type (void) G_GNUC_CONST; | |||
gpointer gda_time_copy (gpointer boxed); | gpointer gda_time_copy (gpointer boxed); | |||
void gda_time_free (gpointer boxed); | void gda_time_free (gpointer boxed); | |||
gboolean gda_time_valid (const GdaTime *time); | gboolean gda_time_valid (const GdaTime *time); | |||
GType gda_timestamp_get_type (void) G_GNUC_CONS T; | GType gda_timestamp_get_type (void) G_GNUC_CONS T; | |||
gpointer gda_timestamp_copy (gpointer boxed); | gpointer gda_timestamp_copy (gpointer boxed); | |||
void gda_timestamp_free (gpointer boxed); | void gda_timestamp_free (gpointer boxed); | |||
gboolean gda_timestamp_valid (const GdaTimestamp * timestamp); | gboolean gda_timestamp_valid (const GdaTimestamp * timestamp); | |||
End of changes. 5 change blocks. | ||||
10 lines changed or deleted | 41 lines changed or added | |||