gda-batch.h   gda-batch.h 
/* gda-batch.h /* gda-batch.h
* *
* Copyright (C) 2007 - 2008 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 52 skipping to change at line 52
GdaBatchPrivate *priv; GdaBatchPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaBatchClass struct _GdaBatchClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* signals */ /* signals */
void (*changed) (GdaBatch *batch, GdaStatement *changed_stmt); void (*changed) (GdaBatch *batch, GdaStatement *changed_stmt);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_batch_get_type (void) G_GNUC_CONST; GType gda_batch_get_type (void) G_GNUC_CONST;
GdaBatch *gda_batch_new (void); GdaBatch *gda_batch_new (void);
GdaBatch *gda_batch_copy (GdaBatch *orig); GdaBatch *gda_batch_copy (GdaBatch *orig);
void gda_batch_add_statement (GdaBatch *batch, GdaSt atement *stmt); void gda_batch_add_statement (GdaBatch *batch, GdaSt atement *stmt);
void gda_batch_remove_statement (GdaBatch *batch, GdaSt atement *stmt); void gda_batch_remove_statement (GdaBatch *batch, GdaSt atement *stmt);
gchar *gda_batch_serialize (GdaBatch *batch); gchar *gda_batch_serialize (GdaBatch *batch);
const GSList *gda_batch_get_statements (GdaBatch *batch); const GSList *gda_batch_get_statements (GdaBatch *batch);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-blob-op.h   gda-blob-op.h 
/* GDA Common Library /* GDA Common Library
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 41 skipping to change at line 41
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_BLOB_OP (gda_blob_op_get_type()) #define GDA_TYPE_BLOB_OP (gda_blob_op_get_type())
#define GDA_BLOB_OP(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_T YPE_BLOB_OP, GdaBlobOp)) #define GDA_BLOB_OP(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_T YPE_BLOB_OP, GdaBlobOp))
#define GDA_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TY PE_BLOB_OP, GdaBlobOpClass)) #define GDA_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TY PE_BLOB_OP, GdaBlobOpClass))
#define GDA_IS_BLOB_OP(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, GDA_TY PE_BLOB_OP)) #define GDA_IS_BLOB_OP(obj) (G_TYPE_CHECK_INSTANCE_TYPE(obj, GDA_TY PE_BLOB_OP))
#define GDA_IS_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GDA_T YPE_BLOB_OP)) #define GDA_IS_BLOB_OP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GDA_T YPE_BLOB_OP))
struct _GdaBlobOp { struct _GdaBlobOp {
GObject object; GObject object;
/* Padding for future expansion */
gpointer _gda_reserved1;
}; };
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);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_blob_op_get_type (void) G_GNUC_CONST; 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);
 End of changes. 3 change blocks. 
1 lines changed or deleted 10 lines changed or added


 gda-column.h   gda-column.h 
/* GDA library /* GDA library
* Copyright (C) 1998 - 2006 The GNOME Foundation. * Copyright (C) 1998 - 2009 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
skipping to change at line 53 skipping to change at line 53
GObject object; GObject object;
GdaColumnPrivate *priv; GdaColumnPrivate *priv;
}; };
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);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_column_get_type (void) G_GNUC_CONST; 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_description (GdaColumn *column); const gchar *gda_column_get_description (GdaColumn *column);
void gda_column_set_description (GdaColumn *column, con st gchar *title); void gda_column_set_description (GdaColumn *column, con st gchar *title);
const gchar *gda_column_get_name (GdaColumn *column); const gchar *gda_column_get_name (GdaColumn *column);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-config.h   gda-config.h 
/* GDA library /* GDA library
* Copyright (C) 2007 - 2008 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 59 skipping to change at line 59
GDA_CONFIG_PROVIDER_CREATION_ERROR GDA_CONFIG_PROVIDER_CREATION_ERROR
} GdaConfigError; } GdaConfigError;
struct _GdaDsnInfo { struct _GdaDsnInfo {
gchar *name; /* plain text, not RFC 1738 encoded */ gchar *name; /* plain text, not RFC 1738 encoded */
gchar *provider; /* plain text, not RFC 1738 encoded */ gchar *provider; /* plain text, not RFC 1738 encoded */
gchar *description; /* plain text, not RFC 1738 encoded */ gchar *description; /* plain text, not RFC 1738 encoded */
gchar *cnc_string; /* semi-colon separated <key>=<value> list w here <key> and <value> are RFC 1738 encoded */ gchar *cnc_string; /* semi-colon separated <key>=<value> list w here <key> and <value> are RFC 1738 encoded */
gchar *auth_string; /* semi-colon separated <key>=<value> list w here <key> and <value> are RFC 1738 encoded */ gchar *auth_string; /* semi-colon separated <key>=<value> list w here <key> and <value> are RFC 1738 encoded */
gboolean is_system; gboolean is_system;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
}; };
struct _GdaProviderInfo { struct _GdaProviderInfo {
gchar *id; gchar *id;
gchar *location; gchar *location;
gchar *description; gchar *description;
GdaSet *dsn_params; /* Specs to create a DSN */ GdaSet *dsn_params; /* Specs to create a DSN */
GdaSet *auth_params; /* Specs to authenticate a client */ GdaSet *auth_params; /* Specs to authenticate a client */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
}; };
struct _GdaConfig { struct _GdaConfig {
GObject object; GObject object;
GdaConfigPrivate *priv; GdaConfigPrivate *priv;
}; };
struct _GdaConfigClass { struct _GdaConfigClass {
GObjectClass object_class; GObjectClass object_class;
/* signals */ /* signals */
void (*dsn_added) (GdaConfig *conf, GdaDsnInfo *ne w_dsn); void (*dsn_added) (GdaConfig *conf, GdaDsnInfo *ne w_dsn);
void (*dsn_to_be_removed) (GdaConfig *conf, GdaDsnInfo *ol d_dsn); void (*dsn_to_be_removed) (GdaConfig *conf, GdaDsnInfo *ol d_dsn);
void (*dsn_removed) (GdaConfig *conf, GdaDsnInfo *ol d_dsn); void (*dsn_removed) (GdaConfig *conf, GdaDsnInfo *ol d_dsn);
void (*dsn_changed) (GdaConfig *conf, GdaDsnInfo *ds n); void (*dsn_changed) (GdaConfig *conf, GdaDsnInfo *ds n);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_config_get_type (void) G_GNUC_CONST; GType gda_config_get_type (void) G_GNUC_CONST;
GdaConfig* gda_config_get (void); GdaConfig* gda_config_get (void);
GdaDsnInfo *gda_config_get_dsn_info (const gchar *dsn_na me); GdaDsnInfo *gda_config_get_dsn_info (const gchar *dsn_na me);
gboolean gda_config_define_dsn (const GdaDsnInfo *i nfo, GError **error); gboolean gda_config_define_dsn (const GdaDsnInfo *i nfo, GError **error);
gboolean gda_config_remove_dsn (const gchar *dsn_na me, GError **error); gboolean gda_config_remove_dsn (const gchar *dsn_na me, GError **error);
gboolean gda_config_dsn_needs_authentication (const gchar *dsn_na me); gboolean gda_config_dsn_needs_authentication (const gchar *dsn_na me);
GdaDataModel *gda_config_list_dsn (void); GdaDataModel *gda_config_list_dsn (void);
 End of changes. 4 change blocks. 
1 lines changed or deleted 19 lines changed or added


 gda-connection-event.h   gda-connection-event.h 
/* GDA server library /* GDA server library
* Copyright (C) 1998 - 2007 The GNOME Foundation. * Copyright (C) 1998 - 2009 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 46 skipping to change at line 46
#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))
struct _GdaConnectionEvent { struct _GdaConnectionEvent {
GObject object; GObject object;
GdaConnectionEventPrivate *priv; GdaConnectionEventPrivate *priv;
}; };
struct _GdaConnectionEventClass { struct _GdaConnectionEventClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
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 GDA_CONNECTION_EVENT_COMMAND
} GdaConnectionEventType; } GdaConnectionEventType;
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-connection.h   gda-connection.h 
/* GDA library /* GDA library
* Copyright (C) 1998 - 2008 The GNOME Foundation. * Copyright (C) 1998 - 2009 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>
* Bas Driessen <bas.driessen@xobas.com> * Bas Driessen <bas.driessen@xobas.com>
* 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
skipping to change at line 75 skipping to change at line 75
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); void (*transaction_status_changed)(GdaConnection *obj);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
typedef enum { typedef enum {
GDA_CONNECTION_OPTIONS_NONE = 0, GDA_CONNECTION_OPTIONS_NONE = 0,
GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0 GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0
} GdaConnectionOptions; } GdaConnectionOptions;
typedef enum { typedef enum {
GDA_CONNECTION_FEATURE_AGGREGATES, GDA_CONNECTION_FEATURE_AGGREGATES,
GDA_CONNECTION_FEATURE_BLOBS, GDA_CONNECTION_FEATURE_BLOBS,
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-access-wrapper.h   gda-data-access-wrapper.h 
/* GDA common library /* GDA common library
* Copyright (C) 2006 - 2008 The GNOME Foundation. * Copyright (C) 2006 - 2009 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 48 skipping to change at line 48
typedef struct _GdaDataAccessWrapperClass GdaDataAccessWrapperClass; typedef struct _GdaDataAccessWrapperClass GdaDataAccessWrapperClass;
typedef struct _GdaDataAccessWrapperPrivate GdaDataAccessWrapperPrivate; typedef struct _GdaDataAccessWrapperPrivate GdaDataAccessWrapperPrivate;
struct _GdaDataAccessWrapper { struct _GdaDataAccessWrapper {
GObject object; GObject object;
GdaDataAccessWrapperPrivate *priv; GdaDataAccessWrapperPrivate *priv;
}; };
struct _GdaDataAccessWrapperClass { struct _GdaDataAccessWrapperClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_access_wrapper_get_type (void) G_GNUC_CONST; GType gda_data_access_wrapper_get_type (void) G_GNUC_CONST;
GdaDataModel *gda_data_access_wrapper_new (GdaDataModel *model); GdaDataModel *gda_data_access_wrapper_new (GdaDataModel *model);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-comparator.h   gda-data-comparator.h 
/* gda-data-comparator.h /* gda-data-comparator.h
* *
* Copyright (C) 2008 Vivien Malerba * Copyright (C) 2008 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 76 skipping to change at line 76
{ {
GObject object; GObject object;
GdaDataComparatorPrivate *priv; GdaDataComparatorPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaDataComparatorClass struct _GdaDataComparatorClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
gboolean (* diff_computed) (GdaDataComparator *comp, GdaDiff *diff); gboolean (* diff_computed) (GdaDataComparator *comp, GdaDiff *diff);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_comparator_get_type (void) G_GNUC_CONST; GType gda_data_comparator_get_type (void) G_GNUC_CONST;
GObject *gda_data_comparator_new (GdaDataModel *old_mo del, GdaDataModel *new_model); GObject *gda_data_comparator_new (GdaDataModel *old_mo del, GdaDataModel *new_model);
void gda_data_comparator_set_key_columns (GdaDataComparator *c omp, const gint *col_numbers, gint nb_cols); void gda_data_comparator_set_key_columns (GdaDataComparator *c omp, const gint *col_numbers, gint nb_cols);
gboolean gda_data_comparator_compute_diff (GdaDataComparator *c omp, GError **error); gboolean gda_data_comparator_compute_diff (GdaDataComparator *c omp, GError **error);
gint gda_data_comparator_get_n_diffs (GdaDataComparator *c omp); gint gda_data_comparator_get_n_diffs (GdaDataComparator *c omp);
const GdaDiff *gda_data_comparator_get_diff (GdaDataComparator *c omp, gint pos); const GdaDiff *gda_data_comparator_get_diff (GdaDataComparator *c omp, gint pos);
G_END_DECLS G_END_DECLS
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-model-array.h   gda-data-model-array.h 
/* GDA common library /* GDA common library
* Copyright (C) 1998 - 2008 The GNOME Foundation. * Copyright (C) 1998 - 2009 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 49 skipping to change at line 49
typedef struct _GdaDataModelArrayClass GdaDataModelArrayClass; typedef struct _GdaDataModelArrayClass GdaDataModelArrayClass;
typedef struct _GdaDataModelArrayPrivate GdaDataModelArrayPrivate; typedef struct _GdaDataModelArrayPrivate GdaDataModelArrayPrivate;
struct _GdaDataModelArray { struct _GdaDataModelArray {
GObject object; GObject object;
GdaDataModelArrayPrivate *priv; GdaDataModelArrayPrivate *priv;
}; };
struct _GdaDataModelArrayClass { struct _GdaDataModelArrayClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_model_array_get_type (void) G_GNUC_CON ST; GType gda_data_model_array_get_type (void) G_GNUC_CON ST;
GdaDataModel *gda_data_model_array_new_with_g_types (gint cols, ...); GdaDataModel *gda_data_model_array_new_with_g_types (gint cols, ...);
GdaDataModel *gda_data_model_array_new (gint cols); GdaDataModel *gda_data_model_array_new (gint cols);
GdaDataModelArray *gda_data_model_array_copy_model (GdaDataModel *sr c, GError **error); GdaDataModelArray *gda_data_model_array_copy_model (GdaDataModel *sr c, GError **error);
GdaRow *gda_data_model_array_get_row (GdaDataModelArra y *model, gint row, GError **error); GdaRow *gda_data_model_array_get_row (GdaDataModelArra y *model, gint row, GError **error);
void gda_data_model_array_set_n_columns (GdaDataModelArra y *model, gint cols); void gda_data_model_array_set_n_columns (GdaDataModelArra y *model, gint cols);
void gda_data_model_array_clear (GdaDataModelArra y *model); void gda_data_model_array_clear (GdaDataModelArra y *model);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-model-bdb.h   gda-data-model-bdb.h 
/* GDA common library /* GDA common library
* Copyright (C) 2007 - 2008 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 61 skipping to change at line 61
GValue *(*get_key_part) (GdaDataModelBdb *mode l, GValue *(*get_key_part) (GdaDataModelBdb *mode l,
gpointer data, gint l ength, gint part); gpointer data, gint l ength, gint part);
GValue *(*get_data_part) (GdaDataModelBdb *mode l, GValue *(*get_data_part) (GdaDataModelBdb *mode l,
gpointer data, gint l ength, gint part); gpointer data, gint l ength, gint part);
gboolean (*update_key_part) (GdaDataModelBdb *mode l, gboolean (*update_key_part) (GdaDataModelBdb *mode l,
gpointer data, gint l ength, gint part, gpointer data, gint l ength, gint part,
const GValue *value, GError **error); const GValue *value, GError **error);
gboolean (*update_data_part) (GdaDataModelBdb *mode l, gboolean (*update_data_part) (GdaDataModelBdb *mode l,
gpointer data, gint l ength, gint part, gpointer data, gint l ength, gint part,
const GValue *value, GError **error); const GValue *value, GError **error);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_model_bdb_get_type (void) G_GNUC_CONST; GType gda_data_model_bdb_get_type (void) G_GNUC_CONST;
GdaDataModel *gda_data_model_bdb_new (const gchar *filename, const gchar *db_name); GdaDataModel *gda_data_model_bdb_new (const gchar *filename, const gchar *db_name);
const GSList *gda_data_model_bdb_get_errors (GdaDataModelBdb *model); const GSList *gda_data_model_bdb_get_errors (GdaDataModelBdb *model);
void gda_data_model_bdb_clean_errors (GdaDataModelBdb *model); void gda_data_model_bdb_clean_errors (GdaDataModelBdb *model);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-model-dir.h   gda-data-model-dir.h 
/* GDA common library /* GDA common library
* Copyright (C) 2007 - 2008 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 47 skipping to change at line 47
typedef struct _GdaDataModelDirClass GdaDataModelDirClass; typedef struct _GdaDataModelDirClass GdaDataModelDirClass;
typedef struct _GdaDataModelDirPrivate GdaDataModelDirPrivate; typedef struct _GdaDataModelDirPrivate GdaDataModelDirPrivate;
struct _GdaDataModelDir { struct _GdaDataModelDir {
GObject object; GObject object;
GdaDataModelDirPrivate *priv; GdaDataModelDirPrivate *priv;
}; };
struct _GdaDataModelDirClass { struct _GdaDataModelDirClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_model_dir_get_type (void) G_GNUC_CONST; GType gda_data_model_dir_get_type (void) G_GNUC_CONST;
GdaDataModel *gda_data_model_dir_new (const gchar *basedir); GdaDataModel *gda_data_model_dir_new (const gchar *basedir);
const GSList *gda_data_model_dir_get_errors (GdaDataModelDir *model); const GSList *gda_data_model_dir_get_errors (GdaDataModelDir *model);
void gda_data_model_dir_clean_errors (GdaDataModelDir *model); void gda_data_model_dir_clean_errors (GdaDataModelDir *model);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-model-import.h   gda-data-model-import.h 
/* GDA common library /* GDA common library
* Copyright (C) 2006 - 2008 The GNOME Foundation. * Copyright (C) 2006 - 2009 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 49 skipping to change at line 49
typedef struct _GdaDataModelImportClass GdaDataModelImportClass; typedef struct _GdaDataModelImportClass GdaDataModelImportClass;
typedef struct _GdaDataModelImportPrivate GdaDataModelImportPrivate; typedef struct _GdaDataModelImportPrivate GdaDataModelImportPrivate;
struct _GdaDataModelImport { struct _GdaDataModelImport {
GObject object; GObject object;
GdaDataModelImportPrivate *priv; GdaDataModelImportPrivate *priv;
}; };
struct _GdaDataModelImportClass { struct _GdaDataModelImportClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_model_import_get_type (void) G_GNUC_CONST; 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, GdaSet *options); GdaDataModel *gda_data_model_import_new_file (const gchar *filename, gb oolean random_access, GdaSet *options);
GdaDataModel *gda_data_model_import_new_mem (const gchar *data, gboole an random_access, GdaSet *options); GdaDataModel *gda_data_model_import_new_mem (const gchar *data, gboole an random_access, GdaSet *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 );
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-model-iter.h   gda-data-model-iter.h 
/* gda-data-model-iter.h /* gda-data-model-iter.h
* *
* Copyright (C) 2005 - 2008 Vivien Malerba * Copyright (C) 2005 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 57 skipping to change at line 57
GdaDataModelIterPrivate *priv; GdaDataModelIterPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaDataModelIterClass struct _GdaDataModelIterClass
{ {
GdaSetClass parent_class; GdaSetClass parent_class;
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 );
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_model_iter_get_type (void) G_GNUC_CO NST; GType gda_data_model_iter_get_type (void) G_GNUC_CO NST;
const GValue *gda_data_model_iter_get_value_at (GdaDataModelIte r *iter, gint col); const GValue *gda_data_model_iter_get_value_at (GdaDataModelIte r *iter, gint col);
const GValue *gda_data_model_iter_get_value_for_field (GdaDataModelIte r *iter, const gchar *field_name); const GValue *gda_data_model_iter_get_value_for_field (GdaDataModelIte r *iter, const gchar *field_name);
gboolean gda_data_model_iter_set_value_at (GdaDataModelIte r *iter, gint col, gboolean gda_data_model_iter_set_value_at (GdaDataModelIte r *iter, gint col,
const GValue *va lue, GError **error); const GValue *va lue, GError **error);
gboolean gda_data_model_iter_move_to_row (GdaDataModelIte r *iter, gint row); gboolean gda_data_model_iter_move_to_row (GdaDataModelIte r *iter, gint row);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-model.h   gda-data-model.h 
skipping to change at line 40 skipping to change at line 40
#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-enums.h> #include <libgda/gda-enums.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_DATA_MODEL (gda_data_model_get_type()) #define GDA_TYPE_DATA_MODEL (gda_data_model_get_type())
#define GDA_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GD A_TYPE_DATA_MODEL, GdaDataModel)) #define GDA_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GD A_TYPE_DATA_MODEL, GdaDataModel))
#define GDA_IS_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GD A_TYPE_DATA_MODEL)) #define GDA_IS_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GD A_TYPE_DATA_MODEL))
#define GDA_DATA_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj ), GDA_TYPE_DATA_MODEL, GdaDataModelClass)) #define GDA_DATA_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj ), GDA_TYPE_DATA_MODEL, GdaDataModelIface))
/* error reporting */ /* error reporting */
extern GQuark gda_data_model_error_quark (void); extern GQuark gda_data_model_error_quark (void);
#define GDA_DATA_MODEL_ERROR gda_data_model_error_quark () #define GDA_DATA_MODEL_ERROR gda_data_model_error_quark ()
typedef enum { typedef enum {
GDA_DATA_MODEL_ACCESS_RANDOM = 1 << 0, GDA_DATA_MODEL_ACCESS_RANDOM = 1 << 0,
GDA_DATA_MODEL_ACCESS_CURSOR_FORWARD = 1 << 1, GDA_DATA_MODEL_ACCESS_CURSOR_FORWARD = 1 << 1,
GDA_DATA_MODEL_ACCESS_CURSOR_BACKWARD = 1 << 2, GDA_DATA_MODEL_ACCESS_CURSOR_BACKWARD = 1 << 2,
GDA_DATA_MODEL_ACCESS_CURSOR = GDA_DATA_MODEL_ACCESS_CURSOR_FORWARD | GDA_DATA_MODEL_ACCESS_CURSOR_BACKWARD, GDA_DATA_MODEL_ACCESS_CURSOR = GDA_DATA_MODEL_ACCESS_CURSOR_FORWARD | GDA_DATA_MODEL_ACCESS_CURSOR_BACKWARD,
skipping to change at line 82 skipping to change at line 82
GDA_DATA_MODEL_VALUES_LIST_ERROR, GDA_DATA_MODEL_VALUES_LIST_ERROR,
GDA_DATA_MODEL_VALUE_TYPE_ERROR, GDA_DATA_MODEL_VALUE_TYPE_ERROR,
GDA_DATA_MODEL_ROW_NOT_FOUND_ERROR, GDA_DATA_MODEL_ROW_NOT_FOUND_ERROR,
GDA_DATA_MODEL_ACCESS_ERROR, GDA_DATA_MODEL_ACCESS_ERROR,
GDA_DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR, GDA_DATA_MODEL_FEATURE_NON_SUPPORTED_ERROR,
GDA_DATA_MODEL_FILE_EXIST_ERROR, GDA_DATA_MODEL_FILE_EXIST_ERROR,
GDA_DATA_MODEL_XML_FORMAT_ERROR GDA_DATA_MODEL_XML_FORMAT_ERROR
} GdaDataModelError; } GdaDataModelError;
/* struct for the interface */ /* struct for the interface */
struct _GdaDataModelClass { struct _GdaDataModelIface {
GTypeInterface g_iface; GTypeInterface g_iface;
/* virtual table */ /* virtual table */
gint (* i_get_n_rows) (GdaDataModel *model); gint (* i_get_n_rows) (GdaDataModel *model);
gint (* i_get_n_columns) (GdaDataModel *model); gint (* i_get_n_columns) (GdaDataModel *model);
GdaColumn *(* i_describe_column) (GdaDataModel *model, gi nt col); GdaColumn *(* i_describe_column) (GdaDataModel *model, gi nt col);
GdaDataModelAccessFlags (* i_get_access_flags) (GdaDataModel *model) ; GdaDataModelAccessFlags (* i_get_access_flags) (GdaDataModel *model) ;
const GValue *(* i_get_value_at) (GdaDataModel *model, gi nt col, gint row, GError **error); const GValue *(* i_get_value_at) (GdaDataModel *model, gi nt col, gint row, GError **error);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 gda-data-proxy.h   gda-data-proxy.h 
/* gda-data-proxy.h /* gda-data-proxy.h
* *
* Copyright (C) 2005 - 2008 Vivien Malerba * Copyright (C) 2005 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 69 skipping to change at line 69
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);
GError *(* validate_row_changes) (GdaDataProxy *proxy, gint row, gint proxied_row); GError *(* validate_row_changes) (GdaDataProxy *proxy, gint row, gint proxied_row);
void (* row_changes_applied) (GdaDataProxy *proxy, gint row, gint proxied_row); void (* row_changes_applied) (GdaDataProxy *proxy, gint row, gint proxied_row);
void (* filter_changed) (GdaDataProxy *proxy); void (* filter_changed) (GdaDataProxy *proxy);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_proxy_get_type (void) G_GNUC_CON ST; 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,
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-data-select.h   gda-data-select.h 
/* GDA common library /* GDA common library
* Copyright (C) 2008 The GNOME Foundation. * Copyright (C) 2008 - 2009 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 64 skipping to change at line 64
}; };
struct _GdaDataSelect { struct _GdaDataSelect {
GObject object; GObject object;
GdaDataSelectPrivate *priv; GdaDataSelectPrivate *priv;
/* read only information */ /* read only information */
GdaPStmt *prep_stmt; /* use the "prepared-stmt" property to set this */ GdaPStmt *prep_stmt; /* use the "prepared-stmt" property to set this */
gint nb_stored_rows; /* number of GdaRow objects curren tly stored */ gint nb_stored_rows; /* number of GdaRow objects curren tly stored */
gint advertized_nrows; /* set when the number of rows b ecomes known, -1 untill then */ gint advertized_nrows; /* set when the number of rows b ecomes known, -1 untill then */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
}; };
/* /*
* Depending on model access flags, the implementations are: * Depending on model access flags, the implementations are:
* *
* if GDA_DATA_MODEL_ACCESS_RANDOM: * if GDA_DATA_MODEL_ACCESS_RANDOM:
* REQUIRED: fetch_nb_rows, fetch_random * REQUIRED: fetch_nb_rows, fetch_random
* if GDA_STATEMENT_MODEL_CURSOR_FORWARD: * if GDA_STATEMENT_MODEL_CURSOR_FORWARD:
* REQUIRED: fetch_next * REQUIRED: fetch_next
* OPTIONAL: fetch_at * OPTIONAL: fetch_at
skipping to change at line 90 skipping to change at line 96
/* GDA_DATA_MODEL_ACCESS_RANDOM */ /* GDA_DATA_MODEL_ACCESS_RANDOM */
gint (*fetch_nb_rows) (GdaDataSelect *model); gint (*fetch_nb_rows) (GdaDataSelect *model);
gboolean (*fetch_random) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error); gboolean (*fetch_random) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error);
gboolean (*store_all) (GdaDataSelect *model, GError **er ror); gboolean (*store_all) (GdaDataSelect *model, GError **er ror);
/* GDA_STATEMENT_MODEL_CURSOR_* */ /* GDA_STATEMENT_MODEL_CURSOR_* */
gboolean (*fetch_next) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error); gboolean (*fetch_next) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error);
gboolean (*fetch_prev) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error); gboolean (*fetch_prev) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error);
gboolean (*fetch_at) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error); gboolean (*fetch_at) (GdaDataSelect *model, GdaRow **pr ow, gint rownum, GError **error);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_data_select_get_type (void) G_GNUC_C ONST; GType gda_data_select_get_type (void) G_GNUC_C ONST;
gboolean gda_data_select_set_row_selection_condition (GdaDataSele ct *model, GdaSqlExpr *expr, GError **error); gboolean gda_data_select_set_row_selection_condition (GdaDataSele ct *model, GdaSqlExpr *expr, GError **error);
gboolean gda_data_select_set_row_selection_condition_sql (GdaDataSele ct *model, const gchar *sql_where, GError **error); gboolean gda_data_select_set_row_selection_condition_sql (GdaDataSele ct *model, const gchar *sql_where, GError **error);
gboolean gda_data_select_compute_row_selection_condition (GdaDataSele ct *model, GError **error); gboolean gda_data_select_compute_row_selection_condition (GdaDataSele ct *model, GError **error);
gboolean gda_data_select_set_modification_statement (GdaDataSele ct *model, GdaStatement *mod_stmt, GError **error); gboolean gda_data_select_set_modification_statement (GdaDataSele ct *model, GdaStatement *mod_stmt, GError **error);
gboolean gda_data_select_set_modification_statement_sql (GdaDataSele ct *model, const gchar *sql, GError **error); gboolean gda_data_select_set_modification_statement_sql (GdaDataSele ct *model, const gchar *sql, GError **error);
 End of changes. 3 change blocks. 
1 lines changed or deleted 13 lines changed or added


 gda-debug-macros.h   gda-debug-macros.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 33 skipping to change at line 33
#include <glib.h> #include <glib.h>
#include <glib-object.h> #include <glib-object.h>
#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 DEBUG_HEADER (g_print (D_COL_H0 "====================== %s %s():%d
======================\n" D_COL_NOR, __FILE__, __FUNCTION__, __LINE__))
#define DEBUG_HEADER_STR(str) (g_print (D_COL_H0 "====================== %s
%s %s():%d ======================\n" D_COL_NOR, (str), __FILE__, __FUNCTIO
N__, __LINE__))
#endif #endif
#ifndef TO_IMPLEMENT #ifndef TO_IMPLEMENT
#ifdef GDA_DEBUG #ifdef GDA_DEBUG
#define TO_IMPLEMENT g_print (D_COL_ERR "Implementation missing:" D_COL _NOR " %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__) #define TO_IMPLEMENT g_print (D_COL_ERR "Implementation missing:" D_COL _NOR " %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__)
#else #else
#define TO_IMPLEMENT g_print ("Implementation missing: %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__) #define TO_IMPLEMENT g_print ("Implementation missing: %s() in %s line %d\n", __FUNCTION__, __FILE__,__LINE__)
#endif #endif
#endif #endif
 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 50 skipping to change at line 50
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;
typedef struct _GdaServerOperationPrivate GdaServerOperationPrivate; typedef struct _GdaServerOperationPrivate GdaServerOperationPrivate;
typedef struct _GdaDataModelClass GdaDataModelClass; typedef struct _GdaDataModelIface GdaDataModelIface;
typedef struct _GdaDataModel GdaDataModel; typedef struct _GdaDataModel GdaDataModel;
typedef struct _GdaDataProxy GdaDataProxy; typedef struct _GdaDataProxy GdaDataProxy;
typedef struct _GdaDataProxyClass GdaDataProxyClass; typedef struct _GdaDataProxyClass GdaDataProxyClass;
typedef struct _GdaDataProxyPrivate GdaDataProxyPrivate; typedef struct _GdaDataProxyPrivate GdaDataProxyPrivate;
typedef struct _GdaColumn GdaColumn; typedef struct _GdaColumn GdaColumn;
typedef struct _GdaColumnClass GdaColumnClass; typedef struct _GdaColumnClass GdaColumnClass;
typedef struct _GdaColumnPrivate GdaColumnPrivate; typedef struct _GdaColumnPrivate GdaColumnPrivate;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-handler-bin.h   gda-handler-bin.h 
/* gda-handler-bin.h /* gda-handler-bin.h
* *
* Copyright (C) 2005 - 2008 Vivien Malerba * Copyright (C) 2005 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 42 skipping to change at line 42
#define GDA_IS_HANDLER_BIN(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_ handler_bin_get_type ()) #define GDA_IS_HANDLER_BIN(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_ handler_bin_get_type ())
typedef struct _GdaHandlerBin GdaHandlerBin; typedef struct _GdaHandlerBin GdaHandlerBin;
typedef struct _GdaHandlerBinClass GdaHandlerBinClass; typedef struct _GdaHandlerBinClass GdaHandlerBinClass;
typedef struct _GdaHandlerBinPriv GdaHandlerBinPriv; typedef struct _GdaHandlerBinPriv GdaHandlerBinPriv;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaHandlerBin struct _GdaHandlerBin
{ {
GObject object; GObject object;
GdaHandlerBinPriv *priv; GdaHandlerBinPriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerBinClass struct _GdaHandlerBinClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_handler_bin_get_type (void) G_GNUC_CONST; GType gda_handler_bin_get_type (void) G_GNUC_CONST;
GdaDataHandler *gda_handler_bin_new (void); GdaDataHandler *gda_handler_bin_new (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added


 gda-handler-boolean.h   gda-handler-boolean.h 
/* gda-handler-boolean.h /* gda-handler-boolean.h
* *
* Copyright (C) 2003 - 2008 Vivien Malerba * Copyright (C) 2003 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 42 skipping to change at line 42
#define GDA_IS_HANDLER_BOOLEAN(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_handler_boolean_get_type ()) #define GDA_IS_HANDLER_BOOLEAN(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_handler_boolean_get_type ())
typedef struct _GdaHandlerBoolean GdaHandlerBoolean; typedef struct _GdaHandlerBoolean GdaHandlerBoolean;
typedef struct _GdaHandlerBooleanClass GdaHandlerBooleanClass; typedef struct _GdaHandlerBooleanClass GdaHandlerBooleanClass;
typedef struct _GdaHandlerBooleanPriv GdaHandlerBooleanPriv; typedef struct _GdaHandlerBooleanPriv GdaHandlerBooleanPriv;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaHandlerBoolean struct _GdaHandlerBoolean
{ {
GObject object; GObject object;
GdaHandlerBooleanPriv *priv; GdaHandlerBooleanPriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerBooleanClass struct _GdaHandlerBooleanClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_handler_boolean_get_type (void) G_GNUC_CONST; GType gda_handler_boolean_get_type (void) G_GNUC_CONST;
GdaDataHandler *gda_handler_boolean_new (void); GdaDataHandler *gda_handler_boolean_new (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added


 gda-handler-numerical.h   gda-handler-numerical.h 
/* gda-handler-numerical.h /* gda-handler-numerical.h
* *
* Copyright (C) 2003 - 2008 Vivien Malerba * Copyright (C) 2003 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 42 skipping to change at line 42
#define GDA_IS_HANDLER_NUMERICAL(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj , gda_handler_numerical_get_type ()) #define GDA_IS_HANDLER_NUMERICAL(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj , gda_handler_numerical_get_type ())
typedef struct _GdaHandlerNumerical GdaHandlerNumerical; typedef struct _GdaHandlerNumerical GdaHandlerNumerical;
typedef struct _GdaHandlerNumericalClass GdaHandlerNumericalClass; typedef struct _GdaHandlerNumericalClass GdaHandlerNumericalClass;
typedef struct _GdaHandlerNumericalPriv GdaHandlerNumericalPriv; typedef struct _GdaHandlerNumericalPriv GdaHandlerNumericalPriv;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaHandlerNumerical struct _GdaHandlerNumerical
{ {
GObject object; GObject object;
GdaHandlerNumericalPriv *priv; GdaHandlerNumericalPriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerNumericalClass struct _GdaHandlerNumericalClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_handler_numerical_get_type (void) G_GNUC_CONST; GType gda_handler_numerical_get_type (void) G_GNUC_CONST;
GdaDataHandler *gda_handler_numerical_new (void); GdaDataHandler *gda_handler_numerical_new (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added


 gda-handler-string.h   gda-handler-string.h 
/* gda-handler-string.h /* gda-handler-string.h
* *
* Copyright (C) 2003 - 2008 Vivien Malerba * Copyright (C) 2003 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 42 skipping to change at line 42
#define GDA_IS_HANDLER_STRING(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, g da_handler_string_get_type ()) #define GDA_IS_HANDLER_STRING(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, g da_handler_string_get_type ())
typedef struct _GdaHandlerString GdaHandlerString; typedef struct _GdaHandlerString GdaHandlerString;
typedef struct _GdaHandlerStringClass GdaHandlerStringClass; typedef struct _GdaHandlerStringClass GdaHandlerStringClass;
typedef struct _GdaHandlerStringPriv GdaHandlerStringPriv; typedef struct _GdaHandlerStringPriv GdaHandlerStringPriv;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaHandlerString struct _GdaHandlerString
{ {
GObject object; GObject object;
GdaHandlerStringPriv *priv; GdaHandlerStringPriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerStringClass struct _GdaHandlerStringClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_handler_string_get_type (void) G_GNUC_CONST; GType gda_handler_string_get_type (void) G_GNUC_CONST;
GdaDataHandler *gda_handler_string_new (void); GdaDataHandler *gda_handler_string_new (void);
GdaDataHandler *gda_handler_string_new_with_provider (GdaServerProvider *pr ov, GdaConnection *cnc); GdaDataHandler *gda_handler_string_new_with_provider (GdaServerProvider *pr ov, GdaConnection *cnc);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added


 gda-handler-time.h   gda-handler-time.h 
/* gda-handler-time.h /* gda-handler-time.h
* *
* Copyright (C) 2003 - 2008 Vivien Malerba * Copyright (C) 2003 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 42 skipping to change at line 42
#define GDA_IS_HANDLER_TIME(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda _handler_time_get_type ()) #define GDA_IS_HANDLER_TIME(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda _handler_time_get_type ())
typedef struct _GdaHandlerTime GdaHandlerTime; typedef struct _GdaHandlerTime GdaHandlerTime;
typedef struct _GdaHandlerTimeClass GdaHandlerTimeClass; typedef struct _GdaHandlerTimeClass GdaHandlerTimeClass;
typedef struct _GdaHandlerTimePriv GdaHandlerTimePriv; typedef struct _GdaHandlerTimePriv GdaHandlerTimePriv;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaHandlerTime struct _GdaHandlerTime
{ {
GObject object; GObject object;
GdaHandlerTimePriv *priv; GdaHandlerTimePriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerTimeClass struct _GdaHandlerTimeClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_handler_time_get_type (void) G_GNUC_CONST; 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);
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added


 gda-handler-type.h   gda-handler-type.h 
/* gda-handler-type.h /* gda-handler-type.h
* *
* Copyright (C) 2005 - 2008 Vivien Malerba * Copyright (C) 2005 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 42 skipping to change at line 42
#define GDA_IS_HANDLER_TYPE(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda _handler_type_get_type ()) #define GDA_IS_HANDLER_TYPE(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda _handler_type_get_type ())
typedef struct _GdaHandlerType GdaHandlerType; typedef struct _GdaHandlerType GdaHandlerType;
typedef struct _GdaHandlerTypeClass GdaHandlerTypeClass; typedef struct _GdaHandlerTypeClass GdaHandlerTypeClass;
typedef struct _GdaHandlerTypePriv GdaHandlerTypePriv; typedef struct _GdaHandlerTypePriv GdaHandlerTypePriv;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaHandlerType struct _GdaHandlerType
{ {
GObject object; GObject object;
GdaHandlerTypePriv *priv; GdaHandlerTypePriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerTypeClass struct _GdaHandlerTypeClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_handler_type_get_type (void) G_GNUC_CONST; GType gda_handler_type_get_type (void) G_GNUC_CONST;
GdaDataHandler *gda_handler_type_new (void); GdaDataHandler *gda_handler_type_new (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 5 lines changed or added


 gda-holder.h   gda-holder.h 
/* gda-holder.h /* gda-holder.h
* *
* Copyright (C) 2003 - 2006 Vivien Malerba * Copyright (C) 2003 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 59 skipping to change at line 59
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHolderClass struct _GdaHolderClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
void (*changed) (GdaHolder *holder); void (*changed) (GdaHolder *holder);
void (*source_changed) (GdaHolder *holder); void (*source_changed) (GdaHolder *holder);
GError *(*validate_change) (GdaHolder *holder, con st GValue *new_value); GError *(*validate_change) (GdaHolder *holder, con st GValue *new_value);
void (*att_changed) (GdaHolder *holder, con st gchar *att_name, const GValue *att_value); void (*att_changed) (GdaHolder *holder, con st gchar *att_name, const GValue *att_value);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_holder_get_type (void) G_GNUC_CONST; GType gda_holder_get_type (void) G_GNUC_CONST;
GdaHolder *gda_holder_new (GType type); GdaHolder *gda_holder_new (GType type);
GdaHolder *gda_holder_new_inline (GType type, const g char *id, ...); GdaHolder *gda_holder_new_inline (GType type, const g char *id, ...);
GdaHolder *gda_holder_copy (GdaHolder *orig); GdaHolder *gda_holder_copy (GdaHolder *orig);
GType gda_holder_get_g_type (GdaHolder *holder); GType gda_holder_get_g_type (GdaHolder *holder);
const gchar *gda_holder_get_id (GdaHolder *holder); const gchar *gda_holder_get_id (GdaHolder *holder);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-lockable.h   gda-lockable.h 
skipping to change at line 33 skipping to change at line 33
#ifndef __GDA_LOCKABLE_H__ #ifndef __GDA_LOCKABLE_H__
#define __GDA_LOCKABLE_H__ #define __GDA_LOCKABLE_H__
#include <glib-object.h> #include <glib-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_LOCKABLE (gda_lockable_get_type()) #define GDA_TYPE_LOCKABLE (gda_lockable_get_type())
#define GDA_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_ TYPE_LOCKABLE, GdaLockable)) #define GDA_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_ TYPE_LOCKABLE, GdaLockable))
#define GDA_IS_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_ TYPE_LOCKABLE)) #define GDA_IS_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_ TYPE_LOCKABLE))
#define GDA_LOCKABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDA_TYPE_LOCKABLE, GdaLockableClass)) #define GDA_LOCKABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDA_TYPE_LOCKABLE, GdaLockableIface))
typedef struct _GdaLockableClass GdaLockableClass; typedef struct _GdaLockableIface GdaLockableIface;
typedef struct _GdaLockable GdaLockable; typedef struct _GdaLockable GdaLockable;
/* struct for the interface */ /* struct for the interface */
struct _GdaLockableClass { struct _GdaLockableIface {
GTypeInterface g_iface; GTypeInterface g_iface;
/* virtual table */ /* virtual table */
void (* i_lock) (GdaLockable *lock); void (* i_lock) (GdaLockable *lock);
gboolean (* i_trylock) (GdaLockable *lock); gboolean (* i_trylock) (GdaLockable *lock);
void (* i_unlock) (GdaLockable *lock); void (* i_unlock) (GdaLockable *lock);
}; };
GType gda_lockable_get_type (void) G_GNUC_CONST; GType gda_lockable_get_type (void) G_GNUC_CONST;
 End of changes. 3 change blocks. 
3 lines changed or deleted 3 lines changed or added


 gda-log.h   gda-log.h 
/* GDA Common Library /* GDA Common Library
* Copyright (C) 1998-2002 The GNOME Foundation. * Copyright (C) 1998 - 2002 The GNOME Foundation.
* *
* 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_log_h__) #ifndef __GDA_LOG_H__
# define __gda_log_h__ #define __GDA_LOG_H__
#include <glib.h> #include <glib.h>
#include <time.h> #include <time.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* /*
* For application generating logs * For application generating logs
*/ */
void gda_log_enable (void); void gda_log_enable (void);
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added


 gda-meta-store.h   gda-meta-store.h 
/* gda-meta-store.h /* gda-meta-store.h
* *
* Copyright (C) 2008 Vivien Malerba * Copyright (C) 2008 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 97 skipping to change at line 97
/* struct for the object's class */ /* struct for the object's class */
struct _GdaMetaStoreClass struct _GdaMetaStoreClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
GdaMetaStoreClassPrivate *cpriv; GdaMetaStoreClassPrivate *cpriv;
/* signals the changes */ /* signals the changes */
void (*meta_reset) (GdaMetaStore *store); void (*meta_reset) (GdaMetaStore *store);
GError *(*suggest_update)(GdaMetaStore *store, GdaMetaContext *sugg est); GError *(*suggest_update)(GdaMetaStore *store, GdaMetaContext *sugg est);
void (*meta_changed) (GdaMetaStore *store, GSList *changes); void (*meta_changed) (GdaMetaStore *store, GSList *changes);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_meta_store_get_type (void) G_GNUC_CON ST; GType gda_meta_store_get_type (void) G_GNUC_CON ST;
GdaMetaStore *gda_meta_store_new_with_file (const gchar *fil e_name); GdaMetaStore *gda_meta_store_new_with_file (const gchar *fil e_name);
GdaMetaStore *gda_meta_store_new (const gchar *cnc _string); GdaMetaStore *gda_meta_store_new (const gchar *cnc _string);
gint gda_meta_store_get_version (GdaMetaStore *st ore); gint gda_meta_store_get_version (GdaMetaStore *st ore);
GdaConnection *gda_meta_store_get_internal_connection (GdaMetaStore *st ore); GdaConnection *gda_meta_store_get_internal_connection (GdaMetaStore *st ore);
GdaDataModel *gda_meta_store_extract (GdaMetaStore *st ore, const gchar *select_sql, GError **error, ...); GdaDataModel *gda_meta_store_extract (GdaMetaStore *st ore, const gchar *select_sql, GError **error, ...);
gboolean gda_meta_store_modify (GdaMetaStore *st ore, const gchar *table_name, gboolean gda_meta_store_modify (GdaMetaStore *st ore, const gchar *table_name,
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-meta-struct.h   gda-meta-struct.h 
/* gda-meta-struct.h /* gda-meta-struct.h
* *
* Copyright (C) 2008 Vivien Malerba * Copyright (C) 2008 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 58 skipping to change at line 58
struct _GdaMetaStruct struct _GdaMetaStruct
{ {
GObject object; GObject object;
GdaMetaStructPrivate *priv; GdaMetaStructPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaMetaStructClass struct _GdaMetaStructClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
/* /*
* Type of database object which can be handled * Type of database object which can be handled
*/ */
typedef enum { typedef enum {
GDA_META_DB_UNKNOWN, GDA_META_DB_UNKNOWN,
GDA_META_DB_TABLE, GDA_META_DB_TABLE,
GDA_META_DB_VIEW GDA_META_DB_VIEW
} GdaMetaDbObjectType; } GdaMetaDbObjectType;
skipping to change at line 103 skipping to change at line 109
typedef struct { typedef struct {
GSList *columns; /* list of GdaMetaTableColumn */ GSList *columns; /* list of GdaMetaTableColumn */
/* PK fields index */ /* PK fields index */
gint *pk_cols_array; gint *pk_cols_array;
gint pk_cols_nb; gint pk_cols_nb;
/* Foreign keys */ /* Foreign keys */
GSList *reverse_fk_list; /* list of GdaMetaTableForeignKey whe re @depend_on == this GdaMetaDbObject */ GSList *reverse_fk_list; /* list of GdaMetaTableForeignKey whe re @depend_on == this GdaMetaDbObject */
GSList *fk_list; /* list of GdaMetaTableForeignKey where @meta _table == this GdaMetaDbObject */ GSList *fk_list; /* list of GdaMetaTableForeignKey where @meta _table == this GdaMetaDbObject */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaMetaTable; } GdaMetaTable;
/** /**
* Complements the GdaMetaDbObject structure, for views only * Complements the GdaMetaDbObject structure, for views only
* contains more information than for tables * contains more information than for tables
*/ */
typedef struct { typedef struct {
GdaMetaTable table; GdaMetaTable table;
gchar *view_def; gchar *view_def;
gboolean is_updatable; gboolean is_updatable;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaMetaView; } GdaMetaView;
/* /*
* Struture to hold information about each database object (tables, views, triggers, ...) * Struture to hold information about each database object (tables, views, triggers, ...)
* *
* Note: @obj_catalog, @obj_schema, @obj_name, @obj_short_name and @obj_ful l_name are case sensitive: * Note: @obj_catalog, @obj_schema, @obj_name, @obj_short_name and @obj_ful l_name are case sensitive:
* one must call gda_sql_identifier_needs_quotes() to know if is it i s necessary to surround by double quotes * one must call gda_sql_identifier_needs_quotes() to know if is it i s necessary to surround by double quotes
* before using in an SQL statement * before using in an SQL statement
*/ */
typedef struct { typedef struct {
skipping to change at line 137 skipping to change at line 155
GdaMetaDbObjectType obj_type; GdaMetaDbObjectType obj_type;
gboolean outdated; gboolean outdated;
gchar *obj_catalog; gchar *obj_catalog;
gchar *obj_schema; gchar *obj_schema;
gchar *obj_name; gchar *obj_name;
gchar *obj_short_name; gchar *obj_short_name;
gchar *obj_full_name; gchar *obj_full_name;
gchar *obj_owner; gchar *obj_owner;
GSList *depend_list; /* list of GdaMetaDbObject poin ters on which this object depends */ GSList *depend_list; /* list of GdaMetaDbObject poin ters on which this object depends */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaMetaDbObject; } GdaMetaDbObject;
#define GDA_META_DB_OBJECT(x) ((GdaMetaDbObject*)(x)) #define GDA_META_DB_OBJECT(x) ((GdaMetaDbObject*)(x))
#define GDA_META_TABLE(dbobj) (&((dbobj)->extra.meta_table)) #define GDA_META_TABLE(dbobj) (&((dbobj)->extra.meta_table))
#define GDA_META_VIEW(dbobj) (&((dbobj)->extra.meta_view)) #define GDA_META_VIEW(dbobj) (&((dbobj)->extra.meta_view))
typedef struct { typedef struct {
gchar *column_name; gchar *column_name;
gchar *column_type; gchar *column_type;
GType gtype; GType gtype;
gboolean pkey; gboolean pkey;
gboolean nullok; gboolean nullok;
gchar *default_value; gchar *default_value;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaMetaTableColumn; } GdaMetaTableColumn;
#define GDA_META_TABLE_COLUMN(x) ((GdaMetaTableColumn*)(x)) #define GDA_META_TABLE_COLUMN(x) ((GdaMetaTableColumn*)(x))
const GValue *gda_meta_table_column_get_attribute (GdaMetaTableColumn *tcol , const gchar *attribute); const GValue *gda_meta_table_column_get_attribute (GdaMetaTableColumn *tcol , const gchar *attribute);
void gda_meta_table_column_set_attribute (GdaMetaTableColumn *tcol , const gchar *attribute, const GValue *value, void gda_meta_table_column_set_attribute (GdaMetaTableColumn *tcol , const gchar *attribute, const GValue *value,
GDestroyNotify destroy); GDestroyNotify destroy);
/** /**
* gda_meta_table_column_set_attribute_static * gda_meta_table_column_set_attribute_static
* @column: a #GdaMetaTableColumn * @column: a #GdaMetaTableColumn
* @attribute: attribute's name * @attribute: attribute's name
* @value: a #GValue, or %NULL * @value: a #GValue, or %NULL
skipping to change at line 175 skipping to change at line 205
typedef struct { typedef struct {
GdaMetaDbObject *meta_table; GdaMetaDbObject *meta_table;
GdaMetaDbObject *depend_on; GdaMetaDbObject *depend_on;
gint cols_nb; gint cols_nb;
gint *fk_cols_array; /* FK fields index */ gint *fk_cols_array; /* FK fields index */
gchar **fk_names_array; /* FK fields names */ gchar **fk_names_array; /* FK fields names */
gint *ref_pk_cols_array; /* Ref PK fields index */ gint *ref_pk_cols_array; /* Ref PK fields index */
gchar **ref_pk_names_array; /* Ref PK fields names */ gchar **ref_pk_names_array; /* Ref PK fields names */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaMetaTableForeignKey; } GdaMetaTableForeignKey;
#define GDA_META_TABLE_FOREIGN_KEY(x) ((GdaMetaTableForeignKey*)(x)) #define GDA_META_TABLE_FOREIGN_KEY(x) ((GdaMetaTableForeignKey*)(x))
GType gda_meta_struct_get_type (void) G_GNUC_CONST; GType gda_meta_struct_get_type (void) G_GNUC_CONST;
GdaMetaStruct *gda_meta_struct_new (GdaMetaStore *store , GdaMetaStructFeature features); GdaMetaStruct *gda_meta_struct_new (GdaMetaStore *store , GdaMetaStructFeature features);
GdaMetaDbObject *gda_meta_struct_complement (GdaMetaStruct *mstr uct, GdaMetaDbObjectType type, GdaMetaDbObject *gda_meta_struct_complement (GdaMetaStruct *mstr uct, GdaMetaDbObjectType type,
const GValue *catalo g, const GValue *schema, const GValue *name, const GValue *catalo g, const GValue *schema, const GValue *name,
GError **error); GError **error);
gboolean gda_meta_struct_complement_schema (GdaMetaStruct *mstr uct, gboolean gda_meta_struct_complement_schema (GdaMetaStruct *mstr uct,
const GValue *catalo g, const GValue *schema, GError **error); const GValue *catalo g, const GValue *schema, GError **error);
 End of changes. 7 change blocks. 
1 lines changed or deleted 37 lines changed or added


 gda-pstmt.h   gda-pstmt.h 
skipping to change at line 53 skipping to change at line 53
GdaPStmtPrivate *priv; GdaPStmtPrivate *priv;
gchar *sql; /* actual SQL code used for this prepared stateme nt, mem freed by GdaPStmt */ gchar *sql; /* actual SQL code used for this prepared stateme nt, mem freed by GdaPStmt */
GSList *param_ids; /* list of parameters' IDs (as gchar *), m em freed by GdaPStmt */ GSList *param_ids; /* list of parameters' IDs (as gchar *), m em freed by GdaPStmt */
/* meta data */ /* meta data */
gint ncols; gint ncols;
GType *types; /* array of ncols types */ GType *types; /* array of ncols types */
GSList *tmpl_columns; /* list of #GdaColumn objects which data models created from this prep. statement GSList *tmpl_columns; /* list of #GdaColumn objects which data models created from this prep. statement
* can copy */ * can copy */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
struct _GdaPStmtClass { struct _GdaPStmtClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_pstmt_get_type (void) G_GNUC_CONST; GType gda_pstmt_get_type (void) G_GNUC_CONST;
void gda_pstmt_set_gda_statement (GdaPStmt *pstmt, GdaStatement *s tmt); void gda_pstmt_set_gda_statement (GdaPStmt *pstmt, GdaStatement *s tmt);
void gda_pstmt_copy_contents (GdaPStmt *src, GdaPStmt *dest); void gda_pstmt_copy_contents (GdaPStmt *src, GdaPStmt *dest);
GdaStatement *gda_pstmt_get_gda_statement (GdaPStmt *pstmt); GdaStatement *gda_pstmt_get_gda_statement (GdaPStmt *pstmt);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 lines changed or added


 gda-report-docbook-document.h   gda-report-docbook-document.h 
/* GDA /* GDA
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 47 skipping to change at line 47
typedef struct _GdaReportDocbookDocumentClass GdaReportDocbookDocumentClass ; typedef struct _GdaReportDocbookDocumentClass GdaReportDocbookDocumentClass ;
typedef struct _GdaReportDocbookDocumentPrivate GdaReportDocbookDocumentPri vate; typedef struct _GdaReportDocbookDocumentPrivate GdaReportDocbookDocumentPri vate;
struct _GdaReportDocbookDocument { struct _GdaReportDocbookDocument {
GdaReportDocument base; GdaReportDocument base;
GdaReportDocbookDocumentPrivate *priv; GdaReportDocbookDocumentPrivate *priv;
}; };
struct _GdaReportDocbookDocumentClass { struct _GdaReportDocbookDocumentClass {
GdaReportDocumentClass parent_class; GdaReportDocumentClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_report_docbook_document_get_type (void) G_GNU C_CONST; GType gda_report_docbook_document_get_type (void) G_GNU C_CONST;
GdaReportDocument *gda_report_docbook_document_new (GdaReportEn gine *engine); GdaReportDocument *gda_report_docbook_document_new (GdaReportEn gine *engine);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-report-document.h   gda-report-document.h 
/* GDA /* GDA
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 52 skipping to change at line 52
GObject base; GObject base;
GdaReportDocumentPrivate *priv; GdaReportDocumentPrivate *priv;
}; };
struct _GdaReportDocumentClass { struct _GdaReportDocumentClass {
GObjectClass parent_class; GObjectClass parent_class;
/* virtual methods */ /* virtual methods */
gboolean (*run_as_html) (GdaReportDocument *doc, cons t gchar *filename, GError **error); gboolean (*run_as_html) (GdaReportDocument *doc, cons t gchar *filename, GError **error);
gboolean (*run_as_pdf) (GdaReportDocument *doc, const gchar *filename, GError **error); gboolean (*run_as_pdf) (GdaReportDocument *doc, const gchar *filename, GError **error);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_report_document_get_type (void) G_GNUC_CON ST; GType gda_report_document_get_type (void) G_GNUC_CON ST;
void gda_report_document_set_template (GdaReportDocumen t *doc, const gchar *file); void gda_report_document_set_template (GdaReportDocumen 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_html (GdaReportDocumen t *doc, const gchar *filename, GError **error);
gboolean gda_report_document_run_as_pdf (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
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-report-engine.h   gda-report-engine.h 
/* GDA /* GDA
* Copyright (C) 2007 - 2008 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 50 skipping to change at line 50
typedef struct _GdaReportEngineClass GdaReportEngineClass; typedef struct _GdaReportEngineClass GdaReportEngineClass;
typedef struct _GdaReportEnginePrivate GdaReportEnginePrivate; typedef struct _GdaReportEnginePrivate GdaReportEnginePrivate;
struct _GdaReportEngine { struct _GdaReportEngine {
GObject base; GObject base;
GdaReportEnginePrivate *priv; GdaReportEnginePrivate *priv;
}; };
struct _GdaReportEngineClass { struct _GdaReportEngineClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_report_engine_get_type (void) G_GNUC_CONST; GType gda_report_engine_get_type (void) G_GNUC_CONST;
GdaReportEngine *gda_report_engine_new (xmlNodePtr spec_node); GdaReportEngine *gda_report_engine_new (xmlNodePtr spec_node);
GdaReportEngine *gda_report_engine_new_from_string (const gchar *spec_strin g); GdaReportEngine *gda_report_engine_new_from_string (const gchar *spec_strin g);
GdaReportEngine *gda_report_engine_new_from_file (const gchar *spec_file_ name); GdaReportEngine *gda_report_engine_new_from_file (const gchar *spec_file_ name);
void gda_report_engine_declare_object (GdaReportEngine *engine , GObject *object, const gchar *obj_name); void gda_report_engine_declare_object (GdaReportEngine *engine , GObject *object, const gchar *obj_name);
GObject *gda_report_engine_find_declared_object (GdaReportEngine *e ngine, GType obj_type, const gchar *obj_name); GObject *gda_report_engine_find_declared_object (GdaReportEngine *e ngine, GType obj_type, const gchar *obj_name);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-report-rml-document.h   gda-report-rml-document.h 
/* GDA /* GDA
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 47 skipping to change at line 47
typedef struct _GdaReportRmlDocumentClass GdaReportRmlDocumentClass; typedef struct _GdaReportRmlDocumentClass GdaReportRmlDocumentClass;
typedef struct _GdaReportRmlDocumentPrivate GdaReportRmlDocumentPrivate; typedef struct _GdaReportRmlDocumentPrivate GdaReportRmlDocumentPrivate;
struct _GdaReportRmlDocument { struct _GdaReportRmlDocument {
GdaReportDocument base; GdaReportDocument base;
GdaReportRmlDocumentPrivate *priv; GdaReportRmlDocumentPrivate *priv;
}; };
struct _GdaReportRmlDocumentClass { struct _GdaReportRmlDocumentClass {
GdaReportDocumentClass parent_class; GdaReportDocumentClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_report_rml_document_get_type (void) G_GNUC_CO NST; GType gda_report_rml_document_get_type (void) G_GNUC_CO NST;
GdaReportDocument *gda_report_rml_document_new (GdaReportEngine *engine); GdaReportDocument *gda_report_rml_document_new (GdaReportEngine *engine);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-row.h   gda-row.h 
/* GDA library /* GDA library
* Copyright (C) 1998 - 2008 The GNOME Foundation. * Copyright (C) 1998 - 2009 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 50 skipping to change at line 50
typedef struct _GdaRowClass GdaRowClass; typedef struct _GdaRowClass GdaRowClass;
typedef struct _GdaRowPrivate GdaRowPrivate; typedef struct _GdaRowPrivate GdaRowPrivate;
struct _GdaRow { struct _GdaRow {
GObject object; GObject object;
GdaRowPrivate *priv; GdaRowPrivate *priv;
}; };
struct _GdaRowClass { struct _GdaRowClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_row_get_type (void) G_GNUC_CONST; GType gda_row_get_type (void) G_GNUC_CONST;
GdaRow *gda_row_new (gint count); GdaRow *gda_row_new (gint count);
gint gda_row_get_length (GdaRow *row); gint gda_row_get_length (GdaRow *row);
GValue *gda_row_get_value (GdaRow *row, gint num); GValue *gda_row_get_value (GdaRow *row, gint num);
G_END_DECLS G_END_DECLS
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-server-operation.h   gda-server-operation.h 
/* GDA library /* GDA library
* Copyright (C) 2006 The GNOME Foundation. * Copyright (C) 2006 - 2009 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 102 skipping to change at line 102
GdaServerOperationPrivate *priv; GdaServerOperationPrivate *priv;
}; };
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);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_server_operation_get_type (vo id) G_GNUC_CONST; 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,
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added


 gda-server-provider.h   gda-server-provider.h 
/* GDA library /* GDA library
* Copyright (C) 1998 - 2008 The GNOME Foundation. * Copyright (C) 1998 - 2009 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@gnome-db.org>
* Bas Driessen <bas.driessen@xobas.com> * Bas Driessen <bas.driessen@xobas.com>
* 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 181 skipping to change at line 181
/* _routine_columns */ /* _routine_columns */
gboolean (*_routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **); gboolean (*_routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **);
gboolean (*routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **, gboolean (*routine_col) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **,
const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name); const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name);
/* _parameters */ /* _parameters */
gboolean (*_routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **); gboolean (*_routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **);
gboolean (*routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **, gboolean (*routine_par) (GdaServerProvider *, GdaConnection *, GdaMetaStore *, GdaMetaContext *, GError **,
const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name); const GValue *rout_catalog, const GVal ue *rout_schema, const GValue *rout_name);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
void (*_gda_reserved5) (void);
void (*_gda_reserved6) (void);
void (*_gda_reserved7) (void);
void (*_gda_reserved8) (void);
void (*_gda_reserved9) (void);
void (*_gda_reserved10) (void);
void (*_gda_reserved11) (void);
void (*_gda_reserved12) (void);
void (*_gda_reserved13) (void);
void (*_gda_reserved14) (void);
void (*_gda_reserved15) (void);
void (*_gda_reserved16) (void);
} GdaServerProviderMeta; } GdaServerProviderMeta;
/* distributed transaction support */ /* distributed transaction support */
typedef struct { typedef struct {
gboolean (*xa_start) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **); gboolean (*xa_start) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **);
gboolean (*xa_end) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **); gboolean (*xa_end) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **);
gboolean (*xa_prepare) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **); gboolean (*xa_prepare) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **);
gboolean (*xa_commit) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **); gboolean (*xa_commit) (GdaServerProvider *, GdaConnection *, const GdaXaTransactionId *, GError **);
 End of changes. 2 change blocks. 
1 lines changed or deleted 19 lines changed or added


 gda-set.h   gda-set.h 
/* gda-set.h /* gda-set.h
* *
* Copyright (C) 2003 - 2008 Vivien Malerba * Copyright (C) 2003 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 118 skipping to change at line 118
struct _GdaSetClass struct _GdaSetClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
GError *(*validate_holder_change)(GdaSet *set, GdaHold er *holder, const GValue *new_value); GError *(*validate_holder_change)(GdaSet *set, GdaHold er *holder, const GValue *new_value);
GError *(*validate_set) (GdaSet *set); GError *(*validate_set) (GdaSet *set);
void (*holder_changed) (GdaSet *set, GdaHold er *holder); void (*holder_changed) (GdaSet *set, GdaHold er *holder);
void (*holder_attr_changed) (GdaSet *set, GdaHold er *holder, void (*holder_attr_changed) (GdaSet *set, GdaHold er *holder,
const gchar *attr_na me, const GValue *attr_value); const gchar *attr_na me, const GValue *attr_value);
void (*public_data_changed) (GdaSet *set); void (*public_data_changed) (GdaSet *set);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_set_get_type (void) G_GNUC_CONST; GType gda_set_get_type (void) G_GNUC_CONST;
GdaSet *gda_set_new (GSList *holders); GdaSet *gda_set_new (GSList *holders);
GdaSet *gda_set_copy (GdaSet *set); GdaSet *gda_set_copy (GdaSet *set);
GdaSet *gda_set_new_inline (gint nb, ...); GdaSet *gda_set_new_inline (gint nb, ...);
GdaSet *gda_set_new_from_spec_string (const gchar *xml_spec, GErr or **error); GdaSet *gda_set_new_from_spec_string (const gchar *xml_spec, GErr or **error);
GdaSet *gda_set_new_from_spec_node (xmlNodePtr xml_spec, GError **error); GdaSet *gda_set_new_from_spec_node (xmlNodePtr xml_spec, GError **error);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-sql-parser.h   gda-sql-parser.h 
skipping to change at line 73 skipping to change at line 73
{ {
GObject object; GObject object;
GdaSqlParserPrivate *priv; GdaSqlParserPrivate *priv;
}; };
/* interface with the Lemon parser */ /* interface with the Lemon parser */
typedef struct _GdaSqlParserIface typedef struct _GdaSqlParserIface
{ {
GdaSqlParser *parser; GdaSqlParser *parser;
GdaSqlStatement *parsed_statement; GdaSqlStatement *parsed_statement;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
} GdaSqlParserIface; } GdaSqlParserIface;
/* struct for the object's class */ /* struct for the object's class */
struct _GdaSqlParserClass struct _GdaSqlParserClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* virtual methods and data for sub classed parsers */ /* virtual methods and data for sub classed parsers */
void *(*delim_alloc) (void*(*)(size_t)); void *(*delim_alloc) (void*(*)(size_t));
void (*delim_free) (void*, void(*)(void*)); void (*delim_free) (void*, void(*)(void*));
void (*delim_trace) (void*, char *); void (*delim_trace) (void*, char *);
void (*delim_parse) (void*, int, GValue *, GdaSqlParserIface *); void (*delim_parse) (void*, int, GValue *, GdaSqlParserIface *);
gint *delim_tokens_trans; gint *delim_tokens_trans;
void *(*parser_alloc) (void*(*)(size_t)); void *(*parser_alloc) (void*(*)(size_t));
void (*parser_free) (void*, void(*)(void*)); void (*parser_free) (void*, void(*)(void*));
void (*parser_trace) (void*, char *); void (*parser_trace) (void*, char *);
void (*parser_parse) (void*, int, GValue *, GdaSqlParserIface *); void (*parser_parse) (void*, int, GValue *, GdaSqlParserIface *);
gint *parser_tokens_trans; gint *parser_tokens_trans;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_sql_parser_get_type (void) G_GNUC_CON ST; GType gda_sql_parser_get_type (void) G_GNUC_CON ST;
GdaSqlParser *gda_sql_parser_new (void); GdaSqlParser *gda_sql_parser_new (void);
GdaStatement *gda_sql_parser_parse_string (GdaSqlParser *pa rser, GdaStatement *gda_sql_parser_parse_string (GdaSqlParser *pa rser,
const gchar *sql, const gchar **remain, const gchar *sql, const gchar **remain,
GError **error); GError **error);
GdaBatch *gda_sql_parser_parse_string_as_batch (GdaSqlParser *pa rser, GdaBatch *gda_sql_parser_parse_string_as_batch (GdaSqlParser *pa rser,
const gchar *sql, const gchar **remain, const gchar *sql, const gchar **remain,
 End of changes. 2 change blocks. 
0 lines changed or deleted 10 lines changed or added


 gda-sqlite-provider.h   gda-sqlite-provider.h 
/* GDA SQLite provider /* GDA SQLite provider
* Copyright (C) 1998 - 2008 The GNOME Foundation. * Copyright (C) 1998 - 2009 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@gnome-db.org>
* Carlos Perell * Carlos Perell
* 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 45 skipping to change at line 45
typedef struct _GdaSqliteProvider GdaSqliteProvider; typedef struct _GdaSqliteProvider GdaSqliteProvider;
typedef struct _GdaSqliteProviderClass GdaSqliteProviderClass; typedef struct _GdaSqliteProviderClass GdaSqliteProviderClass;
struct _GdaSqliteProvider { struct _GdaSqliteProvider {
GdaServerProvider provider; GdaServerProvider provider;
}; };
struct _GdaSqliteProviderClass { struct _GdaSqliteProviderClass {
GdaServerProviderClass parent_class; GdaServerProviderClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
G_BEGIN_DECLS G_BEGIN_DECLS
GType gda_sqlite_provider_get_type (void) G_GNUC_CONST; GType gda_sqlite_provider_get_type (void) G_GNUC_CONST;
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-statement-extra.h   gda-statement-extra.h 
/* gda-statement-extra.h /* gda-statement-extra.h
* *
* Copyright (C) 2005 - 2007 Vivien Malerba * Copyright (C) 2005 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 79 skipping to change at line 79
GdaSqlRenderingFunc render_field; GdaSqlRenderingFunc render_field;
GdaSqlRenderingFunc render_table; GdaSqlRenderingFunc render_table;
GdaSqlRenderingFunc render_function; GdaSqlRenderingFunc render_function;
GdaSqlRenderingFunc render_operation; GdaSqlRenderingFunc render_operation;
GdaSqlRenderingFunc render_case; GdaSqlRenderingFunc render_case;
GdaSqlRenderingFunc render_select_field; GdaSqlRenderingFunc render_select_field;
GdaSqlRenderingFunc render_select_target; GdaSqlRenderingFunc render_select_target;
GdaSqlRenderingFunc render_select_join; GdaSqlRenderingFunc render_select_join;
GdaSqlRenderingFunc render_select_from; GdaSqlRenderingFunc render_select_from;
GdaSqlRenderingFunc render_select_order; GdaSqlRenderingFunc render_select_order;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
void (*_gda_reserved5) (void);
void (*_gda_reserved6) (void);
void (*_gda_reserved7) (void);
void (*_gda_reserved8) (void);
}; };
gchar *gda_statement_to_sql_real (GdaStatement *stmt, GdaSqlRenderingContex t *context, GError **error); gchar *gda_statement_to_sql_real (GdaStatement *stmt, GdaSqlRenderingContex t *context, GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 11 lines changed or added


 gda-statement-struct-compound.h   gda-statement-struct-compound.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 47 skipping to change at line 47
GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL GDA_SQL_STATEMENT_COMPOUND_EXCEPT_ALL
} GdaSqlStatementCompoundType; } GdaSqlStatementCompoundType;
/* /*
* Structure definition * Structure definition
*/ */
struct _GdaSqlStatementCompound { struct _GdaSqlStatementCompound {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlStatementCompoundType compound_type; GdaSqlStatementCompoundType compound_type;
GSList *stmt_list; /* list of SELECT or COMPOUN D statements */ GSList *stmt_list; /* list of SELECT or COMPOUN D statements */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
gpointer gda_sql_statement_compound_copy (gpointer src); gpointer _gda_sql_statement_compound_copy (gpointer src);
void gda_sql_statement_compound_free (gpointer stmt); void _gda_sql_statement_compound_free (gpointer stmt);
gchar *gda_sql_statement_compound_serialize (gpointer stmt); gchar *_gda_sql_statement_compound_serialize (gpointer stmt);
GdaSqlStatementContentsInfo *gda_sql_statement_compound_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_compound_get_infos (void);
gint gda_sql_statement_compound_get_n_cols (GdaSqlStatementCompound *c
ompound, GError **error); /*
* compound specific operations
*/
gint _gda_sql_statement_compound_get_n_cols (GdaSqlStatementCompound *
compound, GError **error);
GdaSqlAnyPart * _gda_sql_statement_compound_reduce (GdaSqlAnyPart *compound
_or_select);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_compound_set_type (GdaSqlStatement *stmt, GdaSqlStat ementCompoundType type); void gda_sql_statement_compound_set_type (GdaSqlStatement *stmt, GdaSqlStat ementCompoundType type);
void gda_sql_statement_compound_take_stmt (GdaSqlStatement *stmt, GdaSqlSta tement *s); void gda_sql_statement_compound_take_stmt (GdaSqlStatement *stmt, GdaSqlSta tement *s);
GdaSqlAnyPart * gda_sql_statement_compound_reduce (GdaSqlAnyPart *compound_ or_select);
#endif #endif
 End of changes. 4 change blocks. 
8 lines changed or deleted 17 lines changed or added


 gda-statement-struct-decl.h   gda-statement-struct-decl.h 
skipping to change at line 144 skipping to change at line 144
GdaSqlStatementType type; GdaSqlStatementType type;
gchar *name; gchar *name;
gpointer (*construct) (void); gpointer (*construct) (void);
void (*free) (gpointer); void (*free) (gpointer);
gpointer (*copy) (gpointer); gpointer (*copy) (gpointer);
gchar *(*serialize) (gpointer); gchar *(*serialize) (gpointer);
/* augmenting information precision using a dictionary */ /* augmenting information precision using a dictionary */
GdaSqlForeachFunc check_structure_func; GdaSqlForeachFunc check_structure_func;
GdaSqlForeachFunc check_validity_func; GdaSqlForeachFunc check_validity_func;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaSqlStatementContentsInfo; } GdaSqlStatementContentsInfo;
/* /*
* Validation against a dictionary * Validation against a dictionary
*/ */
typedef struct { typedef struct {
GdaConnection *cnc; GdaConnection *cnc;
GdaMetaStore *store; GdaMetaStore *store;
GdaMetaStruct *mstruct; GdaMetaStruct *mstruct;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
} GdaSqlStatementCheckValidityData; } GdaSqlStatementCheckValidityData;
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 12 lines changed or added


 gda-statement-struct-delete.h   gda-statement-struct-delete.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 36 skipping to change at line 36
#include <sql-parser/gda-statement-struct-select.h> #include <sql-parser/gda-statement-struct-select.h>
#include <sql-parser/gda-statement-struct-parts.h> #include <sql-parser/gda-statement-struct-parts.h>
/* /*
* Structure definition * Structure definition
*/ */
struct _GdaSqlStatementDelete { struct _GdaSqlStatementDelete {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlTable *table; GdaSqlTable *table;
GdaSqlExpr *cond; GdaSqlExpr *cond;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
GdaSqlStatementContentsInfo *gda_sql_statement_delete_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_delete_get_infos (void);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_delete_take_table_name (GdaSqlStatement *stmt, GValu e *value); void gda_sql_statement_delete_take_table_name (GdaSqlStatement *stmt, GValu e *value);
void gda_sql_statement_delete_take_condition (GdaSqlStatement *stmt, GdaSql Expr *cond); void gda_sql_statement_delete_take_condition (GdaSqlStatement *stmt, GdaSql Expr *cond);
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added


 gda-statement-struct-insert.h   gda-statement-struct-insert.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 39 skipping to change at line 39
/* /*
* Structure definition * Structure definition
*/ */
struct _GdaSqlStatementInsert { struct _GdaSqlStatementInsert {
GdaSqlAnyPart any; GdaSqlAnyPart any;
gchar *on_conflict; /* conflict resolution clause * / gchar *on_conflict; /* conflict resolution clause * /
GdaSqlTable *table; GdaSqlTable *table;
GSList *fields_list; /* list of GdaSqlField structur es */ GSList *fields_list; /* list of GdaSqlField structur es */
GSList *values_list; /* list of list of GdaSqlExpr * / GSList *values_list; /* list of list of GdaSqlExpr * /
GdaSqlAnyPart *select; /* SELECT OR COMPOUND statements: Gd aSqlStatementSelect or GdaSqlStatementCompound */ GdaSqlAnyPart *select; /* SELECT OR COMPOUND statements: Gd aSqlStatementSelect or GdaSqlStatementCompound */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
GdaSqlStatementContentsInfo *gda_sql_statement_insert_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_insert_get_infos (void);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_insert_take_table_name (GdaSqlStatement *stmt, GValu e *value); void gda_sql_statement_insert_take_table_name (GdaSqlStatement *stmt, GValu e *value);
void gda_sql_statement_insert_take_on_conflict (GdaSqlStatement *stmt, GVal ue *value); void gda_sql_statement_insert_take_on_conflict (GdaSqlStatement *stmt, GVal ue *value);
void gda_sql_statement_insert_take_fields_list (GdaSqlStatement *stmt, GSLi st *list); void gda_sql_statement_insert_take_fields_list (GdaSqlStatement *stmt, GSLi st *list);
void gda_sql_statement_insert_take_1_values_list (GdaSqlStatement *stmt, GS List *list); void gda_sql_statement_insert_take_1_values_list (GdaSqlStatement *stmt, GS List *list);
void gda_sql_statement_insert_take_extra_values_list (GdaSqlStatement *stmt , GSList *list); void gda_sql_statement_insert_take_extra_values_list (GdaSqlStatement *stmt , GSList *list);
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added


 gda-statement-struct-parts.h   gda-statement-struct-parts.h 
skipping to change at line 55 skipping to change at line 55
struct _GdaSqlExpr { struct _GdaSqlExpr {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GValue *value; GValue *value;
GdaSqlParamSpec *param_spec; GdaSqlParamSpec *param_spec;
GdaSqlFunction *func; GdaSqlFunction *func;
GdaSqlOperation *cond; GdaSqlOperation *cond;
GdaSqlAnyPart *select; /* SELECT OR COMPOUND statements: GdaSqlSta tementSelect or GdaSqlStatementCompound */ GdaSqlAnyPart *select; /* SELECT OR COMPOUND statements: GdaSqlSta tementSelect or GdaSqlStatementCompound */
GdaSqlCase *case_s; GdaSqlCase *case_s;
gchar *cast_as; gchar *cast_as;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlExpr *gda_sql_expr_new (GdaSqlAnyPart *parent); GdaSqlExpr *gda_sql_expr_new (GdaSqlAnyPart *parent);
void gda_sql_expr_free (GdaSqlExpr *expr); void gda_sql_expr_free (GdaSqlExpr *expr);
GdaSqlExpr *gda_sql_expr_copy (GdaSqlExpr *expr); GdaSqlExpr *gda_sql_expr_copy (GdaSqlExpr *expr);
gchar *gda_sql_expr_serialize (GdaSqlExpr *expr); gchar *gda_sql_expr_serialize (GdaSqlExpr *expr);
void gda_sql_expr_check_clean (GdaSqlExpr *expr); void _gda_sql_expr_check_clean (GdaSqlExpr *expr);
void gda_sql_expr_take_select (GdaSqlExpr *expr, GdaSqlState ment *stmt); void gda_sql_expr_take_select (GdaSqlExpr *expr, GdaSqlState ment *stmt);
/* /*
* Any Table's field * Any Table's field
*/ */
struct _GdaSqlField { struct _GdaSqlField {
GdaSqlAnyPart any; GdaSqlAnyPart any;
gchar *field_name; gchar *field_name;
/* validity check with a connection */ /* validity check with a connection */
GdaMetaTableColumn *validity_meta_table_column; GdaMetaTableColumn *validity_meta_table_column;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlField *gda_sql_field_new (GdaSqlAnyPart *parent); GdaSqlField *gda_sql_field_new (GdaSqlAnyPart *parent);
void gda_sql_field_free (GdaSqlField *field); void gda_sql_field_free (GdaSqlField *field);
GdaSqlField *gda_sql_field_copy (GdaSqlField *field); GdaSqlField *gda_sql_field_copy (GdaSqlField *field);
gchar *gda_sql_field_serialize (GdaSqlField *field); gchar *gda_sql_field_serialize (GdaSqlField *field);
void gda_sql_field_check_clean (GdaSqlField *field); void _gda_sql_field_check_clean (GdaSqlField *field);
void gda_sql_field_take_name (GdaSqlField *field, GValue * value); void gda_sql_field_take_name (GdaSqlField *field, GValue * value);
/* /*
* Any table * Any table
*/ */
struct _GdaSqlTable struct _GdaSqlTable
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
gchar *table_name; gchar *table_name;
/* validity check with a connection */ /* validity check with a connection */
GdaMetaDbObject *validity_meta_object; GdaMetaDbObject *validity_meta_object;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlTable *gda_sql_table_new (GdaSqlAnyPart *parent); GdaSqlTable *gda_sql_table_new (GdaSqlAnyPart *parent);
void gda_sql_table_free (GdaSqlTable *table); void gda_sql_table_free (GdaSqlTable *table);
GdaSqlTable *gda_sql_table_copy (GdaSqlTable *table); GdaSqlTable *gda_sql_table_copy (GdaSqlTable *table);
gchar *gda_sql_table_serialize (GdaSqlTable *table); gchar *gda_sql_table_serialize (GdaSqlTable *table);
void gda_sql_table_check_clean (GdaSqlTable *table); void _gda_sql_table_check_clean (GdaSqlTable *table);
void gda_sql_table_take_name (GdaSqlTable *table, GValue * value); void gda_sql_table_take_name (GdaSqlTable *table, GValue * value);
/* /*
* A function with any number of arguments * A function with any number of arguments
*/ */
struct _GdaSqlFunction { struct _GdaSqlFunction {
GdaSqlAnyPart any; GdaSqlAnyPart any;
gchar *function_name; gchar *function_name;
GSList *args_list; GSList *args_list;
/* validity check with a connection */ /* Padding for future expansion */
gpointer validity_meta_function; /* to be replaced with a gpointer _gda_reserved1;
pointer to a structure representing a DBMS data type in GdaMetaStruct */ gpointer _gda_reserved2;
}; };
GdaSqlFunction *gda_sql_function_new (GdaSqlAnyPart *parent); GdaSqlFunction *gda_sql_function_new (GdaSqlAnyPart *parent);
void gda_sql_function_free (GdaSqlFunction *function) ; void gda_sql_function_free (GdaSqlFunction *function) ;
GdaSqlFunction *gda_sql_function_copy (GdaSqlFunction *function) ; GdaSqlFunction *gda_sql_function_copy (GdaSqlFunction *function) ;
gchar *gda_sql_function_serialize (GdaSqlFunction *function) ; gchar *gda_sql_function_serialize (GdaSqlFunction *function) ;
void gda_sql_function_check_clean (GdaSqlFunction *function) ; void gda_sql_function_check_clean (GdaSqlFunction *function) ;
void gda_sql_function_take_name (GdaSqlFunction *function, GValue *value); void gda_sql_function_take_name (GdaSqlFunction *function, GValue *value);
void gda_sql_function_take_args_list (GdaSqlFunction *function, GSList *args); void gda_sql_function_take_args_list (GdaSqlFunction *function, GSList *args);
skipping to change at line 165 skipping to change at line 180
GDA_SQL_OPERATOR_TYPE_REM, GDA_SQL_OPERATOR_TYPE_REM,
GDA_SQL_OPERATOR_TYPE_BITAND, GDA_SQL_OPERATOR_TYPE_BITAND,
GDA_SQL_OPERATOR_TYPE_BITOR, GDA_SQL_OPERATOR_TYPE_BITOR,
GDA_SQL_OPERATOR_TYPE_BITNOT GDA_SQL_OPERATOR_TYPE_BITNOT
} GdaSqlOperatorType; } GdaSqlOperatorType;
struct _GdaSqlOperation { struct _GdaSqlOperation {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlOperatorType operator_type; GdaSqlOperatorType operator_type;
GSList *operands; GSList *operands;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlOperation *gda_sql_operation_new (GdaSqlAnyPart *parent); GdaSqlOperation *gda_sql_operation_new (GdaSqlAnyPart *parent);
void gda_sql_operation_free (GdaSqlOperation *operat ion); void gda_sql_operation_free (GdaSqlOperation *operat ion);
GdaSqlOperation *gda_sql_operation_copy (GdaSqlOperation *operat ion); GdaSqlOperation *gda_sql_operation_copy (GdaSqlOperation *operat ion);
gchar *gda_sql_operation_serialize (GdaSqlOperation *operat ion); gchar *gda_sql_operation_serialize (GdaSqlOperation *operat ion);
const gchar *gda_sql_operation_operator_to_string (GdaSqlOperatorType op); const gchar *gda_sql_operation_operator_to_string (GdaSqlOperatorType op);
GdaSqlOperatorType gda_sql_operation_operator_from_string (const gchar * op); GdaSqlOperatorType gda_sql_operation_operator_from_string (const gchar * op);
/* /*
* A CASE expression * A CASE expression
*/ */
struct _GdaSqlCase struct _GdaSqlCase
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlExpr *base_expr; GdaSqlExpr *base_expr;
GSList *when_expr_list; GSList *when_expr_list;
GSList *then_expr_list; GSList *then_expr_list;
GdaSqlExpr *else_expr; GdaSqlExpr *else_expr;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlCase *gda_sql_case_new (GdaSqlAnyPart *parent); GdaSqlCase *gda_sql_case_new (GdaSqlAnyPart *parent);
void gda_sql_case_free (GdaSqlCase *sc); void gda_sql_case_free (GdaSqlCase *sc);
GdaSqlCase *gda_sql_case_copy (GdaSqlCase *sc); GdaSqlCase *gda_sql_case_copy (GdaSqlCase *sc);
gchar *gda_sql_case_serialize (GdaSqlCase *sc); gchar *gda_sql_case_serialize (GdaSqlCase *sc);
/* /*
* Any expression in a SELECT ... before the FROM clause * Any expression in a SELECT ... before the FROM clause
*/ */
skipping to change at line 205 skipping to change at line 228
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlExpr *expr; GdaSqlExpr *expr;
gchar *field_name; /* may be NULL if expr does not refe r to a table.field, can also be "*" */ gchar *field_name; /* may be NULL if expr does not refe r to a table.field, can also be "*" */
gchar *table_name; /* may be NULL if expr does not refe r to a table.field */ gchar *table_name; /* may be NULL if expr does not refe r to a table.field */
gchar *as; gchar *as;
/* validity check with a connection */ /* validity check with a connection */
GdaMetaDbObject *validity_meta_object; GdaMetaDbObject *validity_meta_object;
GdaMetaTableColumn *validity_meta_table_column; GdaMetaTableColumn *validity_meta_table_column;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlSelectField *gda_sql_select_field_new (GdaSqlAnyPart *pare nt); GdaSqlSelectField *gda_sql_select_field_new (GdaSqlAnyPart *pare nt);
void gda_sql_select_field_free (GdaSqlSelectField * field); void gda_sql_select_field_free (GdaSqlSelectField * field);
GdaSqlSelectField *gda_sql_select_field_copy (GdaSqlSelectField * field); GdaSqlSelectField *gda_sql_select_field_copy (GdaSqlSelectField * field);
gchar *gda_sql_select_field_serialize (GdaSqlSelectField * field); gchar *gda_sql_select_field_serialize (GdaSqlSelectField * field);
void gda_sql_select_field_check_clean (GdaSqlSelectField * field); void _gda_sql_select_field_check_clean (GdaSqlSelectField * field);
void gda_sql_select_field_take_star_value(GdaSqlSelectField * field, GValue *value); void gda_sql_select_field_take_star_value(GdaSqlSelectField * field, GValue *value);
void gda_sql_select_field_take_expr (GdaSqlSelectField * field, GdaSqlExpr *expr); void gda_sql_select_field_take_expr (GdaSqlSelectField * field, GdaSqlExpr *expr);
void gda_sql_select_field_take_alias (GdaSqlSelectField * field, GValue *alias); void gda_sql_select_field_take_alias (GdaSqlSelectField * field, GValue *alias);
/* /*
* Any TARGET ... in a SELECT statement * Any TARGET ... in a SELECT statement
*/ */
struct _GdaSqlSelectTarget struct _GdaSqlSelectTarget
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlExpr *expr; GdaSqlExpr *expr;
gchar *table_name; /* may be NULL if expr does not refe r to a table */ gchar *table_name; /* may be NULL if expr does not refe r to a table */
gchar *as; gchar *as;
/* validity check with a connection */ /* validity check with a connection */
GdaMetaDbObject *validity_meta_object; GdaMetaDbObject *validity_meta_object;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlSelectTarget *gda_sql_select_target_new (GdaSqlAnyPart *pa rent); GdaSqlSelectTarget *gda_sql_select_target_new (GdaSqlAnyPart *pa rent);
void gda_sql_select_target_free (GdaSqlSelectTarge t *target); void gda_sql_select_target_free (GdaSqlSelectTarge t *target);
GdaSqlSelectTarget *gda_sql_select_target_copy (GdaSqlSelectTarge t *target); GdaSqlSelectTarget *gda_sql_select_target_copy (GdaSqlSelectTarge t *target);
gchar *gda_sql_select_target_serialize (GdaSqlSelectTarge t *target); gchar *gda_sql_select_target_serialize (GdaSqlSelectTarge t *target);
void gda_sql_select_target_check_clean (GdaSqlSelectTarge t *target); void _gda_sql_select_target_check_clean (GdaSqlSelectTarge t *target);
void gda_sql_select_target_take_table_name (GdaSqlSelectTarg et *target, GValue *value); void gda_sql_select_target_take_table_name (GdaSqlSelectTarg et *target, GValue *value);
void gda_sql_select_target_take_select (GdaSqlSelectTarget * target, GdaSqlStatement *stmt); void gda_sql_select_target_take_select (GdaSqlSelectTarget * target, GdaSqlStatement *stmt);
void gda_sql_select_target_take_alias (GdaSqlSelectTarget *t arget, GValue *alias); void gda_sql_select_target_take_alias (GdaSqlSelectTarget *t arget, GValue *alias);
/* /*
* Any JOIN ... in a SELECT statement * Any JOIN ... in a SELECT statement
*/ */
typedef enum { typedef enum {
GDA_SQL_SELECT_JOIN_CROSS, GDA_SQL_SELECT_JOIN_CROSS,
skipping to change at line 259 skipping to change at line 290
GDA_SQL_SELECT_JOIN_RIGHT, GDA_SQL_SELECT_JOIN_RIGHT,
GDA_SQL_SELECT_JOIN_FULL GDA_SQL_SELECT_JOIN_FULL
} GdaSqlSelectJoinType; } GdaSqlSelectJoinType;
struct _GdaSqlSelectJoin struct _GdaSqlSelectJoin
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlSelectJoinType type; GdaSqlSelectJoinType type;
gint position; /* between a target at (pos < @posit ion) and the one @position */ gint position; /* between a target at (pos < @posit ion) and the one @position */
GdaSqlExpr *expr; GdaSqlExpr *expr;
GSList *use; GSList *use;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlSelectJoin *gda_sql_select_join_new (GdaSqlAnyPart *paren t); GdaSqlSelectJoin *gda_sql_select_join_new (GdaSqlAnyPart *paren t);
void gda_sql_select_join_free (GdaSqlSelectJoin *jo in); void gda_sql_select_join_free (GdaSqlSelectJoin *jo in);
GdaSqlSelectJoin *gda_sql_select_join_copy (GdaSqlSelectJoin *jo in); GdaSqlSelectJoin *gda_sql_select_join_copy (GdaSqlSelectJoin *jo in);
gchar *gda_sql_select_join_serialize (GdaSqlSelectJoin *jo in); gchar *gda_sql_select_join_serialize (GdaSqlSelectJoin *jo in);
const gchar *gda_sql_select_join_type_to_string (GdaSqlSelectJoinType type); const gchar *gda_sql_select_join_type_to_string (GdaSqlSelectJoinType type);
/* /*
* Any FROM ... in a SELECT statement * Any FROM ... in a SELECT statement
*/ */
struct _GdaSqlSelectFrom struct _GdaSqlSelectFrom
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GSList *targets; GSList *targets;
GSList *joins; GSList *joins;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlSelectFrom *gda_sql_select_from_new (GdaSqlAnyPart *paren t); GdaSqlSelectFrom *gda_sql_select_from_new (GdaSqlAnyPart *paren t);
void gda_sql_select_from_free (GdaSqlSelectFrom *fr om); void gda_sql_select_from_free (GdaSqlSelectFrom *fr om);
GdaSqlSelectFrom *gda_sql_select_from_copy (GdaSqlSelectFrom *fr om); GdaSqlSelectFrom *gda_sql_select_from_copy (GdaSqlSelectFrom *fr om);
gchar *gda_sql_select_from_serialize (GdaSqlSelectFrom *fr om); gchar *gda_sql_select_from_serialize (GdaSqlSelectFrom *fr om);
void gda_sql_select_from_take_new_target(GdaSqlSelectFrom *fr om, GdaSqlSelectTarget *target); void gda_sql_select_from_take_new_target(GdaSqlSelectFrom *fr om, GdaSqlSelectTarget *target);
void gda_sql_select_from_take_new_join (GdaSqlSelectFrom *fr om, GdaSqlSelectJoin *join); void gda_sql_select_from_take_new_join (GdaSqlSelectFrom *fr om, GdaSqlSelectJoin *join);
/* /*
* Any expression in a SELECT ... after the ORDER BY * Any expression in a SELECT ... after the ORDER BY
*/ */
struct _GdaSqlSelectOrder struct _GdaSqlSelectOrder
{ {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaSqlExpr *expr; GdaSqlExpr *expr;
gboolean asc; gboolean asc;
gchar *collation_name; gchar *collation_name;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlSelectOrder *gda_sql_select_order_new (GdaSqlAnyPart *pare nt); GdaSqlSelectOrder *gda_sql_select_order_new (GdaSqlAnyPart *pare nt);
void gda_sql_select_order_free (GdaSqlSelectOrder * order); void gda_sql_select_order_free (GdaSqlSelectOrder * order);
GdaSqlSelectOrder *gda_sql_select_order_copy (GdaSqlSelectOrder * order); GdaSqlSelectOrder *gda_sql_select_order_copy (GdaSqlSelectOrder * order);
gchar *gda_sql_select_order_serialize (GdaSqlSelectOrder * order); gchar *gda_sql_select_order_serialize (GdaSqlSelectOrder * order);
#endif #endif
 End of changes. 18 change blocks. 
8 lines changed or deleted 50 lines changed or added


 gda-statement-struct-pspec.h   gda-statement-struct-pspec.h 
skipping to change at line 40 skipping to change at line 40
*/ */
struct _GdaSqlParamSpec struct _GdaSqlParamSpec
{ {
gchar *name; gchar *name;
gchar *descr; gchar *descr;
gboolean is_param; gboolean is_param;
gboolean nullok; gboolean nullok;
GType g_type; GType g_type;
gpointer validity_meta_dict; /* to be replaced with a pointer to a structure representing a DBMS data type in GdaMetaStruct */ gpointer validity_meta_dict; /* to be replaced with a pointer to a structure representing a DBMS data type in GdaMetaStruct */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlParamSpec *gda_sql_param_spec_new (GValue *simple_spec); GdaSqlParamSpec *gda_sql_param_spec_new (GValue *simple_spec);
GdaSqlParamSpec *gda_sql_param_spec_copy (GdaSqlParamSpec *pspec); GdaSqlParamSpec *gda_sql_param_spec_copy (GdaSqlParamSpec *pspec);
void gda_sql_param_spec_take_name (GdaSqlParamSpec *pspec, GVa lue *value); void gda_sql_param_spec_take_name (GdaSqlParamSpec *pspec, GVa lue *value);
void gda_sql_param_spec_take_type (GdaSqlParamSpec *pspec, GVa lue *value); void gda_sql_param_spec_take_type (GdaSqlParamSpec *pspec, GVa lue *value);
void gda_sql_param_spec_take_descr (GdaSqlParamSpec *pspec, GVa lue *value); void gda_sql_param_spec_take_descr (GdaSqlParamSpec *pspec, GVa lue *value);
void gda_sql_param_spec_take_nullok(GdaSqlParamSpec *pspec, GVa lue *value); void gda_sql_param_spec_take_nullok(GdaSqlParamSpec *pspec, GVa lue *value);
void gda_sql_param_spec_free (GdaSqlParamSpec *pspec); void gda_sql_param_spec_free (GdaSqlParamSpec *pspec);
gchar *gda_sql_param_spec_serialize (GdaSqlParamSpec *pspec); gchar *gda_sql_param_spec_serialize (GdaSqlParamSpec *pspec);
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added


 gda-statement-struct-select.h   gda-statement-struct-select.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 46 skipping to change at line 46
GSList *expr_list; /* list of GdaSqlSelectField pointers */ GSList *expr_list; /* list of GdaSqlSelectField pointers */
GdaSqlSelectFrom *from; GdaSqlSelectFrom *from;
GdaSqlExpr *where_cond; /* WHERE... */ GdaSqlExpr *where_cond; /* WHERE... */
GSList *group_by; /* list of GdaSqlExpr pointers */ GSList *group_by; /* list of GdaSqlExpr pointers */
GdaSqlExpr *having_cond; /* HAVING... */ GdaSqlExpr *having_cond; /* HAVING... */
GSList *order_by; /* list of GdaSqlSelectOrder pointers */ GSList *order_by; /* list of GdaSqlSelectOrder pointers */
GdaSqlExpr *limit_count; GdaSqlExpr *limit_count;
GdaSqlExpr *limit_offset; GdaSqlExpr *limit_offset;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
gpointer gda_sql_statement_select_new (void); gpointer _gda_sql_statement_select_copy (gpointer src);
gpointer gda_sql_statement_select_copy (gpointer src); void _gda_sql_statement_select_free (gpointer stmt);
void gda_sql_statement_select_free (gpointer stmt); gchar *_gda_sql_statement_select_serialize (gpointer stmt);
gchar *gda_sql_statement_select_serialize (gpointer stmt); GdaSqlStatementContentsInfo *_gda_sql_statement_select_get_infos (void);
GdaSqlStatementContentsInfo *gda_sql_statement_select_get_infos (void);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_select_take_distinct (GdaSqlStatement *stmt, gboolea n distinct, GdaSqlExpr *distinct_expr); void gda_sql_statement_select_take_distinct (GdaSqlStatement *stmt, gboolea n distinct, GdaSqlExpr *distinct_expr);
void gda_sql_statement_select_take_expr_list (GdaSqlStatement *stmt, GSList *expr_list); void gda_sql_statement_select_take_expr_list (GdaSqlStatement *stmt, GSList *expr_list);
void gda_sql_statement_select_take_from (GdaSqlStatement *stmt, GdaSqlSelec tFrom *from); void gda_sql_statement_select_take_from (GdaSqlStatement *stmt, GdaSqlSelec tFrom *from);
void gda_sql_statement_select_take_where_cond (GdaSqlStatement *stmt, GdaSq lExpr *expr); void gda_sql_statement_select_take_where_cond (GdaSqlStatement *stmt, GdaSq lExpr *expr);
void gda_sql_statement_select_take_group_by (GdaSqlStatement *stmt, GSList *group_by); void gda_sql_statement_select_take_group_by (GdaSqlStatement *stmt, GSList *group_by);
void gda_sql_statement_select_take_having_cond (GdaSqlStatement *stmt, GdaS qlExpr *expr); void gda_sql_statement_select_take_having_cond (GdaSqlStatement *stmt, GdaS qlExpr *expr);
 End of changes. 3 change blocks. 
6 lines changed or deleted 9 lines changed or added


 gda-statement-struct-trans.h   gda-statement-struct-trans.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 37 skipping to change at line 37
#include <sql-parser/gda-statement-struct-parts.h> #include <sql-parser/gda-statement-struct-parts.h>
/* /*
* Structure definition * Structure definition
*/ */
struct _GdaSqlStatementTransaction { struct _GdaSqlStatementTransaction {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GdaTransactionIsolation isolation_level; GdaTransactionIsolation isolation_level;
gchar *trans_mode; /* DEFERRED, IMMEDIATE, EXCLUSIV E, READ_WRITE, READ_ONLY */ gchar *trans_mode; /* DEFERRED, IMMEDIATE, EXCLUSIV E, READ_WRITE, READ_ONLY */
gchar *trans_name; gchar *trans_name;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
GdaSqlStatementContentsInfo *gda_sql_statement_begin_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_begin_get_infos (void);
GdaSqlStatementContentsInfo *gda_sql_statement_commit_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_commit_get_infos (void);
GdaSqlStatementContentsInfo *gda_sql_statement_rollback_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_rollback_get_infos (void);
GdaSqlStatementContentsInfo *gda_sql_statement_savepoint_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_savepoint_get_infos (void);
GdaSqlStatementContentsInfo *gda_sql_statement_rollback_savepoint_get_infos GdaSqlStatementContentsInfo *_gda_sql_statement_rollback_savepoint_get_info
(void); s (void);
GdaSqlStatementContentsInfo *gda_sql_statement_delete_savepoint_get_infos ( GdaSqlStatementContentsInfo *_gda_sql_statement_delete_savepoint_get_infos
void); (void);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_trans_take_mode (GdaSqlStatement *stmt, GValue *va lue); void gda_sql_statement_trans_take_mode (GdaSqlStatement *stmt, GValue *va lue);
void gda_sql_statement_trans_set_isol_level (GdaSqlStatement *stmt, GdaTr ansactionIsolation level); void gda_sql_statement_trans_set_isol_level (GdaSqlStatement *stmt, GdaTr ansactionIsolation level);
void gda_sql_statement_trans_take_name (GdaSqlStatement *stmt, GValue *va lue); void gda_sql_statement_trans_take_name (GdaSqlStatement *stmt, GValue *va lue);
#endif #endif
 End of changes. 4 change blocks. 
9 lines changed or deleted 13 lines changed or added


 gda-statement-struct-unknown.h   gda-statement-struct-unknown.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 34 skipping to change at line 34
#include <glib-object.h> #include <glib-object.h>
#include <sql-parser/gda-statement-struct-decl.h> #include <sql-parser/gda-statement-struct-decl.h>
#include <sql-parser/gda-statement-struct-parts.h> #include <sql-parser/gda-statement-struct-parts.h>
/* /*
* Structure definition * Structure definition
*/ */
struct _GdaSqlStatementUnknown { struct _GdaSqlStatementUnknown {
GdaSqlAnyPart any; GdaSqlAnyPart any;
GSList *expressions; /* list of GdaSqlExpr pointers */ GSList *expressions; /* list of GdaSqlExpr pointers */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
GdaSqlStatementContentsInfo *gda_sql_statement_unknown_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_unknown_get_infos (void);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_unknown_take_expressions (GdaSqlStatement *stmt, GSL ist *expressions); void gda_sql_statement_unknown_take_expressions (GdaSqlStatement *stmt, GSL ist *expressions);
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added


 gda-statement-struct-update.h   gda-statement-struct-update.h 
/* /*
* Copyright (C) 2007 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 39 skipping to change at line 39
/* /*
* Structure definition * Structure definition
*/ */
struct _GdaSqlStatementUpdate { struct _GdaSqlStatementUpdate {
GdaSqlAnyPart any; GdaSqlAnyPart any;
gchar *on_conflict; /* conflict resolution clause */ gchar *on_conflict; /* conflict resolution clause */
GdaSqlTable *table; GdaSqlTable *table;
GSList *fields_list; /* list of GdaSqlField pointers */ GSList *fields_list; /* list of GdaSqlField pointers */
GSList *expr_list; /* list of GdaSqlExpr pointers */ GSList *expr_list; /* list of GdaSqlExpr pointers */
GdaSqlExpr *cond; GdaSqlExpr *cond;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
/* /*
* Common operations * Common operations
*/ */
GdaSqlStatementContentsInfo *gda_sql_statement_update_get_infos (void); GdaSqlStatementContentsInfo *_gda_sql_statement_update_get_infos (void);
/* /*
* Functions used by the parser * Functions used by the parser
*/ */
void gda_sql_statement_update_take_table_name (GdaSqlStatement *stmt, GValu e *value); void gda_sql_statement_update_take_table_name (GdaSqlStatement *stmt, GValu e *value);
void gda_sql_statement_update_take_on_conflict (GdaSqlStatement *stmt, GVal ue *value); void gda_sql_statement_update_take_on_conflict (GdaSqlStatement *stmt, GVal ue *value);
void gda_sql_statement_update_take_condition (GdaSqlStatement *stmt, GdaSql Expr *cond); void gda_sql_statement_update_take_condition (GdaSqlStatement *stmt, GdaSql Expr *cond);
void gda_sql_statement_update_take_set_value (GdaSqlStatement *stmt, GValue *fname, GdaSqlExpr *expr); void gda_sql_statement_update_take_set_value (GdaSqlStatement *stmt, GValue *fname, GdaSqlExpr *expr);
#endif #endif
 End of changes. 3 change blocks. 
2 lines changed or deleted 6 lines changed or added


 gda-statement-struct.h   gda-statement-struct.h 
/* /*
* Copyright (C) 2007 - 2008 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 33 skipping to change at line 33
#include <glib.h> #include <glib.h>
#include <glib-object.h> #include <glib-object.h>
#include <sql-parser/gda-statement-struct-decl.h> #include <sql-parser/gda-statement-struct-decl.h>
#include <libgda/gda-meta-store.h> #include <libgda/gda-meta-store.h>
struct _GdaSqlStatement { struct _GdaSqlStatement {
gchar *sql; gchar *sql;
GdaSqlStatementType stmt_type; GdaSqlStatementType stmt_type;
gpointer contents; /* depends on stmt_type */ gpointer contents; /* depends on stmt_type */
GdaMetaStruct *validity_meta_struct; /* set when gda_sql_state ment_check_validity() was last called */ GdaMetaStruct *validity_meta_struct; /* set when gda_sql_state ment_check_validity() was last called */
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
GdaSqlStatement *gda_sql_statement_new (GdaSqlStatementTy pe type); GdaSqlStatement *gda_sql_statement_new (GdaSqlStatementTy pe type);
GdaSqlStatement *gda_sql_statement_copy (GdaSqlStatement * stmt); GdaSqlStatement *gda_sql_statement_copy (GdaSqlStatement * stmt);
void gda_sql_statement_free (GdaSqlStatement * stmt); void gda_sql_statement_free (GdaSqlStatement * stmt);
gchar *gda_sql_statement_serialize (GdaSqlStatement * stmt); gchar *gda_sql_statement_serialize (GdaSqlStatement * stmt);
const gchar *gda_sql_statement_type_to_string (GdaSqlStatem entType type); const gchar *gda_sql_statement_type_to_string (GdaSqlStatem entType type);
GdaSqlStatementType gda_sql_statement_string_to_type (const gchar *type); GdaSqlStatementType gda_sql_statement_string_to_type (const gchar *type);
 End of changes. 2 change blocks. 
1 lines changed or deleted 5 lines changed or added


 gda-statement.h   gda-statement.h 
/* gda-statement.h /* gda-statement.h
* *
* Copyright (C) 2007 - 2008 Vivien Malerba * Copyright (C) 2007 - 2009 Vivien Malerba
* *
* 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.
skipping to change at line 82 skipping to change at line 82
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaStatementClass struct _GdaStatementClass
{ {
GObjectClass parent_class; GObjectClass parent_class;
/* signals */ /* signals */
void (*checked) (GdaStatement *stmt, GdaConnection *cnc, gboolea n checked); void (*checked) (GdaStatement *stmt, GdaConnection *cnc, gboolea n checked);
void (*reset) (GdaStatement *stmt); void (*reset) (GdaStatement *stmt);
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_statement_get_type (void) G_GNUC_CONS T; GType gda_statement_get_type (void) G_GNUC_CONS T;
GdaStatement *gda_statement_new (void); GdaStatement *gda_statement_new (void);
GdaStatement *gda_statement_copy (GdaStatement *ori g); GdaStatement *gda_statement_copy (GdaStatement *ori g);
gchar *gda_statement_serialize (GdaStatement *stm t); gchar *gda_statement_serialize (GdaStatement *stm t);
gboolean gda_statement_get_parameters (GdaStatement *stm t, GdaSet **out_params, GError **error); gboolean gda_statement_get_parameters (GdaStatement *stm t, GdaSet **out_params, GError **error);
#define gda_statement_to_sql(stmt,params,error) gda_statement_t o_sql_extended ((stmt), NULL, (params), GDA_STATEMENT_SQL_PARAMS_SHORT, NUL L, (error)) #define gda_statement_to_sql(stmt,params,error) gda_statement_t o_sql_extended ((stmt), NULL, (params), GDA_STATEMENT_SQL_PARAMS_SHORT, NUL L, (error))
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-transaction-status.h   gda-transaction-status.h 
skipping to change at line 65 skipping to change at line 65
struct _GdaTransactionStatusEvent { struct _GdaTransactionStatusEvent {
GdaTransactionStatus *trans; GdaTransactionStatus *trans;
GdaTransactionStatusEventType type; GdaTransactionStatusEventType type;
union { union {
gchar *svp_name; /* save point name if this e vent corresponds to a new save point */ gchar *svp_name; /* save point name if this e vent corresponds to a new save point */
gchar *sql; /* SQL to store SQL queries in transactions */ gchar *sql; /* SQL to store SQL queries in transactions */
GdaTransactionStatus *sub_trans;/* sub transaction event */ GdaTransactionStatus *sub_trans;/* sub transaction event */
} pl; } pl;
GdaConnectionEvent *conn_event; GdaConnectionEvent *conn_event;
gpointer reserved1; gpointer _gda_reserved1;
gpointer reserved2; gpointer _gda_reserved2;
}; };
struct _GdaTransactionStatus { struct _GdaTransactionStatus {
GObject object; GObject object;
gchar *name; gchar *name;
GdaTransactionIsolation isolation_level; GdaTransactionIsolation isolation_level;
GdaTransactionStatusState state; GdaTransactionStatusState state;
GList *events; GList *events;
gpointer _gda_reserved1;
gpointer _gda_reserved2;
}; };
struct _GdaTransactionStatusClass { struct _GdaTransactionStatusClass {
GObjectClass parent_class; GObjectClass parent_class;
gpointer reserved[10];
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_transaction_status_get_type (void) G_GNUC_CONST; GType gda_transaction_status_get_type (void) G_GNUC_CONST;
GdaTransactionStatus *gda_transaction_status_new (const gchar *name); GdaTransactionStatus *gda_transaction_status_new (const gchar *name);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
3 lines changed or deleted 11 lines changed or added


 gda-vconnection-data-model.h   gda-vconnection-data-model.h 
/* GDA /* GDA
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 43 skipping to change at line 43
G_BEGIN_DECLS G_BEGIN_DECLS
typedef struct _GdaVconnectionDataModel GdaVconnectionDataModel; typedef struct _GdaVconnectionDataModel GdaVconnectionDataModel;
typedef struct _GdaVconnectionDataModelClass GdaVconnectionDataModelClass; typedef struct _GdaVconnectionDataModelClass GdaVconnectionDataModelClass;
typedef struct _GdaVconnectionDataModelPrivate GdaVconnectionDataModelPriva te; typedef struct _GdaVconnectionDataModelPrivate GdaVconnectionDataModelPriva te;
typedef struct _GdaVconnectionDataModelSpec GdaVconnectionDataModelSpec; typedef struct _GdaVconnectionDataModelSpec GdaVconnectionDataModelSpec;
typedef GList *(*GdaVconnectionDataModelCreateColumnsFunc) (GdaVconn ectionDataModelSpec *, GError **); typedef GList *(*GdaVconnectionDataModelCreateColumnsFunc) (GdaVconn ectionDataModelSpec *, GError **);
typedef GdaDataModel *(*GdaVconnectionDataModelCreateModelFunc) (GdaVconn ectionDataModelSpec *); typedef GdaDataModel *(*GdaVconnectionDataModelCreateModelFunc) (GdaVconn ectionDataModelSpec *);
typedef void (*GdaVconnectionDataModelFunc) (GdaDataModel *, const gchar *, gpointer );
struct _GdaVconnectionDataModelSpec { struct _GdaVconnectionDataModelSpec {
GdaDataModel *data_model; GdaDataModel *data_model;
GdaVconnectionDataModelCreateColumnsFunc create_columns_func; GdaVconnectionDataModelCreateColumnsFunc create_columns_func;
GdaVconnectionDataModelCreateModelFunc create_model_func; GdaVconnectionDataModelCreateModelFunc create_model_func;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
#define GDA_VCONNECTION_DATA_MODEL_SPEC(x) ((GdaVconnectionDataModelSpec*)( x))
typedef void (*GdaVConnectionDataModelFunc) (GdaDataModel *model, const gch ar *table_name, gpointer data); #define GDA_VCONNECTION_DATA_MODEL_SPEC(x) ((GdaVconnectionDataModelSpec*)( x))
struct _GdaVconnectionDataModel { struct _GdaVconnectionDataModel {
GdaVirtualConnection connection; GdaVirtualConnection connection;
GdaVconnectionDataModelPrivate *priv; GdaVconnectionDataModelPrivate *priv;
}; };
struct _GdaVconnectionDataModelClass { struct _GdaVconnectionDataModelClass {
GdaVirtualConnectionClass parent_class; GdaVirtualConnectionClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_vconnection_data_model_get_type (void) G_GNUC_CONS T; GType gda_vconnection_data_model_get_type (void) G_GNUC_CONS T;
gboolean gda_vconnection_data_model_add (GdaVconnectionDat aModel *cnc, GdaVconnectionDataModelSpec *spec, gboolean gda_vconnection_data_model_add (GdaVconnectionDat aModel *cnc, GdaVconnectionDataModelSpec *spec,
GDestroyNotify spe c_free_func, GDestroyNotify spe c_free_func,
const gchar *table _name, GError **error); const gchar *table _name, GError **error);
gboolean gda_vconnection_data_model_add_model (GdaVconnectionDat aModel *cnc, gboolean gda_vconnection_data_model_add_model (GdaVconnectionDat aModel *cnc,
GdaDataModel *mode l, const gchar *table_name, GError **error); GdaDataModel *mode l, const gchar *table_name, GError **error);
gboolean gda_vconnection_data_model_remove (GdaVconnectionDat aModel *cnc, const gchar *table_name, GError **error); gboolean gda_vconnection_data_model_remove (GdaVconnectionDat aModel *cnc, const gchar *table_name, GError **error);
const gchar *gda_vconnection_data_model_get_table_name (GdaVconnecti onDataModel *cnc, GdaDataModel *model); const gchar *gda_vconnection_data_model_get_table_name (GdaVconnecti onDataModel *cnc, GdaDataModel *model);
GdaDataModel *gda_vconnection_data_model_get_model (GdaVconnectionDat aModel *cnc, const gchar *table_name); GdaDataModel *gda_vconnection_data_model_get_model (GdaVconnectionDat aModel *cnc, const gchar *table_name);
void gda_vconnection_data_model_foreach (GdaVconnectionDat aModel *cnc, void gda_vconnection_data_model_foreach (GdaVconnectionDat aModel *cnc,
GdaVConnectionData ModelFunc func, gpointer data); GdaVconnectionData ModelFunc func, gpointer data);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 7 change blocks. 
4 lines changed or deleted 12 lines changed or added


 gda-vconnection-hub.h   gda-vconnection-hub.h 
/* GDA /* GDA
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 49 skipping to change at line 49
typedef void (*GdaVConnectionHubFunc) (GdaConnection *cnc, const gchar *ns, gpointer data); typedef void (*GdaVConnectionHubFunc) (GdaConnection *cnc, const gchar *ns, gpointer data);
struct _GdaVconnectionHub { struct _GdaVconnectionHub {
GdaVconnectionDataModel parent; GdaVconnectionDataModel parent;
GdaVconnectionHubPrivate *priv; GdaVconnectionHubPrivate *priv;
}; };
struct _GdaVconnectionHubClass { struct _GdaVconnectionHubClass {
GdaVconnectionDataModelClass parent_class; GdaVconnectionDataModelClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_vconnection_hub_get_type (void) G_GNUC_CONST; GType gda_vconnection_hub_get_type (void) G_GNUC_CONST;
gboolean gda_vconnection_hub_add (GdaVconnectionHub * hub, gboolean gda_vconnection_hub_add (GdaVconnectionHub * hub,
GdaConnection *cnc, const gchar *ns, GError **error); GdaConnection *cnc, const gchar *ns, GError **error);
gboolean gda_vconnection_hub_remove (GdaVconnectionHub * hub, GdaConnection *cnc, GError **error); gboolean gda_vconnection_hub_remove (GdaVconnectionHub * hub, GdaConnection *cnc, GError **error);
GdaConnection *gda_vconnection_hub_get_connection (GdaVconnectionHub * hub, const gchar *ns); GdaConnection *gda_vconnection_hub_get_connection (GdaVconnectionHub * hub, const gchar *ns);
void gda_vconnection_hub_foreach (GdaVconnectionHub * hub, void gda_vconnection_hub_foreach (GdaVconnectionHub * hub,
GdaVConnectionHubFun c func, gpointer data); GdaVConnectionHubFun c func, gpointer data);
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-virtual-connection.h   gda-virtual-connection.h 
skipping to change at line 48 skipping to change at line 48
typedef struct _GdaVirtualConnectionClass GdaVirtualConnectionClass; typedef struct _GdaVirtualConnectionClass GdaVirtualConnectionClass;
typedef struct _GdaVirtualConnectionPrivate GdaVirtualConnectionPrivate; typedef struct _GdaVirtualConnectionPrivate GdaVirtualConnectionPrivate;
struct _GdaVirtualConnection { struct _GdaVirtualConnection {
GdaConnection connection; GdaConnection connection;
GdaVirtualConnectionPrivate *priv; GdaVirtualConnectionPrivate *priv;
}; };
struct _GdaVirtualConnectionClass { struct _GdaVirtualConnectionClass {
GdaConnectionClass parent_class; GdaConnectionClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_virtual_connection_get_type (void) G_G NUC_CONST; GType gda_virtual_connection_get_type (void) G_G NUC_CONST;
GdaConnection *gda_virtual_connection_open (GdaVirtua lProvider *virtual_provider, GError **error); GdaConnection *gda_virtual_connection_open (GdaVirtua lProvider *virtual_provider, GError **error);
void gda_virtual_connection_internal_set_provider_data (GdaVirtua lConnection *vcnc, void gda_virtual_connection_internal_set_provider_data (GdaVirtua lConnection *vcnc,
gpointer d ata, GDestroyNotify destroy_func); gpointer d ata, GDestroyNotify destroy_func);
gpointer gda_virtual_connection_internal_get_provider_data (GdaVirtua lConnection *cnc); gpointer gda_virtual_connection_internal_get_provider_data (GdaVirtua lConnection *cnc);
G_END_DECLS G_END_DECLS
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added


 gda-virtual-provider.h   gda-virtual-provider.h 
/* GDA virtual provider (based on SQLite) /* GDA virtual provider (based on SQLite)
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 49 skipping to change at line 49
typedef struct _GdaVirtualProviderClass GdaVirtualProviderClass; typedef struct _GdaVirtualProviderClass GdaVirtualProviderClass;
typedef struct _GdaVirtualProviderPrivate GdaVirtualProviderPrivate; typedef struct _GdaVirtualProviderPrivate GdaVirtualProviderPrivate;
struct _GdaVirtualProvider { struct _GdaVirtualProvider {
GdaSqliteProvider provider; GdaSqliteProvider provider;
GdaVirtualProviderPrivate *priv; GdaVirtualProviderPrivate *priv;
}; };
struct _GdaVirtualProviderClass { struct _GdaVirtualProviderClass {
GdaSqliteProviderClass parent_class; GdaSqliteProviderClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
}; };
GType gda_virtual_provider_get_type (void) G_GNUC_CONST; GType gda_virtual_provider_get_type (void) G_GNUC_CONST;
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-vprovider-data-model.h   gda-vprovider-data-model.h 
/* GDA SQLite vprovider for GdaDataModel /* GDA SQLite vprovider for GdaDataModel
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 47 skipping to change at line 47
typedef struct _GdaVproviderDataModelClass GdaVproviderDataModelClass; typedef struct _GdaVproviderDataModelClass GdaVproviderDataModelClass;
typedef struct _GdaVproviderDataModelPrivate GdaVproviderDataModelPrivate; typedef struct _GdaVproviderDataModelPrivate GdaVproviderDataModelPrivate;
struct _GdaVproviderDataModel { struct _GdaVproviderDataModel {
GdaVirtualProvider vprovider; GdaVirtualProvider vprovider;
GdaVproviderDataModelPrivate *priv; GdaVproviderDataModelPrivate *priv;
}; };
struct _GdaVproviderDataModelClass { struct _GdaVproviderDataModelClass {
GdaVirtualProviderClass parent_class; GdaVirtualProviderClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_vprovider_data_model_get_type (void) G_GNUC_CONST; GType gda_vprovider_data_model_get_type (void) G_GNUC_CONST;
GdaVirtualProvider *gda_vprovider_data_model_new (void); GdaVirtualProvider *gda_vprovider_data_model_new (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-vprovider-hub.h   gda-vprovider-hub.h 
/* GDA SQLite vprovider for Hub of connections /* GDA SQLite vprovider for Hub of connections
* Copyright (C) 2007 The GNOME Foundation. * Copyright (C) 2007 - 2009 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 47 skipping to change at line 47
typedef struct _GdaVproviderHubClass GdaVproviderHubClass; typedef struct _GdaVproviderHubClass GdaVproviderHubClass;
typedef struct _GdaVproviderHubPrivate GdaVproviderHubPrivate; typedef struct _GdaVproviderHubPrivate GdaVproviderHubPrivate;
struct _GdaVproviderHub { struct _GdaVproviderHub {
GdaVproviderDataModel parent; GdaVproviderDataModel parent;
GdaVproviderHubPrivate *priv; GdaVproviderHubPrivate *priv;
}; };
struct _GdaVproviderHubClass { struct _GdaVproviderHubClass {
GdaVproviderDataModelClass parent_class; GdaVproviderDataModelClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
GType gda_vprovider_hub_get_type (void) G_GNUC_CONST; GType gda_vprovider_hub_get_type (void) G_GNUC_CONST;
GdaVirtualProvider *gda_vprovider_hub_new (void); GdaVirtualProvider *gda_vprovider_hub_new (void);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-xa-transaction.h   gda-xa-transaction.h 
/* GDA library /* GDA library
* Copyright (C) 2008 The GNOME Foundation. * Copyright (C) 2008 - 2009 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 60 skipping to change at line 60
GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR
} GdaXaTransactionError; } GdaXaTransactionError;
struct _GdaXaTransaction { struct _GdaXaTransaction {
GObject object; GObject object;
GdaXaTransactionPrivate *priv; GdaXaTransactionPrivate *priv;
}; };
struct _GdaXaTransactionClass { struct _GdaXaTransactionClass {
GObjectClass parent_class; GObjectClass parent_class;
/* Padding for future expansion */
void (*_gda_reserved1) (void);
void (*_gda_reserved2) (void);
void (*_gda_reserved3) (void);
void (*_gda_reserved4) (void);
}; };
struct _GdaXaTransactionId { struct _GdaXaTransactionId {
guint32 format; /* any number */ guint32 format; /* any number */
gushort gtrid_length; /* 1-64 */ gushort gtrid_length; /* 1-64 */
gushort bqual_length; /* 1-64 */ gushort bqual_length; /* 1-64 */
char data [128]; char data [128];
}; };
GType gda_xa_transaction_get_type (void) G_ GNUC_CONST; GType gda_xa_transaction_get_type (void) G_ GNUC_CONST;
 End of changes. 2 change blocks. 
1 lines changed or deleted 7 lines changed or added


 libgda-xslt.h   libgda-xslt.h 
skipping to change at line 38 skipping to change at line 38
#include <libxslt/transform.h> #include <libxslt/transform.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_XSLT_EXTENSION_URI "http://www.gnome-db.org/ns/gda-sql-ext-v4" #define GDA_XSLT_EXTENSION_URI "http://www.gnome-db.org/ns/gda-sql-ext-v4"
struct _GdaXsltExCont struct _GdaXsltExCont
{ {
int init; int init;
GdaConnection *cnc; GdaConnection *cnc;
GHashTable *query_hash; GHashTable *query_hash;
GError *error; GError *error;
/* Padding for future expansion */
gpointer _gda_reserved1;
gpointer _gda_reserved2;
gpointer _gda_reserved3;
gpointer _gda_reserved4;
}; };
typedef struct _GdaXsltExCont GdaXsltExCont; typedef struct _GdaXsltExCont GdaXsltExCont;
void gda_xslt_register (void); void gda_xslt_register (void);
void gda_xslt_set_execution_context (xsltTransformContextPtr tcxt , void gda_xslt_set_execution_context (xsltTransformContextPtr tcxt ,
GdaXsltExCont * exec); GdaXsltExCont * exec);
GdaXsltExCont *gda_xslt_create_context_simple (GdaConnection * cnc, GdaXsltExCont *gda_xslt_create_context_simple (GdaConnection * cnc,
GError ** error); GError ** error);
int gda_xslt_finalize_context (GdaXsltExCont * ctx); int gda_xslt_finalize_context (GdaXsltExCont * ctx);
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 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/