gda-connection.h | gda-connection.h | |||
---|---|---|---|---|
skipping to change at line 155 | skipping to change at line 155 | |||
GDA_CONNECTION_SCHEMA_SEQUENCES, | GDA_CONNECTION_SCHEMA_SEQUENCES, | |||
GDA_CONNECTION_SCHEMA_TABLES, | GDA_CONNECTION_SCHEMA_TABLES, | |||
GDA_CONNECTION_SCHEMA_TRIGGERS, | GDA_CONNECTION_SCHEMA_TRIGGERS, | |||
GDA_CONNECTION_SCHEMA_TYPES, | GDA_CONNECTION_SCHEMA_TYPES, | |||
GDA_CONNECTION_SCHEMA_USERS, | GDA_CONNECTION_SCHEMA_USERS, | |||
GDA_CONNECTION_SCHEMA_VIEWS, | GDA_CONNECTION_SCHEMA_VIEWS, | |||
GDA_CONNECTION_SCHEMA_CONSTRAINTS, | GDA_CONNECTION_SCHEMA_CONSTRAINTS, | |||
GDA_CONNECTION_SCHEMA_TABLE_CONTENTS | GDA_CONNECTION_SCHEMA_TABLE_CONTENTS | |||
} GdaConnectionSchema; | } GdaConnectionSchema; | |||
/** | ||||
* GdaConnectionMetaType: | ||||
* @GDA_CONNECTION_META_NAMESPACES: lists the <link linkend="GdaConnectionM | ||||
etaTypeGDA_CONNECTION_META_NAMESPACES">namespaces</link> (or schemas for Po | ||||
stgreSQL) | ||||
* @GDA_CONNECTION_META_TYPES: lists the <link linkend="GdaConnectionMetaTy | ||||
peGDA_CONNECTION_META_TYPES">database types</link> | ||||
* @GDA_CONNECTION_META_TABLES: lists the <link linkend="GdaConnectionMetaT | ||||
ypeGDA_CONNECTION_META_TABLES">tables</link> | ||||
* @GDA_CONNECTION_META_VIEWS: lists the <link linkend="GdaConnectionMetaTy | ||||
peGDA_CONNECTION_META_VIEWS">views</link> | ||||
* @GDA_CONNECTION_META_FIELDS: lists the <link linkend="GdaConnectionMetaT | ||||
ypeGDA_CONNECTION_META_FIELDS">table's or view's fields</link> | ||||
* @GDA_CONNECTION_META_INDEXES: lists the <link linkend="GdaConnectionMeta | ||||
TypeGDA_CONNECTION_META_INDEXES">table's indexes</link> | ||||
* | ||||
* Used with gda_connection_get_meta_store_data() to describe what meta dat | ||||
a to extract from | ||||
* a connection's associated #GdaMetaStore. | ||||
*/ | ||||
typedef enum { | typedef enum { | |||
GDA_CONNECTION_META_NAMESPACES, | GDA_CONNECTION_META_NAMESPACES, | |||
GDA_CONNECTION_META_TYPES, | GDA_CONNECTION_META_TYPES, | |||
GDA_CONNECTION_META_TABLES, | GDA_CONNECTION_META_TABLES, | |||
GDA_CONNECTION_META_VIEWS, | GDA_CONNECTION_META_VIEWS, | |||
GDA_CONNECTION_META_FIELDS | GDA_CONNECTION_META_FIELDS, | |||
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); | |||
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); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 22 lines changed or added | |||
gda-server-provider.h | gda-server-provider.h | |||
---|---|---|---|---|
skipping to change at line 180 | skipping to change at line 180 | |||
/* _routine_columns */ | /* _routine_columns */ | |||
gboolean (*_routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **); | gboolean (*_routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **); | |||
gboolean (*routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **, | gboolean (*routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **, | |||
const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name); | const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name); | |||
/* _parameters */ | /* _parameters */ | |||
gboolean (*_routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **); | gboolean (*_routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **); | |||
gboolean (*routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **, | gboolean (*routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **, | |||
const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name); | const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name); | |||
/* _table_indexes */ | ||||
gboolean (*_indexes_tab) (GdaServerProvider *, GdaConnection *, | ||||
GdaMetaStore *, GdaMetaContext *, GError **); | ||||
gboolean (*indexes_tab) (GdaServerProvider *, GdaConnection *, | ||||
GdaMetaStore *, GdaMetaContext *, GError **, | ||||
const GValue *table_catalog, const GVa | ||||
lue *table_schema, const GValue *table_name, | ||||
const GValue *index_name_n); | ||||
/* _index_column_usage */ | ||||
gboolean (*_index_cols) (GdaServerProvider *, GdaConnection *, | ||||
GdaMetaStore *, GdaMetaContext *, GError **); | ||||
gboolean (*index_cols) (GdaServerProvider *, GdaConnection *, | ||||
GdaMetaStore *, GdaMetaContext *, GError **, | ||||
const GValue *table_catalog, const GVa | ||||
lue *table_schema, const GValue *table_name, const GValue *index_name); | ||||
/* Padding for future expansion */ | /* Padding for future expansion */ | |||
void (*_gda_reserved1) (void); | ||||
void (*_gda_reserved2) (void); | ||||
void (*_gda_reserved3) (void); | ||||
void (*_gda_reserved4) (void); | ||||
void (*_gda_reserved5) (void); | void (*_gda_reserved5) (void); | |||
void (*_gda_reserved6) (void); | void (*_gda_reserved6) (void); | |||
void (*_gda_reserved7) (void); | void (*_gda_reserved7) (void); | |||
void (*_gda_reserved8) (void); | void (*_gda_reserved8) (void); | |||
void (*_gda_reserved9) (void); | void (*_gda_reserved9) (void); | |||
void (*_gda_reserved10) (void); | void (*_gda_reserved10) (void); | |||
void (*_gda_reserved11) (void); | void (*_gda_reserved11) (void); | |||
void (*_gda_reserved12) (void); | void (*_gda_reserved12) (void); | |||
void (*_gda_reserved13) (void); | void (*_gda_reserved13) (void); | |||
void (*_gda_reserved14) (void); | void (*_gda_reserved14) (void); | |||
End of changes. 2 change blocks. | ||||
4 lines changed or deleted | 16 lines changed or added | |||
gda-set.h | gda-set.h | |||
---|---|---|---|---|
skipping to change at line 133 | skipping to change at line 133 | |||
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 *hol der); | 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 *hol der); | GdaSetSource *gda_set_get_source (GdaSet *set, GdaHolder *hol der); | |||
GdaSetGroup *gda_set_get_group (GdaSet *set, GdaHolder *hol der); | GdaSetGroup *gda_set_get_group (GdaSet *set, GdaHolder *hol der); | |||
/* private */ | ||||
gboolean _gda_set_validate (GdaSet *set, GError **error | ||||
); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||