| gda-column.h | | gda-column.h | |
| | | | |
| skipping to change at line 89 | | skipping to change at line 89 | |
| | | | |
| const GValue *gda_column_get_default_value (GdaColumn *column); | | const GValue *gda_column_get_default_value (GdaColumn *column); | |
| void gda_column_set_default_value (GdaColumn *column, const GVa
lue *default_value); | | void gda_column_set_default_value (GdaColumn *column, const GVa
lue *default_value); | |
| | | | |
| const GValue *gda_column_get_attribute (GdaColumn *column, const gch
ar *attribute); | | const GValue *gda_column_get_attribute (GdaColumn *column, const gch
ar *attribute); | |
| void gda_column_set_attribute (GdaColumn *column, const gch
ar *attribute, const GValue *value, | | void gda_column_set_attribute (GdaColumn *column, const gch
ar *attribute, const GValue *value, | |
| GDestroyNotify destroy); | | GDestroyNotify destroy); | |
| | | | |
| /** | | /** | |
| * gda_column_set_attribute_static | | * gda_column_set_attribute_static | |
|
| | | * @holder: a #GdaHolder | |
| | | * @attribute: attribute's name | |
| | | * @value: the value to set the attribute to, or %NULL | |
| * | | * | |
| * This function is similar to gda_column_set_attribute() but for static st
rings | | * This function is similar to gda_column_set_attribute() but for static st
rings | |
| */ | | */ | |
| #define gda_column_set_attribute_static(holder,attribute,value) gda_column_
set_attribute((holder),(attribute),(value),NULL) | | #define gda_column_set_attribute_static(holder,attribute,value) gda_column_
set_attribute((holder),(attribute),(value),NULL) | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|
| gda-data-handler.h | | gda-data-handler.h | |
| | | | |
| skipping to change at line 47 | | skipping to change at line 47 | |
| { | | { | |
| GTypeInterface g_iface; | | GTypeInterface g_iface; | |
| | | | |
| /* virtual table */ | | /* virtual table */ | |
| gchar *(* get_sql_from_value) (GdaDataHandler *dh, const G
Value *value); | | gchar *(* get_sql_from_value) (GdaDataHandler *dh, const G
Value *value); | |
| gchar *(* get_str_from_value) (GdaDataHandler *dh, const G
Value *value); | | gchar *(* get_str_from_value) (GdaDataHandler *dh, const G
Value *value); | |
| GValue *(* get_value_from_sql) (GdaDataHandler *dh, const g
char *sql, GType type); | | GValue *(* get_value_from_sql) (GdaDataHandler *dh, const g
char *sql, GType type); | |
| GValue *(* get_value_from_str) (GdaDataHandler *dh, const g
char *str, GType type); | | GValue *(* get_value_from_str) (GdaDataHandler *dh, const g
char *str, GType type); | |
| GValue *(* get_sane_init_value) (GdaDataHandler *dh, GType t
ype); | | GValue *(* get_sane_init_value) (GdaDataHandler *dh, GType t
ype); | |
| | | | |
|
| guint (* get_nb_g_types) (GdaDataHandler *dh); | | | |
| GType (* get_g_type_index) (GdaDataHandler *dh, guint i | | | |
| ndex); | | | |
| gboolean (* accepts_g_type) (GdaDataHandler *dh, GType t
ype); | | gboolean (* accepts_g_type) (GdaDataHandler *dh, GType t
ype); | |
| const gchar *(* get_descr) (GdaDataHandler *dh); | | const gchar *(* get_descr) (GdaDataHandler *dh); | |
| }; | | }; | |
| | | | |
| GType gda_data_handler_get_type (void) G_GNUC_CONST; | | GType gda_data_handler_get_type (void) G_GNUC_CONST; | |
| | | | |
| /* Simple data manipulation */ | | /* Simple data manipulation */ | |
| gchar *gda_data_handler_get_sql_from_value (GdaDataHandler *dh,
const GValue *value); | | gchar *gda_data_handler_get_sql_from_value (GdaDataHandler *dh,
const GValue *value); | |
| gchar *gda_data_handler_get_str_from_value (GdaDataHandler *dh,
const GValue *value); | | gchar *gda_data_handler_get_str_from_value (GdaDataHandler *dh,
const GValue *value); | |
| GValue *gda_data_handler_get_value_from_sql (GdaDataHandler *dh,
const gchar *sql, GType type); | | GValue *gda_data_handler_get_value_from_sql (GdaDataHandler *dh,
const gchar *sql, GType type); | |
| GValue *gda_data_handler_get_value_from_str (GdaDataHandler *dh,
const gchar *str, GType type); | | GValue *gda_data_handler_get_value_from_str (GdaDataHandler *dh,
const gchar *str, GType type); | |
| GValue *gda_data_handler_get_sane_init_value (GdaDataHandler *dh,
GType type); | | GValue *gda_data_handler_get_sane_init_value (GdaDataHandler *dh,
GType type); | |
| | | | |
| /* information about the data handler itself */ | | /* information about the data handler itself */ | |
|
| guint gda_data_handler_get_nb_g_types (GdaDataHandler *dh) | | | |
| ; | | | |
| GType gda_data_handler_get_g_type_index (GdaDataHandler *dh, | | | |
| guint index); | | | |
| gboolean gda_data_handler_accepts_g_type (GdaDataHandler *dh,
GType type); | | gboolean gda_data_handler_accepts_g_type (GdaDataHandler *dh,
GType type); | |
| const gchar *gda_data_handler_get_descr (GdaDataHandler *dh)
; | | const gchar *gda_data_handler_get_descr (GdaDataHandler *dh)
; | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 7 lines changed or deleted | | 0 lines changed or added | |
|
| gda-data-model.h | | gda-data-model.h | |
| | | | |
| skipping to change at line 69 | | skipping to change at line 69 | |
| GDA_DATA_MODEL_HINT_START_BATCH_UPDATE, | | GDA_DATA_MODEL_HINT_START_BATCH_UPDATE, | |
| GDA_DATA_MODEL_HINT_END_BATCH_UPDATE, | | GDA_DATA_MODEL_HINT_END_BATCH_UPDATE, | |
| GDA_DATA_MODEL_HINT_REFRESH | | GDA_DATA_MODEL_HINT_REFRESH | |
| } GdaDataModelHint; | | } GdaDataModelHint; | |
| | | | |
| typedef enum { | | typedef enum { | |
| GDA_DATA_MODEL_IO_DATA_ARRAY_XML, | | GDA_DATA_MODEL_IO_DATA_ARRAY_XML, | |
| GDA_DATA_MODEL_IO_TEXT_SEPARATED | | GDA_DATA_MODEL_IO_TEXT_SEPARATED | |
| } GdaDataModelIOFormat; | | } GdaDataModelIOFormat; | |
| | | | |
|
| enum { | | typedef enum { | |
| GDA_DATA_MODEL_ROW_OUT_OF_RANGE_ERROR, | | GDA_DATA_MODEL_ROW_OUT_OF_RANGE_ERROR, | |
| GDA_DATA_MODEL_COLUMN_OUT_OF_RANGE_ERROR, | | GDA_DATA_MODEL_COLUMN_OUT_OF_RANGE_ERROR, | |
| GDA_DATA_MODEL_VALUES_LIST_ERROR, | | GDA_DATA_MODEL_VALUES_LIST_ERROR, | |
| GDA_DATA_MODEL_VALUE_TYPE_ERROR, | | GDA_DATA_MODEL_VALUE_TYPE_ERROR, | |
| GDA_DATA_MODEL_ROW_NOT_FOUND_ERROR, | | GDA_DATA_MODEL_ROW_NOT_FOUND_ERROR, | |
| GDA_DATA_MODEL_ACCESS_ERROR, | | GDA_DATA_MODEL_ACCESS_ERROR, | |
| GDA_DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR, | | GDA_DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR, | |
| GDA_DATA_MODEL_FILE_EXIST_ERROR, | | GDA_DATA_MODEL_FILE_EXIST_ERROR, | |
| GDA_DATA_MODEL_XML_FORMAT_ERROR | | GDA_DATA_MODEL_XML_FORMAT_ERROR | |
|
| }; | | } GdaDataModelError; | |
| | | | |
| /* struct for the interface */ | | /* struct for the interface */ | |
| struct _GdaDataModelClass { | | struct _GdaDataModelClass { | |
| GTypeInterface g_iface; | | GTypeInterface g_iface; | |
| | | | |
| /* virtual table */ | | /* virtual table */ | |
| gint (* i_get_n_rows) (GdaDataModel *model); | | gint (* i_get_n_rows) (GdaDataModel *model); | |
| gint (* i_get_n_columns) (GdaDataModel *model); | | gint (* i_get_n_columns) (GdaDataModel *model); | |
| | | | |
| GdaColumn *(* i_describe_column) (GdaDataModel *model, gi
nt col); | | GdaColumn *(* i_describe_column) (GdaDataModel *model, gi
nt col); | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| gda-easy.h | | gda-easy.h | |
| | | | |
| skipping to change at line 90 | | skipping to change at line 90 | |
| */ | | */ | |
| GdaServerOperation *gda_prepare_create_table (GdaConnection *cnc, c
onst gchar *table_name, GError **error, ...); | | GdaServerOperation *gda_prepare_create_table (GdaConnection *cnc, c
onst gchar *table_name, GError **error, ...); | |
| gboolean gda_perform_create_table (GdaServerOperation *
op, GError **error); | | gboolean gda_perform_create_table (GdaServerOperation *
op, GError **error); | |
| GdaServerOperation *gda_prepare_drop_table (GdaConnection *cnc,
const gchar *table_name, GError **error); | | GdaServerOperation *gda_prepare_drop_table (GdaConnection *cnc,
const gchar *table_name, GError **error); | |
| gboolean gda_perform_drop_table (GdaServerOperation *
op, GError **error); | | gboolean gda_perform_drop_table (GdaServerOperation *
op, GError **error); | |
| | | | |
| /* | | /* | |
| * Data in tables manipulation | | * Data in tables manipulation | |
| */ | | */ | |
| gboolean gda_insert_row_into_table (GdaConnection *cnc, c
onst gchar *table, GError **error, ...); | | gboolean gda_insert_row_into_table (GdaConnection *cnc, c
onst gchar *table, GError **error, ...); | |
|
| | | gboolean gda_insert_row_into_table_v (GdaConnection *cnc, c | |
| | | onst gchar *table, | |
| | | GSList *col_names, GSL | |
| | | ist *values, | |
| | | GError **error); | |
| | | | |
| gboolean gda_update_row_in_table (GdaConnection *cnc, c
onst gchar *table, | | gboolean gda_update_row_in_table (GdaConnection *cnc, c
onst gchar *table, | |
| const gchar *condition
_column_name, | | const gchar *condition
_column_name, | |
| GValue *condition_valu
e, GError **error, ...); | | GValue *condition_valu
e, GError **error, ...); | |
|
| | | gboolean gda_update_row_in_table_v (GdaConnection *cnc, c | |
| | | onst gchar *table, | |
| | | const gchar *condition | |
| | | _column_name, | |
| | | GValue *condition_valu | |
| | | e, | |
| | | GSList *col_names, GSL | |
| | | ist *values, | |
| | | GError **error); | |
| gboolean gda_delete_row_from_table (GdaConnection *cnc, c
onst gchar *table, | | gboolean gda_delete_row_from_table (GdaConnection *cnc, c
onst gchar *table, | |
| const gchar *condition
_column_name, | | const gchar *condition
_column_name, | |
| GValue *condition_valu
e, GError **error); | | GValue *condition_valu
e, GError **error); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 15 lines changed or added | |
|
| gda-enum-types.h | | gda-enum-types.h | |
| | | | |
| skipping to change at line 39 | | skipping to change at line 39 | |
| #define GDA_TYPE_DATA_COMPARATOR_ERROR (gda_data_comparator_error_get_type(
)) | | #define GDA_TYPE_DATA_COMPARATOR_ERROR (gda_data_comparator_error_get_type(
)) | |
| GType gda_diff_type_get_type (void); | | GType gda_diff_type_get_type (void); | |
| #define GDA_TYPE_DIFF_TYPE (gda_diff_type_get_type()) | | #define GDA_TYPE_DIFF_TYPE (gda_diff_type_get_type()) | |
| /* enumerations from "gda-data-model.h" */ | | /* enumerations from "gda-data-model.h" */ | |
| GType gda_data_model_access_flags_get_type (void); | | GType gda_data_model_access_flags_get_type (void); | |
| #define GDA_TYPE_DATA_MODEL_ACCESS_FLAGS (gda_data_model_access_flags_get_t
ype()) | | #define GDA_TYPE_DATA_MODEL_ACCESS_FLAGS (gda_data_model_access_flags_get_t
ype()) | |
| GType gda_data_model_hint_get_type (void); | | GType gda_data_model_hint_get_type (void); | |
| #define GDA_TYPE_DATA_MODEL_HINT (gda_data_model_hint_get_type()) | | #define GDA_TYPE_DATA_MODEL_HINT (gda_data_model_hint_get_type()) | |
| GType gda_data_model_io_format_get_type (void); | | GType gda_data_model_io_format_get_type (void); | |
| #define GDA_TYPE_DATA_MODEL_IO_FORMAT (gda_data_model_io_format_get_type()) | | #define GDA_TYPE_DATA_MODEL_IO_FORMAT (gda_data_model_io_format_get_type()) | |
|
| | | GType gda_data_model_error_get_type (void); | |
| | | #define GDA_TYPE_DATA_MODEL_ERROR (gda_data_model_error_get_type()) | |
| /* enumerations from "gda-data-model-iter.h" */ | | /* enumerations from "gda-data-model-iter.h" */ | |
| GType gda_data_model_iter_error_get_type (void); | | GType gda_data_model_iter_error_get_type (void); | |
| #define GDA_TYPE_DATA_MODEL_ITER_ERROR (gda_data_model_iter_error_get_type(
)) | | #define GDA_TYPE_DATA_MODEL_ITER_ERROR (gda_data_model_iter_error_get_type(
)) | |
| /* enumerations from "gda-data-proxy.h" */ | | /* enumerations from "gda-data-proxy.h" */ | |
| GType gda_data_proxy_error_get_type (void); | | GType gda_data_proxy_error_get_type (void); | |
| #define GDA_TYPE_DATA_PROXY_ERROR (gda_data_proxy_error_get_type()) | | #define GDA_TYPE_DATA_PROXY_ERROR (gda_data_proxy_error_get_type()) | |
| /* enumerations from "gda-easy.h" */ | | /* enumerations from "gda-easy.h" */ | |
| GType gda_easy_error_get_type (void); | | GType gda_easy_error_get_type (void); | |
| #define GDA_TYPE_EASY_ERROR (gda_easy_error_get_type()) | | #define GDA_TYPE_EASY_ERROR (gda_easy_error_get_type()) | |
| GType gda_easy_create_table_flag_get_type (void); | | GType gda_easy_create_table_flag_get_type (void); | |
| | | | |
End of changes. 1 change blocks. |
| 0 lines changed or deleted | | 2 lines changed or added | |
|
| gda-holder.h | | gda-holder.h | |
| | | | |
| skipping to change at line 69 | | skipping to change at line 69 | |
| }; | | }; | |
| | | | |
| GType gda_holder_get_type (void) G_GNUC_CONST; | | GType gda_holder_get_type (void) G_GNUC_CONST; | |
| GdaHolder *gda_holder_new (GType type); | | GdaHolder *gda_holder_new (GType type); | |
| GdaHolder *gda_holder_new_inline (GType type, const g
char *id, ...); | | GdaHolder *gda_holder_new_inline (GType type, const g
char *id, ...); | |
| GdaHolder *gda_holder_copy (GdaHolder *orig); | | GdaHolder *gda_holder_copy (GdaHolder *orig); | |
| | | | |
| GType gda_holder_get_g_type (GdaHolder *holder); | | GType gda_holder_get_g_type (GdaHolder *holder); | |
| const gchar *gda_holder_get_id (GdaHolder *holder); | | const gchar *gda_holder_get_id (GdaHolder *holder); | |
| | | | |
|
| | | /** | |
| | | * gda_holder_new_string | |
| | | * @id: a string | |
| | | * @str: a string | |
| | | * | |
| | | * Creates a new boolean #GdaHolder object with an ID set to @id, and a val | |
| | | ue initialized to | |
| | | * @str. | |
| | | * | |
| | | * Returns: a new #GdaHolder | |
| | | */ | |
| #define gda_holder_new_string(id,str) gda_holder_new_inline (G_TYPE_STRING,
(id), (str)) | | #define gda_holder_new_string(id,str) gda_holder_new_inline (G_TYPE_STRING,
(id), (str)) | |
|
| | | | |
| | | /** | |
| | | * gda_holder_new_boolean | |
| | | * @id: a string | |
| | | * @abool: a boolean value | |
| | | * | |
| | | * Creates a new boolean #GdaHolder object with an ID set to @id, and a val | |
| | | ue initialized to | |
| | | * @abool. | |
| | | * | |
| | | * Returns: a new #GdaHolder | |
| | | */ | |
| #define gda_holder_new_boolean(id,abool) gda_holder_new_inline (G_TYPE_BOOL
EAN, (id), (abool)) | | #define gda_holder_new_boolean(id,abool) gda_holder_new_inline (G_TYPE_BOOL
EAN, (id), (abool)) | |
|
| | | | |
| | | /** | |
| | | * gda_holder_new_int | |
| | | * @id: a string | |
| | | * @anint: an int value | |
| | | * | |
| | | * Creates a new boolean #GdaHolder object with an ID set to @id, and a val | |
| | | ue initialized to | |
| | | * @anint. | |
| | | * | |
| | | * Returns: a new #GdaHolder | |
| | | */ | |
| #define gda_holder_new_int(id,anint) gda_holder_new_inline (G_TYPE_INT, (id
), (anint)) | | #define gda_holder_new_int(id,anint) gda_holder_new_inline (G_TYPE_INT, (id
), (anint)) | |
| | | | |
| const GValue *gda_holder_get_value (GdaHolder *holder); | | const GValue *gda_holder_get_value (GdaHolder *holder); | |
| gchar *gda_holder_get_value_str (GdaHolder *holder,
GdaDataHandler *dh); | | gchar *gda_holder_get_value_str (GdaHolder *holder,
GdaDataHandler *dh); | |
| gboolean gda_holder_set_value (GdaHolder *holder,
const GValue *value, GError **error); | | gboolean gda_holder_set_value (GdaHolder *holder,
const GValue *value, GError **error); | |
| gboolean gda_holder_take_value (GdaHolder *holder,
GValue *value, GError **error); | | gboolean gda_holder_take_value (GdaHolder *holder,
GValue *value, GError **error); | |
| GValue *gda_holder_take_static_value (GdaHolder *holder,
const GValue *value, gboolean *value_changed, GError **error); | | GValue *gda_holder_take_static_value (GdaHolder *holder,
const GValue *value, gboolean *value_changed, GError **error); | |
| gboolean gda_holder_set_value_str (GdaHolder *holder,
GdaDataHandler *dh, const gchar *value, GError **error); | | gboolean gda_holder_set_value_str (GdaHolder *holder,
GdaDataHandler *dh, const gchar *value, GError **error); | |
| | | | |
| const GValue *gda_holder_get_default_value (GdaHolder *holder); | | const GValue *gda_holder_get_default_value (GdaHolder *holder); | |
| | | | |
| skipping to change at line 104 | | skipping to change at line 136 | |
| | | | |
| gboolean gda_holder_set_bind (GdaHolder *holder,
GdaHolder *bind_to, GError **error); | | gboolean gda_holder_set_bind (GdaHolder *holder,
GdaHolder *bind_to, GError **error); | |
| GdaHolder *gda_holder_get_bind (GdaHolder *holder)
; | | GdaHolder *gda_holder_get_bind (GdaHolder *holder)
; | |
| | | | |
| const GValue *gda_holder_get_attribute (GdaHolder *holder,
const gchar *attribute); | | const GValue *gda_holder_get_attribute (GdaHolder *holder,
const gchar *attribute); | |
| void gda_holder_set_attribute (GdaHolder *holder,
const gchar *attribute, const GValue *value, | | void gda_holder_set_attribute (GdaHolder *holder,
const gchar *attribute, const GValue *value, | |
| GDestroyNotify dest
roy); | | GDestroyNotify dest
roy); | |
| | | | |
| /** | | /** | |
| * gda_holder_set_attribute_static | | * gda_holder_set_attribute_static | |
|
| | | * @holder: a #GdaHolder | |
| | | * @attribute: attribute's name | |
| | | * @value: a #GValue, or %NULL | |
| * | | * | |
| * This function is similar to gda_holder_set_attribute() but for static st
rings | | * This function is similar to gda_holder_set_attribute() but for static st
rings | |
| */ | | */ | |
| #define gda_holder_set_attribute_static(holder,attribute,value) gda_holder_
set_attribute((holder),(attribute),(value),NULL) | | #define gda_holder_set_attribute_static(holder,attribute,value) gda_holder_
set_attribute((holder),(attribute),(value),NULL) | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 0 lines changed or deleted | | 38 lines changed or added | |
|
| gda-meta-struct.h | | gda-meta-struct.h | |
| | | | |
| skipping to change at line 151 | | skipping to change at line 151 | |
| | | | |
| typedef struct { | | typedef struct { | |
| gchar *column_name; | | gchar *column_name; | |
| gchar *column_type; | | gchar *column_type; | |
| GType gtype; | | GType gtype; | |
| gboolean pkey; | | gboolean pkey; | |
| gboolean nullok; | | gboolean nullok; | |
| gchar *default_value; | | gchar *default_value; | |
| } GdaMetaTableColumn; | | } GdaMetaTableColumn; | |
| #define GDA_META_TABLE_COLUMN(x) ((GdaMetaTableColumn*)(x)) | | #define GDA_META_TABLE_COLUMN(x) ((GdaMetaTableColumn*)(x)) | |
|
| const GValue *gda_meta_table_column_get_attribute (GdaMetaTableColumn *tcol | | const GValue *gda_meta_table_column_get_attribute (GdaMetaTableColumn *tcol | |
| , const gchar *att_name); | | , const gchar *attribute); | |
| void gda_meta_table_column_set_attribute (GdaMetaTableColumn *tcol | | void gda_meta_table_column_set_attribute (GdaMetaTableColumn *tcol | |
| , const gchar *att_name, const GValue *value, | | , const gchar *attribute, const GValue *value, | |
| GDestroyNotify destroy); | | GDestroyNotify destroy); | |
| /** | | /** | |
| * gda_meta_table_column_set_attribute_static | | * gda_meta_table_column_set_attribute_static | |
|
| | | * @column: a #GdaMetaTableColumn | |
| | | * @attribute: attribute's name | |
| | | * @value: a #GValue, or %NULL | |
| * | | * | |
| * This function is similar to gda_meta_table_column_set_attribute() but fo
r static strings | | * This function is similar to gda_meta_table_column_set_attribute() but fo
r static strings | |
| */ | | */ | |
|
| #define gda_meta_table_column_set_attribute_static(holder,attribute,value)
gda_meta_table_column_set_attribute((holder),(attribute),(value),NULL) | | #define gda_meta_table_column_set_attribute_static(column,attribute,value)
gda_meta_table_column_set_attribute((column),(attribute),(value),NULL) | |
| | | | |
| void gda_meta_table_column_foreach_attribute (GdaMetaTableColumn *
tcol, GdaAttributesManagerFunc func, gpointer data); | | void gda_meta_table_column_foreach_attribute (GdaMetaTableColumn *
tcol, GdaAttributesManagerFunc func, gpointer data); | |
| | | | |
| typedef struct { | | typedef struct { | |
| GdaMetaDbObject *meta_table; | | GdaMetaDbObject *meta_table; | |
| GdaMetaDbObject *depend_on; | | GdaMetaDbObject *depend_on; | |
| | | | |
| gint cols_nb; | | gint cols_nb; | |
| gint *fk_cols_array; /* FK fields index */ | | gint *fk_cols_array; /* FK fields index */ | |
| gchar **fk_names_array; /* FK fields names */ | | gchar **fk_names_array; /* FK fields names */ | |
| | | | |
End of changes. 3 change blocks. |
| 5 lines changed or deleted | | 8 lines changed or added | |
|
| gda-server-provider-extra.h | | gda-server-provider-extra.h | |
| | | | |
| skipping to change at line 77 | | skipping to change at line 77 | |
| | | | |
| GdaDataHandler *gda_server_provider_handler_find (GdaServerProvi
der *prov, GdaConnection *cnc, | | GdaDataHandler *gda_server_provider_handler_find (GdaServerProvi
der *prov, GdaConnection *cnc, | |
| GType g_type, c
onst gchar *dbms_type); | | GType g_type, c
onst gchar *dbms_type); | |
| void gda_server_provider_handler_declare (GdaServerProvi
der *prov, GdaDataHandler *dh, | | void gda_server_provider_handler_declare (GdaServerProvi
der *prov, GdaDataHandler *dh, | |
| GdaConnection *
cnc, | | GdaConnection *
cnc, | |
| GType g_type, c
onst gchar *dbms_type); | | GType g_type, c
onst gchar *dbms_type); | |
| | | | |
| /* | | /* | |
| * misc | | * misc | |
| */ | | */ | |
|
| gboolean gda_server_provider_blob_list_for_update (GdaConnection | | | |
| *cnc, GdaStatement *query, | | | |
| GdaStatement ** | | | |
| out_select, GError **error); | | | |
| gboolean gda_server_provider_blob_list_for_delete (GdaConnection | | | |
| *cnc, GdaStatement *query, | | | |
| GdaStatement ** | | | |
| out_stmt, GError **error); | | | |
| gboolean gda_server_provider_split_update_query (GdaConnection | | | |
| *cnc, GdaStatement *query, | | | |
| GdaStatement ** | | | |
| out_stmt, GError **error); | | | |
| gboolean gda_server_provider_select_query_has_blobs (GdaConnection | | | |
| *cnc, GdaStatement *stmt, GError **error); | | | |
| | | | |
| gchar *gda_server_provider_find_file (GdaServerProvi
der *prov, const gchar *inst_dir, const gchar *filename); | | gchar *gda_server_provider_find_file (GdaServerProvi
der *prov, const gchar *inst_dir, const gchar *filename); | |
| gchar *gda_server_provider_load_file_contents (const gchar *i
nst_dir, const gchar *data_dir, const gchar *filename); | | gchar *gda_server_provider_load_file_contents (const gchar *i
nst_dir, const gchar *data_dir, const gchar *filename); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 15 lines changed or deleted | | 0 lines changed or added | |
|
| gda-set.h | | gda-set.h | |
| | | | |
| skipping to change at line 116 | | skipping to change at line 116 | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaSetClass | | struct _GdaSetClass | |
| { | | { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
| GError *(*validate_holder_change)(GdaSet *set, GdaHold
er *holder, const GValue *new_value); | | GError *(*validate_holder_change)(GdaSet *set, GdaHold
er *holder, const GValue *new_value); | |
| GError *(*validate_set) (GdaSet *set); | | GError *(*validate_set) (GdaSet *set); | |
| void (*holder_changed) (GdaSet *set, GdaHold
er *holder); | | void (*holder_changed) (GdaSet *set, GdaHold
er *holder); | |
| void (*holder_attr_changed) (GdaSet *set, GdaHold
er *holder, | | void (*holder_attr_changed) (GdaSet *set, GdaHold
er *holder, | |
|
| const gchar *attr_na
me, const GValue *value); | | const gchar *attr_na
me, const GValue *attr_value); | |
| void (*public_data_changed) (GdaSet *set); | | void (*public_data_changed) (GdaSet *set); | |
| }; | | }; | |
| | | | |
| GType gda_set_get_type (void) G_GNUC_CONST; | | GType gda_set_get_type (void) G_GNUC_CONST; | |
| GdaSet *gda_set_new (GSList *holders); | | GdaSet *gda_set_new (GSList *holders); | |
| GdaSet *gda_set_copy (GdaSet *set); | | GdaSet *gda_set_copy (GdaSet *set); | |
| GdaSet *gda_set_new_inline (gint nb, ...); | | GdaSet *gda_set_new_inline (gint nb, ...); | |
| | | | |
| GdaSet *gda_set_new_from_spec_string (const gchar *xml_spec, GErr
or **error); | | GdaSet *gda_set_new_from_spec_string (const gchar *xml_spec, GErr
or **error); | |
| GdaSet *gda_set_new_from_spec_node (xmlNodePtr xml_spec, GError
**error); | | GdaSet *gda_set_new_from_spec_node (xmlNodePtr xml_spec, GError
**error); | |
| | | | |
| gboolean gda_set_set_holder_value (GdaSet *set, GError **error
, const gchar *holder_id, ...); | | gboolean gda_set_set_holder_value (GdaSet *set, GError **error
, const gchar *holder_id, ...); | |
| const GValue *gda_set_get_holder_value (GdaSet *set, const gchar *h
older_id); | | const GValue *gda_set_get_holder_value (GdaSet *set, const gchar *h
older_id); | |
| GdaHolder *gda_set_get_holder (GdaSet *set, const gchar *h
older_id); | | GdaHolder *gda_set_get_holder (GdaSet *set, const gchar *h
older_id); | |
| gboolean gda_set_add_holder (GdaSet *set, GdaHolder *hol
der); | | gboolean gda_set_add_holder (GdaSet *set, GdaHolder *hol
der); | |
| void gda_set_remove_holder (GdaSet *set, GdaHolder *hol
der); | | void gda_set_remove_holder (GdaSet *set, GdaHolder *hol
der); | |
| void gda_set_merge_with_set (GdaSet *set, GdaSet *set_to
_merge); | | void gda_set_merge_with_set (GdaSet *set, GdaSet *set_to
_merge); | |
| gboolean gda_set_is_valid (GdaSet *set, GError **error
); | | gboolean gda_set_is_valid (GdaSet *set, GError **error
); | |
| | | | |
| /* public data lookup functions */ | | /* public data lookup functions */ | |
|
| GdaSetNode *gda_set_get_node (GdaSet *set, GdaHolder *par
am); | | GdaSetNode *gda_set_get_node (GdaSet *set, GdaHolder *hol
der); | |
| GdaSetSource *gda_set_get_source_for_model (GdaSet *set, GdaDataModel *
model); | | GdaSetSource *gda_set_get_source_for_model (GdaSet *set, GdaDataModel *
model); | |
|
| GdaSetSource *gda_set_get_source (GdaSet *set, GdaHolder *par | | GdaSetSource *gda_set_get_source (GdaSet *set, GdaHolder *hol | |
| am); | | der); | |
| GdaSetGroup *gda_set_get_group (GdaSet *set, GdaHolder *par | | GdaSetGroup *gda_set_get_group (GdaSet *set, GdaHolder *hol | |
| am); | | der); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 6 lines changed or deleted | | 6 lines changed or added | |
|
| gda-util.h | | gda-util.h | |
| | | | |
| skipping to change at line 49 | | skipping to change at line 49 | |
| const gchar *gda_g_type_to_string (GType type); | | const gchar *gda_g_type_to_string (GType type); | |
| GType gda_g_type_from_string (const gchar *str); | | GType gda_g_type_from_string (const gchar *str); | |
| | | | |
| /* | | /* | |
| * SQL escaping | | * SQL escaping | |
| */ | | */ | |
| gchar *gda_default_escape_string (const gchar *string); | | gchar *gda_default_escape_string (const gchar *string); | |
| gchar *gda_default_unescape_string (const gchar *string); | | gchar *gda_default_unescape_string (const gchar *string); | |
| guint gda_identifier_hash (const gchar *id); | | guint gda_identifier_hash (const gchar *id); | |
| gboolean gda_identifier_equal (const gchar *id1, const gchar *id2); | | gboolean gda_identifier_equal (const gchar *id1, const gchar *id2); | |
|
| gchar **gda_completion_list_get (GdaConnection *cnc, const gchar *text
, gint start, gint end); | | gchar **gda_completion_list_get (GdaConnection *cnc, const gchar *sql,
gint start, gint end); | |
| | | | |
| /* | | /* | |
| * Param & model utilities | | * Param & model utilities | |
| */ | | */ | |
| gboolean gda_utility_check_data_model (GdaDataModel *model, gint nbcols
, ...); | | gboolean gda_utility_check_data_model (GdaDataModel *model, gint nbcols
, ...); | |
| gboolean gda_utility_data_model_dump_data_to_xml (GdaDataModel *model,
xmlNodePtr parent, | | gboolean gda_utility_data_model_dump_data_to_xml (GdaDataModel *model,
xmlNodePtr parent, | |
| const gint *cols, gint nb_cols
, const gint *rows, gint nb_rows, | | const gint *cols, gint nb_cols
, const gint *rows, gint nb_rows, | |
| gboolean use_col_ids); | | gboolean use_col_ids); | |
| const gchar *gda_utility_data_model_find_column_description (GdaDataSelect
*model, const gchar *field_name); | | const gchar *gda_utility_data_model_find_column_description (GdaDataSelect
*model, const gchar *field_name); | |
| gboolean gda_utility_holder_load_attributes (GdaHolder *holder, xmlNode
Ptr node, GSList *sources, GError **error); | | gboolean gda_utility_holder_load_attributes (GdaHolder *holder, xmlNode
Ptr node, GSList *sources, GError **error); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-vconnection-hub.h | | gda-vconnection-hub.h | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| | | | |
| struct _GdaVconnectionHubClass { | | struct _GdaVconnectionHubClass { | |
| GdaVconnectionDataModelClass parent_class; | | GdaVconnectionDataModelClass parent_class; | |
| }; | | }; | |
| | | | |
| GType gda_vconnection_hub_get_type (void) G_GNUC_CONST; | | GType gda_vconnection_hub_get_type (void) G_GNUC_CONST; | |
| | | | |
| gboolean gda_vconnection_hub_add (GdaVconnectionHub *
hub, | | gboolean gda_vconnection_hub_add (GdaVconnectionHub *
hub, | |
| GdaConnection *cnc,
const gchar *ns, GError **error); | | GdaConnection *cnc,
const gchar *ns, GError **error); | |
| gboolean gda_vconnection_hub_remove (GdaVconnectionHub *
hub, GdaConnection *cnc, GError **error); | | gboolean gda_vconnection_hub_remove (GdaVconnectionHub *
hub, GdaConnection *cnc, GError **error); | |
|
| GdaConnection *gda_vconnection_hub_get_connection (GdaVconnectionHub *
cnc, const gchar *ns); | | GdaConnection *gda_vconnection_hub_get_connection (GdaVconnectionHub *
hub, const gchar *ns); | |
| void gda_vconnection_hub_foreach (GdaVconnectionHub *
hub, | | void gda_vconnection_hub_foreach (GdaVconnectionHub *
hub, | |
| GdaVConnectionHubFun
c func, gpointer data); | | GdaVConnectionHubFun
c func, gpointer data); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| libgda.h | | libgda.h | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 52 | |
| #include <libgda/gda-data-model-dir.h> | | #include <libgda/gda-data-model-dir.h> | |
| #include <libgda/gda-data-access-wrapper.h> | | #include <libgda/gda-data-access-wrapper.h> | |
| #include <libgda/gda-data-proxy.h> | | #include <libgda/gda-data-proxy.h> | |
| #include <libgda/gda-data-select.h> | | #include <libgda/gda-data-select.h> | |
| #include <libgda/gda-lockable.h> | | #include <libgda/gda-lockable.h> | |
| #include <libgda/gda-log.h> | | #include <libgda/gda-log.h> | |
| #include <libgda/gda-quark-list.h> | | #include <libgda/gda-quark-list.h> | |
| #include <libgda/gda-row.h> | | #include <libgda/gda-row.h> | |
| #include <libgda/gda-server-operation.h> | | #include <libgda/gda-server-operation.h> | |
| #include <libgda/gda-server-provider.h> | | #include <libgda/gda-server-provider.h> | |
|
| #include <libgda/gda-threader.h> | | | |
| #include <libgda/gda-xa-transaction.h> | | #include <libgda/gda-xa-transaction.h> | |
| #include <libgda/gda-transaction-status.h> | | #include <libgda/gda-transaction-status.h> | |
| #include <libgda/gda-transaction-status-private.h> | | #include <libgda/gda-transaction-status-private.h> | |
| #include <libgda/gda-util.h> | | #include <libgda/gda-util.h> | |
| #include <libgda/gda-value.h> | | #include <libgda/gda-value.h> | |
| #include <libgda/gda-decl.h> | | #include <libgda/gda-decl.h> | |
| #include <libgda/gda-enums.h> | | #include <libgda/gda-enums.h> | |
| #include <libgda/gda-data-handler.h> | | #include <libgda/gda-data-handler.h> | |
| #include <libgda/handlers/gda-handler-bin.h> | | #include <libgda/handlers/gda-handler-bin.h> | |
| #include <libgda/handlers/gda-handler-boolean.h> | | #include <libgda/handlers/gda-handler-boolean.h> | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 0 lines changed or added | |
|