gda-config.h   gda-config.h 
/* GDA common library /* GDA common library
* Copyright (C) 1998 - 2006 The GNOME Foundation. * Copyright (C) 1998 - 2007 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@gnome-db.org>
* *
* 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,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-data-model-iter.h   gda-data-model-iter.h 
skipping to change at line 63 skipping to change at line 63
GdaParameterListClass parent_class; GdaParameterListClass parent_class;
gboolean (* row_to_change) (GdaDataModelIter *iter , gint row); gboolean (* row_to_change) (GdaDataModelIter *iter , gint row);
void (* row_changed) (GdaDataModelIter *iter , gint row); void (* row_changed) (GdaDataModelIter *iter , gint row);
void (* end_of_data) (GdaDataModelIter *iter ); void (* end_of_data) (GdaDataModelIter *iter );
}; };
GType gda_data_model_iter_get_type (void) G_GNUC_CO NST; GType gda_data_model_iter_get_type (void) G_GNUC_CO NST;
GdaDataModelIter *gda_data_model_iter_new (GdaDataModel *m odel); GdaDataModelIter *gda_data_model_iter_new (GdaDataModel *m odel);
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);
gboolean gda_data_model_iter_set_at_row (GdaDataModelIte r *iter, gint row); gboolean gda_data_model_iter_set_at_row (GdaDataModelIte r *iter, gint row);
gboolean gda_data_model_iter_move_next (GdaDataModelIte r *iter); gboolean gda_data_model_iter_move_next (GdaDataModelIte r *iter);
gboolean gda_data_model_iter_move_prev (GdaDataModelIte r *iter); gboolean gda_data_model_iter_move_prev (GdaDataModelIte r *iter);
gint gda_data_model_iter_get_row (GdaDataModelIte r *iter); gint gda_data_model_iter_get_row (GdaDataModelIte r *iter);
gboolean gda_data_model_iter_can_be_moved (GdaDataModelIter *iter); gboolean gda_data_model_iter_can_be_moved (GdaDataModelIte r *iter);
void gda_data_model_iter_invalidate_contents (GdaDataModelIte r *iter); void gda_data_model_iter_invalidate_contents (GdaDataModelIte r *iter);
gboolean gda_data_model_iter_is_valid (GdaDataModelIte r *iter); gboolean gda_data_model_iter_is_valid (GdaDataModelIte r *iter);
gint gda_data_model_iter_get_column_for_param (GdaDataModelIte r *iter, GdaParameter *param); gint gda_data_model_iter_get_column_for_param (GdaDataModelIte r *iter, GdaParameter *param);
GdaParameter *gda_data_model_iter_get_param_for_column (GdaDataModelIte r *iter, gint col); GdaParameter *gda_data_model_iter_get_param_for_column (GdaDataModelIte r *iter, gint col);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added


 gda-data-proxy.h   gda-data-proxy.h 
skipping to change at line 42 skipping to change at line 42
#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 GDA_DATA_PROXY_COMMIT_CANCELLED,
GDA_DATA_PROXY_READ_ONLY_VALUE,
GDA_DATA_PROXY_READ_ONLY_ROW,
GDA_DATA_PROXY_FILTER_ERROR
} 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 */
skipping to change at line 103 skipping to change at line 106
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);
gint gda_data_proxy_get_sample_start (GdaDataProxy *pr oxy); gint gda_data_proxy_get_sample_start (GdaDataProxy *pr oxy);
gint gda_data_proxy_get_sample_end (GdaDataProxy *pr oxy); gint gda_data_proxy_get_sample_end (GdaDataProxy *pr oxy);
gboolean gda_data_proxy_set_filter_expr (GdaDataProxy *pr
oxy, const gchar *filter_expr, GError **error);
const gchar *gda_data_proxy_get_filter_expr (GdaDataProxy *pr
oxy);
gint gda_data_proxy_get_filtered_n_rows (GdaDataProxy *pr
oxy);
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-query-private.h   gda-query-private.h 
skipping to change at line 61 skipping to change at line 61
guint serial_target; guint serial_target;
guint serial_field; guint serial_field;
guint serial_cond; guint serial_cond;
gint internal_transaction; /* > 0 to revent emission of the "changed" signal, when gint internal_transaction; /* > 0 to revent emission of the "changed" signal, when
* several changes must occur before the query has a stable * several changes must occur before the query has a stable
* structure again */ * structure again */
GSList *all_conds; GSList *all_conds;
gboolean auto_clean; gboolean auto_clean;
gboolean has_limit; /* LIMIT for SELECT queries */
guint limit;
guint offset;
}; };
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 4 lines changed or added


 gda-query.h   gda-query.h 
skipping to change at line 152 skipping to change at line 152
void gda_query_del_join (GdaQuery *query, GdaQu eryJoin *join); void gda_query_del_join (GdaQuery *query, GdaQu eryJoin *join);
void gda_query_set_condition (GdaQuery *query, GdaQu eryCondition *cond); void gda_query_set_condition (GdaQuery *query, GdaQu eryCondition *cond);
GdaQueryCondition *gda_query_get_condition (GdaQuery *query); GdaQueryCondition *gda_query_get_condition (GdaQuery *query);
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);
void gda_query_set_results_limit (GdaQuery *query, gbool
ean has_limit, guint limit, guint offset);
gboolean gda_query_get_results_limit (GdaQuery *query, guint
*limit, guint *offset);
/* 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_name); 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);
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added


 gda-vconnection-data-model.h   gda-vconnection-data-model.h 
skipping to change at line 26 skipping to change at line 26
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with this Library; see the file COPYING.LIB. If not, * License along with this Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 , * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 ,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GDA_VCONNECTION_DATA_MODEL_H__ #ifndef __GDA_VCONNECTION_DATA_MODEL_H__
#define __GDA_VCONNECTION_DATA_MODEL_H__ #define __GDA_VCONNECTION_DATA_MODEL_H__
#include "gda-virtual-connection.h" #include <virtual/gda-virtual-connection.h>
#define GDA_TYPE_VCONNECTION_DATA_MODEL (gda_vconnection_data_mo del_get_type()) #define GDA_TYPE_VCONNECTION_DATA_MODEL (gda_vconnection_data_mo del_get_type())
#define GDA_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_C AST (obj, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModel)) #define GDA_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_C AST (obj, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModel))
#define GDA_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModelClass)) #define GDA_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModelClass))
#define GDA_IS_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_T YPE (obj, GDA_TYPE_VCONNECTION_DATA_MODEL)) #define GDA_IS_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_T YPE (obj, GDA_TYPE_VCONNECTION_DATA_MODEL))
#define GDA_IS_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_TYPE_VCONNECTION_DATA_MODEL)) #define GDA_IS_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_TYPE_VCONNECTION_DATA_MODEL))
G_BEGIN_DECLS G_BEGIN_DECLS
typedef struct _GdaVconnectionDataModel GdaVconnectionDataModel; typedef struct _GdaVconnectionDataModel GdaVconnectionDataModel;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-vconnection-hub.h   gda-vconnection-hub.h 
skipping to change at line 26 skipping to change at line 26
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with this Library; see the file COPYING.LIB. If not, * License along with this Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 , * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 ,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GDA_VCONNECTION_HUB_H__ #ifndef __GDA_VCONNECTION_HUB_H__
#define __GDA_VCONNECTION_HUB_H__ #define __GDA_VCONNECTION_HUB_H__
#include "gda-vconnection-data-model.h" #include <virtual/gda-vconnection-data-model.h>
#define GDA_TYPE_VCONNECTION_HUB (gda_vconnection_hub_get_type() ) #define GDA_TYPE_VCONNECTION_HUB (gda_vconnection_hub_get_type() )
#define GDA_VCONNECTION_HUB(obj) (G_TYPE_CHECK_INSTANCE_CAST (ob j, GDA_TYPE_VCONNECTION_HUB, GdaVconnectionHub)) #define GDA_VCONNECTION_HUB(obj) (G_TYPE_CHECK_INSTANCE_CAST (ob j, GDA_TYPE_VCONNECTION_HUB, GdaVconnectionHub))
#define GDA_VCONNECTION_HUB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass , GDA_TYPE_VCONNECTION_HUB, GdaVconnectionHubClass)) #define GDA_VCONNECTION_HUB_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass , GDA_TYPE_VCONNECTION_HUB, GdaVconnectionHubClass))
#define GDA_IS_VCONNECTION_HUB(obj) (G_TYPE_CHECK_INSTANCE_TYPE (ob j, GDA_TYPE_VCONNECTION_HUB)) #define GDA_IS_VCONNECTION_HUB(obj) (G_TYPE_CHECK_INSTANCE_TYPE (ob j, GDA_TYPE_VCONNECTION_HUB))
#define GDA_IS_VCONNECTION_HUB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), GDA_TYPE_VCONNECTION_HUB)) #define GDA_IS_VCONNECTION_HUB_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), GDA_TYPE_VCONNECTION_HUB))
G_BEGIN_DECLS G_BEGIN_DECLS
typedef struct _GdaVconnectionHub GdaVconnectionHub; typedef struct _GdaVconnectionHub GdaVconnectionHub;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-virtual-provider.h   gda-virtual-provider.h 
skipping to change at line 28 skipping to change at line 28
* License along with this Library; see the file COPYING.LIB. If not, * License along with this Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 , * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 ,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GDA_VIRTUAL_PROVIDER_H__ #ifndef __GDA_VIRTUAL_PROVIDER_H__
#define __GDA_VIRTUAL_PROVIDER_H__ #define __GDA_VIRTUAL_PROVIDER_H__
/* NOTICE: SQLite must be compiled without the SQLITE_OMIT_VIRTUALTABLE fla g */ /* NOTICE: SQLite must be compiled without the SQLITE_OMIT_VIRTUALTABLE fla g */
#include <gda-sqlite-provider.h> #include <libgda/sqlite/gda-sqlite-provider.h>
#define GDA_TYPE_VIRTUAL_PROVIDER (gda_virtual_provider_get_type ()) #define GDA_TYPE_VIRTUAL_PROVIDER (gda_virtual_provider_get_type ())
#define GDA_VIRTUAL_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (o bj, GDA_TYPE_VIRTUAL_PROVIDER, GdaVirtualProvider)) #define GDA_VIRTUAL_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST (o bj, GDA_TYPE_VIRTUAL_PROVIDER, GdaVirtualProvider))
#define GDA_VIRTUAL_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klas s, GDA_TYPE_VIRTUAL_PROVIDER, GdaVirtualProviderClass)) #define GDA_VIRTUAL_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klas s, GDA_TYPE_VIRTUAL_PROVIDER, GdaVirtualProviderClass))
#define GDA_IS_VIRTUAL_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE (o bj, GDA_TYPE_VIRTUAL_PROVIDER)) #define GDA_IS_VIRTUAL_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE (o bj, GDA_TYPE_VIRTUAL_PROVIDER))
#define GDA_IS_VIRTUAL_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), GDA_TYPE_VIRTUAL_PROVIDER)) #define GDA_IS_VIRTUAL_PROVIDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), GDA_TYPE_VIRTUAL_PROVIDER))
G_BEGIN_DECLS G_BEGIN_DECLS
typedef struct _GdaVirtualProvider GdaVirtualProvider; typedef struct _GdaVirtualProvider GdaVirtualProvider;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 sql_parser.h   sql_parser.h 
skipping to change at line 12 skipping to change at line 12
#define SQL_PARSER_H #define SQL_PARSER_H
#include <glib.h> #include <glib.h>
#define YY_NO_UNISTD_H #define YY_NO_UNISTD_H
typedef struct sql_statement sql_statement; typedef struct sql_statement sql_statement;
typedef struct sql_select_statement sql_select_statement; typedef struct sql_select_statement sql_select_statement;
typedef struct sql_insert_statement sql_insert_statement; typedef struct sql_insert_statement sql_insert_statement;
typedef struct sql_update_statement sql_update_statement; typedef struct sql_update_statement sql_update_statement;
typedef struct sql_delete_statement sql_delete_statement; typedef struct sql_delete_statement sql_delete_statement;
typedef struct sql_limit sql_limit;
typedef struct sql_table sql_table; typedef struct sql_table sql_table;
typedef struct sql_where sql_where; typedef struct sql_where sql_where;
typedef struct sql_condition sql_condition; typedef struct sql_condition sql_condition;
typedef struct sql_order_field sql_order_field; typedef struct sql_order_field sql_order_field;
typedef struct sql_field sql_field; typedef struct sql_field sql_field;
typedef struct sql_field_item sql_field_item; typedef struct sql_field_item sql_field_item;
typedef struct param_spec param_spec; typedef struct param_spec param_spec;
typedef struct sql_wherejoin sql_wherejoin; typedef struct sql_wherejoin sql_wherejoin;
skipping to change at line 42 skipping to change at line 43
} }
sql_statement_type; sql_statement_type;
struct sql_statement struct sql_statement
{ {
sql_statement_type type; sql_statement_type type;
char *full_query; char *full_query;
void *statement; void *statement;
}; };
struct sql_limit
{
guint limit;
guint offset;
};
struct sql_select_statement struct sql_select_statement
{ {
int distinct; int distinct;
GList *fields; /* list of sql_fie ld */ GList *fields; /* list of sql_fie ld */
GList *from; /* list of sql_tab le */ GList *from; /* list of sql_tab le */
sql_where *where; sql_where *where;
GList *order; /* list of sql_ord er_field */ GList *order; /* list of sql_ord er_field */
GList *group; GList *group;
sql_limit *limit;
}; };
struct sql_insert_statement struct sql_insert_statement
{ {
sql_table *table; sql_table *table;
GList *fields; GList *fields;
GList *values; GList *values;
}; };
struct sql_update_statement struct sql_update_statement
 End of changes. 3 change blocks. 
0 lines changed or deleted 8 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/