gda-client.h   gda-client.h 
skipping to change at line 107 skipping to change at line 107
const gchar *d sn, const gchar *d sn,
const gchar *u sername, const gchar *u sername,
const gchar *p assword); const gchar *p assword);
void gda_client_close_all_connections (GdaClient *cl ient); void gda_client_close_all_connections (GdaClient *cl ient);
void gda_client_notify_event (GdaClient *cl ient, GdaConnection *cnc, void gda_client_notify_event (GdaClient *cl ient, GdaConnection *cnc,
GdaClientEvent event, GdaParameterList *params); GdaClientEvent event, GdaParameterList *params);
void gda_client_notify_error_event (GdaClient *cl ient, GdaConnection *cnc, GdaConnectionEvent *error); void gda_client_notify_error_event (GdaClient *cl ient, GdaConnection *cnc, GdaConnectionEvent *error);
void gda_client_notify_connection_opened_event (GdaClient *cl ient, GdaConnection *cnc); void gda_client_notify_connection_opened_event (GdaClient *cl ient, GdaConnection *cnc);
void gda_client_notify_connection_closed_event (GdaClient *cl ient, GdaConnection *cnc); void gda_client_notify_connection_closed_event (GdaClient *cl ient, GdaConnection *cnc);
void gda_client_notify_transaction_started_event (GdaClient *cl
ient,
GdaConnection
*cnc,
GdaTransaction
*xaction);
void gda_client_notify_transaction_committed_event (GdaClient *cl
ient,
GdaConnection
*cnc,
GdaTransaction
*xaction);
void gda_client_notify_transaction_cancelled_event (GdaClient *cl
ient,
GdaConnection
*cnc,
GdaTransaction
*xaction);
/* /*
* General provider information * General provider information
*/ */
gchar *gda_client_get_dsn_specs (GdaClient *cl ient, const gchar *provider); gchar *gda_client_get_dsn_specs (GdaClient *cl ient, const gchar *provider);
/* /*
* Database creation and destruction functions * Database creation and destruction functions
*/ */
GdaServerOperation *gda_client_prepare_create_database (GdaClient *cl GdaServerOperation *gda_client_prepare_create_database (GdaClient *cl
ient, const gchar *provider); ient, const gchar *db_name,
gboolean gda_client_perform_create_database (GdaClient *cl const gchar *p
ient, const gchar *provider, rovider);
GdaServerOpera gboolean gda_client_perform_create_database (GdaClient *cl
tion *op, GError **error); ient, GdaServerOperation *op, GError **error);
GdaServerOperation *gda_client_prepare_drop_database (GdaClient *cl GdaServerOperation *gda_client_prepare_drop_database (GdaClient *cl
ient, const gchar *provider); ient, const gchar *db_name,
gboolean gda_client_perform_drop_database (GdaClient *cl const gchar *p
ient, const gchar *provider, rovider);
GdaServerOpera gboolean gda_client_perform_drop_database (GdaClient *cl
tion *op, GError **error); ient, GdaServerOperation *op, GError **error);
/* /*
* Connection stack functions * Connection stack functions
*/ */
gboolean gda_client_begin_transaction (GdaClient *cl gboolean gda_client_begin_transaction (GdaClient *cl
ient, GdaTransaction *xaction); ient, const gchar *name, GdaTransactionIsolation level,
gboolean gda_client_commit_transaction (GdaClient *cl GError **error
ient, GdaTransaction *xaction); );
gboolean gda_client_rollback_transaction (GdaClient *cl gboolean gda_client_commit_transaction (GdaClient *cl
ient, GdaTransaction *xaction); ient, const gchar *name, GError **error);
gboolean gda_client_rollback_transaction (GdaClient *cl
ient, const gchar *name, GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
36 lines changed or deleted 20 lines changed or added


 gda-command.h   gda-command.h 
/* GDA Common Library /* GDA Common Library
* Copyright (C) 1998-2002 The GNOME Foundation. * Copyright (C) 1998 - 2006 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@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,
* 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_command_h__) #ifndef __GDA_COMMAND_H__
# define __gda_command_h__ #define __GDA_COMMAND_H__
#include <glib-object.h>
#include <glib/gmacros.h> #include <glib/gmacros.h>
#include <glib/gtypes.h> #include <glib/gtypes.h>
#include <libgda/gda-transaction.h>
G_BEGIN_DECLS G_BEGIN_DECLS
typedef enum { typedef enum {
GDA_COMMAND_OPTION_IGNORE_ERRORS = 1, GDA_COMMAND_OPTION_IGNORE_ERRORS = 1,
GDA_COMMAND_OPTION_STOP_ON_ERRORS = 1 << 1, GDA_COMMAND_OPTION_STOP_ON_ERRORS = 1 << 1,
GDA_COMMAND_OPTION_BAD_OPTION = 1 << 2 GDA_COMMAND_OPTION_BAD_OPTION = 1 << 2
} GdaCommandOptions; } GdaCommandOptions;
#define GDA_COMMAND_DEFAULT_OPTION GDA_COMMAND_OPTION_IGNORE_ERRORS #define GDA_COMMAND_DEFAULT_OPTION GDA_COMMAND_OPTION_IGNORE_ERRORS
skipping to change at line 52 skipping to change at line 53
GDA_COMMAND_TYPE_XML, GDA_COMMAND_TYPE_XML,
GDA_COMMAND_TYPE_PROCEDURE, GDA_COMMAND_TYPE_PROCEDURE,
GDA_COMMAND_TYPE_TABLE, GDA_COMMAND_TYPE_TABLE,
GDA_COMMAND_TYPE_SCHEMA, GDA_COMMAND_TYPE_SCHEMA,
GDA_COMMAND_TYPE_INVALID GDA_COMMAND_TYPE_INVALID
} GdaCommandType; } GdaCommandType;
typedef struct _GdaCommand GdaCommand; typedef struct _GdaCommand GdaCommand;
struct _GdaCommand { struct _GdaCommand {
gchar *text; gchar *text;
GdaCommandType type; GdaCommandType type;
GdaCommandOptions options; GdaCommandOptions options;
GdaTransaction *xaction;
}; };
#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);
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);
void gda_command_set_options (GdaCommand *cmd, GdaCommandOptio ns options); void gda_command_set_options (GdaCommand *cmd, GdaCommandOptio ns options);
GdaTransaction *gda_command_get_transaction (GdaCommand *cmd);
void gda_command_set_transaction (GdaCommand *cmd, GdaTransact
ion *xaction);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 7 change blocks. 
11 lines changed or deleted 8 lines changed or added


 gda-config.h   gda-config.h 
/* GDA common library /* GDA common library
* Copyright (C) 1998-2002 The GNOME Foundation. * Copyright (C) 1998 - 2006 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@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_config_h__) #ifndef __GDA_CONFIG_H__
# define __gda_config_h__ #define __GDA_CONFIG_H__
#include <glib/gmacros.h> #include <glib/gmacros.h>
#include <libgda/gda-data-model.h> #include <libgda/gda-data-model.h>
#include <libgda/gda-parameter.h> #include <libgda/gda-parameter.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* /*
* Basic configuration access * Basic configuration access
*/ */
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added


 gda-connection-event.h   gda-connection-event.h 
/* GDA server library /* GDA server library
* Copyright (C) 1998 - 2005 The GNOME Foundation. * Copyright (C) 1998 - 2006 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 25 skipping to change at line 25
* 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_connection_event_h__) #ifndef __GDA_CONNECTION_EVENT_H__
# define __gda_connection_event_h__ #define __GDA_CONNECTION_EVENT_H__
#include <glib-object.h> #include <glib-object.h>
#include <libgda/gda-decl.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_CONNECTION_EVENT (gda_connection_event_get_type ()) #define GDA_TYPE_CONNECTION_EVENT (gda_connection_event_get_type ())
#define GDA_CONNECTION_EVENT(obj) (G_TYPE_CHECK_INSTANCE_CAST (o bj, GDA_TYPE_CONNECTION_EVENT, GdaConnectionEvent)) #define GDA_CONNECTION_EVENT(obj) (G_TYPE_CHECK_INSTANCE_CAST (o bj, GDA_TYPE_CONNECTION_EVENT, GdaConnectionEvent))
#define GDA_CONNECTION_EVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klas s, GDA_TYPE_CONNECTION_EVENT, GdaConnectionEventClass)) #define GDA_CONNECTION_EVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klas s, GDA_TYPE_CONNECTION_EVENT, GdaConnectionEventClass))
#define GDA_IS_CONNECTION_EVENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE(ob j, GDA_TYPE_CONNECTION_EVENT)) #define GDA_IS_CONNECTION_EVENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE(ob j, GDA_TYPE_CONNECTION_EVENT))
#define GDA_IS_CONNECTION_EVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klas s), GDA_TYPE_CONNECTION_EVENT)) #define GDA_IS_CONNECTION_EVENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klas s), GDA_TYPE_CONNECTION_EVENT))
typedef struct _GdaConnectionEvent GdaConnectionEvent;
typedef struct _GdaConnectionEventClass GdaConnectionEventClass;
typedef struct _GdaConnectionEventPrivate GdaConnectionEventPrivate;
struct _GdaConnectionEvent { struct _GdaConnectionEvent {
GObject object; GObject object;
GdaConnectionEventPrivate *priv; GdaConnectionEventPrivate *priv;
}; };
struct _GdaConnectionEventClass { struct _GdaConnectionEventClass {
GObjectClass parent_class; GObjectClass parent_class;
}; };
typedef enum { typedef enum {
 End of changes. 4 change blocks. 
7 lines changed or deleted 4 lines changed or added


 gda-connection.h   gda-connection.h 
skipping to change at line 36 skipping to change at line 36
#ifndef __GDA_CONNECTION_H__ #ifndef __GDA_CONNECTION_H__
#define __GDA_CONNECTION_H__ #define __GDA_CONNECTION_H__
#include "gda-decl.h" #include "gda-decl.h"
#include <libgda/gda-object.h> #include <libgda/gda-object.h>
#include <libgda/gda-command.h> #include <libgda/gda-command.h>
#include <libgda/gda-data-model.h> #include <libgda/gda-data-model.h>
#include <libgda/gda-data-model-index.h> #include <libgda/gda-data-model-index.h>
#include <libgda/gda-connection-event.h> #include <libgda/gda-connection-event.h>
#include <libgda/gda-parameter.h> #include <libgda/gda-parameter.h>
#include <libgda/gda-transaction.h> #include <libgda/gda-transaction-status.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_CONNECTION (gda_connection_get_type()) #define GDA_TYPE_CONNECTION (gda_connection_get_type())
#define GDA_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GD A_TYPE_CONNECTION, GdaConnection)) #define GDA_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GD A_TYPE_CONNECTION, GdaConnection))
#define GDA_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA _TYPE_CONNECTION, GdaConnectionClass)) #define GDA_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA _TYPE_CONNECTION, GdaConnectionClass))
#define GDA_IS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, GDA _TYPE_CONNECTION)) #define GDA_IS_CONNECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, GDA _TYPE_CONNECTION))
#define GDA_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GD A_TYPE_CONNECTION)) #define GDA_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GD A_TYPE_CONNECTION))
/* error reporting */ /* error reporting */
skipping to change at line 74 skipping to change at line 74
struct _GdaConnectionClass { struct _GdaConnectionClass {
GObjectClass object_class; GObjectClass object_class;
/* signals */ /* signals */
void (*error) (GdaConnection *cnc, GdaConnecti onEvent *error); void (*error) (GdaConnection *cnc, GdaConnecti onEvent *error);
void (*conn_opened) (GdaConnection *obj); void (*conn_opened) (GdaConnection *obj);
void (*conn_to_close) (GdaConnection *obj); void (*conn_to_close) (GdaConnection *obj);
void (*conn_closed) (GdaConnection *obj); void (*conn_closed) (GdaConnection *obj);
void (*dsn_changed) (GdaConnection *obj); void (*dsn_changed) (GdaConnection *obj);
void (*transaction_status_changed)(GdaConnection *obj);
}; };
typedef enum { typedef enum {
GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0, GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0,
GDA_CONNECTION_OPTIONS_DONT_SHARE = 2 << 0 GDA_CONNECTION_OPTIONS_DONT_SHARE = 2 << 0
} GdaConnectionOptions; } GdaConnectionOptions;
typedef enum { typedef enum {
GDA_CONNECTION_FEATURE_AGGREGATES, GDA_CONNECTION_FEATURE_AGGREGATES,
GDA_CONNECTION_FEATURE_BLOBS, GDA_CONNECTION_FEATURE_BLOBS,
GDA_CONNECTION_FEATURE_INDEXES, GDA_CONNECTION_FEATURE_INDEXES,
GDA_CONNECTION_FEATURE_INHERITANCE, GDA_CONNECTION_FEATURE_INHERITANCE,
GDA_CONNECTION_FEATURE_NAMESPACES, GDA_CONNECTION_FEATURE_NAMESPACES,
GDA_CONNECTION_FEATURE_PROCEDURES, GDA_CONNECTION_FEATURE_PROCEDURES,
GDA_CONNECTION_FEATURE_SEQUENCES, GDA_CONNECTION_FEATURE_SEQUENCES,
GDA_CONNECTION_FEATURE_SQL, GDA_CONNECTION_FEATURE_SQL,
GDA_CONNECTION_FEATURE_TRANSACTIONS, GDA_CONNECTION_FEATURE_TRANSACTIONS,
GDA_CONNECTION_FEATURE_SAVEPOINTS,
GDA_CONNECTION_FEATURE_SAVEPOINTS_REMOVE,
GDA_CONNECTION_FEATURE_TRIGGERS, GDA_CONNECTION_FEATURE_TRIGGERS,
GDA_CONNECTION_FEATURE_UPDATABLE_CURSOR, GDA_CONNECTION_FEATURE_UPDATABLE_CURSOR,
GDA_CONNECTION_FEATURE_USERS, GDA_CONNECTION_FEATURE_USERS,
GDA_CONNECTION_FEATURE_VIEWS, GDA_CONNECTION_FEATURE_VIEWS,
GDA_CONNECTION_FEATURE_XML_QUERIES GDA_CONNECTION_FEATURE_XML_QUERIES
} GdaConnectionFeature; } GdaConnectionFeature;
typedef enum { typedef enum {
GDA_CONNECTION_SCHEMA_AGGREGATES, GDA_CONNECTION_SCHEMA_AGGREGATES,
GDA_CONNECTION_SCHEMA_DATABASES, GDA_CONNECTION_SCHEMA_DATABASES,
skipping to change at line 162 skipping to change at line 165
gboolean gda_connection_change_database (GdaConnection *cn c, const gchar *name); gboolean gda_connection_change_database (GdaConnection *cn c, const gchar *name);
GdaDataModel *gda_connection_execute_select_command (GdaConnection * cnc, GdaCommand *cmd, GdaDataModel *gda_connection_execute_select_command (GdaConnection * cnc, GdaCommand *cmd,
GdaParameterList *params, GError **error); GdaParameterList *params, GError **error);
gint gda_connection_execute_non_select_command (GdaConnecti on *cnc, GdaCommand *cmd, gint gda_connection_execute_non_select_command (GdaConnecti on *cnc, GdaCommand *cmd,
GdaParameter List *params, GError **error); GdaParameter List *params, GError **error);
GList *gda_connection_execute_command (GdaConnection *cn c, GdaCommand *cmd, GList *gda_connection_execute_command (GdaConnection *cn c, GdaCommand *cmd,
GdaParameterList * params, GError **error); GdaParameterList * params, GError **error);
gchar *gda_connection_get_last_insert_id (GdaConnection *cn c, GdaDataModel *recset); gchar *gda_connection_get_last_insert_id (GdaConnection *cn c, GdaDataModel *recset);
gboolean gda_connection_begin_transaction (GdaConnection *cn gboolean gda_connection_begin_transaction (GdaConnection *cn
c, GdaTransaction *xaction); c, const gchar *name,
gboolean gda_connection_commit_transaction (GdaConnection *cn GdaTransactionIsol
c, GdaTransaction *xaction); ation level, GError **error);
gboolean gda_connection_rollback_transaction (GdaConnection *cn gboolean gda_connection_commit_transaction (GdaConnection *cn
c, GdaTransaction *xaction); c, const gchar *name, GError **error);
gboolean gda_connection_rollback_transaction (GdaConnection *cn
c, const gchar *name, GError **error);
gboolean gda_connection_add_savepoint (GdaConnection *cn
c, const gchar *name, GError **error);
gboolean gda_connection_rollback_savepoint (GdaConnection *cn
c, const gchar *name, GError **error);
gboolean gda_connection_delete_savepoint (GdaConnection *cn
c, const gchar *name, GError **error);
GdaTransactionStatus *gda_connection_get_transaction_status (GdaConnection
*cnc);
GdaBlob *gda_connection_create_blob (GdaConnection *cn c); GdaBlob *gda_connection_create_blob (GdaConnection *cn c);
GdaBlob *gda_connection_fetch_blob_by_id (GdaConnection *cn c, const gchar *sql_id); GdaBlob *gda_connection_fetch_blob_by_id (GdaConnection *cn c, const gchar *sql_id);
gchar *gda_connection_value_to_sql_string (GdaConnection *cn c, GValue *from); gchar *gda_connection_value_to_sql_string (GdaConnection *cn c, GValue *from);
gboolean gda_connection_supports_feature (GdaConnection *cn c, GdaConnectionFeature feature); gboolean gda_connection_supports_feature (GdaConnection *cn c, GdaConnectionFeature feature);
GdaDataModel *gda_connection_get_schema (GdaConnection *cn c, GdaConnectionSchema schema, GdaDataModel *gda_connection_get_schema (GdaConnection *cn c, GdaConnectionSchema schema,
GdaParameterList * params, GError **error); GdaParameterList * params, GError **error);
 End of changes. 4 change blocks. 
7 lines changed or deleted 22 lines changed or added


 gda-data-model-iter.h   gda-data-model-iter.h 
skipping to change at line 55 skipping to change at line 55
{ {
GdaParameterList object; GdaParameterList object;
GdaDataModelIterPrivate *priv; GdaDataModelIterPrivate *priv;
}; };
/* 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);
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);
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);
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);
gint gda_data_model_iter_get_column_for_param (GdaDataModelIte r *iter, GdaParameter *param); gint gda_data_model_iter_get_column_for_param (GdaDataModelIte r *iter, GdaParameter *param);
GdaParameter *gda_data_model_iter_get_param_for_column (GdaDataModelIte r *iter, gint col); GdaParameter *gda_data_model_iter_get_param_for_column (GdaDataModelIte r *iter, gint col);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 2 lines changed or added


 gda-data-model-private.h   gda-data-model-private.h 
skipping to change at line 34 skipping to change at line 34
#ifndef __GDA_DATA_MODEL_PRIVATE_H__ #ifndef __GDA_DATA_MODEL_PRIVATE_H__
#define __GDA_DATA_MODEL_PRIVATE_H__ #define __GDA_DATA_MODEL_PRIVATE_H__
#include <glib-object.h> #include <glib-object.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libgda/gda-command.h> #include <libgda/gda-command.h>
#include <libgda/gda-decl.h> #include <libgda/gda-decl.h>
#include <libgda/gda-column.h> #include <libgda/gda-column.h>
#include <libgda/gda-value.h> #include <libgda/gda-value.h>
#include <libgda/gda-data-model-extra.h>
G_BEGIN_DECLS G_BEGIN_DECLS
void gda_data_model_signal_emit_changed
(GdaDataModel *model);
void gda_data_model_row_inserted (GdaDat
aModel *model, gint row);
void gda_data_model_row_updated (GdaDat
aModel *model, gint row);
void gda_data_model_row_removed (GdaDat
aModel *model, gint row);
const gchar *gda_data_model_get_command_text (GdaDat aModel *model); const gchar *gda_data_model_get_command_text (GdaDat aModel *model);
gboolean gda_data_model_set_command_text (GdaDat aModel *model, const gchar *txt); gboolean gda_data_model_set_command_text (GdaDat aModel *model, const gchar *txt);
GdaCommandType gda_data_model_get_command_type (GdaDat aModel *model); GdaCommandType gda_data_model_get_command_type (GdaDat aModel *model);
gboolean gda_data_model_set_command_type (GdaDat aModel *model, GdaCommandType type); gboolean gda_data_model_set_command_type (GdaDat aModel *model, GdaCommandType type);
xmlNodePtr gda_data_model_to_xml_node (GdaDat aModel *model, const gint *cols, gint nb_cols, xmlNodePtr gda_data_model_to_xml_node (GdaDat aModel *model, const gint *cols, gint nb_cols,
const g int *rows, gint nb_rows, const gchar *name); const g int *rows, gint nb_rows, const gchar *name);
gboolean gda_data_model_add_data_from_xml_node (GdaDat aModel *model, xmlNodePtr node, GError **error); gboolean gda_data_model_add_data_from_xml_node (GdaDat aModel *model, xmlNodePtr node, GError **error);
gboolean gda_data_model_move_iter_at_row (GdaDat
aModel *model, GdaDataModelIter *iter, gint row);
gboolean gda_data_model_move_iter_next (GdaDat
aModel *model, GdaDataModelIter *iter);
gboolean gda_data_model_move_iter_prev (GdaDat
aModel *model, GdaDataModelIter *iter);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
9 lines changed or deleted 8 lines changed or added


 gda-data-model-query.h   gda-data-model-query.h 
skipping to change at line 45 skipping to change at line 45
#define GDA_IS_DATA_MODEL_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), GDA_TYPE_DATA_MODEL_QUERY)) #define GDA_IS_DATA_MODEL_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), GDA_TYPE_DATA_MODEL_QUERY))
typedef struct _GdaDataModelQuery GdaDataModelQuery; typedef struct _GdaDataModelQuery GdaDataModelQuery;
typedef struct _GdaDataModelQueryClass GdaDataModelQueryClass; typedef struct _GdaDataModelQueryClass GdaDataModelQueryClass;
typedef struct _GdaDataModelQueryPrivate GdaDataModelQueryPrivate; typedef struct _GdaDataModelQueryPrivate GdaDataModelQueryPrivate;
/* error reporting */ /* error reporting */
extern GQuark gda_data_model_query_error_quark (void); extern GQuark gda_data_model_query_error_quark (void);
#define GDA_DATA_MODEL_QUERY_ERROR gda_data_model_query_error_quark () #define GDA_DATA_MODEL_QUERY_ERROR gda_data_model_query_error_quark ()
typedef enum typedef enum {
{
GDA_DATA_MODEL_QUERY_XML_LOAD_ERROR, GDA_DATA_MODEL_QUERY_XML_LOAD_ERROR,
GDA_DATA_MODEL_QUERY_COMPUTE_MODIF_QUERIES_ERROR
} GdaDataModelQueryError; } GdaDataModelQueryError;
typedef enum {
GDA_DATA_MODEL_QUERY_OPTION_USE_ALL_FIELDS_IF_NO_PK = 1 << 0
} GdaDataModelQueryOptions;
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);
GdaDataModel *gda_data_model_query_new (GdaQuery *que GdaDataModel *gda_data_model_query_new (GdaQue
ry); ry *query);
GdaParameterList *gda_data_model_query_get_parameter_list (GdaDataModelQ GdaParameterList *gda_data_model_query_get_parameter_list (GdaDat
uery *model); aModelQuery *model);
gboolean gda_data_model_query_refresh (GdaDataModelQ gboolean gda_data_model_query_refresh (GdaDat
uery *model, GError **error); aModelQuery *model, GError **error);
gboolean gda_data_model_query_set_modification_query(GdaDataModelQ gboolean gda_data_model_query_set_modification_query (GdaDat
uery *model, aModelQuery *model,
const gchar *q const g
uery, GError **error); char *query, GError **error);
gboolean gda_data_model_query_compute_modification_queries (GdaDat
aModelQuery *model, const gchar *target,
GdaData
ModelQueryOptions options, GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 5 change blocks. 
13 lines changed or deleted 21 lines changed or added


 gda-data-model.h   gda-data-model.h 
skipping to change at line 126 skipping to change at line 126
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_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);
guint gda_data_model_get_attributes_at (GdaDataModel *mo del, gint col, gint row); guint 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);
gboolean gda_data_model_move_iter_at_row (GdaDataModel *mo
del, GdaDataModelIter *iter, gint row);
gboolean gda_data_model_move_iter_next (GdaDataModel *mo
del, GdaDataModelIter *iter);
gboolean gda_data_model_move_iter_prev (GdaDataModel *mo
del, GdaDataModelIter *iter);
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);
gboolean gda_data_model_set_value_at (GdaDataModel *mo del, gint col, gint row, gboolean gda_data_model_set_value_at (GdaDataModel *mo del, gint col, gint row,
const GValue *val ue, GError **error); const GValue *val ue, GError **error);
gboolean gda_data_model_set_values (GdaDataModel *mo del, gint row, gboolean gda_data_model_set_values (GdaDataModel *mo del, gint row,
GList *values, GE rror **error); GList *values, GE rror **error);
gint gda_data_model_append_row (GdaDataModel *mo del, GError **error); gint gda_data_model_append_row (GdaDataModel *mo del, GError **error);
gint gda_data_model_append_values (GdaDataModel *mo del, const GList *values, GError **error); gint gda_data_model_append_values (GdaDataModel *mo del, const GList *values, GError **error);
gboolean gda_data_model_remove_row (GdaDataModel *mo del, gint row, GError **error); gboolean gda_data_model_remove_row (GdaDataModel *mo del, gint row, GError **error);
gint gda_data_model_get_row_from_values (GdaDataModel *mo del, GSList *values, gint *cols_index); gint gda_data_model_get_row_from_values (GdaDataModel *mo del, GSList *values, gint *cols_index);
skipping to change at line 152 skipping to change at line 149
/* contents saving and loading */ /* contents saving and loading */
gchar *gda_data_model_export_to_string (GdaDataModel *mo del, GdaDataModelIOFormat format, gchar *gda_data_model_export_to_string (GdaDataModel *mo del, GdaDataModelIOFormat format,
const gint *cols, gint nb_cols, const gint *cols, gint nb_cols,
const gint *rows, gint nb_rows, GdaParameterList *options); const gint *rows, gint nb_rows, GdaParameterList *options);
gboolean gda_data_model_export_to_file (GdaDataModel *mo del, GdaDataModelIOFormat format, gboolean gda_data_model_export_to_file (GdaDataModel *mo del, GdaDataModelIOFormat format,
const gchar *file , const gchar *file ,
const gint *cols, gint nb_cols, const gint *cols, gint nb_cols,
const gint *rows, gint nb_rows, const gint *rows, gint nb_rows,
GdaParameterList *options, GError **error); GdaParameterList *options, GError **error);
gboolean gda_data_model_import_from_model (GdaDataModel *to , GdaDataModel *from, gboolean gda_data_model_import_from_model (GdaDataModel *to , GdaDataModel *from, gboolean overwrite,
GHashTable *cols_ trans, GError **error); GHashTable *cols_ trans, GError **error);
gboolean gda_data_model_import_from_string (GdaDataModel *mo del, gboolean gda_data_model_import_from_string (GdaDataModel *mo del,
const gchar *stri ng, GHashTable *cols_trans, const gchar *stri ng, GHashTable *cols_trans,
GdaParameterList *options, GError **error); GdaParameterList *options, GError **error);
gboolean gda_data_model_import_from_file (GdaDataModel *mo del, gboolean gda_data_model_import_from_file (GdaDataModel *mo del,
const gchar *file , GHashTable *cols_trans, const gchar *file , GHashTable *cols_trans,
GdaParameterList *options, GError **error); GdaParameterList *options, GError **error);
/* debug functions */ /* debug functions */
void gda_data_model_dump (GdaDataModel *mo del, FILE *to_stream); void gda_data_model_dump (GdaDataModel *mo del, FILE *to_stream);
 End of changes. 2 change blocks. 
7 lines changed or deleted 1 lines changed or added


 gda-decl.h   gda-decl.h 
skipping to change at line 32 skipping to change at line 32
#define __GLOBAL_DECL_H_ #define __GLOBAL_DECL_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 _GdaConnectionEventClass GdaConnectionEventClass;
typedef struct _GdaConnectionEventPrivate GdaConnectionEventPrivate;
typedef struct _GdaDataHandler GdaDataHandler; typedef struct _GdaDataHandler GdaDataHandler;
typedef struct _GdaDataHandlerIface GdaDataHandlerIface; typedef struct _GdaDataHandlerIface GdaDataHandlerIface;
typedef struct _GdaServerProvider GdaServerProvider; typedef struct _GdaServerProvider GdaServerProvider;
typedef struct _GdaServerProviderClass GdaServerProviderClass; typedef struct _GdaServerProviderClass GdaServerProviderClass;
typedef struct _GdaServerProviderPrivate GdaServerProviderPrivate; typedef struct _GdaServerProviderPrivate GdaServerProviderPrivate;
typedef struct _GdaServerProviderInfo GdaServerProviderInfo; typedef struct _GdaServerProviderInfo GdaServerProviderInfo;
typedef struct _GdaServerOperation GdaServerOperation; typedef struct _GdaServerOperation GdaServerOperation;
typedef struct _GdaServerOperationClass GdaServerOperationClass; typedef struct _GdaServerOperationClass GdaServerOperationClass;
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added


 gda-dict-reg-aggregates.h   gda-dict-reg-aggregates.h 
skipping to change at line 24 skipping to change at line 24
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
*/ */
#ifndef __GDA_DICT_REG_AGGREGATES_H_ #ifndef __GDA_DICT_REG_AGGREGATES_H_
#define __GDA_DICT_REG_AGGREGATES_H_ #define __GDA_DICT_REG_AGGREGATES_H_
#include "gda-dict-private.h" #include <libgda/gda-dict-private.h>
G_BEGIN_DECLS
GdaDictRegisterStruct *gda_aggregates_get_register (); GdaDictRegisterStruct *gda_aggregates_get_register ();
GSList *gda_aggregates_get_by_name (GdaDict *dict, const gch ar *aggname); GSList *gda_aggregates_get_by_name (GdaDict *dict, const gch ar *aggname);
GdaDictAggregate *gda_aggregates_get_by_name_arg (GdaDict *dict, GdaDictAggregate *gda_aggregates_get_by_name_arg (GdaDict *dict,
const gchar *aggname, GdaDictType *argtype); const gchar *aggname, GdaDictType *argtype);
GdaDictAggregate *gda_aggregates_get_by_name_arg_in_list (GdaDict *dic t, GSList *aggregates, GdaDictAggregate *gda_aggregates_get_by_name_arg_in_list (GdaDict *dic t, GSList *aggregates,
const gchar * aggname, GdaDictType *argtype); const gchar * aggname, GdaDictType *argtype);
GdaDictAggregate *gda_aggregates_get_by_dbms_id (GdaDict *dict, const gchar *dbms_id); GdaDictAggregate *gda_aggregates_get_by_dbms_id (GdaDict *dict, const gchar *dbms_id);
G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added


 gda-dict.h   gda-dict.h 
skipping to change at line 25 skipping to change at line 25
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
*/ */
#ifndef __GDA_DICT_H_ #ifndef __GDA_DICT_H_
#define __GDA_DICT_H_ #define __GDA_DICT_H_
#include <glib-object.h> #include <glib-object.h>
#include "gda-decl.h" #include <libgda/gda-decl.h>
#include "gda-value.h" #include <libgda/gda-value.h>
#include "gda-enums.h" #include <libgda/gda-enums.h>
/* #include <libgda/gda-dict-reg-aggregates.h> */
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_DICT (gda_dict_get_type()) #define GDA_TYPE_DICT (gda_dict_get_type())
#define GDA_DICT(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gda_dict_ge t_type(), GdaDict) #define GDA_DICT(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gda_dict_ge t_type(), GdaDict)
#define GDA_DICT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gda_dict_get _type (), GdaDictClass) #define GDA_DICT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gda_dict_get _type (), GdaDictClass)
#define GDA_IS_DICT(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_dict_ge t_type ()) #define GDA_IS_DICT(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_dict_ge t_type ())
/* error reporting */ /* error reporting */
extern GQuark gda_dict_error_quark (void); extern GQuark gda_dict_error_quark (void);
 End of changes. 1 change blocks. 
3 lines changed or deleted 5 lines changed or added


 gda-enum-types.h   gda-enum-types.h 
skipping to change at line 51 skipping to change at line 51
GType gda_data_model_hint_get_type (void); GType gda_data_model_hint_get_type (void);
#define GDA_TYPE_DATA_MODEL_HINT (gda_data_model_hint_get_type()) #define GDA_TYPE_DATA_MODEL_HINT (gda_data_model_hint_get_type())
GType gda_data_model_io_format_get_type (void); GType gda_data_model_io_format_get_type (void);
#define GDA_TYPE_DATA_MODEL_IO_FORMAT (gda_data_model_io_format_get_type()) #define GDA_TYPE_DATA_MODEL_IO_FORMAT (gda_data_model_io_format_get_type())
/* enumerations from "gda-data-model-iter.h" */ /* enumerations from "gda-data-model-iter.h" */
GType gda_data_model_iter_error_get_type (void); GType gda_data_model_iter_error_get_type (void);
#define GDA_TYPE_DATA_MODEL_ITER_ERROR (gda_data_model_iter_error_get_type( )) #define GDA_TYPE_DATA_MODEL_ITER_ERROR (gda_data_model_iter_error_get_type( ))
/* enumerations from "gda-data-model-query.h" */ /* enumerations from "gda-data-model-query.h" */
GType gda_data_model_query_error_get_type (void); GType gda_data_model_query_error_get_type (void);
#define GDA_TYPE_DATA_MODEL_QUERY_ERROR (gda_data_model_query_error_get_typ e()) #define GDA_TYPE_DATA_MODEL_QUERY_ERROR (gda_data_model_query_error_get_typ e())
GType gda_data_model_query_options_get_type (void);
#define GDA_TYPE_DATA_MODEL_QUERY_OPTIONS (gda_data_model_query_options_get
_type())
/* enumerations from "gda-data-proxy.h" */ /* enumerations from "gda-data-proxy.h" */
GType gda_data_proxy_error_get_type (void); GType gda_data_proxy_error_get_type (void);
#define GDA_TYPE_DATA_PROXY_ERROR (gda_data_proxy_error_get_type()) #define GDA_TYPE_DATA_PROXY_ERROR (gda_data_proxy_error_get_type())
/* enumerations from "gda-dict-aggregate.h" */ /* enumerations from "gda-dict-aggregate.h" */
GType gda_dict_aggregate_error_get_type (void); GType gda_dict_aggregate_error_get_type (void);
#define GDA_TYPE_DICT_AGGREGATE_ERROR (gda_dict_aggregate_error_get_type()) #define GDA_TYPE_DICT_AGGREGATE_ERROR (gda_dict_aggregate_error_get_type())
/* enumerations from "gda-dict-constraint.h" */ /* enumerations from "gda-dict-constraint.h" */
GType gda_dict_constraint_error_get_type (void); GType gda_dict_constraint_error_get_type (void);
#define GDA_TYPE_DICT_CONSTRAINT_ERROR (gda_dict_constraint_error_get_type( )) #define GDA_TYPE_DICT_CONSTRAINT_ERROR (gda_dict_constraint_error_get_type( ))
GType gda_dict_constraint_type_get_type (void); GType gda_dict_constraint_type_get_type (void);
skipping to change at line 85 skipping to change at line 87
/* enumerations from "gda-dict.h" */ /* enumerations from "gda-dict.h" */
GType gda_dict_error_get_type (void); GType gda_dict_error_get_type (void);
#define GDA_TYPE_DICT_ERROR (gda_dict_error_get_type()) #define GDA_TYPE_DICT_ERROR (gda_dict_error_get_type())
/* enumerations from "gda-dict-table.h" */ /* enumerations from "gda-dict-table.h" */
GType gda_dict_table_error_get_type (void); GType gda_dict_table_error_get_type (void);
#define GDA_TYPE_DICT_TABLE_ERROR (gda_dict_table_error_get_type()) #define GDA_TYPE_DICT_TABLE_ERROR (gda_dict_table_error_get_type())
/* enumerations from "gda-dict-type.h" */ /* enumerations from "gda-dict-type.h" */
GType gda_dict_type_error_get_type (void); GType gda_dict_type_error_get_type (void);
#define GDA_TYPE_DICT_TYPE_ERROR (gda_dict_type_error_get_type()) #define GDA_TYPE_DICT_TYPE_ERROR (gda_dict_type_error_get_type())
/* enumerations from "gda-enums.h" */ /* enumerations from "gda-enums.h" */
GType g_value_attribute_get_type (void); GType gda_transaction_isolation_get_type (void);
#define GDA_TYPE_VALUE_ATTRIBUTE (g_value_attribute_get_type()) #define GDA_TYPE_TRANSACTION_ISOLATION (gda_transaction_isolation_get_type(
))
GType gda_value_attribute_get_type (void);
#define GDA_TYPE_VALUE_ATTRIBUTE (gda_value_attribute_get_type())
GType gda_graph_type_get_type (void); GType gda_graph_type_get_type (void);
#define GDA_TYPE_GRAPH_TYPE (gda_graph_type_get_type()) #define GDA_TYPE_GRAPH_TYPE (gda_graph_type_get_type())
GType gda_query_field_state_get_type (void); GType gda_query_field_state_get_type (void);
#define GDA_TYPE_QUERY_FIELD_STATE (gda_query_field_state_get_type()) #define GDA_TYPE_QUERY_FIELD_STATE (gda_query_field_state_get_type())
/* enumerations from "gda-object-ref.h" */ /* enumerations from "gda-object-ref.h" */
GType gda_object_ref_type_get_type (void); GType gda_object_ref_type_get_type (void);
#define GDA_TYPE_OBJECT_REF_TYPE (gda_object_ref_type_get_type()) #define GDA_TYPE_OBJECT_REF_TYPE (gda_object_ref_type_get_type())
GType gda_object_ref_error_get_type (void); GType gda_object_ref_error_get_type (void);
#define GDA_TYPE_OBJECT_REF_ERROR (gda_object_ref_error_get_type()) #define GDA_TYPE_OBJECT_REF_ERROR (gda_object_ref_error_get_type())
/* enumerations from "gda-parameter.h" */ /* enumerations from "gda-parameter.h" */
skipping to change at line 152 skipping to change at line 156
/* enumerations from "gda-renderer.h" */ /* enumerations from "gda-renderer.h" */
GType gda_renderer_options_get_type (void); GType gda_renderer_options_get_type (void);
#define GDA_TYPE_RENDERER_OPTIONS (gda_renderer_options_get_type()) #define GDA_TYPE_RENDERER_OPTIONS (gda_renderer_options_get_type())
/* enumerations from "gda-server-operation.h" */ /* enumerations from "gda-server-operation.h" */
GType gda_server_operation_type_get_type (void); GType gda_server_operation_type_get_type (void);
#define GDA_TYPE_SERVER_OPERATION_TYPE (gda_server_operation_type_get_type( )) #define GDA_TYPE_SERVER_OPERATION_TYPE (gda_server_operation_type_get_type( ))
GType gda_server_operation_node_type_get_type (void); GType gda_server_operation_node_type_get_type (void);
#define GDA_TYPE_SERVER_OPERATION_NODE_TYPE (gda_server_operation_node_type _get_type()) #define GDA_TYPE_SERVER_OPERATION_NODE_TYPE (gda_server_operation_node_type _get_type())
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.h" */ /* enumerations from "gda-transaction-status.h" */
GType gda_transaction_isolation_get_type (void); GType gda_transaction_status_event_type_get_type (void);
#define GDA_TYPE_TRANSACTION_ISOLATION (gda_transaction_isolation_get_type( #define GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE (gda_transaction_status_even
)) t_type_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())
G_END_DECLS G_END_DECLS
#endif /* __LIBGDA_ENUM_TYPES_H__ */ #endif /* __LIBGDA_ENUM_TYPES_H__ */
 End of changes. 3 change blocks. 
6 lines changed or deleted 12 lines changed or added


 gda-enums.h   gda-enums.h 
skipping to change at line 24 skipping to change at line 24
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
*/ */
#ifndef __GDA_ENUMS__ #ifndef __GDA_ENUMS__
#define __GDA_ENUMS__ #define __GDA_ENUMS__
/* Isolation state of a transaction */
typedef enum {
GDA_TRANSACTION_ISOLATION_UNKNOWN,
GDA_TRANSACTION_ISOLATION_READ_COMMITTED,
GDA_TRANSACTION_ISOLATION_READ_UNCOMMITTED,
GDA_TRANSACTION_ISOLATION_REPEATABLE_READ,
GDA_TRANSACTION_ISOLATION_SERIALIZABLE
} GdaTransactionIsolation;
/* status of a value */ /* status of a value */
typedef enum { typedef enum {
GDA_VALUE_ATTR_IS_NULL = 1 << 0, GDA_VALUE_ATTR_IS_NULL = 1 << 0,
GDA_VALUE_ATTR_CAN_BE_NULL = 1 << 1, GDA_VALUE_ATTR_CAN_BE_NULL = 1 << 1,
GDA_VALUE_ATTR_IS_DEFAULT = 1 << 2, GDA_VALUE_ATTR_IS_DEFAULT = 1 << 2,
GDA_VALUE_ATTR_CAN_BE_DEFAULT = 1 << 3, GDA_VALUE_ATTR_CAN_BE_DEFAULT = 1 << 3,
GDA_VALUE_ATTR_IS_UNCHANGED = 1 << 4, GDA_VALUE_ATTR_IS_UNCHANGED = 1 << 4,
GDA_VALUE_ATTR_ACTIONS_SHOWN = 1 << 5, GDA_VALUE_ATTR_ACTIONS_SHOWN = 1 << 5,
GDA_VALUE_ATTR_DATA_NON_VALID = 1 << 6, GDA_VALUE_ATTR_DATA_NON_VALID = 1 << 6,
GDA_VALUE_ATTR_HAS_VALUE_ORIG = 1 << 7, GDA_VALUE_ATTR_HAS_VALUE_ORIG = 1 << 7,
GDA_VALUE_ATTR_NO_MODIF = 1 << 8, GDA_VALUE_ATTR_NO_MODIF = 1 << 8,
} GValueAttribute; GDA_VALUE_ATTR_UNUSED = 1 << 9
} GdaValueAttribute;
/* different possible types for a GdaGraph object */ /* different possible types for a GdaGraph object */
typedef enum { typedef enum {
GDA_GRAPH_DB_RELATIONS, GDA_GRAPH_DB_RELATIONS,
GDA_GRAPH_QUERY_JOINS, GDA_GRAPH_QUERY_JOINS,
GDA_GRAPH_MODELLING /* for future extensions */ GDA_GRAPH_MODELLING /* for future extensions */
} GdaGraphType; } GdaGraphType;
typedef enum { typedef enum {
GDA_ENTITY_FIELD_VISIBLE = 1 << 0, GDA_ENTITY_FIELD_VISIBLE = 1 << 0,
 End of changes. 2 change blocks. 
1 lines changed or deleted 11 lines changed or added


 gda-handler-time.h   gda-handler-time.h 
/* gda-handler-time.h /* gda-handler-time.h
* *
* Copyright (C) 2003 - 2005 Vivien Malerba * Copyright (C) 2003 - 2006 Vivien Malerba
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU 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 program is distributed in the hope that it will be useful, * This program 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 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
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 _GdaHandlerTimeClass struct _GdaHandlerTimeClass
{ {
GdaObjectClass parent_class; GdaObjectClass parent_class;
}; };
GType gda_handler_time_get_type (void); GType gda_handler_time_get_type (void);
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,
GDateDMY third, gchar separa
tor, gboolean twodigits_years);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added


 gda-marshal.h   gda-marshal.h 
skipping to change at line 93 skipping to change at line 93
gpointer marshal_data); gpointer marshal_data);
/* VOID:STRING,INT (gda-marshal.list:37) */ /* VOID:STRING,INT (gda-marshal.list:37) */
extern void gda_marshal_VOID__STRING_INT (GClosure *closure, extern void gda_marshal_VOID__STRING_INT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_values,
const GValue *param_values, const GValue *param_values,
gpointer invocation_hint, gpointer invocation_hint,
gpointer marshal_data); gpointer marshal_data);
/* BOOLEAN:INT (gda-marshal.list:38) */
extern void gda_marshal_BOOLEAN__INT (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
G_END_DECLS G_END_DECLS
#endif /* __gda_marshal_MARSHAL_H__ */ #endif /* __gda_marshal_MARSHAL_H__ */
 End of changes. 1 change blocks. 
0 lines changed or deleted 8 lines changed or added


 gda-parameter-list.h   gda-parameter-list.h 
skipping to change at line 116 skipping to change at line 116
GSList *groups_list; /* list of GdaParameterListG roup */ GSList *groups_list; /* list of GdaParameterListG roup */
GdaParameterListPrivate *priv; GdaParameterListPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaParameterListClass struct _GdaParameterListClass
{ {
GdaObjectClass parent_class; GdaObjectClass parent_class;
void (*param_changed) (GdaParameterList *paramlist, void (*param_changed) (GdaParameterList *par
GdaParameter *param); amlist, GdaParameter *param);
void (*public_data_changed) (GdaParameterList *para void (*param_plugin_changed) (GdaParameterList *par
mlist); amlist, GdaParameter *param);
void (*param_attr_changed) (GdaParameterList *par
amlist, GdaParameter *param);
void (*public_data_changed) (GdaParameterList *par
amlist);
}; };
GType gda_parameter_list_get_type (void); GType gda_parameter_list_get_type (void);
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);
 End of changes. 1 change blocks. 
4 lines changed or deleted 8 lines changed or added


 gda-parameter.h   gda-parameter.h 
skipping to change at line 54 skipping to change at line 54
{ {
GdaObject object; GdaObject object;
GdaParameterPrivate *priv; GdaParameterPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
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_1) (GdaParameter *
param);
void (*reserved_2) (GdaParameter *
param);
void (*reserved_3) (GdaParameter *
param);
}; };
GType gda_parameter_get_type (void); GType gda_parameter_get_type (void);
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);
void gda_parameter_declare_param_user (GdaParameter *param, GdaObject *user); void gda_parameter_declare_param_user (GdaParameter *param, GdaObject *user);
GSList *gda_parameter_get_param_users (GdaParameter *param); GSList *gda_parameter_get_param_users (GdaParameter *param);
void gda_parameter_replace_param_users (GdaParameter *param, GHashTable *replacements); void gda_parameter_replace_param_users (GdaParameter *param, GHashTable *replacements);
const GValue *gda_parameter_get_value (GdaParameter *param); const GValue *gda_parameter_get_value (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);
gboolean gda_parameter_set_value_str (GdaParameter *param, const gchar *value); gboolean gda_parameter_set_value_str (GdaParameter *param, const gchar *value);
void gda_parameter_declare_invalid (GdaParameter *param); void gda_parameter_declare_invalid (GdaParameter *param);
gboolean gda_parameter_is_valid (GdaParameter *param); gboolean gda_parameter_is_valid (GdaParameter *param);
const GValue *gda_parameter_get_default_value (GdaParameter *param); const GValue *gda_parameter_get_default_value (GdaParameter *param);
void gda_parameter_set_default_value (GdaParameter *param, const GValue *value); void gda_parameter_set_default_value (GdaParameter *param, const GValue *value);
gboolean gda_parameter_get_exists_default_value(GdaParameter *param); gboolean gda_parameter_get_exists_default_value(GdaParameter *param);
void gda_parameter_set_exists_default_value(GdaParameter *param, gboolean default_value_exists); void gda_parameter_set_exists_default_value(GdaParameter *param, gboolean default_value_exists);
 End of changes. 2 change blocks. 
0 lines changed or deleted 9 lines changed or added


 gda-quark-list.h   gda-quark-list.h 
/* GDA Common Library /* GDA Common Library
* Copyright (C) 1998-2002 The GNOME Foundation. * Copyright (C) 1998 - 2006 The GNOME Foundation.
* *
* Authors: * Authors:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@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,
* 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_quark_list_h__) #ifndef __GDA_QUARK_LIST_H__
# define __gda_quark_list_h__ #define __GDA_QUARK_LIST_H__
#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);
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 gchar *name); const gchar *gda_quark_list_find (GdaQuarkList *qlist, const gc
void gda_quark_list_remove (GdaQuarkList *qlist, const gchar *name har *name);
); void gda_quark_list_remove (GdaQuarkList *qlist, const gc
void gda_quark_list_clear (GdaQuarkList *qlist); har *name);
void gda_quark_list_clear (GdaQuarkList *qlist);
void gda_quark_list_foreach (GdaQuarkList *qlist, GHFunc f
unc, gpointer user_data);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 6 change blocks. 
11 lines changed or deleted 15 lines changed or added


 gda-server-provider.h   gda-server-provider.h 
skipping to change at line 34 skipping to change at line 34
#ifndef __GDA_SERVER_PROVIDER_H__ #ifndef __GDA_SERVER_PROVIDER_H__
#define __GDA_SERVER_PROVIDER_H__ #define __GDA_SERVER_PROVIDER_H__
#include <libgda/gda-command.h> #include <libgda/gda-command.h>
#include <libgda/gda-server-operation.h> #include <libgda/gda-server-operation.h>
#include <libgda/gda-connection.h> #include <libgda/gda-connection.h>
#include <libgda/gda-data-model.h> #include <libgda/gda-data-model.h>
#include <libgda/gda-data-model-index.h> #include <libgda/gda-data-model-index.h>
#include <libgda/gda-quark-list.h> #include <libgda/gda-quark-list.h>
#include <libgda/gda-transaction.h>
#include <libgda/gda-client.h> #include <libgda/gda-client.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_SERVER_PROVIDER (gda_server_provider_get_type() ) #define GDA_TYPE_SERVER_PROVIDER (gda_server_provider_get_type() )
#define GDA_SERVER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (ob j, GDA_TYPE_SERVER_PROVIDER, GdaServerProvider)) #define GDA_SERVER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (ob j, GDA_TYPE_SERVER_PROVIDER, GdaServerProvider))
#define GDA_SERVER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass , GDA_TYPE_SERVER_PROVIDER, GdaServerProviderClass)) #define GDA_SERVER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass , GDA_TYPE_SERVER_PROVIDER, GdaServerProviderClass))
#define GDA_IS_SERVER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj , GDA_TYPE_SERVER_PROVIDER)) #define GDA_IS_SERVER_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj , GDA_TYPE_SERVER_PROVIDER))
#define GDA_IS_SERVER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass ), GDA_TYPE_SERVER_PROVIDER)) #define GDA_IS_SERVER_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass ), GDA_TYPE_SERVER_PROVIDER))
skipping to change at line 75 skipping to change at line 74
*/ */
gboolean alias_needs_as_keyword; gboolean alias_needs_as_keyword;
/* TRUE is tables can be aliased in SELECT queries*/ /* TRUE is tables can be aliased in SELECT queries*/
gboolean supports_alias; gboolean supports_alias;
/* TRUE if it is possible to write "SELECT table.field ..." or if it is only possible /* TRUE if it is possible to write "SELECT table.field ..." or if it is only possible
* to write "SELECT field..." * to write "SELECT field..."
*/ */
gboolean supports_prefixed_fields; gboolean supports_prefixed_fields;
/* TRUE if non lower case identifiers must be surrounded by double q
uotes to distinguish them
* with their lower case equivalent, that is TRUE if by default the
non lower case identifiers
* are converted into lower case.
*/
gboolean quote_non_lc_identifiers;
/* reserved for extensions */
gboolean reserved[20];
}; };
struct _GdaServerProvider { struct _GdaServerProvider {
GObject object; GObject object;
GdaServerProviderPrivate *priv; GdaServerProviderPrivate *priv;
}; };
struct _GdaServerProviderClass { struct _GdaServerProviderClass {
GObjectClass parent_class; GObjectClass parent_class;
skipping to change at line 160 skipping to change at line 168
GdaConnection *cnc, GdaConnection *cnc,
GdaCommand *cmd, GdaCommand *cmd,
GdaParameterList *param s); GdaParameterList *param s);
char *(* get_last_insert_id) (GdaServerProvider *p rovider, char *(* get_last_insert_id) (GdaServerProvider *p rovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaDataModel *recset ); GdaDataModel *recset );
/* transactions */ /* transactions */
gboolean (* begin_transaction) (GdaServerProvider *pr ovider, gboolean (* begin_transaction) (GdaServerProvider *pr ovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaTransaction *xacti const gchar *name, Gd
on); aTransactionIsolation level,
GError **error);
gboolean (* commit_transaction) (GdaServerProvider *p rovider, gboolean (* commit_transaction) (GdaServerProvider *p rovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaTransaction *xact ion); const gchar *name, G Error **error);
gboolean (* rollback_transaction) (GdaServerProvider *provider, gboolean (* rollback_transaction) (GdaServerProvider *provider,
GdaConnection *cnc , GdaConnection *cnc ,
GdaTransaction *xa const gchar *name,
ction); GError **error);
gboolean (* add_savepoint) (GdaServerProvider *p
rovider,
GdaConnection *cnc,
const gchar *name, G
Error **error);
gboolean (* rollback_savepoint) (GdaServerProvider *p
rovider,
GdaConnection *cnc,
const gchar *name, G
Error **error);
gboolean (* delete_savepoint) (GdaServerProvider *p
rovider,
GdaConnection *cnc,
const gchar *name, G
Error **error);
/* blobs */ /* blobs */
GdaBlob *(* create_blob) (GdaServerProvider *provider , GdaBlob *(* create_blob) (GdaServerProvider *provider ,
GdaConnection *cnc); GdaConnection *cnc);
GdaBlob *(* fetch_blob) (GdaServerProvider *provider, GdaBlob *(* fetch_blob) (GdaServerProvider *provider,
GdaConnection *cnc, const gc har *sql_id); GdaConnection *cnc, const gc har *sql_id);
gpointer reserved1; /* is_reserved_word() ? */ gpointer reserved1; /* is_reserved_word() ? */
gpointer reserved2; /* ping_or_reconnect() ? */ gpointer reserved2; /* ping_or_reconnect() ? */
skipping to change at line 222 skipping to change at line 240
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 );
/* connections management */ /* connections management */
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_reset_connection (GdaServerProvi
der *provider,
GdaConnection *
cnc);
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,
GdaConnection * cnc); GdaConnection * cnc);
gboolean gda_server_provider_change_database (GdaServerProvi der *provider, gboolean gda_server_provider_change_database (GdaServerProvi der *provider,
GdaConnection * cnc, GdaConnection * cnc,
const gchar *na me); const gchar *na me);
/* actions with parameters */ /* actions with parameters */
skipping to change at line 256 skipping to change at line 273
GdaConnection *cnc, GdaConnection *cnc,
GdaCommand *cmd, GdaCommand *cmd,
GdaParameterList *para ms); GdaParameterList *para ms);
gchar *gda_server_provider_get_last_insert_id (GdaServerProvider *pr ovider, gchar *gda_server_provider_get_last_insert_id (GdaServerProvider *pr ovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaDataModel *recset); GdaDataModel *recset);
/* transactions */ /* transactions */
gboolean gda_server_provider_begin_transaction (GdaServerProvider * provider, gboolean gda_server_provider_begin_transaction (GdaServerProvider * provider,
GdaConnection *cnc, GdaConnection *cnc,
GdaTransaction *xact const gchar *name, G
ion); daTransactionIsolation level,
GError **error);
gboolean gda_server_provider_commit_transaction (GdaServerProvider * provider, gboolean gda_server_provider_commit_transaction (GdaServerProvider * provider,
GdaConnection *cnc, GdaConnection *cnc,
GdaTransaction *xact ion); const gchar *name, G Error **error);
gboolean gda_server_provider_rollback_transaction (GdaServerProvider * provider, gboolean gda_server_provider_rollback_transaction (GdaServerProvider * provider,
GdaConnection *cnc, GdaConnection *cnc,
GdaTransaction *xact const gchar *name, G
ion); Error **error);
gboolean gda_server_provider_add_savepoint (GdaServerProvider *
provider, GdaConnection *cnc,
const gchar *name, G
Error **error);
gboolean gda_server_provider_rollback_savepoint (GdaServerProvider *
provider, GdaConnection *cnc,
const gchar *name, G
Error **error);
gboolean gda_server_provider_delete_savepoint (GdaServerProvider *
provider, GdaConnection *cnc,
const gchar *name, G
Error **error);
/* blobs */ /* blobs */
GdaBlob *gda_server_provider_create_blob (GdaServerProvider * provider, GdaBlob *gda_server_provider_create_blob (GdaServerProvider * provider,
GdaConnection *cnc); GdaConnection *cnc);
GdaBlob *gda_server_provider_fetch_blob_by_id (GdaServerProvider * provider, GdaBlob *gda_server_provider_fetch_blob_by_id (GdaServerProvider * provider,
GdaConnection *cnc, const gchar *sql_id); GdaConnection *cnc, const gchar *sql_id);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 9 change blocks. 
15 lines changed or deleted 51 lines changed or added


 gda-util.h   gda-util.h 
skipping to change at line 38 skipping to change at line 38
#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
/* /*
* Type utilities * Type utilities
*/ */
const gchar *g_type_to_string (GType type); const gchar *gda_g_type_to_string (GType type);
GType g_type_from_string (const gchar *str); GType gda_g_type_from_string (const gchar *str);
GList *gda_string_hash_to_list (GHashTable *hash_table); GList *gda_string_hash_to_list (GHashTable *hash_table);
/* /*
* SQL escaping * SQL escaping
*/ */
gchar *gda_default_escape_chars (const gchar *string); gchar *gda_default_escape_chars (const gchar *string);
gchar *gda_default_unescape_chars (const gchar *string); gchar *gda_default_unescape_chars (const gchar *string);
/* /*
* File management utility functions * File management utility functions
*/ */
gchar *gda_file_load (const gchar *filename); gchar *gda_file_load (const gchar *filename);
gboolean gda_file_save (const gchar *filename, const gchar *buffer, gint l en); gboolean gda_file_save (const gchar *filename, const gchar *buffer, gint l en);
/* /*
* utilities dealing with storing and retreiving GdaDictField's attributes * utilities dealing with storing and retreiving GdaDictField's attributes
* which is a list of comma separated keywords * which is a list of comma separated keywords
*/ */
gchar *utility_table_field_attrs_stringify (guint attributes); gchar *gda_utility_table_field_attrs_stringify (guint attributes);
guint utility_table_field_attrs_parse (const gchar *str); guint gda_utility_table_field_attrs_parse (const gchar *str);
/* /*
* XML Id encoding and decoding * XML Id encoding and decoding
*/ */
gchar *utility_build_encoded_id (const gchar *prefix, const gchar *id); gchar *gda_utility_build_encoded_id (const gchar *prefix, const gchar *id);
gchar *utility_build_decoded_id (const gchar *prefix, const gchar *id); gchar *gda_utility_build_decoded_id (const gchar *prefix, const gchar *id);
/* /*
* Param & model utilities * Param & model utilities
*/ */
gboolean utility_check_data_model (GdaDataModel *model, gint nbcols, ...); gboolean gda_utility_check_data_model (GdaDataModel *model, gint nbcols, ..
void utility_data_model_dump_data_to_xml (GdaDataModel *model, xmlNodeP .);
tr 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 utility_parameter_load_attributes (GdaParameter *param, xmlNodePtr void gda_utility_parameter_load_attributes (GdaParameter *param, xmlNod
node, GSList *sources); ePtr node, GSList *sources);
GdaDictType *utility_find_or_create_data_type (GdaDict *dict, GdaServerProv GdaDictType *gda_utility_find_or_create_data_type (GdaDict *dict, GdaServer
ider *prov, GdaConnection *cnc, Provider *prov, GdaConnection *cnc,
const gchar *dbms_type, const gchar *g_type, gboolean *created); const gchar *dbms_type, const gchar *g_type, gboolean *created);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 5 change blocks. 
13 lines changed or deleted 14 lines changed or added


 gda-value.h   gda-value.h 
skipping to change at line 95 skipping to change at line 95
gushort day; gushort day;
gushort hour; gushort hour;
gushort minute; gushort minute;
gushort second; gushort second;
gulong fraction; gulong fraction;
glong timezone; /* # of seconds to the east UTC */ glong timezone; /* # of seconds to the east UTC */
} GdaTimestamp; } GdaTimestamp;
typedef struct { typedef struct {
guchar *data; guchar *data;
glong binary_length; glong binary_length;
} GdaBinary; } GdaBinary;
typedef GList GdaValueList; typedef GList GdaValueList;
#define gda_value_isa(value, type) (G_VALUE_HOLDS(value, type)) #define gda_value_isa(value, type) (G_VALUE_HOLDS(value, type))
GValue *gda_value_new (GType type); GValue *gda_value_new (GType type);
GValue *gda_value_new_binary (guchar *val, glong size); GValue *gda_value_new_binary (guchar *val, glong size);
GValue *gda_value_new_timestamp_from_timet (time_ t val); GValue *gda_value_new_timestamp_from_timet (time_ t val);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 libgda.h   libgda.h 
skipping to change at line 37 skipping to change at line 37
#define __LIBGDA_H__ #define __LIBGDA_H__
#include <libgda/gda-blob.h> #include <libgda/gda-blob.h>
#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-data-model-array.h> #include <libgda/gda-data-model-array.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-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>
#include <libgda/gda-transaction.h> #include <libgda/gda-transaction-status.h>
#include <libgda/gda-transaction-status-private.h>
#include <libgda/gda-util.h> #include <libgda/gda-util.h>
#include <libgda/gda-value.h> #include <libgda/gda-value.h>
#include <libgda/gda-decl.h> #include <libgda/gda-decl.h>
#include <libgda/gda-object.h> #include <libgda/gda-object.h>
#include <libgda/gda-dict.h> #include <libgda/gda-dict.h>
#include <libgda/gda-enums.h> #include <libgda/gda-enums.h>
#include <libgda/gda-graphviz.h> #include <libgda/gda-graphviz.h>
#include <libgda/gda-data-model-private.h>
#include <libgda/graph/gda-graph-query.h> #include <libgda/graph/gda-graph-query.h>
#include <libgda/graph/gda-graph.h> #include <libgda/graph/gda-graph.h>
#include <libgda/graph/gda-graph-item.h> #include <libgda/graph/gda-graph-item.h>
#include <libgda/gda-data-handler.h> #include <libgda/gda-data-handler.h>
#include <libgda/handlers/gda-handler-bin.h> #include <libgda/handlers/gda-handler-bin.h>
#include <libgda/handlers/gda-handler-boolean.h> #include <libgda/handlers/gda-handler-boolean.h>
#include <libgda/handlers/gda-handler-numerical.h> #include <libgda/handlers/gda-handler-numerical.h>
#include <libgda/handlers/gda-handler-string.h> #include <libgda/handlers/gda-handler-string.h>
#include <libgda/handlers/gda-handler-time.h> #include <libgda/handlers/gda-handler-time.h>
#include <libgda/handlers/gda-handler-type.h> #include <libgda/handlers/gda-handler-type.h>
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/