gda-connection.h   gda-connection.h 
skipping to change at line 78 skipping to change at line 78
/* 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);
}; };
typedef enum { typedef enum {
GDA_CONNECTION_OPTIONS_NONE = 0,
GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0, GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0,
GDA_CONNECTION_OPTIONS_DONT_SHARE = 2 << 0 GDA_CONNECTION_OPTIONS_DONT_SHARE = 2 << 0
} GdaConnectionOptions; } GdaConnectionOptions;
typedef enum { typedef enum {
GDA_CONNECTION_FEATURE_AGGREGATES, GDA_CONNECTION_FEATURE_AGGREGATES,
GDA_CONNECTION_FEATURE_BLOBS, GDA_CONNECTION_FEATURE_BLOBS,
GDA_CONNECTION_FEATURE_INDEXES, GDA_CONNECTION_FEATURE_INDEXES,
GDA_CONNECTION_FEATURE_INHERITANCE, GDA_CONNECTION_FEATURE_INHERITANCE,
GDA_CONNECTION_FEATURE_NAMESPACES, GDA_CONNECTION_FEATURE_NAMESPACES,
skipping to change at line 126 skipping to change at line 127
GDA_CONNECTION_SCHEMA_CONSTRAINTS, GDA_CONNECTION_SCHEMA_CONSTRAINTS,
GDA_CONNECTION_SCHEMA_TABLE_CONTENTS GDA_CONNECTION_SCHEMA_TABLE_CONTENTS
} GdaConnectionSchema; } GdaConnectionSchema;
GType gda_connection_get_type (void); GType gda_connection_get_type (void);
GdaConnection *gda_connection_new (GdaClient *client, GdaConnection *gda_connection_new (GdaClient *client,
GdaServerProvider * provider, GdaServerProvider * provider,
const gchar *dsn, const gchar *dsn,
const gchar *userna me, const gchar *userna me,
const gchar *passwo rd, const gchar *passwo rd,
guint options); GdaConnectionOption s options);
gboolean gda_connection_open (GdaConnection *cn c, GError **error); gboolean gda_connection_open (GdaConnection *cn c, GError **error);
void gda_connection_close (GdaConnection *cn c); void gda_connection_close (GdaConnection *cn c);
void gda_connection_close_no_warning (GdaConnection *cn c); void gda_connection_close_no_warning (GdaConnection *cn c);
gboolean gda_connection_is_opened (GdaConnection *cn c); gboolean gda_connection_is_opened (GdaConnection *cn c);
GdaClient *gda_connection_get_client (GdaConnection *cn c); GdaClient *gda_connection_get_client (GdaConnection *cn c);
const gchar *gda_connection_get_provider (GdaConnection *cn c); const gchar *gda_connection_get_provider (GdaConnection *cn c);
GdaServerProvider *gda_connection_get_provider_obj (GdaConnection *cn c); GdaServerProvider *gda_connection_get_provider_obj (GdaConnection *cn c);
GdaServerProviderInfo *gda_connection_get_infos (GdaConnection *cn c); GdaServerProviderInfo *gda_connection_get_infos (GdaConnection *cn c);
guint gda_connection_get_options (GdaConnection *cn c); GdaConnectionOptions gda_connection_get_options (GdaConnection *cn c);
const gchar *gda_connection_get_server_version (GdaConnection *cn c); const gchar *gda_connection_get_server_version (GdaConnection *cn c);
const gchar *gda_connection_get_database (GdaConnection *cn c); const gchar *gda_connection_get_database (GdaConnection *cn c);
const gchar *gda_connection_get_dsn (GdaConnection *cn c); const gchar *gda_connection_get_dsn (GdaConnection *cn c);
gboolean gda_connection_set_dsn (GdaConnection *cn c, const gchar *datasource); gboolean gda_connection_set_dsn (GdaConnection *cn c, const gchar *datasource);
const gchar *gda_connection_get_cnc_string (GdaConnection *cn c); const gchar *gda_connection_get_cnc_string (GdaConnection *cn c);
const gchar *gda_connection_get_username (GdaConnection *cn c); const gchar *gda_connection_get_username (GdaConnection *cn c);
gboolean gda_connection_set_username (GdaConnection *sr v, const gchar *username); gboolean gda_connection_set_username (GdaConnection *cn c, const gchar *username);
const gchar *gda_connection_get_password (GdaConnection *cn c); const gchar *gda_connection_get_password (GdaConnection *cn c);
gboolean gda_connection_set_password (GdaConnection *sr v, const gchar *password); gboolean gda_connection_set_password (GdaConnection *cn c, const gchar *password);
void gda_connection_add_event (GdaConnection *cn c, GdaConnectionEvent *error); void gda_connection_add_event (GdaConnection *cn c, GdaConnectionEvent *event);
GdaConnectionEvent *gda_connection_add_event_string (GdaConnection *cn c, const gchar *str, ...); GdaConnectionEvent *gda_connection_add_event_string (GdaConnection *cn c, const gchar *str, ...);
void gda_connection_add_events_list (GdaConnection *cn c, GList *events_list); void gda_connection_add_events_list (GdaConnection *cn c, GList *events_list);
void gda_connection_clear_events_list (GdaConnection *cn c); void gda_connection_clear_events_list (GdaConnection *cn c);
const GList *gda_connection_get_events (GdaConnection *cn c); const GList *gda_connection_get_events (GdaConnection *cn c);
gboolean gda_connection_change_database (GdaConnection *cn c, const gchar *name); gboolean gda_connection_change_database (GdaConnection *cn c, const gchar *name);
GdaDataModel *gda_connection_execute_select_command (GdaConnection * cnc, GdaCommand *cmd, GdaDataModel *gda_connection_execute_select_command (GdaConnection * cnc, GdaCommand *cmd,
GdaParameterList *params, GError **error); GdaParameterList *params, GError **error);
gint gda_connection_execute_non_select_command (GdaConnecti on *cnc, GdaCommand *cmd, gint gda_connection_execute_non_select_command (GdaConnecti on *cnc, GdaCommand *cmd,
 End of changes. 6 change blocks. 
5 lines changed or deleted 6 lines changed or added


 gda-data-model-extra.h   gda-data-model-extra.h 
/* GDA common library /* GDA common library
* Copyright (C) 2006 The GNOME Foundation. * Copyright (C) 2006 - 2007 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Vivien Malerba <malerba@gnome-db.org> * Vivien Malerba <malerba@gnome-db.org>
* *
* This Library is free software; you can redistribute it and/or * This Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as * modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the * published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version. * License, or (at your option) any later version.
* *
* This Library is distributed in the hope that it will be useful, * This Library is distributed in the hope that it will be useful,
skipping to change at line 36 skipping to change at line 36
#include <glib-object.h> #include <glib-object.h>
#include <libgda/gda-decl.h> #include <libgda/gda-decl.h>
G_BEGIN_DECLS G_BEGIN_DECLS
void gda_data_model_signal_emit_changed (GdaDataModel *mode l); void gda_data_model_signal_emit_changed (GdaDataModel *mode l);
void gda_data_model_row_inserted (GdaDataModel *model, gint row) ; void gda_data_model_row_inserted (GdaDataModel *model, gint row) ;
void gda_data_model_row_updated (GdaDataModel *model, gint row) ; void gda_data_model_row_updated (GdaDataModel *model, gint row) ;
void gda_data_model_row_removed (GdaDataModel *model, gint row) ; void gda_data_model_row_removed (GdaDataModel *model, gint row) ;
void gda_data_model_reset (GdaDataModel *model);
gboolean gda_data_model_move_iter_at_row_default (GdaDataModel *model, GdaD ataModelIter *iter, gint row); gboolean gda_data_model_move_iter_at_row_default (GdaDataModel *model, GdaD ataModelIter *iter, gint row);
gboolean gda_data_model_move_iter_next_default (GdaDataModel *model, GdaD ataModelIter *iter); gboolean gda_data_model_move_iter_next_default (GdaDataModel *model, GdaD ataModelIter *iter);
gboolean gda_data_model_move_iter_prev_default (GdaDataModel *model, GdaD ataModelIter *iter); gboolean gda_data_model_move_iter_prev_default (GdaDataModel *model, GdaD ataModelIter *iter);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 gda-data-model-query.h   gda-data-model-query.h 
skipping to change at line 23 skipping to change at line 23
* 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_data_model_query_h__) #ifndef __GDA_DATA_MODEL_QUERY_H__
# define __gda_data_model_query_h__ #define __GDA_DATA_MODEL_QUERY_H__
#include <libgda/gda-data-model.h> #include <libgda/gda-data-model.h>
#include <libgda/gda-object.h> #include <libgda/gda-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_DATA_MODEL_QUERY (gda_data_model_query_get_type ()) #define GDA_TYPE_DATA_MODEL_QUERY (gda_data_model_query_get_type ())
#define GDA_DATA_MODEL_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST (o bj, GDA_TYPE_DATA_MODEL_QUERY, GdaDataModelQuery)) #define GDA_DATA_MODEL_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST (o bj, GDA_TYPE_DATA_MODEL_QUERY, GdaDataModelQuery))
#define GDA_DATA_MODEL_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klas s, GDA_TYPE_DATA_MODEL_QUERY, GdaDataModelQueryClass)) #define GDA_DATA_MODEL_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klas s, GDA_TYPE_DATA_MODEL_QUERY, GdaDataModelQueryClass))
#define GDA_IS_DATA_MODEL_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE (o bj, GDA_TYPE_DATA_MODEL_QUERY)) #define GDA_IS_DATA_MODEL_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE (o bj, GDA_TYPE_DATA_MODEL_QUERY))
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added


 gda-data-model.h   gda-data-model.h 
/* GDA common library /* GDA common library
* Copyright (C) 1998 - 2005 The GNOME Foundation. * Copyright (C) 1998 - 2007 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@gnome-db.org>
* Vivien Malerba <malerba@gnome-db.org> * Vivien Malerba <malerba@gnome-db.org>
* *
* This Library is free software; you can redistribute it and/or * This Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as * modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the * published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version. * License, or (at your option) any later version.
* *
skipping to change at line 34 skipping to change at line 34
#ifndef __GDA_DATA_MODEL_H__ #ifndef __GDA_DATA_MODEL_H__
#define __GDA_DATA_MODEL_H__ #define __GDA_DATA_MODEL_H__
#include <glib-object.h> #include <glib-object.h>
#include <libxml/parser.h> #include <libxml/parser.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libgda/gda-command.h> #include <libgda/gda-command.h>
#include <libgda/gda-decl.h> #include <libgda/gda-decl.h>
#include <libgda/gda-column.h> #include <libgda/gda-column.h>
#include <libgda/gda-value.h> #include <libgda/gda-value.h>
#include <libgda/gda-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, GdaDataModelClass))
typedef enum { typedef enum {
GDA_DATA_MODEL_ACCESS_RANDOM = 1 << 0, GDA_DATA_MODEL_ACCESS_RANDOM = 1 << 0,
skipping to change at line 80 skipping to change at line 81
/* struct for the interface */ /* struct for the interface */
struct _GdaDataModelClass { struct _GdaDataModelClass {
GTypeInterface g_iface; GTypeInterface g_iface;
/* virtual table */ /* virtual table */
gint (* i_get_n_rows) (GdaDataModel *model); gint (* i_get_n_rows) (GdaDataModel *model);
gint (* i_get_n_columns) (GdaDataModel *model); gint (* i_get_n_columns) (GdaDataModel *model);
GdaColumn *(* i_describe_column) (GdaDataModel *model, gi nt col); GdaColumn *(* i_describe_column) (GdaDataModel *model, gi nt col);
guint (* 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); const GValue *(* i_get_value_at) (GdaDataModel *model, gi nt col, gint row);
guint (* i_get_attributes_at)(GdaDataModel *model, gi nt col, gint row); GdaValueAttribute (* i_get_attributes_at)(GdaDataModel *model, gi nt col, gint row);
GdaDataModelIter *(* i_create_iter) (GdaDataModel *model); GdaDataModelIter *(* i_create_iter) (GdaDataModel *model);
gboolean (* i_iter_at_row) (GdaDataModel *model, Gd aDataModelIter *iter, gint row); gboolean (* i_iter_at_row) (GdaDataModel *model, Gd aDataModelIter *iter, gint row);
gboolean (* i_iter_next) (GdaDataModel *model, Gd aDataModelIter *iter); gboolean (* i_iter_next) (GdaDataModel *model, Gd aDataModelIter *iter);
gboolean (* i_iter_prev) (GdaDataModel *model, Gd aDataModelIter *iter); gboolean (* i_iter_prev) (GdaDataModel *model, Gd aDataModelIter *iter);
gboolean (* i_set_value_at) (GdaDataModel *model, gi nt col, gint row, gboolean (* i_set_value_at) (GdaDataModel *model, gi nt col, gint row,
const GValue *value, GE rror **error); const GValue *value, GE rror **error);
gboolean (* i_set_values) (GdaDataModel *model, gi nt row, GList *values, gboolean (* i_set_values) (GdaDataModel *model, gi nt row, GList *values,
GError **error); GError **error);
gint (* i_append_values) (GdaDataModel *model, co nst GList *values, GError **error); gint (* i_append_values) (GdaDataModel *model, co nst GList *values, GError **error);
gint (* i_append_row) (GdaDataModel *model, GE rror **error); gint (* i_append_row) (GdaDataModel *model, GE rror **error);
gboolean (* i_remove_row) (GdaDataModel *model, gi nt row, GError **error); gboolean (* i_remove_row) (GdaDataModel *model, gi nt row, GError **error);
gint (* i_find_row) (GdaDataModel *model, GS List *values, gint *cols_index); gint (* i_find_row) (GdaDataModel *model, GS List *values, gint *cols_index);
void (* i_set_notify) (GdaDataModel *model, gb oolean do_notify_changes); void (* i_set_notify) (GdaDataModel *model, gb oolean do_notify_changes);
gboolean (* i_get_notify) (GdaDataModel *model); gboolean (* i_get_notify) (GdaDataModel *model);
void (* i_send_hint) (GdaDataModel *model, Gd aDataModelHint hint, const GValue *hint_value); void (* i_send_hint) (GdaDataModel *model, Gd aDataModelHint hint, const GValue *hint_value);
/* signals */ /* signals */
void (* row_inserted) (GdaDataModel *model, gint void (* row_inserted) (GdaDataModel *model, gi
row); nt row);
void (* row_updated) (GdaDataModel *model, gint void (* row_updated) (GdaDataModel *model, gi
row); nt row);
void (* row_removed) (GdaDataModel *model, gint void (* row_removed) (GdaDataModel *model, gi
row); nt row);
void (* reset) (GdaDataModel *model);
}; };
GType gda_data_model_get_type (void); GType gda_data_model_get_type (void);
gboolean gda_data_model_is_updatable (GdaDataModel *mo del); gboolean gda_data_model_is_updatable (GdaDataModel *mo del);
guint gda_data_model_get_access_flags (GdaDataModel *mo del); GdaDataModelAccessFlags gda_data_model_get_access_flags (GdaDataModel *model);
gint gda_data_model_get_n_rows (GdaDataModel *mo del); gint gda_data_model_get_n_rows (GdaDataModel *mo del);
gint gda_data_model_get_n_columns (GdaDataModel *mo del); gint gda_data_model_get_n_columns (GdaDataModel *mo del);
GdaColumn *gda_data_model_describe_column (GdaDataModel *mo del, gint col); GdaColumn *gda_data_model_describe_column (GdaDataModel *mo del, gint col);
gint gda_data_model_get_column_index_by_name(GdaDataModel *m odel, const gchar *name); gint gda_data_model_get_column_index_by_name(GdaDataModel *m odel, const gchar *name);
const gchar *gda_data_model_get_column_title (GdaDataModel *mo del, gint col); const gchar *gda_data_model_get_column_title (GdaDataModel *mo del, gint col);
void gda_data_model_set_column_title (GdaDataModel *mo del, gint col, const gchar *title); void gda_data_model_set_column_title (GdaDataModel *mo del, gint col, const gchar *title);
const GValue *gda_data_model_get_value_at (GdaDataModel *mo del, gint col, gint row); const GValue *gda_data_model_get_value_at (GdaDataModel *mo del, gint col, gint row);
const GValue *gda_data_model_get_value_at_col_name (GdaDataModel *mo del, const GValue *gda_data_model_get_value_at_col_name (GdaDataModel *mo del,
const gchar *colu mn_name, gint row); const gchar *colu mn_name, gint row);
guint gda_data_model_get_attributes_at (GdaDataModel *mo del, gint col, gint row); GdaValueAttribute gda_data_model_get_attributes_at (GdaDataModel *mo del, gint col, gint row);
GdaDataModelIter *gda_data_model_create_iter (GdaDataModel *mo del); GdaDataModelIter *gda_data_model_create_iter (GdaDataModel *mo del);
void gda_data_model_freeze (GdaDataModel *mo del); void gda_data_model_freeze (GdaDataModel *mo del);
void gda_data_model_thaw (GdaDataModel *mo del); void gda_data_model_thaw (GdaDataModel *mo del);
gboolean gda_data_model_set_value_at (GdaDataModel *mo del, gint col, gint row, gboolean gda_data_model_set_value_at (GdaDataModel *mo del, gint col, gint row,
const GValue *val ue, GError **error); const GValue *val ue, GError **error);
gboolean gda_data_model_set_values (GdaDataModel *mo del, gint row, gboolean gda_data_model_set_values (GdaDataModel *mo del, gint row,
GList *values, GE rror **error); GList *values, GE rror **error);
gint gda_data_model_append_row (GdaDataModel *mo del, GError **error); gint gda_data_model_append_row (GdaDataModel *mo del, GError **error);
gint gda_data_model_append_values (GdaDataModel *mo del, const GList *values, GError **error); gint gda_data_model_append_values (GdaDataModel *mo del, const GList *values, GError **error);
gboolean gda_data_model_remove_row (GdaDataModel *mo del, gint row, GError **error); gboolean gda_data_model_remove_row (GdaDataModel *mo del, gint row, GError **error);
 End of changes. 7 change blocks. 
11 lines changed or deleted 13 lines changed or added


 gda-data-proxy.h   gda-data-proxy.h 
/* gda-data-proxy.h /* gda-data-proxy.h
* *
* Copyright (C) 2005 - 2006 Vivien Malerba * Copyright (C) 2005 - 2007 Vivien Malerba
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the * published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version. * License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 27 skipping to change at line 27
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
*/ */
#ifndef __GDA_DATA_PROXY_H_ #ifndef __GDA_DATA_PROXY_H_
#define __GDA_DATA_PROXY_H_ #define __GDA_DATA_PROXY_H_
#include "gda-decl.h" #include "gda-decl.h"
#include <libgda/gda-object.h> #include <libgda/gda-object.h>
#include <libgda/gda-value.h> #include <libgda/gda-value.h>
#include <libgda/gda-enums.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_DATA_PROXY (gda_data_proxy_get_type()) #define GDA_TYPE_DATA_PROXY (gda_data_proxy_get_type())
#define GDA_DATA_PROXY(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gda_d ata_proxy_get_type(), GdaDataProxy) #define GDA_DATA_PROXY(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gda_d ata_proxy_get_type(), GdaDataProxy)
#define GDA_DATA_PROXY_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gda_da ta_proxy_get_type (), GdaDataProxyClass) #define GDA_DATA_PROXY_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gda_da ta_proxy_get_type (), GdaDataProxyClass)
#define GDA_IS_DATA_PROXY(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_d ata_proxy_get_type ()) #define GDA_IS_DATA_PROXY(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_d ata_proxy_get_type ())
/* error reporting */ /* error reporting */
extern GQuark gda_data_proxy_error_quark (void); extern GQuark gda_data_proxy_error_quark (void);
#define GDA_DATA_PROXY_ERROR gda_data_proxy_error_quark () #define GDA_DATA_PROXY_ERROR gda_data_proxy_error_quark ()
typedef enum { typedef enum {
GDA_DATA_PROXY_COMMIT_ERROR GDA_DATA_PROXY_COMMIT_ERROR,
GDA_DATA_PROXY_COMMIT_CANCELLED
} GdaDataProxyError; } GdaDataProxyError;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaDataProxy struct _GdaDataProxy
{ {
GdaObject object; GdaObject object;
GdaDataProxyPrivate *priv; GdaDataProxyPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaDataProxyClass struct _GdaDataProxyClass
{ {
GdaObjectClass parent_class; GdaObjectClass parent_class;
void (* row_delete_changed) (GdaDataProxy *proxy, g void (* row_delete_changed) (GdaDataProxy *proxy,
int row, gboolean to_be_deleted); gint row, gboolean to_be_deleted);
void (* sample_size_changed) (GdaDataProxy *proxy, g
int sample_size); void (* sample_size_changed) (GdaDataProxy *proxy,
void (* sample_changed) (GdaDataProxy *proxy, g gint sample_size);
int sample_start, gint sample_end); void (* sample_changed) (GdaDataProxy *proxy,
gint sample_start, gint sample_end);
gboolean (* pre_changes_applied) (GdaDataProxy *proxy,
gint row, gint proxied_row);
void (* post_changes_applied) (GdaDataProxy *proxy,
gint row, gint proxied_row);
}; };
GType gda_data_proxy_get_type (void); GType gda_data_proxy_get_type (void);
GObject *gda_data_proxy_new (GdaDataModel *mo del); GObject *gda_data_proxy_new (GdaDataModel *mo del);
GdaDataModel *gda_data_proxy_get_proxied_model (GdaDataProxy *pr oxy); GdaDataModel *gda_data_proxy_get_proxied_model (GdaDataProxy *pr oxy);
gint gda_data_proxy_get_proxied_model_n_cols (GdaDataProxy *pr oxy); gint gda_data_proxy_get_proxied_model_n_cols (GdaDataProxy *pr oxy);
gint gda_data_proxy_get_proxied_model_n_rows (GdaDataProxy *pr oxy); gint gda_data_proxy_get_proxied_model_n_rows (GdaDataProxy *pr oxy);
gboolean gda_data_proxy_is_read_only (GdaDataProxy *pr oxy); gboolean gda_data_proxy_is_read_only (GdaDataProxy *pr oxy);
GSList *gda_data_proxy_get_values (GdaDataProxy *pr oxy, gint proxy_row, GSList *gda_data_proxy_get_values (GdaDataProxy *pr oxy, gint proxy_row,
gint *cols_index, gint n_cols); gint *cols_index, gint n_cols);
guint gda_data_proxy_get_value_attributes (GdaDataProxy *pr GdaValueAttribute gda_data_proxy_get_value_attributes (GdaDataProxy *pr
oxy, gint proxy_row, gint col); oxy, gint proxy_row, gint col);
void gda_data_proxy_alter_value_attributes (GdaDataProxy *pr void gda_data_proxy_alter_value_attributes (GdaDataProxy *pr
oxy, gint proxy_row, gint col, guint alter_flags); oxy, gint proxy_row, gint col, GdaValueAttribute alter_flags);
gint gda_data_proxy_get_proxied_model_row (GdaDataProxy *pr oxy, gint proxy_row); gint gda_data_proxy_get_proxied_model_row (GdaDataProxy *pr oxy, gint proxy_row);
void gda_data_proxy_delete (GdaDataProxy *pr oxy, gint proxy_row); void gda_data_proxy_delete (GdaDataProxy *pr oxy, gint proxy_row);
void gda_data_proxy_undelete (GdaDataProxy *pr oxy, gint proxy_row); void gda_data_proxy_undelete (GdaDataProxy *pr oxy, gint proxy_row);
gboolean gda_data_proxy_row_is_deleted (GdaDataProxy *pr oxy, gint proxy_row); gboolean gda_data_proxy_row_is_deleted (GdaDataProxy *pr oxy, gint proxy_row);
gboolean gda_data_proxy_row_is_inserted (GdaDataProxy *pr oxy, gint proxy_row); gboolean gda_data_proxy_row_is_inserted (GdaDataProxy *pr oxy, gint proxy_row);
gint gda_data_proxy_find_row_from_values (GdaDataProxy *pr oxy, GSList *values, gint gda_data_proxy_find_row_from_values (GdaDataProxy *pr oxy, GSList *values,
gint *cols_index) ; gint *cols_index) ;
gboolean gda_data_proxy_row_has_changed (GdaDataProxy *pr oxy, gint proxy_row); gboolean gda_data_proxy_row_has_changed (GdaDataProxy *pr oxy, gint proxy_row);
gboolean gda_data_proxy_has_changed (GdaDataProxy *pr oxy); gboolean gda_data_proxy_has_changed (GdaDataProxy *pr oxy);
gint gda_data_proxy_get_n_new_rows (GdaDataProxy *pr oxy); gint gda_data_proxy_get_n_new_rows (GdaDataProxy *pr oxy);
gint gda_data_proxy_get_n_modified_rows (GdaDataProxy *pr oxy);
gboolean gda_data_proxy_apply_row_changes (GdaDataProxy *pr oxy, gint proxy_row, GError **error); gboolean gda_data_proxy_apply_row_changes (GdaDataProxy *pr oxy, gint proxy_row, GError **error);
void gda_data_proxy_cancel_row_changes (GdaDataProxy *pr oxy, gint proxy_row, gint col); void gda_data_proxy_cancel_row_changes (GdaDataProxy *pr oxy, gint proxy_row, gint col);
gboolean gda_data_proxy_apply_all_changes (GdaDataProxy *pr oxy, GError **error); gboolean gda_data_proxy_apply_all_changes (GdaDataProxy *pr oxy, GError **error);
gboolean gda_data_proxy_cancel_all_changes (GdaDataProxy *pr oxy); gboolean gda_data_proxy_cancel_all_changes (GdaDataProxy *pr oxy);
void gda_data_proxy_set_sample_size (GdaDataProxy *pr oxy, gint sample_size); void gda_data_proxy_set_sample_size (GdaDataProxy *pr oxy, gint sample_size);
gint gda_data_proxy_get_sample_size (GdaDataProxy *pr oxy); gint gda_data_proxy_get_sample_size (GdaDataProxy *pr oxy);
void gda_data_proxy_set_sample_start (GdaDataProxy *pr oxy, gint sample_start); void gda_data_proxy_set_sample_start (GdaDataProxy *pr oxy, gint sample_start);
 End of changes. 6 change blocks. 
12 lines changed or deleted 21 lines changed or added


 gda-dict-field.h   gda-dict-field.h 
skipping to change at line 69 skipping to change at line 69
} GdaDictFieldAttribute; } GdaDictFieldAttribute;
GType gda_dict_field_get_type (void); GType gda_dict_field_get_type (void);
GObject *gda_dict_field_new (GdaDict *dict, GdaDictTyp e *type); GObject *gda_dict_field_new (GdaDict *dict, GdaDictTyp e *type);
void gda_dict_field_set_length (GdaDictField *field, gint length); void gda_dict_field_set_length (GdaDictField *field, gint length);
gint gda_dict_field_get_length (GdaDictField *field); gint gda_dict_field_get_length (GdaDictField *field);
void gda_dict_field_set_scale (GdaDictField *field, gint length); void gda_dict_field_set_scale (GdaDictField *field, gint length);
gint gda_dict_field_get_scale (GdaDictField *field); gint gda_dict_field_get_scale (GdaDictField *field);
GSList *gda_dict_field_get_constraints (GdaDictField *field); GSList *gda_dict_field_get_constraints (GdaDictField *field);
void gda_dict_field_set_dict_type (GdaDictField *field, GdaD ictType *type);
void gda_dict_field_set_default_value (GdaDictField *field, cons t GValue *value); void gda_dict_field_set_default_value (GdaDictField *field, cons t GValue *value);
const GValue *gda_dict_field_get_default_value (GdaDictField *field); const GValue *gda_dict_field_get_default_value (GdaDictField *field);
gboolean gda_dict_field_is_null_allowed (GdaDictField *field); gboolean gda_dict_field_is_null_allowed (GdaDictField *field);
gboolean gda_dict_field_is_pkey_part (GdaDictField *field); gboolean gda_dict_field_is_pkey_part (GdaDictField *field);
gboolean gda_dict_field_is_pkey_alone (GdaDictField *field); gboolean gda_dict_field_is_pkey_alone (GdaDictField *field);
gboolean gda_dict_field_is_fkey_part (GdaDictField *field); gboolean gda_dict_field_is_fkey_part (GdaDictField *field);
gboolean gda_dict_field_is_fkey_alone (GdaDictField *field); gboolean gda_dict_field_is_fkey_alone (GdaDictField *field);
void gda_dict_field_set_attributes (GdaDictField *field, guin void gda_dict_field_set_attributes (GdaDictField *field, GdaD
t attributes); ictFieldAttribute attributes);
guint gda_dict_field_get_attributes (GdaDictField *field); GdaDictFieldAttribute gda_dict_field_get_attributes (GdaDictField *field
);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
4 lines changed or deleted 4 lines changed or added


 gda-dict-private.h   gda-dict-private.h 
skipping to change at line 88 skipping to change at line 88
GdaDictRegGetListFunc get_objects; /* get the list of objects, or N ULL if generic method */ GdaDictRegGetListFunc get_objects; /* get the list of objects, or N ULL if generic method */
GdaDictGetObjFunc get_by_name; /* get a specific object, or NUL L if generic method */ GdaDictGetObjFunc get_by_name; /* get a specific object, or NUL L if generic method */
/* XML related */ /* XML related */
const gchar *xml_group_tag; /* tag for the group of object s in XML file, or NULL if no storage */ const gchar *xml_group_tag; /* tag for the group of object s in XML file, or NULL if no storage */
GdaDictRegSaveFunc load_xml_tree; /* loading from XML file, or N ULL if no loading */ GdaDictRegSaveFunc load_xml_tree; /* loading from XML file, or N ULL if no loading */
GdaDictRegLoadFunc save_xml_tree; /* saving to XML file, or NULL if no saving*/ GdaDictRegLoadFunc save_xml_tree; /* saving to XML file, or NULL if no saving*/
}; };
typedef GdaDictRegisterStruct *(*GdaDictRegFunc) (void); typedef GdaDictRegisterStruct *(*GdaDictRegFunc) (void);
void gda_dict_class_always_register (GdaDictRe gFunc); void gda_dict_class_always_register (GdaDictRe gFunc func);
void gda_dict_register_object_type (GdaDict * dict, GdaDictRegisterStruct *reg); void gda_dict_register_object_type (GdaDict * dict, GdaDictRegisterStruct *reg);
GdaDictRegisterStruct *gda_dict_get_object_type_registration (GdaDict * dict, GType type); GdaDictRegisterStruct *gda_dict_get_object_type_registration (GdaDict * dict, GType type);
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-entity-field.h   gda-entity-field.h 
skipping to change at line 43 skipping to change at line 43
#define GDA_ENTITY_FIELD_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((o bj), GDA_TYPE_ENTITY_FIELD, GdaEntityFieldIface)) #define GDA_ENTITY_FIELD_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((o bj), GDA_TYPE_ENTITY_FIELD, GdaEntityFieldIface))
/* struct for the interface */ /* struct for the interface */
struct _GdaEntityFieldIface struct _GdaEntityFieldIface
{ {
GTypeInterface g_iface; GTypeInterface g_iface;
/* virtual table */ /* virtual table */
GdaEntity *(* get_entity) (GdaEntityField *iface); GdaEntity *(* get_entity) (GdaEntityField *iface);
GType (* get_g_type) (GdaEntityField *iface); GType (* get_g_type) (GdaEntityField *iface);
GdaDictType *(* get_data_type) (GdaEntityField *iface); void (* set_dict_type) (GdaEntityField *iface, GdaDictT
ype *type);
GdaDictType *(* get_dict_type) (GdaEntityField *iface);
const gchar *(* get_alias) (GdaEntityField *iface); const gchar *(* get_alias) (GdaEntityField *iface);
}; };
GType gda_entity_field_get_type (void) G_GNUC_CONST; GType gda_entity_field_get_type (void) G_GNUC_CONST;
GdaEntity *gda_entity_field_get_entity (GdaEntityField *iface); GdaEntity *gda_entity_field_get_entity (GdaEntityField *iface);
GType gda_entity_field_get_g_type (GdaEntityField *iface); GType gda_entity_field_get_g_type (GdaEntityField *iface);
void gda_entity_field_set_dict_type (GdaEntityField *iface, G daDictType *type);
GdaDictType *gda_entity_field_get_dict_type (GdaEntityField *iface); GdaDictType *gda_entity_field_get_dict_type (GdaEntityField *iface);
const gchar *gda_entity_field_get_name (GdaEntityField *iface); const gchar *gda_entity_field_get_name (GdaEntityField *iface);
const gchar *gda_entity_field_get_description (GdaEntityField *iface); const gchar *gda_entity_field_get_description (GdaEntityField *iface);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 4 lines changed or added


 gda-enums.h   gda-enums.h 
skipping to change at line 35 skipping to change at line 35
typedef enum { typedef enum {
GDA_TRANSACTION_ISOLATION_UNKNOWN, GDA_TRANSACTION_ISOLATION_UNKNOWN,
GDA_TRANSACTION_ISOLATION_READ_COMMITTED, GDA_TRANSACTION_ISOLATION_READ_COMMITTED,
GDA_TRANSACTION_ISOLATION_READ_UNCOMMITTED, GDA_TRANSACTION_ISOLATION_READ_UNCOMMITTED,
GDA_TRANSACTION_ISOLATION_REPEATABLE_READ, GDA_TRANSACTION_ISOLATION_REPEATABLE_READ,
GDA_TRANSACTION_ISOLATION_SERIALIZABLE GDA_TRANSACTION_ISOLATION_SERIALIZABLE
} GdaTransactionIsolation; } GdaTransactionIsolation;
/* status of a value */ /* status of a value */
typedef enum { typedef enum {
GDA_VALUE_ATTR_NONE = 0,
GDA_VALUE_ATTR_IS_NULL = 1 << 0, GDA_VALUE_ATTR_IS_NULL = 1 << 0,
GDA_VALUE_ATTR_CAN_BE_NULL = 1 << 1, GDA_VALUE_ATTR_CAN_BE_NULL = 1 << 1,
GDA_VALUE_ATTR_IS_DEFAULT = 1 << 2, GDA_VALUE_ATTR_IS_DEFAULT = 1 << 2,
GDA_VALUE_ATTR_CAN_BE_DEFAULT = 1 << 3, GDA_VALUE_ATTR_CAN_BE_DEFAULT = 1 << 3,
GDA_VALUE_ATTR_IS_UNCHANGED = 1 << 4, GDA_VALUE_ATTR_IS_UNCHANGED = 1 << 4,
GDA_VALUE_ATTR_ACTIONS_SHOWN = 1 << 5, GDA_VALUE_ATTR_ACTIONS_SHOWN = 1 << 5,
GDA_VALUE_ATTR_DATA_NON_VALID = 1 << 6, GDA_VALUE_ATTR_DATA_NON_VALID = 1 << 6,
GDA_VALUE_ATTR_HAS_VALUE_ORIG = 1 << 7, GDA_VALUE_ATTR_HAS_VALUE_ORIG = 1 << 7,
GDA_VALUE_ATTR_NO_MODIF = 1 << 8, GDA_VALUE_ATTR_NO_MODIF = 1 << 8,
GDA_VALUE_ATTR_UNUSED = 1 << 9 GDA_VALUE_ATTR_UNUSED = 1 << 9
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 gda-handler-time.h   gda-handler-time.h 
/* gda-handler-time.h /* gda-handler-time.h
* *
* Copyright (C) 2003 - 2006 Vivien Malerba * Copyright (C) 2003 - 2007 Vivien Malerba
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the * published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version. * License, or (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
skipping to change at line 58 skipping to change at line 58
{ {
GdaObjectClass parent_class; GdaObjectClass parent_class;
}; };
GType gda_handler_time_get_type (void); GType gda_handler_time_get_type (void);
GdaDataHandler *gda_handler_time_new (void); GdaDataHandler *gda_handler_time_new (void);
GdaDataHandler *gda_handler_time_new_no_locale (void); GdaDataHandler *gda_handler_time_new_no_locale (void);
void gda_handler_time_set_sql_spec (GdaHandlerTime *dh, GDateDM Y first, GDateDMY sec, 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);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 gda-marshal.h   gda-marshal.h 
skipping to change at line 18 skipping to change at line 18
/* VOID:VOID (gda-marshal.list:25) */ /* VOID:VOID (gda-marshal.list:25) */
#define gda_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID #define gda_marshal_VOID__VOID g_cclosure_marshal_VOID__VOID
/* VOID:POINTER (gda-marshal.list:26) */ /* VOID:POINTER (gda-marshal.list:26) */
#define gda_marshal_VOID__POINTER g_cclosure_marshal_VOID__POINTER #define gda_marshal_VOID__POINTER g_cclosure_marshal_VOID__POINTER
/* VOID:OBJECT (gda-marshal.list:27) */ /* VOID:OBJECT (gda-marshal.list:27) */
#define gda_marshal_VOID__OBJECT g_cclosure_marshal_VOID__OBJECT #define gda_marshal_VOID__OBJECT g_cclosure_marshal_VOID__OBJECT
/* VOID:POINTER,POINTER (gda-marshal.list:28) */ /* VOID:OBJECT,OBJECT (gda-marshal.list:28) */
extern void gda_marshal_VOID__POINTER_POINTER (GClosure *closure, extern void gda_marshal_VOID__OBJECT_OBJECT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values guint n_param_values,
, const GValue *param_values,
const GValue *param_values, gpointer invocation_hint,
gpointer invocation_hin gpointer marshal_data);
t,
gpointer marshal_data);
/* VOID:POINTER,INT,POINTER (gda-marshal.list:29) */ /* VOID:OBJECT,ENUM,OBJECT (gda-marshal.list:29) */
extern void gda_marshal_VOID__POINTER_INT_POINTER (GClosure *closure, extern void gda_marshal_VOID__OBJECT_ENUM_OBJECT (GClosure *closure,
GValue *return_val GValue *return_valu
ue, e,
guint n_param_va guint n_param_val
lues, ues,
const GValue *param_valu const GValue *param_value
es, s,
gpointer invocation gpointer invocation_
_hint, hint,
gpointer marshal_da gpointer marshal_dat
ta); a);
/* VOID:POINTER,UINT (gda-marshal.list:30) */ /* VOID:OBJECT,UINT (gda-marshal.list:30) */
extern void gda_marshal_VOID__POINTER_UINT (GClosure *closure, extern void gda_marshal_VOID__OBJECT_UINT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_values,
const GValue *param_values, const GValue *param_values,
gpointer invocation_hint, gpointer invocation_hint,
gpointer marshal_data); gpointer marshal_data);
/* VOID:POINTER,UINT,UINT (gda-marshal.list:31) */ /* VOID:OBJECT,UINT,UINT (gda-marshal.list:31) */
extern void gda_marshal_VOID__POINTER_UINT_UINT (GClosure *closure, extern void gda_marshal_VOID__OBJECT_UINT_UINT (GClosure *closure,
GValue *return_value GValue *return_value,
, guint n_param_value
guint n_param_valu s,
es, const GValue *param_values,
const GValue *param_values gpointer invocation_hi
, nt,
gpointer invocation_h gpointer marshal_data)
int, ;
gpointer marshal_data
);
/* VOID:ENUM,POINTER (gda-marshal.list:32) */ /* VOID:STRING,UINT,UINT (gda-marshal.list:32) */
extern void gda_marshal_VOID__ENUM_POINTER (GClosure *closure, extern void gda_marshal_VOID__STRING_UINT_UINT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_value
const GValue *param_values, s,
gpointer invocation_hint, const GValue *param_values,
gpointer marshal_data); gpointer invocation_hi
nt,
gpointer marshal_data)
;
/* VOID:UINT,POINTER (gda-marshal.list:33) */ /* VOID:ENUM,OBJECT (gda-marshal.list:33) */
extern void gda_marshal_VOID__ENUM_OBJECT (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
/* VOID:UINT,POINTER (gda-marshal.list:34) */
#define gda_marshal_VOID__UINT_POINTER g_cclosure_marshal_VOID__UINT_POINTE R #define gda_marshal_VOID__UINT_POINTER g_cclosure_marshal_VOID__UINT_POINTE R
/* VOID:INT,INT (gda-marshal.list:34) */ /* VOID:INT,INT (gda-marshal.list:35) */
extern void gda_marshal_VOID__INT_INT (GClosure *closure, extern void gda_marshal_VOID__INT_INT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_values,
const GValue *param_values, const GValue *param_values,
gpointer invocation_hint, gpointer invocation_hint,
gpointer marshal_data); gpointer marshal_data);
/* VOID:INT,POINTER,POINTER (gda-marshal.list:35) */ /* VOID:INT,BOXED,BOXED (gda-marshal.list:36) */
extern void gda_marshal_VOID__INT_POINTER_POINTER (GClosure *closure, extern void gda_marshal_VOID__INT_BOXED_BOXED (GClosure *closure,
GValue *return_val GValue *return_value,
ue, guint n_param_values
guint n_param_va ,
lues, const GValue *param_values,
const GValue *param_valu gpointer invocation_hin
es, t,
gpointer invocation gpointer marshal_data);
_hint,
gpointer marshal_da
ta);
/* VOID:INT,BOOLEAN (gda-marshal.list:36) */ /* VOID:INT,BOOLEAN (gda-marshal.list:37) */
extern void gda_marshal_VOID__INT_BOOLEAN (GClosure *closure, extern void gda_marshal_VOID__INT_BOOLEAN (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_values,
const GValue *param_values, const GValue *param_values,
gpointer invocation_hint, gpointer invocation_hint,
gpointer marshal_data); gpointer marshal_data);
/* VOID:STRING,INT (gda-marshal.list:37) */ /* VOID:STRING,INT (gda-marshal.list:38) */
extern void gda_marshal_VOID__STRING_INT (GClosure *closure, extern void gda_marshal_VOID__STRING_INT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_values,
const GValue *param_values, const GValue *param_values,
gpointer invocation_hint, gpointer invocation_hint,
gpointer marshal_data); gpointer marshal_data);
/* BOOLEAN:INT (gda-marshal.list:38) */ /* BOOLEAN:INT (gda-marshal.list:39) */
extern void gda_marshal_BOOLEAN__INT (GClosure *closure, extern void gda_marshal_BOOLEAN__INT (GClosure *closure,
GValue *return_value, GValue *return_value,
guint n_param_values, guint n_param_values,
const GValue *param_values, const GValue *param_values,
gpointer invocation_hint, gpointer invocation_hint,
gpointer marshal_data); gpointer marshal_data);
/* BOOLEAN:INT,INT (gda-marshal.list:40) */
extern void gda_marshal_BOOLEAN__INT_INT (GClosure *closure,
GValue *return_value,
guint n_param_values,
const GValue *param_values,
gpointer invocation_hint,
gpointer marshal_data);
G_END_DECLS G_END_DECLS
#endif /* __gda_marshal_MARSHAL_H__ */ #endif /* __gda_marshal_MARSHAL_H__ */
 End of changes. 12 change blocks. 
64 lines changed or deleted 76 lines changed or added


 gda-object.h   gda-object.h 
skipping to change at line 64 skipping to change at line 64
void (*destroyed) (GdaObject *object); void (*destroyed) (GdaObject *object);
/* pure virtual functions */ /* pure virtual functions */
void (*signal_changed) (GdaObject *object, gboolean block_cha nged_signal); void (*signal_changed) (GdaObject *object, gboolean block_cha nged_signal);
#ifdef GDA_DEBUG #ifdef GDA_DEBUG
void (*dump) (GdaObject *object, guint offset); void (*dump) (GdaObject *object, guint offset);
#endif #endif
/* class attributes */ /* class attributes */
gboolean id_unique_enforced; /* TRUE if a unique string ID must be enforced for that class */ gboolean id_unique_enforced; /* TRUE if a unique string ID must be enforced for that class */
gboolean name_as_initial_id; /* TRUE if the name of the object must be copied as the ID if ID is NULL */
}; };
GType gda_object_get_type (void); GType gda_object_get_type (void);
GdaDict *gda_object_get_dict (GdaObject *object); GdaDict *gda_object_get_dict (GdaObject *gdaobj);
void gda_object_set_id (GdaObject *object, const gchar *st void gda_object_set_id (GdaObject *gdaobj, const gchar *st
rid); rid);
void gda_object_set_name (GdaObject *object, const gchar *na void gda_object_set_name (GdaObject *gdaobj, const gchar *na
me); me);
void gda_object_set_description (GdaObject *object, const gchar *de void gda_object_set_description (GdaObject *gdaobj, const gchar *de
scr); scr);
void gda_object_set_owner (GdaObject *object, const gchar *ow void gda_object_set_owner (GdaObject *gdaobj, const gchar *ow
ner); ner);
const gchar *gda_object_get_id (GdaObject *object); const gchar *gda_object_get_id (GdaObject *gdaobj);
const gchar *gda_object_get_name (GdaObject *object); const gchar *gda_object_get_name (GdaObject *gdaobj);
const gchar *gda_object_get_description (GdaObject *object); const gchar *gda_object_get_description (GdaObject *gdaobj);
const gchar *gda_object_get_owner (GdaObject *object); const gchar *gda_object_get_owner (GdaObject *gdaobj);
void gda_object_destroy (GdaObject *object); /* force the o void gda_object_destroy (GdaObject *gdaobj); /* force the o
bject to completely clean itself */ bject to completely clean itself */
void gda_object_destroy_check (GdaObject *object); void gda_object_destroy_check (GdaObject *gdaobj);
gulong gda_object_connect_destroy (gpointer object, GCallback callbac gulong gda_object_connect_destroy (gpointer gdaobj, GCallback callbac
k, gpointer data); k, gpointer data);
void gda_object_signal_emit_changed (GdaObject *object); void gda_object_signal_emit_changed (GdaObject *object);
void gda_object_block_changed (GdaObject *object); void gda_object_block_changed (GdaObject *gdaobj);
void gda_object_unblock_changed (GdaObject *object); void gda_object_unblock_changed (GdaObject *gdaobj);
#ifdef GDA_DEBUG #ifdef GDA_DEBUG
void gda_object_dump (GdaObject *object, guint offset); /* dump contents on stdout */ void gda_object_dump (GdaObject *gdaobj, guint offset); /* dump contents on stdout */
#endif #endif
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 7 change blocks. 
21 lines changed or deleted 22 lines changed or added


 gda-parameter-list.h   gda-parameter-list.h 
skipping to change at line 58 skipping to change at line 58
GDA_PARAMETER_LIST_DEPENDENCY_POSITION_ERROR, GDA_PARAMETER_LIST_DEPENDENCY_POSITION_ERROR,
GDA_PARAMETER_LIST_XML_SPEC_ERROR GDA_PARAMETER_LIST_XML_SPEC_ERROR
} GdaParameterListError; } GdaParameterListError;
typedef enum { typedef enum {
GDA_PARAMETER_LIST_PARAM_READ_ONLY = 1 << 0, /* param should not be affected by user modifications */ GDA_PARAMETER_LIST_PARAM_READ_ONLY = 1 << 0, /* param should not be affected by user modifications */
GDA_PARAMETER_LIST_PARAM_HIDE = 1 << 1 /* param should not be shown to the user */ GDA_PARAMETER_LIST_PARAM_HIDE = 1 << 1 /* param should not be shown to the user */
} GdaParameterListParamHint; } GdaParameterListParamHint;
/** /**
* For each #GdaParameter object in the #GdaParameterList object, there is * GdaParameterListNode:
a #GdaParameterListNode structure *
* which sums up all the information for each parameter * For each #GdaParameter object in the #GdaParameterList object, there is
a
* #GdaParameterListNode structure which sums up all the information for
* each parameter.
*/ */
struct _GdaParameterListNode { struct _GdaParameterListNode {
GdaParameter *param; /* Can't be NULL */ GdaParameter *param; /* Can't be NULL */
GdaDataModel *source_model; /* may be NULL if @param is free-fill */ GdaDataModel *source_model; /* may be NULL if @param is free-fill */
gint source_column; /* unused is @source_model is NULL */ gint source_column; /* unused is @source_model is NULL */
guint hint; guint hint;
}; };
/** /**
* The #GdaParameterListGroup is another view of the parameters list contai * GdaParameterListGroup:
ned in the #GdaParameterList object: *
* there is one such structure for each _independant_ parameter (parameters * The #GdaParameterListGroup is another view of the parameters list
which are constrained by the same * contained in the #GdaParameterList object: there is one such structure
* data model all appear in the same #GdaParameterListGroup structure) * for each _independant_ parameter (parameters which are constrained by th
e
* same data model all appear in the same #GdaParameterListGroup structure)
.
*/ */
struct _GdaParameterListGroup { struct _GdaParameterListGroup {
GSList *nodes; /* list of GdaParameterListNod e, at least one entry */ GSList *nodes; /* list of GdaParameterListNod e, at least one entry */
GdaParameterListSource *nodes_source; /* if NULL, then @nodes contai ns exactly one entry */ GdaParameterListSource *nodes_source; /* if NULL, then @nodes contai ns exactly one entry */
}; };
/** /**
* There is a #GdaParameterListSource structure for each #GdaDataModel whic * GdaParameterListSource:
h constrains at least on parameter *
* in the #GdaParameterList object * There is a #GdaParameterListSource structure for each #GdaDataModel whic
h
* constrains at least on parameter in the #GdaParameterList object.
*/ */
struct _GdaParameterListSource { struct _GdaParameterListSource {
GdaDataModel *data_model; /* Can't be NULL */ GdaDataModel *data_model; /* Can't be NULL */
GSList *nodes; /* list of #GdaParameterListNode for w hich source_model == @data_model */ GSList *nodes; /* list of #GdaParameterListNode for w hich source_model == @data_model */
/* displayed columns in 'data_model' */ /* displayed columns in 'data_model' */
gint shown_n_cols; gint shown_n_cols;
gint *shown_cols_index; gint *shown_cols_index;
/* columns used as a reference (corresponding to PK values) in 'dat a_model' */ /* columns used as a reference (corresponding to PK values) in 'dat a_model' */
skipping to change at line 130 skipping to change at line 138
}; };
GType gda_parameter_list_get_type (void); GType gda_parameter_list_get_type (void);
GdaParameterList *gda_parameter_list_new (GSList *params); GdaParameterList *gda_parameter_list_new (GSList *params);
GdaParameterList *gda_parameter_list_new_inline (GdaDic t *dict, ...); GdaParameterList *gda_parameter_list_new_inline (GdaDic t *dict, ...);
GdaParameterList *gda_parameter_list_new_from_spec_string (GdaDic t *dict, const gchar *xml_spec, GError **error); GdaParameterList *gda_parameter_list_new_from_spec_string (GdaDic t *dict, const gchar *xml_spec, GError **error);
GdaParameterList *gda_parameter_list_new_from_spec_node (GdaDic t *dict, xmlNodePtr xml_spec, GError **error); GdaParameterList *gda_parameter_list_new_from_spec_node (GdaDic t *dict, xmlNodePtr xml_spec, GError **error);
gchar *gda_parameter_list_get_spec (GdaPar ameterList *paramlist); gchar *gda_parameter_list_get_spec (GdaPar ameterList *paramlist);
guint gda_parameter_list_get_length (GdaPar ameterList *plist); guint gda_parameter_list_get_length (GdaPar ameterList *paramlist);
void gda_parameter_list_add_param (GdaPar ameterList *paramlist, GdaParameter *param); void gda_parameter_list_add_param (GdaPar ameterList *paramlist, GdaParameter *param);
GdaParameter *gda_parameter_list_add_param_from_string (GdaPar ameterList *paramlist, const gchar *name, GdaParameter *gda_parameter_list_add_param_from_string (GdaPar ameterList *paramlist, const gchar *name,
GType t ype, const gchar *str); GType t ype, const gchar *str);
GdaParameter *gda_parameter_list_add_param_from_value (GdaPar ameterList *paramlist, const gchar *name, GdaParameter *gda_parameter_list_add_param_from_value (GdaPar ameterList *paramlist, const gchar *name,
GValue *value); GValue *value);
void gda_parameter_list_merge (GdaPar ameterList *paramlist, void gda_parameter_list_merge (GdaPar ameterList *paramlist,
GdaPara meterList *paramlist_to_merge); GdaPara meterList *paramlist_to_merge);
gboolean gda_parameter_list_is_coherent (GdaPar ameterList *paramlist, GError **error); gboolean gda_parameter_list_is_coherent (GdaPar ameterList *paramlist, GError **error);
gboolean gda_parameter_list_is_valid (GdaPar ameterList *paramlist); gboolean gda_parameter_list_is_valid (GdaPar ameterList *paramlist);
skipping to change at line 159 skipping to change at line 167
GdaPara meter *param); GdaPara meter *param);
GdaParameterListGroup *gda_parameter_list_find_group_for_param (GdaPar ameterList *paramlist, GdaParameterListGroup *gda_parameter_list_find_group_for_param (GdaPar ameterList *paramlist,
GdaPara meter *param); GdaPara meter *param);
void gda_parameter_list_set_param_default_value (GdaPar ameterList *paramlist, void gda_parameter_list_set_param_default_value (GdaPar ameterList *paramlist,
GdaPara meter *param, const GValue *value); GdaPara meter *param, const GValue *value);
void gda_parameter_list_set_param_default_alias (GdaPar ameterList *paramlist, void gda_parameter_list_set_param_default_alias (GdaPar ameterList *paramlist,
GdaPara meter *param, GdaParameter *alias); GdaPara meter *param, GdaParameter *alias);
const GValue *gda_parameter_list_get_param_default_value (GdaPar ameterList *paramlist, GdaParameter *param); const GValue *gda_parameter_list_get_param_default_value (GdaPar ameterList *paramlist, GdaParameter *param);
GdaDict* _gda_parameter_list_get_dict(GSList *params);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 5 change blocks. 
12 lines changed or deleted 22 lines changed or added


 gda-query-condition.h   gda-query-condition.h 
skipping to change at line 112 skipping to change at line 112
/* Node conditions */ /* Node conditions */
gboolean gda_query_condition_node_add_child (GdaQuery Condition *condition, gboolean gda_query_condition_node_add_child (GdaQuery Condition *condition,
GdaQueryC ondition *child, GError **error); GdaQueryC ondition *child, GError **error);
void gda_query_condition_node_del_child (GdaQuery Condition *condition, GdaQueryCondition *child); void gda_query_condition_node_del_child (GdaQuery Condition *condition, GdaQueryCondition *child);
/* Leaf conditions */ /* Leaf conditions */
void gda_query_condition_leaf_set_operator (GdaQueryC ondition *condition, void gda_query_condition_leaf_set_operator (GdaQueryC ondition *condition,
GdaQueryCo nditionOperator op, GdaQueryField *field); GdaQueryCo nditionOperator op, GdaQueryField *field);
GdaQueryField *gda_query_condition_leaf_get_operator (GdaQueryC ondition *condition, GdaQueryConditionOperator op); GdaQueryField *gda_query_condition_leaf_get_operator (GdaQueryC ondition *condition, GdaQueryConditionOperator op);
GSList *gda_query_condition_get_ref_objects_all (GdaQueryC ondition *condition); GSList *gda_query_condition_get_ref_objects_all (GdaQueryC ondition *cond);
gboolean gda_query_condition_represents_join (GdaQueryC ondition *condition, gboolean gda_query_condition_represents_join (GdaQueryC ondition *condition,
GdaQueryTa rget **target1, GdaQueryTarget **target2, GdaQueryTa rget **target1, GdaQueryTarget **target2,
gboolean * is_equi_join); gboolean * is_equi_join);
gboolean gda_query_condition_represents_join_strict (GdaQueryC ondition *condition, gboolean gda_query_condition_represents_join_strict (GdaQueryC ondition *condition,
GdaQueryTa rget **target1, GdaQueryTarget **target2); GdaQueryTa rget **target1, GdaQueryTarget **target2);
GSList *gda_query_condition_get_main_conditions (GdaQueryC ondition *condition); GSList *gda_query_condition_get_main_conditions (GdaQueryC ondition *condition);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-query-field-value.h   gda-query-field-value.h 
skipping to change at line 66 skipping to change at line 66
GdaQueryFieldClass parent_class; GdaQueryFieldClass parent_class;
}; };
GType gda_query_field_value_get_type (void); GType gda_query_field_value_get_type (void);
GdaQueryField *gda_query_field_value_new (GdaQuery *quer y, GType type); GdaQueryField *gda_query_field_value_new (GdaQuery *quer y, GType type);
void gda_query_field_value_set_value (GdaQueryFieldV alue *field, const GValue *val); void gda_query_field_value_set_value (GdaQueryFieldV alue *field, const GValue *val);
const GValue *gda_query_field_value_get_value (GdaQueryFieldV alue *field); const GValue *gda_query_field_value_get_value (GdaQueryFieldV alue *field);
void gda_query_field_value_set_default_value (GdaQueryFieldV alue *field, const GValue *default_val); void gda_query_field_value_set_default_value (GdaQueryFieldV alue *field, const GValue *default_val);
const GValue *gda_query_field_value_get_default_value (GdaQueryFieldV alue *field); const GValue *gda_query_field_value_get_default_value (GdaQueryFieldV alue *field);
GType gda_query_field_value_get_g_type (GdaQueryFieldV
alue *field);
void gda_query_field_value_set_dict_type (GdaQueryFieldV
alue *field, GdaDictType *type);
GdaDictType *gda_query_field_value_get_dict_type (GdaQueryFieldV
alue *field);
void gda_query_field_value_set_is_parameter (GdaQueryFieldV alue *field, gboolean is_param); void gda_query_field_value_set_is_parameter (GdaQueryFieldV alue *field, gboolean is_param);
gboolean gda_query_field_value_is_parameter (GdaQueryFieldV alue *field); gboolean gda_query_field_value_get_is_parameter (GdaQueryFi eldValue *field);
gint gda_query_field_value_get_parameter_index (GdaQueryFieldV alue *field); gint gda_query_field_value_get_parameter_index (GdaQueryFieldV alue *field);
void gda_query_field_value_set_not_null (GdaQueryFieldV alue *field, gboolean not_null); void gda_query_field_value_set_not_null (GdaQueryFieldV alue *field, gboolean not_null);
gboolean gda_query_field_value_get_not_null (GdaQueryFieldV alue *field); gboolean gda_query_field_value_get_not_null (GdaQueryFieldV alue *field);
gboolean gda_query_field_value_is_value_null (GdaQueryFieldV alue *field, GdaParameterList *context); gboolean gda_query_field_value_is_value_null (GdaQueryFieldV alue *field, GdaParameterList *context);
gboolean gda_query_field_value_restrict (GdaQueryFieldV alue *field, gboolean gda_query_field_value_restrict (GdaQueryFieldV alue *field,
GdaDataModel *m odel, gint col, GError **error); GdaDataModel *m odel, gint col, GError **error);
G_END_DECLS G_END_DECLS
 End of changes. 2 change blocks. 
8 lines changed or deleted 1 lines changed or added


 gda-query.h   gda-query.h 
skipping to change at line 108 skipping to change at line 108
GdaQuery *gda_query_new_copy (GdaQuery *orig, GHashT able *replacements); GdaQuery *gda_query_new_copy (GdaQuery *orig, GHashT able *replacements);
GdaQuery *gda_query_new_from_sql (GdaDict *dict, const g char *sql, GError **error); GdaQuery *gda_query_new_from_sql (GdaDict *dict, const g char *sql, GError **error);
void gda_query_set_query_type (GdaQuery *query, GdaQu eryType type); void gda_query_set_query_type (GdaQuery *query, GdaQu eryType type);
GdaQueryType gda_query_get_query_type (GdaQuery *query); GdaQueryType gda_query_get_query_type (GdaQuery *query);
const gchar *gda_query_get_query_type_string (GdaQuery *query); const gchar *gda_query_get_query_type_string (GdaQuery *query);
gboolean gda_query_is_select_query (GdaQuery *query); gboolean gda_query_is_select_query (GdaQuery *query);
gboolean gda_query_is_insert_query (GdaQuery *query); gboolean gda_query_is_insert_query (GdaQuery *query);
gboolean gda_query_is_update_query (GdaQuery *query); gboolean gda_query_is_update_query (GdaQuery *query);
gboolean gda_query_is_delete_query (GdaQuery *query); gboolean gda_query_is_delete_query (GdaQuery *query);
gboolean gda_query_is_modif_query (GdaQuery *query); gboolean gda_query_is_modify_query (GdaQuery *query);
gboolean gda_query_is_well_formed (GdaQuery *query, GdaPa rameterList *context, GError **error); gboolean gda_query_is_well_formed (GdaQuery *query, GdaPa rameterList *context, GError **error);
GdaQuery *gda_query_get_parent_query (GdaQuery *query); GdaQuery *gda_query_get_parent_query (GdaQuery *query);
GSList *gda_query_get_parameters (GdaQuery *query); GSList *gda_query_get_parameters (GdaQuery *query);
GdaParameterList *gda_query_get_parameter_list (GdaQuery *query); GdaParameterList *gda_query_get_parameter_list (GdaQuery *query);
GdaObject *gda_query_execute (GdaQuery *query, GdaPa rameterList *params, GdaObject *gda_query_execute (GdaQuery *query, GdaPa rameterList *params,
gboolean iter_model_onl y_requested, GError **error); gboolean iter_model_onl y_requested, GError **error);
/* if SQL queries */ /* if SQL queries */
void gda_query_set_sql_text (GdaQuery *query, const gchar *sql, GError **error); void gda_query_set_sql_text (GdaQuery *query, const gchar *sql, GError **error);
skipping to change at line 154 skipping to change at line 154
GSList *gda_query_get_main_conditions (GdaQuery *query); GSList *gda_query_get_main_conditions (GdaQuery *query);
void gda_query_append_condition (GdaQuery *query, GdaQu eryCondition *cond, gboolean append_as_and); void gda_query_append_condition (GdaQuery *query, GdaQu eryCondition *cond, gboolean append_as_and);
void gda_query_set_order_by_field (GdaQuery *query, GdaQu eryField *field, gint order, gboolean ascendant); void gda_query_set_order_by_field (GdaQuery *query, GdaQu eryField *field, gint order, gboolean ascendant);
gint gda_query_get_order_by_field (GdaQuery *query, GdaQu eryField *field, gboolean *ascendant); gint gda_query_get_order_by_field (GdaQuery *query, GdaQu eryField *field, gboolean *ascendant);
/* utility functions */ /* utility functions */
GdaQueryField *gda_query_add_field_from_sql (GdaQuery *query, const gchar *field, GError **error); GdaQueryField *gda_query_add_field_from_sql (GdaQuery *query, const gchar *field, GError **error);
GSList *gda_query_get_all_fields (GdaQuery *query); GSList *gda_query_get_all_fields (GdaQuery *query);
GdaQueryField *gda_query_get_field_by_sql_naming (GdaQuery *quer y, const gchar *sql_naming); GdaQueryField *gda_query_get_field_by_sql_naming (GdaQuery *quer y, const gchar *sql_name);
GdaQueryField *gda_query_get_field_by_param_name (GdaQuery *quer y, const gchar *param_name); GdaQueryField *gda_query_get_field_by_param_name (GdaQuery *quer y, const gchar *param_name);
GdaQueryField *gda_query_get_field_by_ref_field (GdaQuery *quer y, GdaQueryTarget *target, GdaQueryField *gda_query_get_field_by_ref_field (GdaQuery *quer y, GdaQueryTarget *target,
GdaEntityField *ref_field, GdaEntityField *ref_field,
GdaQueryFieldSt ate field_state); GdaQueryFieldSt ate field_state);
GdaQueryField *gda_query_get_first_field_for_target (GdaQuery *quer y, GdaQueryTarget *target); GdaQueryField *gda_query_get_first_field_for_target (GdaQuery *quer y, GdaQueryTarget *target);
GSList *gda_query_expand_all_field (GdaQuery *quer y, GdaQueryTarget *target); GSList *gda_query_expand_all_field (GdaQuery *quer y, GdaQueryTarget *target);
void gda_query_order_fields_using_join_conds (GdaQuery *quer y); void gda_query_order_fields_using_join_conds (GdaQuery *quer y);
GSList *gda_query_get_fields_by_target (GdaQuery *quer y, GdaQueryTarget *target, gboolean visible_fields_only); GSList *gda_query_get_fields_by_target (GdaQuery *quer y, GdaQueryTarget *target, gboolean visible_fields_only);
void gda_query_declare_condition (GdaQuery *query, GdaQu eryCondition *cond); void gda_query_declare_condition (GdaQuery *query, GdaQu eryCondition *cond);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 gda-renderer.h   gda-renderer.h 
skipping to change at line 52 skipping to change at line 52
GDA_RENDERER_PARAMS_AS_DOLLAR = 1 << 5 /* params as $1, $2, et c (starts at $1) */ GDA_RENDERER_PARAMS_AS_DOLLAR = 1 << 5 /* params as $1, $2, et c (starts at $1) */
} GdaRendererOptions; } GdaRendererOptions;
/* struct for the interface */ /* struct for the interface */
struct _GdaRendererIface struct _GdaRendererIface
{ {
GTypeInterface g_iface; GTypeInterface g_iface;
/* virtual table */ /* virtual table */
gchar *(* render_as_sql) (GdaRenderer *iface, GdaParameterLis t *context, GSList **out_params_used, gchar *(* render_as_sql) (GdaRenderer *iface, GdaParameterLis t *context, GSList **out_params_used,
guint options, GError **error); GdaRendererOptions options, GError **error);
gchar *(* render_as_str) (GdaRenderer *iface, GdaParameterLis t *context); gchar *(* render_as_str) (GdaRenderer *iface, GdaParameterLis t *context);
gboolean (* is_valid) (GdaRenderer *iface, GdaParameterLis t *context, GError **error); gboolean (* is_valid) (GdaRenderer *iface, GdaParameterLis t *context, GError **error);
}; };
GType gda_renderer_get_type (void) G_GNUC_CONST; GType gda_renderer_get_type (void) G_GNUC_CONST;
gchar *gda_renderer_render_as_sql (GdaRenderer *iface, GdaParame terList *context, GSList **out_params_used, gchar *gda_renderer_render_as_sql (GdaRenderer *iface, GdaParame terList *context, GSList **out_params_used,
guint options, GError **error) ; GdaRendererOptions options, GE rror **error);
gchar *gda_renderer_render_as_str (GdaRenderer *iface, GdaParame terList *context); gchar *gda_renderer_render_as_str (GdaRenderer *iface, GdaParame terList *context);
gboolean gda_renderer_is_valid (GdaRenderer *iface, GdaParame terList *context, GError **error); gboolean gda_renderer_is_valid (GdaRenderer *iface, GdaParame terList *context, GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 gda-sql-delimiter.h   gda-sql-delimiter.h 
skipping to change at line 27 skipping to change at line 27
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA * USA
*/ */
#ifndef _GDA_DELIMITER_SQL_PARSER_H #ifndef _GDA_DELIMITER_SQL_PARSER_H
#define _GDA_DELIMITER_SQL_PARSER_H #define _GDA_DELIMITER_SQL_PARSER_H
#include <glib.h> #include <glib.h>
#define YY_NO_UNISTD_H #define YY_NO_UNISTD_H
typedef struct GdaDelimiterStatement GdaDelimiterStatement; typedef struct _GdaDelimiterStatement GdaDelimiterStatement;
typedef struct GdaDelimiterExpr GdaDelimiterExpr; typedef struct _GdaDelimiterExpr GdaDelimiterExpr;
typedef struct GdaDelimiterParamSpec GdaDelimiterParamSpec; typedef struct _GdaDelimiterParamSpec GdaDelimiterParamSpec;
/* /*
* Type of parsed SQL * Type of parsed SQL
*/ */
typedef enum typedef enum
{ {
GDA_DELIMITER_SQL_SELECT, GDA_DELIMITER_SQL_SELECT,
GDA_DELIMITER_SQL_INSERT, GDA_DELIMITER_SQL_INSERT,
GDA_DELIMITER_SQL_DELETE, GDA_DELIMITER_SQL_DELETE,
GDA_DELIMITER_SQL_UPDATE, GDA_DELIMITER_SQL_UPDATE,
GDA_DELIMITER_SQL_BEGIN, GDA_DELIMITER_SQL_BEGIN,
GDA_DELIMITER_SQL_COMMIT, GDA_DELIMITER_SQL_COMMIT,
GDA_DELIMITER_MULTIPLE, GDA_DELIMITER_MULTIPLE,
GDA_DELIMITER_UNKNOWN GDA_DELIMITER_UNKNOWN
} }
GdaDelimiterStatementType; GdaDelimiterStatementType;
/* /*
* Structure to hold a SQL statement * Structure to hold a SQL statement
*/ */
struct GdaDelimiterStatement struct _GdaDelimiterStatement
{ {
GdaDelimiterStatementType type; GdaDelimiterStatementType type;
GList *expr_list; /* list of GdaDelimiterExpr structures */ GList *expr_list; /* list of GdaDelimiterExpr structures */
GList *params_specs;/* list of GList of GdaDelim iterParamSpec structures */ GList *params_specs;/* list of GList of GdaDelim iterParamSpec structures */
}; };
/* /*
* Structure to hold a single statement * Structure to hold a single statement
*/ */
struct GdaDelimiterExpr struct _GdaDelimiterExpr
{ {
GList *pspec_list; /* list of GdaDelimiterParamSpec structur es */ GList *pspec_list; /* list of GdaDelimiterParamSpec structur es */
gchar *sql_text; gchar *sql_text;
}; };
#define GDA_DELIMITER_SQL_EXPR(x) ((GdaDelimiterExpr*)(x)) #define GDA_DELIMITER_SQL_EXPR(x) ((GdaDelimiterExpr*)(x))
/* /*
* Different types of parameter specifications * Different types of parameter specifications
*/ */
typedef enum typedef enum
skipping to change at line 82 skipping to change at line 82
GDA_DELIMITER_PARAM_NAME, GDA_DELIMITER_PARAM_NAME,
GDA_DELIMITER_PARAM_DESCR, GDA_DELIMITER_PARAM_DESCR,
GDA_DELIMITER_PARAM_TYPE, GDA_DELIMITER_PARAM_TYPE,
GDA_DELIMITER_PARAM_ISPARAM, GDA_DELIMITER_PARAM_ISPARAM,
GDA_DELIMITER_PARAM_NULLOK GDA_DELIMITER_PARAM_NULLOK
} GdaDelimiterParamSpecType; } GdaDelimiterParamSpecType;
/* /*
* Structure to hold one parameter specification * Structure to hold one parameter specification
*/ */
struct GdaDelimiterParamSpec struct _GdaDelimiterParamSpec
{ {
GdaDelimiterParamSpecType type; GdaDelimiterParamSpecType type;
char *content; char *content;
}; };
#define GDA_DELIMITER_PARAM_SPEC(x) ((GdaDelimiterParamSpec *)(x)) #define GDA_DELIMITER_PARAM_SPEC(x) ((GdaDelimiterParamSpec *)(x))
void gda_delimiter_display (GdaDelimiterStat ement *statement); void gda_delimiter_display (GdaDelimiterStat ement *statement);
gchar *gda_delimiter_to_string (GdaDelimiterStat ement *statement); gchar *gda_delimiter_to_string (GdaDelimiterStat ement *statement);
int gda_delimiter_destroy (GdaDelimiterStat ement *statement); int gda_delimiter_destroy (GdaDelimiterStat ement *statement);
 End of changes. 4 change blocks. 
6 lines changed or deleted 6 lines changed or added


 gda-util.h   gda-util.h 
skipping to change at line 59 skipping to change at line 59
/* /*
* File management utility functions * File management utility functions
*/ */
gchar *gda_file_load (const gchar *filename); gchar *gda_file_load (const gchar *filename);
gboolean gda_file_save (const gchar *filename, const gchar *buffer, gint l en); gboolean gda_file_save (const gchar *filename, const gchar *buffer, gint l en);
/* /*
* utilities dealing with storing and retreiving GdaDictField's attributes * utilities dealing with storing and retreiving GdaDictField's attributes
* which is a list of comma separated keywords * which is a list of comma separated keywords
*/ */
gchar *gda_utility_table_field_attrs_stringify (guint attributes); gchar *gda_utility_table_field_attrs_stringify (GdaValueAttribute attribute s);
guint gda_utility_table_field_attrs_parse (const gchar *str); guint gda_utility_table_field_attrs_parse (const gchar *str);
/* /*
* XML Id encoding and decoding * XML Id encoding and decoding
*/ */
gchar *gda_utility_build_encoded_id (const gchar *prefix, const gchar *id); gchar *gda_utility_build_encoded_id (const gchar *prefix, const gchar *id);
gchar *gda_utility_build_decoded_id (const gchar *prefix, const gchar *id); gchar *gda_utility_build_decoded_id (const gchar *prefix, const gchar *id);
/* /*
* Param & model utilities * Param & model utilities
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-value.h   gda-value.h 
skipping to change at line 110 skipping to change at line 110
GdaBlobOp *op; /* set up by providers if the GdaBlob is linked to so mething actually existing in the database, GdaBlobOp *op; /* set up by providers if the GdaBlob is linked to so mething actually existing in the database,
useable by anyone */ useable by anyone */
} GdaBlob; } GdaBlob;
typedef GList GdaValueList; typedef GList GdaValueList;
#define gda_value_isa(value, type) (G_VALUE_HOLDS(value, type)) #define gda_value_isa(value, type) (G_VALUE_HOLDS(value, type))
GValue *gda_value_new (GType type); GValue *gda_value_new (GType type);
GValue *gda_value_new_binary (guchar *val, glong GValue *gda_value_new_binary (const guchar *val,
size); glong size);
GValue *gda_value_new_blob (guchar *val, glong si GValue *gda_value_new_blob (const guchar *val, gl
ze); ong size);
GValue *gda_value_new_timestamp_from_timet (time_ t val); GValue *gda_value_new_timestamp_from_timet (time_ t val);
GValue *gda_value_new_from_string (const gchar *a s_string, GType type); GValue *gda_value_new_from_string (const gchar *a s_string, GType type);
GValue *gda_value_new_from_xml (const xmlNodePtr node); GValue *gda_value_new_from_xml (const xmlNodePtr node);
void gda_value_free (GValue *value); void gda_value_free (GValue *value);
void gda_value_reset_with_type (GValue *value, GType type); void gda_value_reset_with_type (GValue *value, GType type);
gboolean gda_value_is_null (const GValue *value); gboolean gda_value_is_null (const GValue *value);
gboolean gda_value_is_number (const GValue *value) ; gboolean gda_value_is_number (const GValue *value) ;
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 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/