| gda-blob-op.h | | gda-blob-op.h | |
| | | | |
| skipping to change at line 53 | | skipping to change at line 53 | |
| struct _GdaBlobOpClass { | | struct _GdaBlobOpClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
| /* Virtual methods */ | | /* Virtual methods */ | |
| glong (* get_length) (GdaBlobOp *op); | | glong (* get_length) (GdaBlobOp *op); | |
| glong (* read) (GdaBlobOp *op, GdaBlob *blob, glong offset,
glong size); | | glong (* read) (GdaBlobOp *op, GdaBlob *blob, glong offset,
glong size); | |
| glong (* write) (GdaBlobOp *op, GdaBlob *blob, glong offset)
; | | glong (* write) (GdaBlobOp *op, GdaBlob *blob, glong offset)
; | |
| gboolean (* write_all) (GdaBlobOp *op, GdaBlob *blob); | | gboolean (* write_all) (GdaBlobOp *op, GdaBlob *blob); | |
| }; | | }; | |
| | | | |
|
| GType gda_blob_op_get_type (void); | | GType gda_blob_op_get_type (void) G_GNUC_CONST; | |
| | | | |
| glong gda_blob_op_get_length (GdaBlobOp *op); | | glong gda_blob_op_get_length (GdaBlobOp *op); | |
| glong gda_blob_op_read (GdaBlobOp *op, GdaBlob *blob, glong offset
, glong size); | | glong gda_blob_op_read (GdaBlobOp *op, GdaBlob *blob, glong offset
, glong size); | |
| gboolean gda_blob_op_read_all (GdaBlobOp *op, GdaBlob *blob); | | gboolean gda_blob_op_read_all (GdaBlobOp *op, GdaBlob *blob); | |
| glong gda_blob_op_write (GdaBlobOp *op, GdaBlob *blob, glong offset
); | | glong gda_blob_op_write (GdaBlobOp *op, GdaBlob *blob, glong offset
); | |
| gboolean gda_blob_op_write_all (GdaBlobOp *op, GdaBlob *blob); | | gboolean gda_blob_op_write_all (GdaBlobOp *op, GdaBlob *blob); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-column-index.h | | gda-column-index.h | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| | | | |
| struct _GdaColumnIndex { | | struct _GdaColumnIndex { | |
| GObject object; | | GObject object; | |
| GdaColumnIndexPrivate *priv; | | GdaColumnIndexPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaColumnIndexClass { | | struct _GdaColumnIndexClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_column_index_get_type (void); | | GType gda_column_index_get_type (void) G_GNUC_CONST; | |
| GdaColumnIndex *gda_column_index_new (void); | | GdaColumnIndex *gda_column_index_new (void); | |
| GdaColumnIndex *gda_column_index_copy (GdaColumnIndex *dmcia); | | GdaColumnIndex *gda_column_index_copy (GdaColumnIndex *dmcia); | |
| gboolean gda_column_index_equal (const GdaColumnIndex *lhs, const Gd
aColumnIndex *rhs); | | gboolean gda_column_index_equal (const GdaColumnIndex *lhs, const Gd
aColumnIndex *rhs); | |
| const gchar *gda_column_index_get_column_name (GdaColumnIndex *dmcia); | | const gchar *gda_column_index_get_column_name (GdaColumnIndex *dmcia); | |
| void gda_column_index_set_column_name (GdaColumnIndex *dmcia, co
nst gchar *column_name); | | void gda_column_index_set_column_name (GdaColumnIndex *dmcia, co
nst gchar *column_name); | |
| glong gda_column_index_get_defined_size (GdaColumnIndex *dmcia); | | glong gda_column_index_get_defined_size (GdaColumnIndex *dmcia); | |
| void gda_column_index_set_defined_size (GdaColumnIndex *dmcia, g
long size); | | void gda_column_index_set_defined_size (GdaColumnIndex *dmcia, g
long size); | |
| GdaSorting gda_column_index_get_sorting (GdaColumnIndex *dmcia); | | GdaSorting gda_column_index_get_sorting (GdaColumnIndex *dmcia); | |
| void gda_column_index_set_sorting (GdaColumnIndex *dmcia, GdaSor
ting sorting); | | void gda_column_index_set_sorting (GdaColumnIndex *dmcia, GdaSor
ting sorting); | |
| const gchar *gda_column_index_get_references (GdaColumnIndex *dmcia); | | const gchar *gda_column_index_get_references (GdaColumnIndex *dmcia); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-column.h | | gda-column.h | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 55 | |
| }; | | }; | |
| | | | |
| struct _GdaColumnClass { | | struct _GdaColumnClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| void (* name_changed) (GdaColumn *column, const gchar *old_name)
; | | void (* name_changed) (GdaColumn *column, const gchar *old_name)
; | |
| void (* g_type_changed) (GdaColumn *column, GType old_type, GType ne
w_type); | | void (* g_type_changed) (GdaColumn *column, GType old_type, GType ne
w_type); | |
| }; | | }; | |
| | | | |
|
| GType gda_column_get_type (void); | | GType gda_column_get_type (void) G_GNUC_CONST; | |
| GdaColumn *gda_column_new (void); | | GdaColumn *gda_column_new (void); | |
| GdaColumn *gda_column_copy (GdaColumn *column); | | GdaColumn *gda_column_copy (GdaColumn *column); | |
| | | | |
| const gchar *gda_column_get_title (GdaColumn *column); | | const gchar *gda_column_get_title (GdaColumn *column); | |
| void gda_column_set_title (GdaColumn *column, const gch
ar *title); | | void gda_column_set_title (GdaColumn *column, const gch
ar *title); | |
| | | | |
| glong gda_column_get_defined_size (GdaColumn *column); | | glong gda_column_get_defined_size (GdaColumn *column); | |
| void gda_column_set_defined_size (GdaColumn *column, glong siz
e); | | void gda_column_set_defined_size (GdaColumn *column, glong siz
e); | |
| | | | |
| const gchar *gda_column_get_name (GdaColumn *column); | | const gchar *gda_column_get_name (GdaColumn *column); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-command.h | | gda-command.h | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 60 | |
| typedef struct _GdaCommand GdaCommand; | | typedef struct _GdaCommand GdaCommand; | |
| | | | |
| struct _GdaCommand { | | struct _GdaCommand { | |
| gchar *text; | | gchar *text; | |
| GdaCommandType type; | | GdaCommandType type; | |
| GdaCommandOptions options; | | GdaCommandOptions options; | |
| }; | | }; | |
| | | | |
| #define GDA_TYPE_COMMAND (gda_command_get_type ()) | | #define GDA_TYPE_COMMAND (gda_command_get_type ()) | |
| | | | |
|
| GType gda_command_get_type (void); | | GType gda_command_get_type (void) G_GNUC_CONST; | |
| GdaCommand *gda_command_new (const gchar *text, GdaCommandType type, | | GdaCommand *gda_command_new (const gchar *text, GdaCommandType type, | |
| GdaCommandOptions options); | | GdaCommandOptions options); | |
| void gda_command_free (GdaCommand *cmd); | | void gda_command_free (GdaCommand *cmd); | |
| GdaCommand *gda_command_copy (GdaCommand *cmd); | | GdaCommand *gda_command_copy (GdaCommand *cmd); | |
| | | | |
| const gchar *gda_command_get_text (GdaCommand *cmd); | | const gchar *gda_command_get_text (GdaCommand *cmd); | |
| void gda_command_set_text (GdaCommand *cmd, const gchar *text)
; | | void gda_command_set_text (GdaCommand *cmd, const gchar *text)
; | |
| GdaCommandType gda_command_get_command_type (GdaCommand *cmd); | | GdaCommandType gda_command_get_command_type (GdaCommand *cmd); | |
| void gda_command_set_command_type (GdaCommand *cmd, GdaCommand
Type type); | | void gda_command_set_command_type (GdaCommand *cmd, GdaCommand
Type type); | |
| GdaCommandOptions gda_command_get_options (GdaCommand *cmd); | | GdaCommandOptions gda_command_get_options (GdaCommand *cmd); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-config.h | | gda-config.h | |
| | | | |
| skipping to change at line 87 | | skipping to change at line 87 | |
| struct _GdaProviderInfo { | | struct _GdaProviderInfo { | |
| gchar *id; | | gchar *id; | |
| gchar *location; | | gchar *location; | |
| gchar *description; | | gchar *description; | |
| GdaParameterList *gda_params; /* Contains a list of GdaParameter to
create a DSN */ | | GdaParameterList *gda_params; /* Contains a list of GdaParameter to
create a DSN */ | |
| gchar *dsn_spec; /* XML string with all the parameters re
quired to create a DSN */ | | gchar *dsn_spec; /* XML string with all the parameters re
quired to create a DSN */ | |
| }; | | }; | |
| | | | |
| #define GDA_TYPE_PROVIDER_INFO (gda_provider_info_get_type ()) | | #define GDA_TYPE_PROVIDER_INFO (gda_provider_info_get_type ()) | |
| | | | |
|
| GType gda_provider_info_get_type (void); | | GType gda_provider_info_get_type (void) G_GNUC_CONST; | |
| GdaProviderInfo* gda_provider_info_copy (GdaProviderInfo *src); | | GdaProviderInfo* gda_provider_info_copy (GdaProviderInfo *src); | |
| void gda_provider_info_free (GdaProviderInfo *provider
_info); | | void gda_provider_info_free (GdaProviderInfo *provider
_info); | |
| | | | |
| GList *gda_config_get_provider_list (void); | | GList *gda_config_get_provider_list (void); | |
| void gda_config_free_provider_list (GList *list); | | void gda_config_free_provider_list (GList *list); | |
| GdaProviderInfo *gda_config_get_provider_by_name (const gchar *name); | | GdaProviderInfo *gda_config_get_provider_by_name (const gchar *name); | |
| GdaDataModel *gda_config_get_provider_model (void); | | GdaDataModel *gda_config_get_provider_model (void); | |
| | | | |
| /* | | /* | |
| * Data sources configuration | | * Data sources configuration | |
| | | | |
| skipping to change at line 114 | | skipping to change at line 114 | |
| gchar *provider; | | gchar *provider; | |
| gchar *cnc_string; | | gchar *cnc_string; | |
| gchar *description; | | gchar *description; | |
| gchar *username; | | gchar *username; | |
| gchar *password; | | gchar *password; | |
| gboolean is_global; | | gboolean is_global; | |
| }; | | }; | |
| | | | |
| #define GDA_TYPE_DATA_SOURCE_INFO (gda_data_source_info_get_type ()) | | #define GDA_TYPE_DATA_SOURCE_INFO (gda_data_source_info_get_type ()) | |
| | | | |
|
| GType gda_data_source_info_get_type (void); | | GType gda_data_source_info_get_type (void) G_GNUC_CONST; | |
| GdaDataSourceInfo *gda_data_source_info_new (); | | | |
| GdaDataSourceInfo *gda_data_source_info_copy (GdaDataSourceInfo *src
); | | GdaDataSourceInfo *gda_data_source_info_copy (GdaDataSourceInfo *src
); | |
| gboolean gda_data_source_info_equal (GdaDataSourceInfo *inf
o1, GdaDataSourceInfo *info2); | | gboolean gda_data_source_info_equal (GdaDataSourceInfo *inf
o1, GdaDataSourceInfo *info2); | |
| GdaDataSourceInfo *gda_config_find_data_source (const gchar *name); | | GdaDataSourceInfo *gda_config_find_data_source (const gchar *name); | |
| | | | |
| void gda_data_source_info_free (GdaDataSourceInfo *inf
o); | | void gda_data_source_info_free (GdaDataSourceInfo *inf
o); | |
| | | | |
| GList *gda_config_get_data_source_list (void); | | GList *gda_config_get_data_source_list (void); | |
| void gda_config_free_data_source_list (GList *list); | | void gda_config_free_data_source_list (GList *list); | |
| | | | |
| GdaDataModel *gda_config_get_data_source_model (void); | | GdaDataModel *gda_config_get_data_source_model (void); | |
| | | | |
End of changes. 2 change blocks. |
| 3 lines changed or deleted | | 2 lines changed or added | |
|
| gda-connection-event.h | | gda-connection-event.h | |
| /* GDA server library | | /* GDA server library | |
|
| * Copyright (C) 1998 - 2006 The GNOME Foundation. | | * Copyright (C) 1998 - 2007 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
| * Michael Lausch <michael@lausch.at> | | * Michael Lausch <michael@lausch.at> | |
| * Rodrigo Moya <rodrigo@gnome-db.org> | | * Rodrigo Moya <rodrigo@gnome-db.org> | |
| * Vivien Malerba <malerba@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| | | | |
| skipping to change at line 51 | | skipping to change at line 51 | |
| GdaConnectionEventPrivate *priv; | | GdaConnectionEventPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaConnectionEventClass { | | struct _GdaConnectionEventClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | }; | |
| | | | |
| typedef enum { | | typedef enum { | |
| GDA_CONNECTION_EVENT_NOTICE, | | GDA_CONNECTION_EVENT_NOTICE, | |
| GDA_CONNECTION_EVENT_WARNING, | | GDA_CONNECTION_EVENT_WARNING, | |
|
| GDA_CONNECTION_EVENT_ERROR | | GDA_CONNECTION_EVENT_ERROR, | |
| | | GDA_CONNECTION_EVENT_COMMAND | |
| | | | |
| } GdaConnectionEventType; | | } GdaConnectionEventType; | |
| | | | |
| typedef enum | | typedef enum | |
| { | | { | |
| GDA_CONNECTION_EVENT_CODE_CONSTRAINT_VIOLATION, | | GDA_CONNECTION_EVENT_CODE_CONSTRAINT_VIOLATION, | |
| GDA_CONNECTION_EVENT_CODE_RESTRICT_VIOLATION, | | GDA_CONNECTION_EVENT_CODE_RESTRICT_VIOLATION, | |
| GDA_CONNECTION_EVENT_CODE_NOT_NULL_VIOLATION, | | GDA_CONNECTION_EVENT_CODE_NOT_NULL_VIOLATION, | |
| GDA_CONNECTION_EVENT_CODE_FOREIGN_KEY_VIOLATION, | | GDA_CONNECTION_EVENT_CODE_FOREIGN_KEY_VIOLATION, | |
| GDA_CONNECTION_EVENT_CODE_UNIQUE_VIOLATION, | | GDA_CONNECTION_EVENT_CODE_UNIQUE_VIOLATION, | |
| GDA_CONNECTION_EVENT_CODE_CHECK_VIOLATION, | | GDA_CONNECTION_EVENT_CODE_CHECK_VIOLATION, | |
| | | | |
| skipping to change at line 77 | | skipping to change at line 79 | |
| GDA_CONNECTION_EVENT_CODE_DUPLICATE_DATABASE, | | GDA_CONNECTION_EVENT_CODE_DUPLICATE_DATABASE, | |
| GDA_CONNECTION_EVENT_CODE_DUPLICATE_FUNCTION, | | GDA_CONNECTION_EVENT_CODE_DUPLICATE_FUNCTION, | |
| GDA_CONNECTION_EVENT_CODE_DUPLICATE_SCHEMA, | | GDA_CONNECTION_EVENT_CODE_DUPLICATE_SCHEMA, | |
| GDA_CONNECTION_EVENT_CODE_DUPLICATE_TABLE, | | GDA_CONNECTION_EVENT_CODE_DUPLICATE_TABLE, | |
| GDA_CONNECTION_EVENT_CODE_DUPLICATE_ALIAS, | | GDA_CONNECTION_EVENT_CODE_DUPLICATE_ALIAS, | |
| GDA_CONNECTION_EVENT_CODE_DUPLICATE_OBJECT, | | GDA_CONNECTION_EVENT_CODE_DUPLICATE_OBJECT, | |
| GDA_CONNECTION_EVENT_CODE_SYNTAX_ERROR, | | GDA_CONNECTION_EVENT_CODE_SYNTAX_ERROR, | |
| GDA_CONNECTION_EVENT_CODE_UNKNOWN | | GDA_CONNECTION_EVENT_CODE_UNKNOWN | |
| } GdaConnectionEventCode; | | } GdaConnectionEventCode; | |
| | | | |
|
| GType gda_connection_event_get_type (void); | | #define GDA_SQLSTATE_NO_ERROR "00000" | |
| | | #define GDA_SQLSTATE_GENERAL_ERROR "HY000" | |
| | | | |
| | | GType gda_connection_event_get_type (void) G_GNUC_CONST; | |
| GdaConnectionEvent *gda_connection_event_new (GdaConnectionEventType ty
pe); | | GdaConnectionEvent *gda_connection_event_new (GdaConnectionEventType ty
pe); | |
| void gda_connection_event_free (GdaConnectionEvent * eve
nt); | | void gda_connection_event_free (GdaConnectionEvent * eve
nt); | |
| GList *gda_connection_event_list_copy (const GList * event
s); | | GList *gda_connection_event_list_copy (const GList * event
s); | |
| void gda_connection_event_list_free (GList * events); | | void gda_connection_event_list_free (GList * events); | |
| | | | |
| void gda_connection_event_set_event_type (GdaConnectionE
vent *event, GdaConnectionEventType type); | | void gda_connection_event_set_event_type (GdaConnectionE
vent *event, GdaConnectionEventType type); | |
| GdaConnectionEventType gda_connection_event_get_event_type (GdaConnectionE
vent *event); | | GdaConnectionEventType gda_connection_event_get_event_type (GdaConnectionE
vent *event); | |
| | | | |
| const gchar *gda_connection_event_get_description (GdaConnection
Event *event); | | const gchar *gda_connection_event_get_description (GdaConnection
Event *event); | |
| void gda_connection_event_set_description (GdaConnection
Event *event, const gchar *description); | | void gda_connection_event_set_description (GdaConnection
Event *event, const gchar *description); | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 8 lines changed or added | |
|
| gda-connection-private.h | | gda-connection-private.h | |
| /* GDA library | | /* GDA library | |
|
| * Copyright (C) 2006 The GNOME Foundation. | | * Copyright (C) 2006 - 2007 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
| * Vivien Malerba <malerba@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| * | | * | |
| * This Library is distributed in the hope that it will be useful, | | * This Library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 44 | | skipping to change at line 44 | |
| | | | |
| void gda_connection_internal_savepoint_added (GdaConnection *cnc, const gch
ar *parent_trans, const gchar *svp_name); | | void gda_connection_internal_savepoint_added (GdaConnection *cnc, const gch
ar *parent_trans, const gchar *svp_name); | |
| void gda_connection_internal_savepoint_rolledback (GdaConnection *cnc, cons
t gchar *svp_name); | | void gda_connection_internal_savepoint_rolledback (GdaConnection *cnc, cons
t gchar *svp_name); | |
| void gda_connection_internal_savepoint_removed (GdaConnection *cnc, const g
char *svp_name); | | void gda_connection_internal_savepoint_removed (GdaConnection *cnc, const g
char *svp_name); | |
| void gda_connection_internal_change_transaction_state (GdaConnection *cnc, | | void gda_connection_internal_change_transaction_state (GdaConnection *cnc, | |
| GdaTransactionStatusS
tate newstate); | | GdaTransactionStatusS
tate newstate); | |
| | | | |
| /* helper function, fuzzy analysis of "standard" SQL for transactions */ | | /* helper function, fuzzy analysis of "standard" SQL for transactions */ | |
| void gda_connection_internal_treat_sql (GdaConnection *cnc, const gchar *sq
l, GdaConnectionEvent *error); | | void gda_connection_internal_treat_sql (GdaConnection *cnc, const gchar *sq
l, GdaConnectionEvent *error); | |
| | | | |
|
| | | void gda_connection_force_status (GdaConnection *cnc, gboolean opened); | |
| | | | |
| | | /* prepared statements support */ | |
| | | void gda_connection_init_prepared_statement_hash (GdaConnection *cnc, G | |
| | | DestroyNotify stmt_destroy_func); | |
| | | void gda_connection_destroy_prepared_statement_hash (GdaConnection *cnc | |
| | | ); | |
| | | void gda_connection_add_prepared_statement (GdaConnection *cnc, GdaQuer | |
| | | y *query, gpointer prepared_stmt); | |
| | | void gda_connection_del_prepared_statement (GdaConnection *cnc, GdaQuer | |
| | | y *query); | |
| | | gpointer gda_connection_get_prepared_statement (GdaConnection *cnc, GdaQuer | |
| | | y *query); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 15 lines changed or added | |
|
| gda-connection.h | | gda-connection.h | |
| | | | |
| skipping to change at line 121 | | skipping to change at line 121 | |
| 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; | |
| | | | |
|
| GType gda_connection_get_type (void); | | GType gda_connection_get_type (void) G_GNUC_CONST
; | |
| GdaConnection *gda_connection_new (GdaClient *client, | | GdaConnection *gda_connection_new (GdaClient *client, | |
| GdaServerProvider *
provider, | | GdaServerProvider *
provider, | |
| const gchar *dsn, | | const gchar *dsn, | |
| const gchar *userna
me, | | const gchar *userna
me, | |
| const gchar *passwo
rd, | | const gchar *passwo
rd, | |
| GdaConnectionOption
s options); | | GdaConnectionOption
s options); | |
| 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); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-handler.h | | gda-data-handler.h | |
| | | | |
| skipping to change at line 53 | | skipping to change at line 53 | |
| 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); | | guint (* get_nb_g_types) (GdaDataHandler *dh); | |
| GType (* get_g_type_index) (GdaDataHandler *dh, guint i
ndex); | | 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); | | 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)
; | | guint gda_data_handler_get_nb_g_types (GdaDataHandler *dh)
; | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-model-import.h | | gda-data-model-import.h | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| | | | |
| struct _GdaDataModelImport { | | struct _GdaDataModelImport { | |
| GdaObject object; | | GdaObject object; | |
| GdaDataModelImportPrivate *priv; | | GdaDataModelImportPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaDataModelImportClass { | | struct _GdaDataModelImportClass { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_data_model_import_get_type (void); | | GType gda_data_model_import_get_type (void) G_GNUC_CONST; | |
| GdaDataModel *gda_data_model_import_new_file (const gchar *filename, gb
oolean random_access, | | GdaDataModel *gda_data_model_import_new_file (const gchar *filename, gb
oolean random_access, | |
| GdaParameterList *options)
; | | GdaParameterList *options)
; | |
| GdaDataModel *gda_data_model_import_new_mem (const gchar *data, gboole
an random_access, | | GdaDataModel *gda_data_model_import_new_mem (const gchar *data, gboole
an random_access, | |
| GdaParameterList *options)
; | | GdaParameterList *options)
; | |
| GdaDataModel *gda_data_model_import_new_xml_node (xmlNodePtr node); | | GdaDataModel *gda_data_model_import_new_xml_node (xmlNodePtr node); | |
| | | | |
| GSList *gda_data_model_import_get_errors (GdaDataModelImport *model
); | | GSList *gda_data_model_import_get_errors (GdaDataModelImport *model
); | |
| void gda_data_model_import_clean_errors (GdaDataModelImport *model
); | | void gda_data_model_import_clean_errors (GdaDataModelImport *model
); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-model-index.h | | gda-data-model-index.h | |
| | | | |
| skipping to change at line 44 | | skipping to change at line 44 | |
| gchar *name; | | gchar *name; | |
| gchar *table_name; | | gchar *table_name; | |
| gboolean primary_key; | | gboolean primary_key; | |
| gboolean unique_key; | | gboolean unique_key; | |
| gchar *references; | | gchar *references; | |
| GList *col_idx_list; | | GList *col_idx_list; | |
| }; | | }; | |
| | | | |
| #define GDA_TYPE_DATA_MODEL_INDEX (gda_data_model_index_get_type ()) | | #define GDA_TYPE_DATA_MODEL_INDEX (gda_data_model_index_get_type ()) | |
| | | | |
|
| GType gda_data_model_index_get_type (void); | | GType gda_data_model_index_get_type (void) G_GNUC_CONST; | |
| GdaDataModelIndex *gda_data_model_index_new (void); | | GdaDataModelIndex *gda_data_model_index_new (void); | |
| GdaDataModelIndex *gda_data_model_index_copy (GdaDataModelIndex *dmi); | | GdaDataModelIndex *gda_data_model_index_copy (GdaDataModelIndex *dmi); | |
| void gda_data_model_index_free (GdaDataModelIndex *dmi); | | void gda_data_model_index_free (GdaDataModelIndex *dmi); | |
| gboolean gda_data_model_index_equal (const GdaDataModelIndex *lh
s, const GdaDataModelIndex *rhs); | | gboolean gda_data_model_index_equal (const GdaDataModelIndex *lh
s, const GdaDataModelIndex *rhs); | |
| const gchar *gda_data_model_index_get_name (GdaDataModelIndex *dmi); | | const gchar *gda_data_model_index_get_name (GdaDataModelIndex *dmi); | |
| void gda_data_model_index_set_name (GdaDataModelIndex *dmi,
const gchar *name); | | void gda_data_model_index_set_name (GdaDataModelIndex *dmi,
const gchar *name); | |
| const gchar *gda_data_model_index_get_table_name (GdaDataModelIndex
*dmi); | | const gchar *gda_data_model_index_get_table_name (GdaDataModelIndex
*dmi); | |
| void gda_data_model_index_set_table_name (GdaDataModelIndex
*dmi, const gchar *name); | | void gda_data_model_index_set_table_name (GdaDataModelIndex
*dmi, const gchar *name); | |
| gboolean gda_data_model_index_get_primary_key (GdaDataModelIndex
*dmi); | | gboolean gda_data_model_index_get_primary_key (GdaDataModelIndex
*dmi); | |
| void gda_data_model_index_set_primary_key (GdaDataModelIndex
*dmi, gboolean pk); | | void gda_data_model_index_set_primary_key (GdaDataModelIndex
*dmi, gboolean pk); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-model-iter.h | | gda-data-model-iter.h | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 60 | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDataModelIterClass | | struct _GdaDataModelIterClass | |
| { | | { | |
| GdaParameterListClass parent_class; | | GdaParameterListClass parent_class; | |
| | | | |
| gboolean (* row_to_change) (GdaDataModelIter *iter
, gint row); | | gboolean (* row_to_change) (GdaDataModelIter *iter
, gint row); | |
| void (* row_changed) (GdaDataModelIter *iter
, gint row); | | void (* row_changed) (GdaDataModelIter *iter
, gint row); | |
| void (* end_of_data) (GdaDataModelIter *iter
); | | void (* end_of_data) (GdaDataModelIter *iter
); | |
| }; | | }; | |
| | | | |
|
| GType gda_data_model_iter_get_type (void); | | GType gda_data_model_iter_get_type (void) G_GNUC_CO
NST; | |
| GdaDataModelIter *gda_data_model_iter_new (GdaDataModel *m
odel); | | GdaDataModelIter *gda_data_model_iter_new (GdaDataModel *m
odel); | |
| | | | |
| gboolean gda_data_model_iter_set_at_row (GdaDataModelIte
r *iter, gint row); | | gboolean gda_data_model_iter_set_at_row (GdaDataModelIte
r *iter, gint row); | |
| gboolean gda_data_model_iter_move_next (GdaDataModelIte
r *iter); | | gboolean gda_data_model_iter_move_next (GdaDataModelIte
r *iter); | |
| gboolean gda_data_model_iter_move_prev (GdaDataModelIte
r *iter); | | gboolean gda_data_model_iter_move_prev (GdaDataModelIte
r *iter); | |
| gint gda_data_model_iter_get_row (GdaDataModelIte
r *iter); | | gint gda_data_model_iter_get_row (GdaDataModelIte
r *iter); | |
| | | | |
| gboolean gda_data_model_iter_can_be_moved (GdaDataModelIter
*iter); | | gboolean gda_data_model_iter_can_be_moved (GdaDataModelIter
*iter); | |
| void gda_data_model_iter_invalidate_contents (GdaDataModelIte
r *iter); | | void gda_data_model_iter_invalidate_contents (GdaDataModelIte
r *iter); | |
| gboolean gda_data_model_iter_is_valid (GdaDataModelIte
r *iter); | | gboolean gda_data_model_iter_is_valid (GdaDataModelIte
r *iter); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-model-query.h | | gda-data-model-query.h | |
| | | | |
| skipping to change at line 63 | | skipping to change at line 63 | |
| | | | |
| struct _GdaDataModelQuery { | | struct _GdaDataModelQuery { | |
| GdaObject object; | | GdaObject object; | |
| GdaDataModelQueryPrivate *priv; | | GdaDataModelQueryPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaDataModelQueryClass { | | struct _GdaDataModelQueryClass { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_data_model_query_get_type (void); | | GType gda_data_model_query_get_type (void)
G_GNUC_CONST; | |
| GdaDataModel *gda_data_model_query_new (GdaQue
ry *query); | | GdaDataModel *gda_data_model_query_new (GdaQue
ry *query); | |
| | | | |
| GdaParameterList *gda_data_model_query_get_parameter_list (GdaDat
aModelQuery *model); | | GdaParameterList *gda_data_model_query_get_parameter_list (GdaDat
aModelQuery *model); | |
| gboolean gda_data_model_query_refresh (GdaDat
aModelQuery *model, GError **error); | | gboolean gda_data_model_query_refresh (GdaDat
aModelQuery *model, GError **error); | |
| gboolean gda_data_model_query_set_modification_query (GdaDat
aModelQuery *model, | | gboolean gda_data_model_query_set_modification_query (GdaDat
aModelQuery *model, | |
| const g
char *query, GError **error); | | const g
char *query, GError **error); | |
| gboolean gda_data_model_query_compute_modification_queries (GdaDat
aModelQuery *model, const gchar *target, | | gboolean gda_data_model_query_compute_modification_queries (GdaDat
aModelQuery *model, const gchar *target, | |
| GdaData
ModelQueryOptions options, GError **error); | | GdaData
ModelQueryOptions options, GError **error); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-model-row.h | | gda-data-model-row.h | |
| | | | |
| skipping to change at line 66 | | skipping to change at line 66 | |
| const GValue *(* get_value_at) (GdaDataModelRow *model, gin
t col, gint row); | | const GValue *(* get_value_at) (GdaDataModelRow *model, gin
t col, gint row); | |
| | | | |
| gboolean (* is_updatable) (GdaDataModelRow *model); | | gboolean (* is_updatable) (GdaDataModelRow *model); | |
| | | | |
| GdaRow *(* append_values) (GdaDataModelRow *model, con
st GList *values, GError **error); | | GdaRow *(* append_values) (GdaDataModelRow *model, con
st GList *values, GError **error); | |
| gboolean (* append_row) (GdaDataModelRow *model, Gda
Row *row, GError **error); | | gboolean (* append_row) (GdaDataModelRow *model, Gda
Row *row, GError **error); | |
| gboolean (* update_row) (GdaDataModelRow *model, Gda
Row *row, GError **error); | | gboolean (* update_row) (GdaDataModelRow *model, Gda
Row *row, GError **error); | |
| gboolean (* remove_row) (GdaDataModelRow *model, Gda
Row *row, GError **error); | | gboolean (* remove_row) (GdaDataModelRow *model, Gda
Row *row, GError **error); | |
| }; | | }; | |
| | | | |
|
| GType gda_data_model_row_get_type (void); | | GType gda_data_model_row_get_type (void) G_GNUC_CONST; | |
| GdaRow *gda_data_model_row_get_row (GdaDataModelRow *model, gin
t row, GError **error); | | GdaRow *gda_data_model_row_get_row (GdaDataModelRow *model, gin
t row, GError **error); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-data-model.h | | gda-data-model.h | |
| | | | |
| skipping to change at line 118 | | skipping to change at line 118 | |
| void (* row_inserted) (GdaDataModel *model, gi
nt row); | | void (* row_inserted) (GdaDataModel *model, gi
nt row); | |
| void (* row_updated) (GdaDataModel *model, gi
nt row); | | void (* row_updated) (GdaDataModel *model, gi
nt row); | |
| void (* row_removed) (GdaDataModel *model, gi
nt row); | | void (* row_removed) (GdaDataModel *model, gi
nt row); | |
| void (* reset) (GdaDataModel *model); | | void (* reset) (GdaDataModel *model); | |
| gpointer sig_reserved1; | | gpointer sig_reserved1; | |
| gpointer sig_reserved2; | | gpointer sig_reserved2; | |
| gpointer sig_reserved3; | | gpointer sig_reserved3; | |
| gpointer sig_reserved4; | | gpointer sig_reserved4; | |
| }; | | }; | |
| | | | |
|
| GType gda_data_model_get_type (void); | | GType gda_data_model_get_type (void) G_GNUC_CON
ST; | |
| | | | |
| gboolean gda_data_model_is_updatable (GdaDataModel *mo
del); | | gboolean gda_data_model_is_updatable (GdaDataModel *mo
del); | |
| GdaDataModelAccessFlags gda_data_model_get_access_flags (GdaDataModel
*model); | | GdaDataModelAccessFlags gda_data_model_get_access_flags (GdaDataModel
*model); | |
| | | | |
| gint gda_data_model_get_n_rows (GdaDataModel *mo
del); | | gint gda_data_model_get_n_rows (GdaDataModel *mo
del); | |
| gint gda_data_model_get_n_columns (GdaDataModel *mo
del); | | gint gda_data_model_get_n_columns (GdaDataModel *mo
del); | |
| | | | |
| GdaColumn *gda_data_model_describe_column (GdaDataModel *mo
del, gint col); | | GdaColumn *gda_data_model_describe_column (GdaDataModel *mo
del, gint col); | |
| gint gda_data_model_get_column_index_by_name(GdaDataModel *m
odel, const gchar *name); | | gint gda_data_model_get_column_index_by_name(GdaDataModel *m
odel, const gchar *name); | |
|
| | | const gchar *gda_data_model_get_column_name (GdaDataModel *mod | |
| | | el, gint col); | |
| | | void gda_data_model_set_column_name (GdaDataModel *mod | |
| | | el, gint col, const gchar *name); | |
| const gchar *gda_data_model_get_column_title (GdaDataModel *mo
del, gint col); | | const gchar *gda_data_model_get_column_title (GdaDataModel *mo
del, gint col); | |
| void gda_data_model_set_column_title (GdaDataModel *mo
del, gint col, const gchar *title); | | void gda_data_model_set_column_title (GdaDataModel *mo
del, gint col, const gchar *title); | |
| | | | |
| const GValue *gda_data_model_get_value_at (GdaDataModel *mo
del, gint col, gint row); | | const GValue *gda_data_model_get_value_at (GdaDataModel *mo
del, gint col, gint row); | |
| const GValue *gda_data_model_get_value_at_col_name (GdaDataModel *mo
del, | | const GValue *gda_data_model_get_value_at_col_name (GdaDataModel *mo
del, | |
| const gchar *colu
mn_name, gint row); | | const gchar *colu
mn_name, gint row); | |
| GdaValueAttribute gda_data_model_get_attributes_at (GdaDataModel *mo
del, gint col, gint row); | | GdaValueAttribute gda_data_model_get_attributes_at (GdaDataModel *mo
del, gint col, gint row); | |
| GdaDataModelIter *gda_data_model_create_iter (GdaDataModel *mo
del); | | GdaDataModelIter *gda_data_model_create_iter (GdaDataModel *mo
del); | |
| void gda_data_model_freeze (GdaDataModel *mo
del); | | void gda_data_model_freeze (GdaDataModel *mo
del); | |
| void gda_data_model_thaw (GdaDataModel *mo
del); | | void gda_data_model_thaw (GdaDataModel *mo
del); | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 5 lines changed or added | |
|
| gda-data-proxy.h | | gda-data-proxy.h | |
| | | | |
| skipping to change at line 66 | | skipping to change at line 66 | |
| | | | |
| void (* row_delete_changed) (GdaDataProxy *proxy,
gint row, gboolean to_be_deleted); | | void (* row_delete_changed) (GdaDataProxy *proxy,
gint row, gboolean to_be_deleted); | |
| | | | |
| void (* sample_size_changed) (GdaDataProxy *proxy,
gint sample_size); | | void (* sample_size_changed) (GdaDataProxy *proxy,
gint sample_size); | |
| void (* sample_changed) (GdaDataProxy *proxy,
gint sample_start, gint sample_end); | | void (* sample_changed) (GdaDataProxy *proxy,
gint sample_start, gint sample_end); | |
| | | | |
| gboolean (* pre_changes_applied) (GdaDataProxy *proxy,
gint row, gint proxied_row); | | gboolean (* pre_changes_applied) (GdaDataProxy *proxy,
gint row, gint proxied_row); | |
| void (* post_changes_applied) (GdaDataProxy *proxy,
gint row, gint proxied_row); | | void (* post_changes_applied) (GdaDataProxy *proxy,
gint row, gint proxied_row); | |
| }; | | }; | |
| | | | |
|
| GType gda_data_proxy_get_type (void); | | GType gda_data_proxy_get_type (void) G_GNUC_CON
ST; | |
| GObject *gda_data_proxy_new (GdaDataModel *mo
del); | | GObject *gda_data_proxy_new (GdaDataModel *mo
del); | |
| | | | |
| GdaDataModel *gda_data_proxy_get_proxied_model (GdaDataProxy *pr
oxy); | | GdaDataModel *gda_data_proxy_get_proxied_model (GdaDataProxy *pr
oxy); | |
| gint gda_data_proxy_get_proxied_model_n_cols (GdaDataProxy *pr
oxy); | | gint gda_data_proxy_get_proxied_model_n_cols (GdaDataProxy *pr
oxy); | |
| gint gda_data_proxy_get_proxied_model_n_rows (GdaDataProxy *pr
oxy); | | gint gda_data_proxy_get_proxied_model_n_rows (GdaDataProxy *pr
oxy); | |
| gboolean gda_data_proxy_is_read_only (GdaDataProxy *pr
oxy); | | gboolean gda_data_proxy_is_read_only (GdaDataProxy *pr
oxy); | |
| GSList *gda_data_proxy_get_values (GdaDataProxy *pr
oxy, gint proxy_row, | | GSList *gda_data_proxy_get_values (GdaDataProxy *pr
oxy, gint proxy_row, | |
| gint *cols_index,
gint n_cols); | | gint *cols_index,
gint n_cols); | |
| GdaValueAttribute gda_data_proxy_get_value_attributes (GdaDataProxy *pr
oxy, gint proxy_row, gint col); | | GdaValueAttribute gda_data_proxy_get_value_attributes (GdaDataProxy *pr
oxy, gint proxy_row, gint col); | |
| void gda_data_proxy_alter_value_attributes (GdaDataProxy *pr
oxy, gint proxy_row, gint col, GdaValueAttribute alter_flags); | | void gda_data_proxy_alter_value_attributes (GdaDataProxy *pr
oxy, gint proxy_row, gint col, GdaValueAttribute alter_flags); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-decl.h | | gda-decl.h | |
| | | | |
| skipping to change at line 24 | | skipping to change at line 24 | |
| * | | * | |
| * You should have received a copy of the GNU Library General Public | | * You should have received a copy of the GNU Library General Public | |
| * License along with this Library; see the file COPYING.LIB. If not, | | * License along with this Library; see the file COPYING.LIB. If not, | |
| * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330
, | | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330
, | |
| * Boston, MA 02111-1307, USA. | | * Boston, MA 02111-1307, USA. | |
| */ | | */ | |
| | | | |
| #ifndef __GLOBAL_DECL_H_ | | #ifndef __GLOBAL_DECL_H_ | |
| #define __GLOBAL_DECL_H_ | | #define __GLOBAL_DECL_H_ | |
| | | | |
|
| | | #include <glib.h> | |
| | | | |
| typedef struct _GdaObject GdaObject; | | typedef struct _GdaObject GdaObject; | |
| typedef struct _GdaObjectClass GdaObjectClass; | | typedef struct _GdaObjectClass GdaObjectClass; | |
| typedef struct _GdaObjectPrivate GdaObjectPrivate; | | typedef struct _GdaObjectPrivate GdaObjectPrivate; | |
| | | | |
| typedef struct _GdaConnection GdaConnection; | | typedef struct _GdaConnection GdaConnection; | |
| typedef struct _GdaConnectionClass GdaConnectionClass; | | typedef struct _GdaConnectionClass GdaConnectionClass; | |
| typedef struct _GdaConnectionPrivate GdaConnectionPrivate; | | typedef struct _GdaConnectionPrivate GdaConnectionPrivate; | |
| | | | |
| typedef struct _GdaConnectionEvent GdaConnectionEvent; | | typedef struct _GdaConnectionEvent GdaConnectionEvent; | |
| typedef struct _GdaConnectionEventClass GdaConnectionEventClass; | | typedef struct _GdaConnectionEventClass GdaConnectionEventClass; | |
| | | | |
| skipping to change at line 191 | | skipping to change at line 193 | |
| | | | |
| typedef struct _GdaGraphQuery GdaGraphQuery; | | typedef struct _GdaGraphQuery GdaGraphQuery; | |
| typedef struct _GdaGraphQueryClass GdaGraphQueryClass; | | typedef struct _GdaGraphQueryClass GdaGraphQueryClass; | |
| typedef struct _GdaGraphQueryPrivate GdaGraphQueryPrivate; | | typedef struct _GdaGraphQueryPrivate GdaGraphQueryPrivate; | |
| | | | |
| typedef struct _GdaGraphItem GdaGraphItem; | | typedef struct _GdaGraphItem GdaGraphItem; | |
| typedef struct _GdaGraphItemClass GdaGraphItemClass; | | typedef struct _GdaGraphItemClass GdaGraphItemClass; | |
| typedef struct _GdaGraphItemPrivate GdaGraphItemPrivate; | | typedef struct _GdaGraphItemPrivate GdaGraphItemPrivate; | |
| | | | |
| /* | | /* | |
|
| | | * Win32 adaptations | |
| | | */ | |
| | | #ifdef G_OS_WIN32 | |
| | | #define strtok_r(s,d,p) strtok(s,d) | |
| | | #endif | |
| | | | |
| | | /* | |
| * Various macros | | * Various macros | |
| */ | | */ | |
| #ifdef GDA_DEBUG | | #ifdef GDA_DEBUG | |
| #define D_COL_NOR "\033[0m" | | #define D_COL_NOR "\033[0m" | |
| #define D_COL_H0 "\033[;34;7m" | | #define D_COL_H0 "\033[;34;7m" | |
| #define D_COL_H1 "\033[;36;7m" | | #define D_COL_H1 "\033[;36;7m" | |
| #define D_COL_H2 "\033[;36;4m" | | #define D_COL_H2 "\033[;36;4m" | |
| #define D_COL_OK "\033[;32m" | | #define D_COL_OK "\033[;32m" | |
| #define D_COL_ERR "\033[;31;1m" | | #define D_COL_ERR "\033[;31;1m" | |
| #define AAA(X) (g_print (D_COL_H1 "DEBUG MARK %d\n" D_COL_NOR, X)) | | #define AAA(X) (g_print (D_COL_H1 "DEBUG MARK %d\n" D_COL_NOR, X)) | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 9 lines changed or added | |
|
| gda-dict-aggregate.h | | gda-dict-aggregate.h | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| GdaObject object; | | GdaObject object; | |
| GdaDictAggregatePrivate *priv; | | GdaDictAggregatePrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDictAggregateClass | | struct _GdaDictAggregateClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_aggregate_get_type (void); | | GType gda_dict_aggregate_get_type (void) G_GNUC_CONST
; | |
| GObject *gda_dict_aggregate_new (GdaDict *dict); | | GObject *gda_dict_aggregate_new (GdaDict *dict); | |
| void gda_dict_aggregate_set_dbms_id (GdaDictAggregate *
agg, const gchar *id); | | void gda_dict_aggregate_set_dbms_id (GdaDictAggregate *
agg, const gchar *id); | |
| gchar *gda_dict_aggregate_get_dbms_id (GdaDictAggregate *
agg); | | gchar *gda_dict_aggregate_get_dbms_id (GdaDictAggregate *
agg); | |
| void gda_dict_aggregate_set_sqlname (GdaDictAggregate *
agg, const gchar *sqlname); | | void gda_dict_aggregate_set_sqlname (GdaDictAggregate *
agg, const gchar *sqlname); | |
| const gchar *gda_dict_aggregate_get_sqlname (GdaDictAggregate *
agg); | | const gchar *gda_dict_aggregate_get_sqlname (GdaDictAggregate *
agg); | |
| void gda_dict_aggregate_set_arg_dict_type (GdaDictAggregate *
agg, GdaDictType *dt); | | void gda_dict_aggregate_set_arg_dict_type (GdaDictAggregate *
agg, GdaDictType *dt); | |
| GdaDictType *gda_dict_aggregate_get_arg_dict_type (GdaDictAggregate *
agg); | | GdaDictType *gda_dict_aggregate_get_arg_dict_type (GdaDictAggregate *
agg); | |
| void gda_dict_aggregate_set_ret_dict_type (GdaDictAggregate *
agg, GdaDictType *dt); | | void gda_dict_aggregate_set_ret_dict_type (GdaDictAggregate *
agg, GdaDictType *dt); | |
| GdaDictType *gda_dict_aggregate_get_ret_dict_type (GdaDictAggregate *
agg); | | GdaDictType *gda_dict_aggregate_get_ret_dict_type (GdaDictAggregate *
agg); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict-constraint.h | | gda-dict-constraint.h | |
| | | | |
| skipping to change at line 87 | | skipping to change at line 87 | |
| GdaObject object; | | GdaObject object; | |
| GdaDictConstraintPrivate *priv; | | GdaDictConstraintPrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDictConstraintClass | | struct _GdaDictConstraintClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_constraint_get_type (void); | | GType gda_dict_constraint_get_type (void) G_GNU
C_CONST; | |
| GdaDictConstraint *gda_dict_constraint_new (GdaDictTabl
e *table, GdaDictConstraintType type); | | GdaDictConstraint *gda_dict_constraint_new (GdaDictTabl
e *table, GdaDictConstraintType type); | |
| GdaDictConstraint *gda_dict_constraint_new_with_db (GdaDictData
base *db); | | GdaDictConstraint *gda_dict_constraint_new_with_db (GdaDictData
base *db); | |
| GdaDictConstraintType gda_dict_constraint_get_constraint_type (GdaDictCons
traint *cstr); | | GdaDictConstraintType gda_dict_constraint_get_constraint_type (GdaDictCons
traint *cstr); | |
| gboolean gda_dict_constraint_equal (GdaDictCons
traint *cstr1, GdaDictConstraint *cstr2); | | gboolean gda_dict_constraint_equal (GdaDictCons
traint *cstr1, GdaDictConstraint *cstr2); | |
| GdaDictTable *gda_dict_constraint_get_table (GdaDictCons
traint *cstr); | | GdaDictTable *gda_dict_constraint_get_table (GdaDictCons
traint *cstr); | |
| gboolean gda_dict_constraint_uses_field (GdaDictCons
traint *cstr, GdaDictField *field); | | gboolean gda_dict_constraint_uses_field (GdaDictCons
traint *cstr, GdaDictField *field); | |
| | | | |
| /* Primary KEY specific */ | | /* Primary KEY specific */ | |
| void gda_dict_constraint_pkey_set_fields (GdaDictCons
traint *cstr, const GSList *fields); | | void gda_dict_constraint_pkey_set_fields (GdaDictCons
traint *cstr, const GSList *fields); | |
| GSList *gda_dict_constraint_pkey_get_fields (GdaDictCons
traint *cstr); | | GSList *gda_dict_constraint_pkey_get_fields (GdaDictCons
traint *cstr); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict-database.h | | gda-dict-database.h | |
| | | | |
| skipping to change at line 82 | | skipping to change at line 82 | |
| void (*constraint_updated) (GdaDictDatabase *obj, GdaDictCo
nstraint *cstr); | | void (*constraint_updated) (GdaDictDatabase *obj, GdaDictCo
nstraint *cstr); | |
| | | | |
| void (*data_update_started) (GdaDictDatabase *obj); | | void (*data_update_started) (GdaDictDatabase *obj); | |
| void (*update_progress) (GdaDictDatabase *obj, const gch
ar * msg, guint now, guint total); | | void (*update_progress) (GdaDictDatabase *obj, const gch
ar * msg, guint now, guint total); | |
| void (*data_update_finished) (GdaDictDatabase *obj); | | void (*data_update_finished) (GdaDictDatabase *obj); | |
| | | | |
| gpointer reserved1; | | gpointer reserved1; | |
| gpointer reserved2; | | gpointer reserved2; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_database_get_type (void); | | GType gda_dict_database_get_type (void) G_GNU
C_CONST; | |
| GObject *gda_dict_database_new (GdaDict *di
ct); | | GObject *gda_dict_database_new (GdaDict *di
ct); | |
| | | | |
| GdaDict *gda_dict_database_get_dict (GdaDictDat
abase *db); | | GdaDict *gda_dict_database_get_dict (GdaDictDat
abase *db); | |
| | | | |
| gboolean gda_dict_database_update_dbms_data (GdaDictData
base *db, | | gboolean gda_dict_database_update_dbms_data (GdaDictData
base *db, | |
| GType limit_
to_type, const gchar *limit_obj_name, | | GType limit_
to_type, const gchar *limit_obj_name, | |
| GError **err
or); | | GError **err
or); | |
| void gda_dict_database_stop_update_dbms_data (GdaDictData
base *db); | | void gda_dict_database_stop_update_dbms_data (GdaDictData
base *db); | |
| | | | |
| GSList *gda_dict_database_get_tables (GdaDictData
base *db); | | GSList *gda_dict_database_get_tables (GdaDictData
base *db); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict-field.h | | gda-dict-field.h | |
| | | | |
| skipping to change at line 61 | | skipping to change at line 61 | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDictFieldClass | | struct _GdaDictFieldClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
| typedef enum { | | typedef enum { | |
| FIELD_AUTO_INCREMENT = 1 << 0 | | FIELD_AUTO_INCREMENT = 1 << 0 | |
| } GdaDictFieldAttribute; | | } GdaDictFieldAttribute; | |
| | | | |
|
| GType gda_dict_field_get_type (void); | | GType gda_dict_field_get_type (void) G_GNUC_CONST; | |
| GObject *gda_dict_field_new (GdaDict *dict, GdaDictTyp
e *type); | | GObject *gda_dict_field_new (GdaDict *dict, GdaDictTyp
e *type); | |
| | | | |
| void gda_dict_field_set_length (GdaDictField *field, gint
length); | | void gda_dict_field_set_length (GdaDictField *field, gint
length); | |
| gint gda_dict_field_get_length (GdaDictField *field); | | gint gda_dict_field_get_length (GdaDictField *field); | |
| void gda_dict_field_set_scale (GdaDictField *field, gint
length); | | void gda_dict_field_set_scale (GdaDictField *field, gint
length); | |
| gint gda_dict_field_get_scale (GdaDictField *field); | | gint gda_dict_field_get_scale (GdaDictField *field); | |
| GSList *gda_dict_field_get_constraints (GdaDictField *field); | | GSList *gda_dict_field_get_constraints (GdaDictField *field); | |
| | | | |
| void gda_dict_field_set_default_value (GdaDictField *field, cons
t GValue *value); | | void gda_dict_field_set_default_value (GdaDictField *field, cons
t GValue *value); | |
| const GValue *gda_dict_field_get_default_value (GdaDictField *field); | | const GValue *gda_dict_field_get_default_value (GdaDictField *field); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict-function.h | | gda-dict-function.h | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| GdaObject object; | | GdaObject object; | |
| GdaDictFunctionPrivate *priv; | | GdaDictFunctionPrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDictFunctionClass | | struct _GdaDictFunctionClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_function_get_type (void); | | GType gda_dict_function_get_type (void) G_GNUC_C
ONST; | |
| GObject *gda_dict_function_new (GdaDict *dict)
; | | GObject *gda_dict_function_new (GdaDict *dict)
; | |
| void gda_dict_function_set_dbms_id (GdaDictFunctio
n *func, const gchar *id); | | void gda_dict_function_set_dbms_id (GdaDictFunctio
n *func, const gchar *id); | |
| gchar *gda_dict_function_get_dbms_id (GdaDictFunctio
n *func); | | gchar *gda_dict_function_get_dbms_id (GdaDictFunctio
n *func); | |
| void gda_dict_function_set_sqlname (GdaDictFunctio
n *func, const gchar *sqlname); | | void gda_dict_function_set_sqlname (GdaDictFunctio
n *func, const gchar *sqlname); | |
| const gchar *gda_dict_function_get_sqlname (GdaDictFunctio
n *func); | | const gchar *gda_dict_function_get_sqlname (GdaDictFunctio
n *func); | |
| void gda_dict_function_set_arg_dict_types (GdaDictFunctio
n *func, const GSList *arg_types); | | void gda_dict_function_set_arg_dict_types (GdaDictFunctio
n *func, const GSList *arg_types); | |
| const GSList *gda_dict_function_get_arg_dict_types (GdaDictFunctio
n *func); | | const GSList *gda_dict_function_get_arg_dict_types (GdaDictFunctio
n *func); | |
| void gda_dict_function_set_ret_dict_type (GdaDictFunctio
n *func, GdaDictType *dt); | | void gda_dict_function_set_ret_dict_type (GdaDictFunctio
n *func, GdaDictType *dt); | |
| GdaDictType *gda_dict_function_get_ret_dict_type (GdaDictFunctio
n *func); | | GdaDictType *gda_dict_function_get_ret_dict_type (GdaDictFunctio
n *func); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict-table.h | | gda-dict-table.h | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| GdaObject object; | | GdaObject object; | |
| GdaDictTablePrivate *priv; | | GdaDictTablePrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDictTableClass | | struct _GdaDictTableClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_table_get_type (void); | | GType gda_dict_table_get_type (void) G_GNUC_CONST; | |
| GObject *gda_dict_table_new (GdaDict *dict); | | GObject *gda_dict_table_new (GdaDict *dict); | |
| | | | |
| GdaDictDatabase *gda_dict_table_get_database (GdaDictTable *table); | | GdaDictDatabase *gda_dict_table_get_database (GdaDictTable *table); | |
| gboolean gda_dict_table_is_view (GdaDictTable *table); | | gboolean gda_dict_table_is_view (GdaDictTable *table); | |
| const GSList *gda_dict_table_get_parents (GdaDictTable *table); | | const GSList *gda_dict_table_get_parents (GdaDictTable *table); | |
| GSList *gda_dict_table_get_constraints (GdaDictTable *table); | | GSList *gda_dict_table_get_constraints (GdaDictTable *table); | |
| GdaDictConstraint *gda_dict_table_get_pk_constraint (GdaDictTable *table); | | GdaDictConstraint *gda_dict_table_get_pk_constraint (GdaDictTable *table); | |
| | | | |
| gboolean gda_dict_table_update_dbms_data (GdaDictTable *table, G
Error **error); | | gboolean gda_dict_table_update_dbms_data (GdaDictTable *table, G
Error **error); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict-type.h | | gda-dict-type.h | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| GdaObject object; | | GdaObject object; | |
| GdaDictTypePrivate *priv; | | GdaDictTypePrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaDictTypeClass | | struct _GdaDictTypeClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_type_get_type (void); | | GType gda_dict_type_get_type (void) G_GNUC_CONST; | |
| GdaDictType *gda_dict_type_new (GdaDict *dict); | | GdaDictType *gda_dict_type_new (GdaDict *dict); | |
| | | | |
| void gda_dict_type_set_sqlname (GdaDictType *dt, const gch
ar *sqlname); | | void gda_dict_type_set_sqlname (GdaDictType *dt, const gch
ar *sqlname); | |
| const gchar *gda_dict_type_get_sqlname (GdaDictType *dt); | | const gchar *gda_dict_type_get_sqlname (GdaDictType *dt); | |
| | | | |
| void gda_dict_type_set_g_type (GdaDictType *dt, GType g_t
ype); | | void gda_dict_type_set_g_type (GdaDictType *dt, GType g_t
ype); | |
| GType gda_dict_type_get_g_type (GdaDictType *dt); | | GType gda_dict_type_get_g_type (GdaDictType *dt); | |
| | | | |
| void gda_dict_type_add_synonym (GdaDictType *dt, const gch
ar *synonym); | | void gda_dict_type_add_synonym (GdaDictType *dt, const gch
ar *synonym); | |
| const GSList *gda_dict_type_get_synonyms (GdaDictType *dt); | | const GSList *gda_dict_type_get_synonyms (GdaDictType *dt); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-dict.h | | gda-dict.h | |
| | | | |
| skipping to change at line 90 | | skipping to change at line 90 | |
| | | | |
| /* signal that a change in the whole dictionary has occurred */ | | /* signal that a change in the whole dictionary has occurred */ | |
| void (*changed) (GdaDict * dict); | | void (*changed) (GdaDict * dict); | |
| | | | |
| /* class variable */ | | /* class variable */ | |
| GSList *class_registry_list; /* list of GdaDictRegFunc functions *
/ | | GSList *class_registry_list; /* list of GdaDictRegFunc functions *
/ | |
| gpointer reserved1; | | gpointer reserved1; | |
| gpointer reserved2; | | gpointer reserved2; | |
| }; | | }; | |
| | | | |
|
| GType gda_dict_get_type (void); | | GType gda_dict_get_type (void) G_GNUC_CO
NST; | |
| GdaDict *gda_dict_new (void); | | GdaDict *gda_dict_new (void); | |
| void gda_dict_extend_with_functions (GdaDict *dict); | | void gda_dict_extend_with_functions (GdaDict *dict); | |
| | | | |
| void gda_dict_set_connection (GdaDict *dict,
GdaConnection *cnc); | | void gda_dict_set_connection (GdaDict *dict,
GdaConnection *cnc); | |
| GdaConnection *gda_dict_get_connection (GdaDict *dict); | | GdaConnection *gda_dict_get_connection (GdaDict *dict); | |
| GdaDictDatabase *gda_dict_get_database (GdaDict *dict); | | GdaDictDatabase *gda_dict_get_database (GdaDict *dict); | |
| | | | |
| void gda_dict_declare_object_string_id_change (GdaDict *dict,
GdaObject *obj, const gchar *oldid); | | void gda_dict_declare_object_string_id_change (GdaDict *dict,
GdaObject *obj, const gchar *oldid); | |
| GdaObject *gda_dict_get_object_by_string_id (GdaDict *dict,
const gchar *strid); | | GdaObject *gda_dict_get_object_by_string_id (GdaDict *dict,
const gchar *strid); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-enum-types.h | | gda-enum-types.h | |
| | | | |
| skipping to change at line 161 | | skipping to change at line 161 | |
| GType gda_server_operation_node_status_get_type (void); | | GType gda_server_operation_node_status_get_type (void); | |
| #define GDA_TYPE_SERVER_OPERATION_NODE_STATUS (gda_server_operation_node_st
atus_get_type()) | | #define GDA_TYPE_SERVER_OPERATION_NODE_STATUS (gda_server_operation_node_st
atus_get_type()) | |
| /* enumerations from "gda-transaction-status.h" */ | | /* enumerations from "gda-transaction-status.h" */ | |
| GType gda_transaction_status_event_type_get_type (void); | | GType gda_transaction_status_event_type_get_type (void); | |
| #define GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE (gda_transaction_status_even
t_type_get_type()) | | #define GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE (gda_transaction_status_even
t_type_get_type()) | |
| GType gda_transaction_status_state_get_type (void); | | GType gda_transaction_status_state_get_type (void); | |
| #define GDA_TYPE_TRANSACTION_STATUS_STATE (gda_transaction_status_state_get
_type()) | | #define GDA_TYPE_TRANSACTION_STATUS_STATE (gda_transaction_status_state_get
_type()) | |
| /* enumerations from "libgda.h" */ | | /* enumerations from "libgda.h" */ | |
| GType gda_general_error_get_type (void); | | GType gda_general_error_get_type (void); | |
| #define GDA_TYPE_GENERAL_ERROR (gda_general_error_get_type()) | | #define GDA_TYPE_GENERAL_ERROR (gda_general_error_get_type()) | |
|
| GType gda_general_create_table_flag_get_type (void); | | | |
| #define GDA_TYPE_GENERAL_CREATE_TABLE_FLAG (gda_general_create_table_flag_g | | | |
| et_type()) | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif /* __LIBGDA_ENUM_TYPES_H__ */ | | #endif /* __LIBGDA_ENUM_TYPES_H__ */ | |
| | | | |
End of changes. 1 change blocks. |
| 3 lines changed or deleted | | 0 lines changed or added | |
|
| gda-graph.h | | gda-graph.h | |
| | | | |
| skipping to change at line 62 | | skipping to change at line 62 | |
| struct _GdaGraphClass | | struct _GdaGraphClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| void (*item_added) (GdaGraph *graph, GdaGraphItem *item); | | void (*item_added) (GdaGraph *graph, GdaGraphItem *item); | |
| void (*item_dropped) (GdaGraph *graph, GdaGraphItem *item); | | void (*item_dropped) (GdaGraph *graph, GdaGraphItem *item); | |
| void (*item_moved) (GdaGraph *graph, GdaGraphItem *item); | | void (*item_moved) (GdaGraph *graph, GdaGraphItem *item); | |
| }; | | }; | |
| | | | |
|
| GType gda_graph_get_type (void); | | GType gda_graph_get_type (void) G_GNUC_CONST; | |
| | | | |
| GObject *gda_graph_new (GdaDict *dict, GdaGraphType
type); | | GObject *gda_graph_new (GdaDict *dict, GdaGraphType
type); | |
| GdaGraphType gda_graph_get_graph_type (GdaGraph *graph); | | GdaGraphType gda_graph_get_graph_type (GdaGraph *graph); | |
| | | | |
| void gda_graph_add_item (GdaGraph *graph, GdaGraphIt
em *item); | | void gda_graph_add_item (GdaGraph *graph, GdaGraphIt
em *item); | |
| void gda_graph_del_item (GdaGraph *graph, GdaGraphIt
em *item); | | void gda_graph_del_item (GdaGraph *graph, GdaGraphIt
em *item); | |
| GdaGraphItem *gda_graph_get_item_from_obj (GdaGraph *graph, GdaObject
*ref_obj, gboolean create_if_needed); | | GdaGraphItem *gda_graph_get_item_from_obj (GdaGraph *graph, GdaObject
*ref_obj, gboolean create_if_needed); | |
| GSList *gda_graph_get_items (GdaGraph *graph); | | GSList *gda_graph_get_items (GdaGraph *graph); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-handler-time.h | | gda-handler-time.h | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 52 | |
| | | | |
| GdaHandlerTimePriv *priv; | | GdaHandlerTimePriv *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaHandlerTimeClass | | struct _GdaHandlerTimeClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_handler_time_get_type (void); | | GType gda_handler_time_get_type (void) G_GNUC_CONST; | |
| GdaDataHandler *gda_handler_time_new (void); | | GdaDataHandler *gda_handler_time_new (void); | |
| GdaDataHandler *gda_handler_time_new_no_locale (void); | | GdaDataHandler *gda_handler_time_new_no_locale (void); | |
| void gda_handler_time_set_sql_spec (GdaHandlerTime *dh, GDateDM
Y first, GDateDMY sec, | | void gda_handler_time_set_sql_spec (GdaHandlerTime *dh, GDateDM
Y first, GDateDMY sec, | |
| GDateDMY third, gchar separa
tor, gboolean twodigits_years); | | GDateDMY third, gchar separa
tor, gboolean twodigits_years); | |
| | | | |
| gchar *gda_handler_time_get_no_locale_str_from_value (GdaHandlerTi
me *dh, const GValue *value); | | gchar *gda_handler_time_get_no_locale_str_from_value (GdaHandlerTi
me *dh, const GValue *value); | |
| | | | |
| gchar *gda_handler_time_get_format (GdaHandlerTime *dh, GType t
ype); | | gchar *gda_handler_time_get_format (GdaHandlerTime *dh, GType t
ype); | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-object-ref.h | | gda-object-ref.h | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 65 | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaObjectRefClass | | struct _GdaObjectRefClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| void (*ref_found) (GdaObjectRef *obj); | | void (*ref_found) (GdaObjectRef *obj); | |
| void (*ref_lost) (GdaObjectRef *obj); | | void (*ref_lost) (GdaObjectRef *obj); | |
| }; | | }; | |
| | | | |
|
| GType gda_object_ref_get_type (void); | | GType gda_object_ref_get_type (void) G_GNUC_CONST; | |
| GObject *gda_object_ref_new (GdaDict *dict); | | GObject *gda_object_ref_new (GdaDict *dict); | |
| GObject *gda_object_ref_new_no_ref_count (GdaDict *dict); | | GObject *gda_object_ref_new_no_ref_count (GdaDict *dict); | |
| GObject *gda_object_ref_new_copy (GdaObjectRef *orig); | | GObject *gda_object_ref_new_copy (GdaObjectRef *orig); | |
| | | | |
| void gda_object_ref_set_ref_name (GdaObjectRef *ref, GType
ref_type, | | void gda_object_ref_set_ref_name (GdaObjectRef *ref, GType
ref_type, | |
| GdaObjectRefType type, co
nst gchar *name); | | GdaObjectRefType type, co
nst gchar *name); | |
| const gchar *gda_object_ref_get_ref_name (GdaObjectRef *ref, GType
*ref_type, GdaObjectRefType *type); | | const gchar *gda_object_ref_get_ref_name (GdaObjectRef *ref, GType
*ref_type, GdaObjectRefType *type); | |
| const gchar *gda_object_ref_get_ref_object_name (GdaObjectRef *ref); | | const gchar *gda_object_ref_get_ref_object_name (GdaObjectRef *ref); | |
| GType gda_object_ref_get_ref_type (GdaObjectRef *ref); | | GType gda_object_ref_get_ref_type (GdaObjectRef *ref); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-object.h | | gda-object.h | |
| | | | |
| skipping to change at line 67 | | skipping to change at line 67 | |
| void (*signal_changed) (GdaObject *object, gboolean block_cha
nged_signal); | | void (*signal_changed) (GdaObject *object, gboolean block_cha
nged_signal); | |
| #ifdef GDA_DEBUG | | #ifdef GDA_DEBUG | |
| void (*dump) (GdaObject *object, guint offset); | | void (*dump) (GdaObject *object, guint offset); | |
| #endif | | #endif | |
| | | | |
| /* class attributes */ | | /* class attributes */ | |
| gboolean id_unique_enforced; /* TRUE if a unique string ID must
be enforced for that class */ | | gboolean id_unique_enforced; /* TRUE if a unique string ID must
be enforced for that class */ | |
| gboolean name_as_initial_id; /* TRUE if the name of the object
must be copied as the ID if ID is NULL */ | | gboolean name_as_initial_id; /* TRUE if the name of the object
must be copied as the ID if ID is NULL */ | |
| }; | | }; | |
| | | | |
|
| GType gda_object_get_type (void); | | GType gda_object_get_type (void) G_GNUC_CONST; | |
| GdaDict *gda_object_get_dict (GdaObject *gdaobj); | | GdaDict *gda_object_get_dict (GdaObject *gdaobj); | |
| | | | |
| void gda_object_set_id (GdaObject *gdaobj, const gchar *st
rid); | | void gda_object_set_id (GdaObject *gdaobj, const gchar *st
rid); | |
| void gda_object_set_name (GdaObject *gdaobj, const gchar *na
me); | | void gda_object_set_name (GdaObject *gdaobj, const gchar *na
me); | |
| void gda_object_set_description (GdaObject *gdaobj, const gchar *de
scr); | | void gda_object_set_description (GdaObject *gdaobj, const gchar *de
scr); | |
| void gda_object_set_owner (GdaObject *gdaobj, const gchar *ow
ner); | | void gda_object_set_owner (GdaObject *gdaobj, const gchar *ow
ner); | |
| | | | |
| const gchar *gda_object_get_id (GdaObject *gdaobj); | | const gchar *gda_object_get_id (GdaObject *gdaobj); | |
| const gchar *gda_object_get_name (GdaObject *gdaobj); | | const gchar *gda_object_get_name (GdaObject *gdaobj); | |
| const gchar *gda_object_get_description (GdaObject *gdaobj); | | const gchar *gda_object_get_description (GdaObject *gdaobj); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-parameter-list.h | | gda-parameter-list.h | |
| | | | |
| skipping to change at line 130 | | skipping to change at line 130 | |
| struct _GdaParameterListClass | | struct _GdaParameterListClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| | | | |
| void (*param_changed) (GdaParameterList *par
amlist, GdaParameter *param); | | void (*param_changed) (GdaParameterList *par
amlist, GdaParameter *param); | |
| void (*param_plugin_changed) (GdaParameterList *par
amlist, GdaParameter *param); | | void (*param_plugin_changed) (GdaParameterList *par
amlist, GdaParameter *param); | |
| void (*param_attr_changed) (GdaParameterList *par
amlist, GdaParameter *param); | | void (*param_attr_changed) (GdaParameterList *par
amlist, GdaParameter *param); | |
| void (*public_data_changed) (GdaParameterList *par
amlist); | | void (*public_data_changed) (GdaParameterList *par
amlist); | |
| }; | | }; | |
| | | | |
|
| GType gda_parameter_list_get_type (void); | | GType gda_parameter_list_get_type (void)
G_GNUC_CONST; | |
| GdaParameterList *gda_parameter_list_new (GSList
*params); | | GdaParameterList *gda_parameter_list_new (GSList
*params); | |
| GdaParameterList *gda_parameter_list_new_inline (GdaDic
t *dict, ...); | | GdaParameterList *gda_parameter_list_new_inline (GdaDic
t *dict, ...); | |
| | | | |
| GdaParameterList *gda_parameter_list_new_from_spec_string (GdaDic
t *dict, const gchar *xml_spec, GError **error); | | GdaParameterList *gda_parameter_list_new_from_spec_string (GdaDic
t *dict, const gchar *xml_spec, GError **error); | |
| GdaParameterList *gda_parameter_list_new_from_spec_node (GdaDic
t *dict, xmlNodePtr xml_spec, GError **error); | | GdaParameterList *gda_parameter_list_new_from_spec_node (GdaDic
t *dict, xmlNodePtr xml_spec, GError **error); | |
| gchar *gda_parameter_list_get_spec (GdaPar
ameterList *paramlist); | | gchar *gda_parameter_list_get_spec (GdaPar
ameterList *paramlist); | |
| | | | |
| guint gda_parameter_list_get_length (GdaPar
ameterList *paramlist); | | guint gda_parameter_list_get_length (GdaPar
ameterList *paramlist); | |
| | | | |
| void gda_parameter_list_add_param (GdaPar
ameterList *paramlist, GdaParameter *param); | | void gda_parameter_list_add_param (GdaPar
ameterList *paramlist, GdaParameter *param); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-parameter.h | | gda-parameter.h | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 60 | |
| struct _GdaParameterClass | | struct _GdaParameterClass | |
| { | | { | |
| GdaObjectClass parent_class; | | GdaObjectClass parent_class; | |
| void (*restrict_changed) (GdaParameter *
param); | | void (*restrict_changed) (GdaParameter *
param); | |
| void (*reserved_0) (GdaParameter *
param); | | void (*reserved_0) (GdaParameter *
param); | |
| void (*reserved_1) (GdaParameter *
param); | | void (*reserved_1) (GdaParameter *
param); | |
| void (*reserved_2) (GdaParameter *
param); | | void (*reserved_2) (GdaParameter *
param); | |
| void (*reserved_3) (GdaParameter *
param); | | void (*reserved_3) (GdaParameter *
param); | |
| }; | | }; | |
| | | | |
|
| GType gda_parameter_get_type (void); | | GType gda_parameter_get_type (void) G_GNUC_
CONST; | |
| GdaParameter *gda_parameter_new (GType type); | | GdaParameter *gda_parameter_new (GType type); | |
| GdaParameter *gda_parameter_new_copy (GdaParameter
*orig); | | GdaParameter *gda_parameter_new_copy (GdaParameter
*orig); | |
| GType gda_parameter_get_g_type (GdaParameter
*param); | | GType gda_parameter_get_g_type (GdaParameter
*param); | |
| | | | |
| GdaParameter *gda_parameter_new_string (const gchar *
name, const gchar *str); | | GdaParameter *gda_parameter_new_string (const gchar *
name, const gchar *str); | |
| GdaParameter *gda_parameter_new_boolean (const gchar *
name, gboolean value); | | GdaParameter *gda_parameter_new_boolean (const gchar *
name, gboolean value); | |
| | | | |
| const GValue *gda_parameter_get_value (GdaParameter
*param); | | const GValue *gda_parameter_get_value (GdaParameter
*param); | |
| gchar *gda_parameter_get_value_str (GdaParameter
*param); | | gchar *gda_parameter_get_value_str (GdaParameter
*param); | |
| void gda_parameter_set_value (GdaParameter
*param, const GValue *value); | | void gda_parameter_set_value (GdaParameter
*param, const GValue *value); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-quark-list.h | | gda-quark-list.h | |
| | | | |
| skipping to change at line 37 | | skipping to change at line 37 | |
| #include <glib/gmacros.h> | | #include <glib/gmacros.h> | |
| #include <glib/gtypes.h> | | #include <glib/gtypes.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| typedef struct _GdaQuarkList GdaQuarkList; | | typedef struct _GdaQuarkList GdaQuarkList; | |
| | | | |
| #define GDA_TYPE_QUARK_LIST (gda_quark_list_get_type()) | | #define GDA_TYPE_QUARK_LIST (gda_quark_list_get_type()) | |
| | | | |
|
| GType gda_quark_list_get_type (void); | | GType gda_quark_list_get_type (void) G_GNUC_CONST; | |
| GdaQuarkList *gda_quark_list_new (void); | | GdaQuarkList *gda_quark_list_new (void); | |
| GdaQuarkList *gda_quark_list_new_from_string (const gchar *string); | | GdaQuarkList *gda_quark_list_new_from_string (const gchar *string); | |
| GdaQuarkList *gda_quark_list_copy (GdaQuarkList *qlist); | | GdaQuarkList *gda_quark_list_copy (GdaQuarkList *qlist); | |
| void gda_quark_list_free (GdaQuarkList *qlist); | | void gda_quark_list_free (GdaQuarkList *qlist); | |
| | | | |
| void gda_quark_list_add_from_string (GdaQuarkList *qlist, | | void gda_quark_list_add_from_string (GdaQuarkList *qlist, | |
| const gchar *string, | | const gchar *string, | |
| gboolean cleanup); | | gboolean cleanup); | |
| const gchar *gda_quark_list_find (GdaQuarkList *qlist, const gc
har *name); | | const gchar *gda_quark_list_find (GdaQuarkList *qlist, const gc
har *name); | |
| void gda_quark_list_remove (GdaQuarkList *qlist, const gc
har *name); | | void gda_quark_list_remove (GdaQuarkList *qlist, const gc
har *name); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-query-condition.h | | gda-query-condition.h | |
| | | | |
| skipping to change at line 87 | | skipping to change at line 87 | |
| GdaQueryObject object; | | GdaQueryObject object; | |
| GdaQueryConditionPrivate *priv; | | GdaQueryConditionPrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaQueryConditionClass | | struct _GdaQueryConditionClass | |
| { | | { | |
| GdaQueryObjectClass parent_class; | | GdaQueryObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_query_condition_get_type (void); | | GType gda_query_condition_get_type (void) G_
GNUC_CONST; | |
| GdaQueryCondition *gda_query_condition_new (GdaQuery
*query, GdaQueryConditionType type); | | GdaQueryCondition *gda_query_condition_new (GdaQuery
*query, GdaQueryConditionType type); | |
| GdaQueryCondition *gda_query_condition_new_copy (GdaQuery
Condition *orig, GHashTable *replacements); | | GdaQueryCondition *gda_query_condition_new_copy (GdaQuery
Condition *orig, GHashTable *replacements); | |
| GdaQueryCondition *gda_query_condition_new_from_sql (GdaQuery
*query, const gchar *sql_cond, | | GdaQueryCondition *gda_query_condition_new_from_sql (GdaQuery
*query, const gchar *sql_cond, | |
| GSList **
targets, GError **error); | | GSList **
targets, GError **error); | |
| | | | |
| void gda_query_condition_set_cond_type (GdaQuery
Condition *condition, GdaQueryConditionType type); | | void gda_query_condition_set_cond_type (GdaQuery
Condition *condition, GdaQueryConditionType type); | |
| GdaQueryConditionType gda_query_condition_get_cond_type (GdaQuery
Condition *condition); | | GdaQueryConditionType gda_query_condition_get_cond_type (GdaQuery
Condition *condition); | |
| | | | |
| GSList *gda_query_condition_get_children (GdaQuery
Condition *condition); | | GSList *gda_query_condition_get_children (GdaQuery
Condition *condition); | |
| GdaQueryCondition *gda_query_condition_get_parent (GdaQuery
Condition *condition); | | GdaQueryCondition *gda_query_condition_get_parent (GdaQuery
Condition *condition); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-query-field-value.h | | gda-query-field-value.h | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| GdaQueryField object; | | GdaQueryField object; | |
| GdaQueryFieldValuePrivate *priv; | | GdaQueryFieldValuePrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaQueryFieldValueClass | | struct _GdaQueryFieldValueClass | |
| { | | { | |
| GdaQueryFieldClass parent_class; | | GdaQueryFieldClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_query_field_value_get_type (void); | | GType gda_query_field_value_get_type (void) G_GNUC_C
ONST; | |
| GdaQueryField *gda_query_field_value_new (GdaQuery *quer
y, GType type); | | GdaQueryField *gda_query_field_value_new (GdaQuery *quer
y, GType type); | |
| | | | |
| void gda_query_field_value_set_value (GdaQueryFieldV
alue *field, const GValue *val); | | void gda_query_field_value_set_value (GdaQueryFieldV
alue *field, const GValue *val); | |
| const GValue *gda_query_field_value_get_value (GdaQueryFieldV
alue *field); | | const GValue *gda_query_field_value_get_value (GdaQueryFieldV
alue *field); | |
| void gda_query_field_value_set_default_value (GdaQueryFieldV
alue *field, const GValue *default_val); | | void gda_query_field_value_set_default_value (GdaQueryFieldV
alue *field, const GValue *default_val); | |
| const GValue *gda_query_field_value_get_default_value (GdaQueryFieldV
alue *field); | | const GValue *gda_query_field_value_get_default_value (GdaQueryFieldV
alue *field); | |
| | | | |
| void gda_query_field_value_set_is_parameter (GdaQueryFieldV
alue *field, gboolean is_param); | | void gda_query_field_value_set_is_parameter (GdaQueryFieldV
alue *field, gboolean is_param); | |
| gboolean gda_query_field_value_get_is_parameter (GdaQueryFieldV
alue *field); | | gboolean gda_query_field_value_get_is_parameter (GdaQueryFieldV
alue *field); | |
| gint gda_query_field_value_get_parameter_index (GdaQueryFieldV
alue *field); | | gint gda_query_field_value_get_parameter_index (GdaQueryFieldV
alue *field); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-query-field.h | | gda-query-field.h | |
| | | | |
| skipping to change at line 72 | | skipping to change at line 72 | |
| { | | { | |
| GdaQueryObjectClass parent_class; | | GdaQueryObjectClass parent_class; | |
| | | | |
| /* pure virtual functions */ | | /* pure virtual functions */ | |
| GObject *(*copy) (GdaQueryField *orig); | | GObject *(*copy) (GdaQueryField *orig); | |
| GSList *(*get_params) (GdaQueryField *qfield); | | GSList *(*get_params) (GdaQueryField *qfield); | |
| gboolean (*is_equal) (GdaQueryField *qfield1, GdaQuer
yField *qfield2); | | gboolean (*is_equal) (GdaQueryField *qfield1, GdaQuer
yField *qfield2); | |
| gboolean (*is_list) (GdaQueryField *qfield); | | gboolean (*is_list) (GdaQueryField *qfield); | |
| }; | | }; | |
| | | | |
|
| GType gda_query_field_get_type (void); | | GType gda_query_field_get_type (void) G_GNUC_CONST; | |
| GdaQueryField *gda_query_field_new_from_xml (GdaQuery *query, xmlNode
Ptr node, GError **error); | | GdaQueryField *gda_query_field_new_from_xml (GdaQuery *query, xmlNode
Ptr node, GError **error); | |
| GdaQueryField *gda_query_field_new_copy (GdaQueryField *orig); | | GdaQueryField *gda_query_field_new_copy (GdaQueryField *orig); | |
| GdaQueryField *gda_query_field_new_from_sql (GdaQuery *query, const g
char *sqlfield, GError **error); | | GdaQueryField *gda_query_field_new_from_sql (GdaQuery *query, const g
char *sqlfield, GError **error); | |
| | | | |
| GdaDictType *gda_query_field_get_dict_type (GdaQueryField *qfield); | | GdaDictType *gda_query_field_get_dict_type (GdaQueryField *qfield); | |
| GSList *gda_query_field_get_parameters (GdaQueryField *qfield); | | GSList *gda_query_field_get_parameters (GdaQueryField *qfield); | |
| void gda_query_field_set_alias (GdaQueryField *qfield, c
onst gchar *alias); | | void gda_query_field_set_alias (GdaQueryField *qfield, c
onst gchar *alias); | |
| const gchar *gda_query_field_get_alias (GdaQueryField *qfield); | | const gchar *gda_query_field_get_alias (GdaQueryField *qfield); | |
| | | | |
| void gda_query_field_set_visible (GdaQueryField *qfield, g
boolean visible); | | void gda_query_field_set_visible (GdaQueryField *qfield, g
boolean visible); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-query-join.h | | gda-query-join.h | |
| | | | |
| skipping to change at line 75 | | skipping to change at line 75 | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaQueryJoinClass | | struct _GdaQueryJoinClass | |
| { | | { | |
| GdaQueryObjectClass parent_class; | | GdaQueryObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| void (*type_changed) (GdaQueryJoin *join); | | void (*type_changed) (GdaQueryJoin *join); | |
| void (*condition_changed) (GdaQueryJoin *join); | | void (*condition_changed) (GdaQueryJoin *join); | |
| }; | | }; | |
| | | | |
|
| GType gda_query_join_get_type (void); | | GType gda_query_join_get_type (void) G_GNUC_C
ONST; | |
| GdaQueryJoin *gda_query_join_new_with_targets (GdaQuery *quer
y, GdaQueryTarget *target_1, GdaQueryTarget *target_2); | | GdaQueryJoin *gda_query_join_new_with_targets (GdaQuery *quer
y, GdaQueryTarget *target_1, GdaQueryTarget *target_2); | |
| GdaQueryJoin *gda_query_join_new_with_xml_ids (GdaQuery *quer
y, const gchar *target_1_xml_id, const gchar *target_2_xml_id); | | GdaQueryJoin *gda_query_join_new_with_xml_ids (GdaQuery *quer
y, const gchar *target_1_xml_id, const gchar *target_2_xml_id); | |
| GdaQueryJoin *gda_query_join_new_copy (GdaQueryJoin *
orig, GHashTable *replacements); | | GdaQueryJoin *gda_query_join_new_copy (GdaQueryJoin *
orig, GHashTable *replacements); | |
| | | | |
| void gda_query_join_set_join_type (GdaQueryJoin *
join, GdaQueryJoinType type); | | void gda_query_join_set_join_type (GdaQueryJoin *
join, GdaQueryJoinType type); | |
| GdaQueryJoinType gda_query_join_get_join_type (GdaQueryJoin *
join); | | GdaQueryJoinType gda_query_join_get_join_type (GdaQueryJoin *
join); | |
| GdaQuery *gda_query_join_get_query (GdaQueryJoin *
join); | | GdaQuery *gda_query_join_get_query (GdaQueryJoin *
join); | |
| | | | |
| GdaQueryTarget *gda_query_join_get_target_1 (GdaQueryJoin *
join); | | GdaQueryTarget *gda_query_join_get_target_1 (GdaQueryJoin *
join); | |
| GdaQueryTarget *gda_query_join_get_target_2 (GdaQueryJoin *
join); | | GdaQueryTarget *gda_query_join_get_target_2 (GdaQueryJoin *
join); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-query-target.h | | gda-query-target.h | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| GdaQueryObject object; | | GdaQueryObject object; | |
| GdaQueryTargetPrivate *priv; | | GdaQueryTargetPrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaQueryTargetClass | | struct _GdaQueryTargetClass | |
| { | | { | |
| GdaQueryObjectClass parent_class; | | GdaQueryObjectClass parent_class; | |
| }; | | }; | |
| | | | |
|
| GType gda_query_target_get_type (void); | | GType gda_query_target_get_type (void) G_GNUC_CONST
; | |
| | | | |
| GdaQueryTarget *gda_query_target_new (GdaQuery *query, c
onst gchar *table); | | GdaQueryTarget *gda_query_target_new (GdaQuery *query, c
onst gchar *table); | |
| GdaQueryTarget *gda_query_target_new_copy (GdaQueryTarget *or
ig); | | GdaQueryTarget *gda_query_target_new_copy (GdaQueryTarget *or
ig); | |
| | | | |
| GdaQuery *gda_query_target_get_query (GdaQueryTarget *ta
rget); | | GdaQuery *gda_query_target_get_query (GdaQueryTarget *ta
rget); | |
| GdaEntity *gda_query_target_get_represented_entity (GdaQueryTarget *ta
rget); | | GdaEntity *gda_query_target_get_represented_entity (GdaQueryTarget *ta
rget); | |
| const gchar *gda_query_target_get_represented_table_name (GdaQueryTarget
*target); | | const gchar *gda_query_target_get_represented_table_name (GdaQueryTarget
*target); | |
| | | | |
| void gda_query_target_set_alias (GdaQueryTarget *ta
rget, const gchar *alias); | | void gda_query_target_set_alias (GdaQueryTarget *ta
rget, const gchar *alias); | |
| const gchar *gda_query_target_get_alias (GdaQueryTarget *ta
rget); | | const gchar *gda_query_target_get_alias (GdaQueryTarget *ta
rget); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-query.h | | gda-query.h | |
| | | | |
| skipping to change at line 65 | | skipping to change at line 65 | |
| GDA_QUERY_FIELDS_ERROR, | | GDA_QUERY_FIELDS_ERROR, | |
| GDA_QUERY_TARGETS_ERROR, | | GDA_QUERY_TARGETS_ERROR, | |
| GDA_QUERY_RENDER_ERROR, | | GDA_QUERY_RENDER_ERROR, | |
| GDA_QUERY_PARSE_ERROR, | | GDA_QUERY_PARSE_ERROR, | |
| GDA_QUERY_SYNTAX_ERROR, | | GDA_QUERY_SYNTAX_ERROR, | |
| GDA_QUERY_STRUCTURE_ERROR, | | GDA_QUERY_STRUCTURE_ERROR, | |
| GDA_QUERY_SQL_ANALYSE_ERROR, | | GDA_QUERY_SQL_ANALYSE_ERROR, | |
| GDA_QUERY_NO_CNC_ERROR, | | GDA_QUERY_NO_CNC_ERROR, | |
| GDA_QUERY_CNC_CLOSED_ERROR, | | GDA_QUERY_CNC_CLOSED_ERROR, | |
| GDA_QUERY_EXEC_ERROR, | | GDA_QUERY_EXEC_ERROR, | |
|
| GDA_QUERY_PARAM_TYPE_ERROR | | GDA_QUERY_PARAM_TYPE_ERROR, | |
| | | GDA_QUERY_MULTIPLE_STATEMENTS_ERROR, | |
| } GdaQueryError; | | } GdaQueryError; | |
| | | | |
| /* struct for the object's data */ | | /* struct for the object's data */ | |
| struct _GdaQuery | | struct _GdaQuery | |
| { | | { | |
| GdaQueryObject object; | | GdaQueryObject object; | |
| GdaQueryPrivate *priv; | | GdaQueryPrivate *priv; | |
| }; | | }; | |
| | | | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| | | | |
| skipping to change at line 97 | | skipping to change at line 98 | |
| | | | |
| void (*join_added) (GdaQuery *query, GdaQueryJoin *join)
; | | void (*join_added) (GdaQuery *query, GdaQueryJoin *join)
; | |
| void (*join_removed) (GdaQuery *query, GdaQueryJoin *join)
; | | void (*join_removed) (GdaQuery *query, GdaQueryJoin *join)
; | |
| void (*join_updated) (GdaQuery *query, GdaQueryJoin *join)
; | | void (*join_updated) (GdaQuery *query, GdaQueryJoin *join)
; | |
| | | | |
| void (*sub_query_added) (GdaQuery *query, GdaQuery *sub_query
); | | void (*sub_query_added) (GdaQuery *query, GdaQuery *sub_query
); | |
| void (*sub_query_removed) (GdaQuery *query, GdaQuery *sub_query
); | | void (*sub_query_removed) (GdaQuery *query, GdaQuery *sub_query
); | |
| void (*sub_query_updated) (GdaQuery *query, GdaQuery *sub_query
); | | void (*sub_query_updated) (GdaQuery *query, GdaQuery *sub_query
); | |
| }; | | }; | |
| | | | |
|
| GType gda_query_get_type (void); | | GType gda_query_get_type (void) G_GNUC_CONST; | |
| GdaQuery *gda_query_new (GdaDict *dict); | | GdaQuery *gda_query_new (GdaDict *dict); | |
| GdaQuery *gda_query_new_copy (GdaQuery *orig, GHashT
able *replacements); | | GdaQuery *gda_query_new_copy (GdaQuery *orig, GHashT
able *replacements); | |
| GdaQuery *gda_query_new_from_sql (GdaDict *dict, const g
char *sql, GError **error); | | GdaQuery *gda_query_new_from_sql (GdaDict *dict, const g
char *sql, GError **error); | |
| | | | |
| void gda_query_set_query_type (GdaQuery *query, GdaQu
eryType type); | | void gda_query_set_query_type (GdaQuery *query, GdaQu
eryType type); | |
| GdaQueryType gda_query_get_query_type (GdaQuery *query); | | GdaQueryType gda_query_get_query_type (GdaQuery *query); | |
| const gchar *gda_query_get_query_type_string (GdaQuery *query); | | const gchar *gda_query_get_query_type_string (GdaQuery *query); | |
| gboolean gda_query_is_select_query (GdaQuery *query); | | gboolean gda_query_is_select_query (GdaQuery *query); | |
| gboolean gda_query_is_insert_query (GdaQuery *query); | | gboolean gda_query_is_insert_query (GdaQuery *query); | |
| gboolean gda_query_is_update_query (GdaQuery *query); | | gboolean gda_query_is_update_query (GdaQuery *query); | |
| | | | |
| skipping to change at line 120 | | skipping to change at line 121 | |
| gboolean gda_query_is_well_formed (GdaQuery *query, GdaPa
rameterList *context, GError **error); | | gboolean gda_query_is_well_formed (GdaQuery *query, GdaPa
rameterList *context, GError **error); | |
| GdaQuery *gda_query_get_parent_query (GdaQuery *query); | | GdaQuery *gda_query_get_parent_query (GdaQuery *query); | |
| | | | |
| GSList *gda_query_get_parameters (GdaQuery *query); | | GSList *gda_query_get_parameters (GdaQuery *query); | |
| GdaParameterList *gda_query_get_parameter_list (GdaQuery *query); | | GdaParameterList *gda_query_get_parameter_list (GdaQuery *query); | |
| GdaObject *gda_query_execute (GdaQuery *query, GdaPa
rameterList *params, | | GdaObject *gda_query_execute (GdaQuery *query, GdaPa
rameterList *params, | |
| gboolean iter_model_onl
y_requested, GError **error); | | gboolean iter_model_onl
y_requested, GError **error); | |
| | | | |
| /* if SQL queries */ | | /* if SQL queries */ | |
| void gda_query_set_sql_text (GdaQuery *query, const
gchar *sql, GError **error); | | void gda_query_set_sql_text (GdaQuery *query, const
gchar *sql, GError **error); | |
|
| const gchar *gda_query_get_sql_text (GdaQuery *query); | | gchar *gda_query_get_sql_text (GdaQuery *query); | |
| | | | |
| /* for other types of queries */ | | /* for other types of queries */ | |
| GSList *gda_query_get_sub_queries (GdaQuery *query); | | GSList *gda_query_get_sub_queries (GdaQuery *query); | |
| void gda_query_add_sub_query (GdaQuery *query, GdaQu
ery *sub_query); | | void gda_query_add_sub_query (GdaQuery *query, GdaQu
ery *sub_query); | |
| void gda_query_del_sub_query (GdaQuery *query, GdaQu
ery *sub_query); | | void gda_query_del_sub_query (GdaQuery *query, GdaQu
ery *sub_query); | |
| | | | |
| void gda_query_add_param_source (GdaQuery *query, GdaDa
taModel *param_source); | | void gda_query_add_param_source (GdaQuery *query, GdaDa
taModel *param_source); | |
| void gda_query_del_param_source (GdaQuery *query, GdaDa
taModel *param_source); | | void gda_query_del_param_source (GdaQuery *query, GdaDa
taModel *param_source); | |
| const GSList *gda_query_get_param_sources (GdaQuery *query); | | const GSList *gda_query_get_param_sources (GdaQuery *query); | |
| | | | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| gda-renderer.h | | gda-renderer.h | |
| | | | |
| skipping to change at line 41 | | skipping to change at line 41 | |
| #define GDA_RENDERER(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYP
E_RENDERER, GdaRenderer) | | #define GDA_RENDERER(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYP
E_RENDERER, GdaRenderer) | |
| #define GDA_IS_RENDERER(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYP
E_RENDERER) | | #define GDA_IS_RENDERER(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYP
E_RENDERER) | |
| #define GDA_RENDERER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj),
GDA_TYPE_RENDERER, GdaRendererIface)) | | #define GDA_RENDERER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj),
GDA_TYPE_RENDERER, GdaRendererIface)) | |
| | | | |
| /* rendering options */ | | /* rendering options */ | |
| typedef enum { | | typedef enum { | |
| GDA_RENDERER_EXTRA_PRETTY_SQL = 1 << 0, | | GDA_RENDERER_EXTRA_PRETTY_SQL = 1 << 0, | |
| GDA_RENDERER_PARAMS_AS_DETAILED = 1 << 1, | | GDA_RENDERER_PARAMS_AS_DETAILED = 1 << 1, | |
| GDA_RENDERER_ERROR_IF_DEFAULT = 1 << 2, | | GDA_RENDERER_ERROR_IF_DEFAULT = 1 << 2, | |
| GDA_RENDERER_FIELDS_NO_TARGET_ALIAS = 1 << 3, | | GDA_RENDERER_FIELDS_NO_TARGET_ALIAS = 1 << 3, | |
|
| GDA_RENDERER_PARAMS_AS_COLON = 1 << 4,/* params as :param_nam | | GDA_RENDERER_PARAMS_AS_COLON = 1 << 4,/* params as :param_nam | |
| e */ | | e, replacing any char not in [0-9A-Za-z] by '_' */ | |
| GDA_RENDERER_PARAMS_AS_DOLLAR = 1 << 5 /* params as $1, $2, et | | GDA_RENDERER_PARAMS_AS_DOLLAR = 1 << 5,/* params as $1, $2, et | |
| c (starts at $1) */ | | c (starts at $1) */ | |
| | | GDA_RENDERER_PARAMS_AS_QMARK = 1 << 6 /* params as ?1, ?2, et | |
| | | c (starts at ?1) */ | |
| } GdaRendererOptions; | | } GdaRendererOptions; | |
| | | | |
| /* struct for the interface */ | | /* struct for the interface */ | |
| struct _GdaRendererIface | | struct _GdaRendererIface | |
| { | | { | |
| GTypeInterface g_iface; | | GTypeInterface g_iface; | |
| | | | |
| /* virtual table */ | | /* virtual table */ | |
| gchar *(* render_as_sql) (GdaRenderer *iface, GdaParameterLis
t *context, GSList **out_params_used, | | gchar *(* render_as_sql) (GdaRenderer *iface, GdaParameterLis
t *context, GSList **out_params_used, | |
| GdaRendererOptions options, GError
**error); | | GdaRendererOptions options, GError
**error); | |
| | | | |
End of changes. 1 change blocks. |
| 4 lines changed or deleted | | 6 lines changed or added | |
|
| gda-report-document.h | | gda-report-document.h | |
|
| /* GDA report libary | | /* GDA | |
| * Copyright (C) 1998-2002 The GNOME Foundation. | | * Copyright (C) 2007 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
|
| * Rodrigo Moya <rodrigo@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * Santi Camps <santi@gnome-db.org> | | | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| * | | * | |
| * This Library is distributed in the hope that it will be useful, | | * This Library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Library General Public License for more details. | | * Library General Public License for more details. | |
| * | | * | |
| * You should have received a copy of the GNU Library General Public | | * You should have received a copy of the GNU Library General Public | |
| * License along with this Library; see the file COPYING.LIB. If not, | | * License along with this Library; see the file COPYING.LIB. If not, | |
| * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330
, | | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330
, | |
| * Boston, MA 02111-1307, USA. | | * Boston, MA 02111-1307, USA. | |
| */ | | */ | |
| | | | |
|
| #if !defined(__gda_report_document_h__) | | #ifndef __GDA_REPORT_DOCUMENT_H__ | |
| # define __gda_report_document_h__ | | #define __GDA_REPORT_DOCUMENT_H__ | |
| | | | |
|
| #include <libxml/tree.h> | | | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <libgda-report/gda-report-valid.h> | | #include <libxml/tree.h> | |
| #include <libgda-report/gda-report-item.h> | | | |
| | | | |
| G_BEGIN_DECLS | | | |
| | | | |
| #define GDA_TYPE_REPORT_DOCUMENT (gda_report_document_get_type()
) | | #define GDA_TYPE_REPORT_DOCUMENT (gda_report_document_get_type()
) | |
| #define GDA_REPORT_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST (ob
j, GDA_TYPE_REPORT_DOCUMENT, GdaReportDocument)) | | #define GDA_REPORT_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST (ob
j, GDA_TYPE_REPORT_DOCUMENT, GdaReportDocument)) | |
| #define GDA_REPORT_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass
, GDA_TYPE_REPORT_DOCUMENT, GdaReportDocumentClass)) | | #define GDA_REPORT_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass
, GDA_TYPE_REPORT_DOCUMENT, GdaReportDocumentClass)) | |
|
| #define GDA_REPORT_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj | | #define GDA_IS_REPORT_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE (ob | |
| , GDA_TYPE_REPORT_DOCUMENT)) | | j, GDA_TYPE_REPORT_DOCUMENT)) | |
| #define GDA_REPORT_IS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass | | #define GDA_IS_REPORT_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas | |
| ), GDA_TYPE_REPORT_DOCUMENT)) | | s), GDA_TYPE_REPORT_DOCUMENT)) | |
| | | | |
|
| typedef struct _GdaReportDocument GdaReportDocument; | | G_BEGIN_DECLS | |
| | | | |
| | | typedef struct _GdaReportDocument GdaReportDocument; | |
| typedef struct _GdaReportDocumentClass GdaReportDocumentClass; | | typedef struct _GdaReportDocumentClass GdaReportDocumentClass; | |
| typedef struct _GdaReportDocumentPrivate GdaReportDocumentPrivate; | | typedef struct _GdaReportDocumentPrivate GdaReportDocumentPrivate; | |
| | | | |
| struct _GdaReportDocument { | | struct _GdaReportDocument { | |
|
| GObject object; | | GObject base; | |
| GdaReportDocumentPrivate *priv; | | GdaReportDocumentPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaReportDocumentClass { | | struct _GdaReportDocumentClass { | |
|
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| }; | | | |
| | | | |
| GType gda_report_document_get_type (void); | | | |
| | | | |
| GdaReportDocument *gda_report_document_new (GdaReportValid *valid); | | | |
| | | | |
| GdaReportDocument *gda_report_document_new_from_string (const gchar * xml, | | | |
| GdaReportValid *vali | | | |
| d); | | | |
| | | | |
| GdaReportDocument *gda_report_document_new_from_uri (const gchar * uri, | | | |
| GdaReportValid *valid); | | | |
| | | | |
| xmlDocPtr gda_report_document_to_dom (GdaReportDocument *document); | | | |
| | | | |
| GdaReportValid *gda_report_document_get_valid (GdaReportDocument *document) | | | |
| ; | | | |
| | | | |
|
| gboolean gda_report_document_set_root_item (GdaReportDocument *document, | | /* virtual methods */ | |
| GdaReportItem *item); | | gboolean (*run_as_html) (GdaReportDocument *doc, cons | |
| | | t gchar *filename, GError **error); | |
| | | gboolean (*run_as_pdf) (GdaReportDocument *doc, const | |
| | | gchar *filename, GError **error); | |
| | | }; | |
| | | | |
|
| GdaReportItem *gda_report_document_get_root_item (GdaReportDocument *docume
nt); | | GType gda_report_document_get_type (void) G_GNUC_CON
ST; | |
| | | | |
|
| gboolean gda_report_document_save_file (const char *filename, | | void gda_report_document_set_template (GdaReportDocumen | |
| GdaReportDocument *document); | | t *doc, const gchar *file); | |
| | | gboolean gda_report_document_run_as_html (GdaReportDocumen | |
| | | t *doc, const gchar *filename, GError **error); | |
| | | gboolean gda_report_document_run_as_pdf (GdaReportDocumen | |
| | | t *doc, const gchar *filename, GError **error); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 12 change blocks. |
| 40 lines changed or deleted | | 28 lines changed or added | |
|
| gda-row.h | | gda-row.h | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 58 | |
| }; | | }; | |
| | | | |
| struct _GdaRowClass { | | struct _GdaRowClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| gboolean (* value_to_change) (GdaRow *row, gint num, const GValue *c
urrent, const GValue *proposed); | | gboolean (* value_to_change) (GdaRow *row, gint num, const GValue *c
urrent, const GValue *proposed); | |
| void (* value_changed) (GdaRow *row, gint num, const GValue *o
ld_value, const GValue *new_value); | | void (* value_changed) (GdaRow *row, gint num, const GValue *o
ld_value, const GValue *new_value); | |
| }; | | }; | |
| | | | |
|
| GType gda_row_get_type (void); | | GType gda_row_get_type (void) G_GNUC_CONST; | |
| | | | |
| GdaRow *gda_row_new (GdaDataModel *model, gint count); | | GdaRow *gda_row_new (GdaDataModel *model, gint count); | |
| GdaRow *gda_row_new_from_list (GdaDataModel *model, const GList *val
ues); | | GdaRow *gda_row_new_from_list (GdaDataModel *model, const GList *val
ues); | |
| GdaRow *gda_row_copy (GdaRow *row); | | GdaRow *gda_row_copy (GdaRow *row); | |
| | | | |
| void gda_row_set_model (GdaRow *row, GdaDataModel *model); | | void gda_row_set_model (GdaRow *row, GdaDataModel *model); | |
| GdaDataModel *gda_row_get_model (GdaRow *row); | | GdaDataModel *gda_row_get_model (GdaRow *row); | |
| | | | |
| gint gda_row_get_length (GdaRow *row); | | gint gda_row_get_length (GdaRow *row); | |
| | | | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-server-operation.h | | gda-server-operation.h | |
| | | | |
| skipping to change at line 101 | | skipping to change at line 101 | |
| | | | |
| struct _GdaServerOperationClass { | | struct _GdaServerOperationClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| void (*seq_item_added) (GdaServerOperation *op,
const gchar *seq_path, gint item_index); | | void (*seq_item_added) (GdaServerOperation *op,
const gchar *seq_path, gint item_index); | |
| void (*seq_item_remove) (GdaServerOperation *op,
const gchar *seq_path, gint item_index); | | void (*seq_item_remove) (GdaServerOperation *op,
const gchar *seq_path, gint item_index); | |
| | | | |
| }; | | }; | |
| | | | |
|
| GType gda_server_operation_get_type (vo
id); | | GType gda_server_operation_get_type (vo
id) G_GNUC_CONST; | |
| GdaServerOperation *gda_server_operation_new (Gd
aServerOperationType op_type, const gchar *xml_file); | | GdaServerOperation *gda_server_operation_new (Gd
aServerOperationType op_type, const gchar *xml_file); | |
| GdaServerOperationType gda_server_operation_get_op_type (Gd
aServerOperation *op); | | GdaServerOperationType gda_server_operation_get_op_type (Gd
aServerOperation *op); | |
| const gchar *gda_server_operation_op_type_to_string (Gd
aServerOperationType type); | | const gchar *gda_server_operation_op_type_to_string (Gd
aServerOperationType type); | |
| GdaServerOperationNode *gda_server_operation_get_node_info (Gd
aServerOperation *op, const gchar *path_format, ...); | | GdaServerOperationNode *gda_server_operation_get_node_info (Gd
aServerOperation *op, const gchar *path_format, ...); | |
| | | | |
| const GValue *gda_server_operation_get_value_at (Gd
aServerOperation *op, const gchar *path_format, ...); | | const GValue *gda_server_operation_get_value_at (Gd
aServerOperation *op, const gchar *path_format, ...); | |
| gboolean gda_server_operation_set_value_at (Gd
aServerOperation *op, const gchar *value, | | gboolean gda_server_operation_set_value_at (Gd
aServerOperation *op, const gchar *value, | |
| GEr
ror **error, const gchar *path_format, ...); | | GEr
ror **error, const gchar *path_format, ...); | |
| | | | |
| xmlNodePtr gda_server_operation_save_data_to_xml (Gd
aServerOperation *op, GError **error); | | xmlNodePtr gda_server_operation_save_data_to_xml (Gd
aServerOperation *op, GError **error); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-server-provider.h | | gda-server-provider.h | |
| | | | |
| skipping to change at line 199 | | skipping to change at line 199 | |
| const gchar *name, G
Error **error); | | const gchar *name, G
Error **error); | |
| gboolean (* delete_savepoint) (GdaServerProvider *p
rovider, | | gboolean (* delete_savepoint) (GdaServerProvider *p
rovider, | |
| GdaConnection *cnc, | | GdaConnection *cnc, | |
| const gchar *name, G
Error **error); | | const gchar *name, G
Error **error); | |
| | | | |
| /* future extensions */ | | /* future extensions */ | |
| gpointer reserved1; /* is_reserved_word() ? */ | | gpointer reserved1; /* is_reserved_word() ? */ | |
| gpointer reserved2; /* ping_or_reconnect() ? */ | | gpointer reserved2; /* ping_or_reconnect() ? */ | |
| gpointer reserved3; /* execute () ? */ | | gpointer reserved3; /* execute () ? */ | |
| gpointer reserved4; | | gpointer reserved4; | |
|
| gpointer reserved5; | | /* extended from 3.0 */ | |
| | | | |
| | | GdaConnection *(* create_connection) (GdaServerProvider *p | |
| | | rovider); | |
| }; | | }; | |
| | | | |
|
| GType gda_server_provider_get_type (void); | | GType gda_server_provider_get_type (void) G_GNUC_CONST; | |
| | | | |
| /* provider information */ | | /* provider information */ | |
| const gchar *gda_server_provider_get_version (GdaServerPro
vider *provider); | | const gchar *gda_server_provider_get_version (GdaServerPro
vider *provider); | |
| const gchar *gda_server_provider_get_server_version (GdaServerPro
vider *provider, | | const gchar *gda_server_provider_get_server_version (GdaServerPro
vider *provider, | |
| GdaConnection
*cnc); | | GdaConnection
*cnc); | |
| GdaServerProviderInfo *gda_server_provider_get_info (GdaServerPro
vider *provider, | | GdaServerProviderInfo *gda_server_provider_get_info (GdaServerPro
vider *provider, | |
| GdaConnection
*cnc); | | GdaConnection
*cnc); | |
| gboolean gda_server_provider_supports_feature (GdaServerPro
vider *provider, | | gboolean gda_server_provider_supports_feature (GdaServerPro
vider *provider, | |
| GdaConnection
*cnc, | | GdaConnection
*cnc, | |
| GdaConnection
Feature feature); | | GdaConnection
Feature feature); | |
| | | | |
| skipping to change at line 242 | | skipping to change at line 244 | |
| GValue *fr
om); | | GValue *fr
om); | |
| const gchar *gda_server_provider_get_default_dbms_type (GdaServer
Provider *provider, | | const gchar *gda_server_provider_get_default_dbms_type (GdaServer
Provider *provider, | |
| GdaConnect
ion *cnc, | | GdaConnect
ion *cnc, | |
| GType type
); | | GType type
); | |
| gchar *gda_server_provider_escape_string (GdaServer
Provider *provider, | | gchar *gda_server_provider_escape_string (GdaServer
Provider *provider, | |
| GdaConnect
ion *cnc, const gchar *str); | | GdaConnect
ion *cnc, const gchar *str); | |
| gchar *gda_server_provider_unescape_string (GdaServer
Provider *provider, | | gchar *gda_server_provider_unescape_string (GdaServer
Provider *provider, | |
| GdaConnect
ion *cnc, const gchar *str); | | GdaConnect
ion *cnc, const gchar *str); | |
| | | | |
| /* connections management */ | | /* connections management */ | |
|
| | | GdaConnection *gda_server_provider_create_connection (GdaClient *cl | |
| | | ient, GdaServerProvider *provider, | |
| | | const gchar *d | |
| | | sn, | |
| | | const gchar *u | |
| | | sername, | |
| | | const gchar *p | |
| | | assword, | |
| | | GdaConnectionO | |
| | | ptions options); | |
| | | GdaConnection *gda_server_provider_create_connection_from_string (G | |
| | | daClient *client, GdaServerProvider *provider, | |
| | | co | |
| | | nst gchar *cnc_string, | |
| | | co | |
| | | nst gchar *username, | |
| | | co | |
| | | nst gchar *password, | |
| | | Gd | |
| | | aConnectionOptions options); | |
| gboolean gda_server_provider_open_connection (GdaServerProvi
der *provider, | | gboolean gda_server_provider_open_connection (GdaServerProvi
der *provider, | |
| GdaConnection *
cnc, | | GdaConnection *
cnc, | |
| GdaQuarkList *p
arams, | | GdaQuarkList *p
arams, | |
| const gchar *us
ername, | | const gchar *us
ername, | |
| const gchar *pa
ssword); | | const gchar *pa
ssword); | |
| | | | |
| gboolean gda_server_provider_close_connection (GdaServerProvi
der *provider, | | gboolean gda_server_provider_close_connection (GdaServerProvi
der *provider, | |
| GdaConnection *
cnc); | | GdaConnection *
cnc); | |
| | | | |
| const gchar *gda_server_provider_get_database (GdaServerProvi
der *provider, | | const gchar *gda_server_provider_get_database (GdaServerProvi
der *provider, | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 25 lines changed or added | |
|
| gda-threader.h | | gda-threader.h | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 55 | |
| /* struct for the object's class */ | | /* struct for the object's class */ | |
| struct _GdaThreaderClass | | struct _GdaThreaderClass | |
| { | | { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
| /* signals */ | | /* signals */ | |
| void (*finished) (GdaThreader *thread, guint job_id, gp
ointer arg_data); | | void (*finished) (GdaThreader *thread, guint job_id, gp
ointer arg_data); | |
| void (*cancelled) (GdaThreader *thread, guint job_id, gp
ointer arg_data); | | void (*cancelled) (GdaThreader *thread, guint job_id, gp
ointer arg_data); | |
| }; | | }; | |
| | | | |
|
| GType gda_threader_get_type (void); | | GType gda_threader_get_type (void) G_GNUC_CONST; | |
| GObject *gda_threader_new (void); | | GObject *gda_threader_new (void); | |
| | | | |
| guint gda_threader_start_thread (GdaThreader *thread, GThreadFunc
func, gpointer func_arg, | | guint gda_threader_start_thread (GdaThreader *thread, GThreadFunc
func, gpointer func_arg, | |
| GdaThreaderFunc ok_callback, GdaT
hreaderFunc cancel_callback, | | GdaThreaderFunc ok_callback, GdaT
hreaderFunc cancel_callback, | |
| GError **error); | | GError **error); | |
| void gda_threader_cancel (GdaThreader *thread, guint job_i
d); | | void gda_threader_cancel (GdaThreader *thread, guint job_i
d); | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-util.h | | gda-util.h | |
| /* GDA common library | | /* GDA common library | |
|
| * Copyright (C) 1998 - 2006 The GNOME Foundation. | | * Copyright (C) 1998 - 2007 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
| * Rodrigo Moya <rodrigo@gnome-db.org> | | * Rodrigo Moya <rodrigo@gnome-db.org> | |
| * Vivien Malerba <malerba@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| * | | * | |
| | | | |
| skipping to change at line 24 | | skipping to change at line 24 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Library General Public License for more details. | | * Library General Public License for more details. | |
| * | | * | |
| * You should have received a copy of the GNU Library General Public | | * You should have received a copy of the GNU Library General Public | |
| * License along with this Library; see the file COPYING.LIB. If not, | | * License along with this Library; see the file COPYING.LIB. If not, | |
| * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330
, | | * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330
, | |
| * Boston, MA 02111-1307, USA. | | * Boston, MA 02111-1307, USA. | |
| */ | | */ | |
| | | | |
|
| #if !defined(__gda_util_h__) | | #ifndef __GDA_UTIL_H__ | |
| # define __gda_util_h__ | | #define __GDA_UTIL_H__ | |
| | | | |
| #include <glib/ghash.h> | | #include <glib/ghash.h> | |
| #include <glib/glist.h> | | #include <glib/glist.h> | |
| #include "gda-parameter.h" | | #include "gda-parameter.h" | |
| #include "gda-row.h" | | #include "gda-row.h" | |
| #include "gda-connection.h" | | #include "gda-connection.h" | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| /* | | /* | |
| | | | |
| skipping to change at line 79 | | skipping to change at line 79 | |
| * 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, ..
.); | |
| void gda_utility_data_model_dump_data_to_xml (GdaDataModel *model, xmlN
odePtr parent, | | void gda_utility_data_model_dump_data_to_xml (GdaDataModel *model, xmlN
odePtr 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); | |
| void gda_utility_parameter_load_attributes (GdaParameter *param, xmlNod
ePtr node, GSList *sources); | | void gda_utility_parameter_load_attributes (GdaParameter *param, xmlNod
ePtr node, GSList *sources); | |
| GdaDictType *gda_utility_find_or_create_data_type (GdaDict *dict, GdaServer
Provider *prov, GdaConnection *cnc, | | GdaDictType *gda_utility_find_or_create_data_type (GdaDict *dict, GdaServer
Provider *prov, GdaConnection *cnc, | |
| const gchar *dbms_type, const
gchar *g_type, gboolean *created); | | const gchar *dbms_type, const
gchar *g_type, gboolean *created); | |
| | | | |
|
| | | /* translate any text to an alphanumerical text */ | |
| | | gchar *gda_text_to_alphanum (const gchar *text); | |
| | | gchar *gda_alphanum_to_text (gchar *text); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 7 lines changed or added | |
|
| libgda.h | | libgda.h | |
| | | | |
| skipping to change at line 38 | | skipping to change at line 38 | |
| | | | |
| #include <libgda/gda-client.h> | | #include <libgda/gda-client.h> | |
| #include <libgda/gda-column-index.h> | | #include <libgda/gda-column-index.h> | |
| #include <libgda/gda-column.h> | | #include <libgda/gda-column.h> | |
| #include <libgda/gda-command.h> | | #include <libgda/gda-command.h> | |
| #include <libgda/gda-config.h> | | #include <libgda/gda-config.h> | |
| #include <libgda/gda-connection-event.h> | | #include <libgda/gda-connection-event.h> | |
| #include <libgda/gda-connection.h> | | #include <libgda/gda-connection.h> | |
| #include <libgda/gda-connection-private.h> | | #include <libgda/gda-connection-private.h> | |
| #include <libgda/gda-data-model-array.h> | | #include <libgda/gda-data-model-array.h> | |
|
| | | #include <libgda/gda-data-model-bdb.h> | |
| #include <libgda/gda-data-model-hash.h> | | #include <libgda/gda-data-model-hash.h> | |
| #include <libgda/gda-data-model-index.h> | | #include <libgda/gda-data-model-index.h> | |
| #include <libgda/gda-data-model-query.h> | | #include <libgda/gda-data-model-query.h> | |
| #include <libgda/gda-data-model.h> | | #include <libgda/gda-data-model.h> | |
| #include <libgda/gda-data-model-iter.h> | | #include <libgda/gda-data-model-iter.h> | |
| #include <libgda/gda-data-model-import.h> | | #include <libgda/gda-data-model-import.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-log.h> | | #include <libgda/gda-log.h> | |
| #include <libgda/gda-parameter.h> | | #include <libgda/gda-parameter.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-data-model-filter-sql.h> | | #include <libgda/gda-data-model-filter-sql.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-threader.h> | |
| | | | |
| skipping to change at line 112 | | skipping to change at line 114 | |
| | | | |
| extern GQuark gda_general_error_quark (void); | | extern GQuark gda_general_error_quark (void); | |
| #define GDA_GENERAL_ERROR gda_general_error_quark () | | #define GDA_GENERAL_ERROR gda_general_error_quark () | |
| | | | |
| typedef enum { | | typedef enum { | |
| GDA_GENERAL_OBJECT_NAME_ERROR, | | GDA_GENERAL_OBJECT_NAME_ERROR, | |
| GDA_GENERAL_INCORRECT_VALUE_ERROR, | | GDA_GENERAL_INCORRECT_VALUE_ERROR, | |
| GDA_GENERAL_OPERATION_ERROR | | GDA_GENERAL_OPERATION_ERROR | |
| } GdaGeneralError; | | } GdaGeneralError; | |
| | | | |
|
| typedef enum | | | |
| { | | | |
| GDA_GENERAL_CREATE_TABLE_NOTHING_FLAG, | | | |
| GDA_GENERAL_CREATE_TABLE_PKEY_FLAG, | | | |
| GDA_GENERAL_CREATE_TABLE_NOT_NULL_FLAG, | | | |
| GDA_GENERAL_CREATE_TABLE_AUTOINC_FLAG, | | | |
| /* Combination Flags */ | | | |
| GDA_GENERAL_CREATE_TABLE_PKEY_AUTOINC_FLAG | | | |
| } GdaGeneralCreateTableFlag; | | | |
| | | | |
| void gda_init (const gchar *app_id, const gchar *version, g
int nargs, gchar *args[]); | | void gda_init (const gchar *app_id, const gchar *version, g
int nargs, gchar *args[]); | |
| GdaDict *gda_get_default_dict (void); | | GdaDict *gda_get_default_dict (void); | |
| | | | |
| typedef void (* GdaInitFunc) (gpointer user_data); | | typedef void (* GdaInitFunc) (gpointer user_data); | |
| void gda_main_run (GdaInitFunc init_func, gpointer user_data); | | void gda_main_run (GdaInitFunc init_func, gpointer user_data); | |
| void gda_main_quit (void); | | void gda_main_quit (void); | |
| | | | |
| /* Convenient Functions */ | | /* Convenient Functions */ | |
| | | | |
| GdaConnection* gda_open_connection (const gchar *dsn, | | GdaConnection* gda_open_connection (const gchar *dsn, | |
| | | | |
| skipping to change at line 165 | | skipping to change at line 157 | |
| const gchar *condition_column
_name, const GValue *condition, | | const gchar *condition_column
_name, const GValue *condition, | |
| GError **error); | | GError **error); | |
| | | | |
| GdaDataModel* gda_execute_select_command (GdaConnection *cnn, const g
char *sql, | | GdaDataModel* gda_execute_select_command (GdaConnection *cnn, const g
char *sql, | |
| GError **error); | | GError **error); | |
| gint gda_execute_sql_command (GdaConnection *cnn, const g
char *sql, | | gint gda_execute_sql_command (GdaConnection *cnn, const g
char *sql, | |
| GError **error); | | GError **error); | |
| | | | |
| gboolean gda_create_table (GdaConnection *cnn, | | gboolean gda_create_table (GdaConnection *cnn, | |
| const gchar *table_name, GEr
ror **error, ...); | | const gchar *table_name, GEr
ror **error, ...); | |
|
| | | | |
| gboolean gda_create_table_full (GdaConnection *cnn, | | | |
| const gchar *table_name, GEr | | | |
| ror **error, ...); | | | |
| | | | |
| gboolean gda_drop_table (GdaConnection *cnn, | | gboolean gda_drop_table (GdaConnection *cnn, | |
| const gchar *table_name, GEr
ror **error); | | const gchar *table_name, GEr
ror **error); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 15 lines changed or deleted | | 2 lines changed or added | |
|