gda-connection-private.h   gda-connection-private.h 
skipping to change at line 38 skipping to change at line 38
void gda_connection_internal_transaction_started (GdaConnection *cnc, const gchar *parent_trans, const gchar *trans_name, void gda_connection_internal_transaction_started (GdaConnection *cnc, const gchar *parent_trans, const gchar *trans_name,
GdaTransactionIsolation is ol_level); GdaTransactionIsolation is ol_level);
void gda_connection_internal_transaction_rolledback (GdaConnection *cnc, co nst gchar *trans_name); void gda_connection_internal_transaction_rolledback (GdaConnection *cnc, co nst gchar *trans_name);
void gda_connection_internal_transaction_committed (GdaConnection *cnc, con st gchar *trans_name); void gda_connection_internal_transaction_committed (GdaConnection *cnc, con st gchar *trans_name);
void gda_connection_internal_sql_executed (GdaConnection *cnc, const gchar *sql, GdaConnectionEvent *error); void gda_connection_internal_sql_executed (GdaConnection *cnc, const gchar *sql, GdaConnectionEvent *error);
void gda_connection_internal_savepoint_added (GdaConnection *cnc, const gch ar *parent_trans, const gchar *svp_name); void gda_connection_internal_savepoint_added (GdaConnection *cnc, const gch ar *parent_trans, const gchar *svp_name);
void gda_connection_internal_savepoint_rolledback (GdaConnection *cnc, cons t gchar *svp_name); void gda_connection_internal_savepoint_rolledback (GdaConnection *cnc, cons t gchar *svp_name);
void gda_connection_internal_savepoint_removed (GdaConnection *cnc, const g char *svp_name); void gda_connection_internal_savepoint_removed (GdaConnection *cnc, const g char *svp_name);
void gda_connection_internal_change_transaction_state (GdaConnection *cnc,
GdaTransactionStatusS
tate newstate);
/* helper function, fuzzy analysis of "standard" SQL for transactions */ /* helper function, fuzzy analysis of "standard" SQL for transactions */
void gda_connection_internal_treat_sql (GdaConnection *cnc, const gchar *sq l, GdaConnectionEvent *error); void gda_connection_internal_treat_sql (GdaConnection *cnc, const gchar *sq l, GdaConnectionEvent *error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added


 gda-connection.h   gda-connection.h 
/* GDA client library /* GDA client library
* Copyright (C) 1998 - 2006 The GNOME Foundation. * Copyright (C) 1998 - 2007 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Michael Lausch <michael@lausch.at> * Michael Lausch <michael@lausch.at>
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@gnome-db.org>
* 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 150 skipping to change at line 150
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 *sr v, 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 *sr v, const gchar *password);
void gda_connection_add_event (GdaConnection *cn c, GdaConnectionEvent *error); void gda_connection_add_event (GdaConnection *cn c, GdaConnectionEvent *error);
void 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,
GdaParameter List *params, GError **error); GdaParameter List *params, GError **error);
skipping to change at line 176 skipping to change at line 176
GdaTransactionIsol ation level, GError **error); GdaTransactionIsol ation level, GError **error);
gboolean gda_connection_commit_transaction (GdaConnection *cn c, const gchar *name, GError **error); gboolean gda_connection_commit_transaction (GdaConnection *cn c, const gchar *name, GError **error);
gboolean gda_connection_rollback_transaction (GdaConnection *cn c, const gchar *name, GError **error); gboolean gda_connection_rollback_transaction (GdaConnection *cn c, const gchar *name, GError **error);
gboolean gda_connection_add_savepoint (GdaConnection *cn c, const gchar *name, GError **error); gboolean gda_connection_add_savepoint (GdaConnection *cn c, const gchar *name, GError **error);
gboolean gda_connection_rollback_savepoint (GdaConnection *cn c, const gchar *name, GError **error); gboolean gda_connection_rollback_savepoint (GdaConnection *cn c, const gchar *name, GError **error);
gboolean gda_connection_delete_savepoint (GdaConnection *cn c, const gchar *name, GError **error); gboolean gda_connection_delete_savepoint (GdaConnection *cn c, const gchar *name, GError **error);
GdaTransactionStatus *gda_connection_get_transaction_status (GdaConnection *cnc); GdaTransactionStatus *gda_connection_get_transaction_status (GdaConnection *cnc);
GdaBlob *gda_connection_create_blob (GdaConnection *cn
c);
GdaBlob *gda_connection_fetch_blob_by_id (GdaConnection *cn
c, const gchar *sql_id);
gchar *gda_connection_value_to_sql_string (GdaConnection *cn c, GValue *from); gchar *gda_connection_value_to_sql_string (GdaConnection *cn c, GValue *from);
gboolean gda_connection_supports_feature (GdaConnection *cn c, GdaConnectionFeature feature); gboolean gda_connection_supports_feature (GdaConnection *cn c, GdaConnectionFeature feature);
GdaDataModel *gda_connection_get_schema (GdaConnection *cn c, GdaConnectionSchema schema, GdaDataModel *gda_connection_get_schema (GdaConnection *cn c, GdaConnectionSchema schema,
GdaParameterList * params, GError **error); GdaParameterList * params, GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 3 change blocks. 
7 lines changed or deleted 2 lines changed or added


 gda-decl.h   gda-decl.h 
skipping to change at line 172 skipping to change at line 172
typedef struct _GdaQueryFieldValuePrivate GdaQueryFieldValuePrivate; typedef struct _GdaQueryFieldValuePrivate GdaQueryFieldValuePrivate;
typedef struct _GdaQueryFieldFunc GdaQueryFieldFunc; typedef struct _GdaQueryFieldFunc GdaQueryFieldFunc;
typedef struct _GdaQueryFieldFuncClass GdaQueryFieldFuncClass; typedef struct _GdaQueryFieldFuncClass GdaQueryFieldFuncClass;
typedef struct _GdaQueryFieldFuncPrivate GdaQueryFieldFuncPrivate; typedef struct _GdaQueryFieldFuncPrivate GdaQueryFieldFuncPrivate;
typedef struct _GdaQueryFieldAgg GdaQueryFieldAgg; typedef struct _GdaQueryFieldAgg GdaQueryFieldAgg;
typedef struct _GdaQueryFieldAggClass GdaQueryFieldAggClass; typedef struct _GdaQueryFieldAggClass GdaQueryFieldAggClass;
typedef struct _GdaQueryFieldAggPrivate GdaQueryFieldAggPrivate; typedef struct _GdaQueryFieldAggPrivate GdaQueryFieldAggPrivate;
typedef struct _GdaBlobOp GdaBlobOp;
typedef struct _GdaBlobOpClass GdaBlobOpClass;
/* /*
* Graphing part * Graphing part
*/ */
typedef struct _GdaGraph GdaGraph; typedef struct _GdaGraph GdaGraph;
typedef struct _GdaGraphClass GdaGraphClass; typedef struct _GdaGraphClass GdaGraphClass;
typedef struct _GdaGraphPrivate GdaGraphPrivate; typedef struct _GdaGraphPrivate GdaGraphPrivate;
typedef struct _GdaGraphQuery GdaGraphQuery; typedef struct _GdaGraphQuery GdaGraphQuery;
typedef struct _GdaGraphQueryClass GdaGraphQueryClass; typedef struct _GdaGraphQueryClass GdaGraphQueryClass;
typedef struct _GdaGraphQueryPrivate GdaGraphQueryPrivate; typedef struct _GdaGraphQueryPrivate GdaGraphQueryPrivate;
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added


 gda-dict.h   gda-dict.h 
skipping to change at line 29 skipping to change at line 29
*/ */
#ifndef __GDA_DICT_H_ #ifndef __GDA_DICT_H_
#define __GDA_DICT_H_ #define __GDA_DICT_H_
#include <glib-object.h> #include <glib-object.h>
#include <libgda/gda-decl.h> #include <libgda/gda-decl.h>
#include <libgda/gda-value.h> #include <libgda/gda-value.h>
#include <libgda/gda-enums.h> #include <libgda/gda-enums.h>
/* #include <libgda/gda-dict-reg-aggregates.h> */ /*
You will need to include these when including gda-dict.h,
to use some functions.
TODO: Avoid this awkwarness:
#include <libgda/gda-dict-reg-aggregates.h>
#include <libgda/gda-dict-reg-functions.h>
*/
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_DICT (gda_dict_get_type()) #define GDA_TYPE_DICT (gda_dict_get_type())
#define GDA_DICT(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gda_dict_ge t_type(), GdaDict) #define GDA_DICT(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, gda_dict_ge t_type(), GdaDict)
#define GDA_DICT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gda_dict_get _type (), GdaDictClass) #define GDA_DICT_CLASS(klass) G_TYPE_CHECK_CLASS_CAST (klass, gda_dict_get _type (), GdaDictClass)
#define GDA_IS_DICT(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_dict_ge t_type ()) #define GDA_IS_DICT(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, gda_dict_ge t_type ())
/* error reporting */ /* error reporting */
extern GQuark gda_dict_error_quark (void); extern GQuark gda_dict_error_quark (void);
 End of changes. 1 change blocks. 
1 lines changed or deleted 7 lines changed or added


 gda-enum-types.h   gda-enum-types.h 
#ifndef __LIBGDA_ENUM_TYPES_H__ #ifndef __LIBGDA_ENUM_TYPES_H__
#define __LIBGDA_ENUM_TYPES_H__ #define __LIBGDA_ENUM_TYPES_H__
#include <glib-object.h> #include <glib-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* enumerations from "gda-blob.h" */
GType gda_blob_mode_get_type (void);
#define GDA_TYPE_BLOB_MODE (gda_blob_mode_get_type())
/* enumerations from "gda-client.h" */ /* enumerations from "gda-client.h" */
GType gda_client_event_get_type (void); GType gda_client_event_get_type (void);
#define GDA_TYPE_CLIENT_EVENT (gda_client_event_get_type()) #define GDA_TYPE_CLIENT_EVENT (gda_client_event_get_type())
GType gda_client_error_get_type (void); GType gda_client_error_get_type (void);
#define GDA_TYPE_CLIENT_ERROR (gda_client_error_get_type()) #define GDA_TYPE_CLIENT_ERROR (gda_client_error_get_type())
/* enumerations from "gda-column-index.h" */ /* enumerations from "gda-column-index.h" */
GType gda_sorting_get_type (void); GType gda_sorting_get_type (void);
#define GDA_TYPE_SORTING (gda_sorting_get_type()) #define GDA_TYPE_SORTING (gda_sorting_get_type())
/* enumerations from "gda-command.h" */ /* enumerations from "gda-command.h" */
GType gda_command_options_get_type (void); GType gda_command_options_get_type (void);
skipping to change at line 159 skipping to change at line 156
/* enumerations from "gda-server-operation.h" */ /* enumerations from "gda-server-operation.h" */
GType gda_server_operation_type_get_type (void); GType gda_server_operation_type_get_type (void);
#define GDA_TYPE_SERVER_OPERATION_TYPE (gda_server_operation_type_get_type( )) #define GDA_TYPE_SERVER_OPERATION_TYPE (gda_server_operation_type_get_type( ))
GType gda_server_operation_node_type_get_type (void); GType gda_server_operation_node_type_get_type (void);
#define GDA_TYPE_SERVER_OPERATION_NODE_TYPE (gda_server_operation_node_type _get_type()) #define GDA_TYPE_SERVER_OPERATION_NODE_TYPE (gda_server_operation_node_type _get_type())
GType gda_server_operation_node_status_get_type (void); GType gda_server_operation_node_status_get_type (void);
#define GDA_TYPE_SERVER_OPERATION_NODE_STATUS (gda_server_operation_node_st atus_get_type()) #define GDA_TYPE_SERVER_OPERATION_NODE_STATUS (gda_server_operation_node_st atus_get_type())
/* enumerations from "gda-transaction-status.h" */ /* enumerations from "gda-transaction-status.h" */
GType gda_transaction_status_event_type_get_type (void); GType gda_transaction_status_event_type_get_type (void);
#define GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE (gda_transaction_status_even t_type_get_type()) #define GDA_TYPE_TRANSACTION_STATUS_EVENT_TYPE (gda_transaction_status_even t_type_get_type())
GType gda_transaction_status_state_get_type (void);
#define GDA_TYPE_TRANSACTION_STATUS_STATE (gda_transaction_status_state_get
_type())
/* enumerations from "libgda.h" */ /* enumerations from "libgda.h" */
GType gda_general_error_get_type (void); GType gda_general_error_get_type (void);
#define GDA_TYPE_GENERAL_ERROR (gda_general_error_get_type()) #define GDA_TYPE_GENERAL_ERROR (gda_general_error_get_type())
G_END_DECLS G_END_DECLS
#endif /* __LIBGDA_ENUM_TYPES_H__ */ #endif /* __LIBGDA_ENUM_TYPES_H__ */
 End of changes. 2 change blocks. 
3 lines changed or deleted 3 lines changed or added


 gda-handler-bin.h   gda-handler-bin.h 
/* gda-handler-bin.h /* gda-handler-bin.h
* *
* Copyright (C) 2005 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 54 skipping to change at line 54
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerBinClass struct _GdaHandlerBinClass
{ {
GdaObjectClass parent_class; GdaObjectClass parent_class;
}; };
GType gda_handler_bin_get_type (void); GType gda_handler_bin_get_type (void);
GdaDataHandler *gda_handler_bin_new (void); GdaDataHandler *gda_handler_bin_new (void);
GdaDataHandler *gda_handler_bin_new_with_prov (GdaServerProvider *prov, Gda Connection *cnc);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added


 gda-handler-string.h   gda-handler-string.h 
/* gda-handler-string.h /* gda-handler-string.h
* *
* Copyright (C) 2003 - 2005 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 52 skipping to change at line 52
GdaHandlerStringPriv *priv; GdaHandlerStringPriv *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
struct _GdaHandlerStringClass struct _GdaHandlerStringClass
{ {
GdaObjectClass parent_class; GdaObjectClass parent_class;
}; };
GType gda_handler_string_get_type (void); GType gda_handler_string_get_type (void);
GdaDataHandler *gda_handler_string_new (void); GdaDataHandler *gda_handler_string_new (void);
GdaDataHandler *gda_handler_string_new_with_provider (GdaServerProvider *pr
ov, GdaConnection *cnc);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
3 lines changed or deleted 5 lines changed or added


 gda-parameter-list.h   gda-parameter-list.h 
/* gda-parameter-list.h /* gda-parameter-list.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 144 skipping to change at line 144
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);
GdaParameter *gda_parameter_list_find_param (GdaPar ameterList *paramlist, GdaParameter *gda_parameter_list_find_param (GdaPar ameterList *paramlist,
const g char *param_name); const g char *param_name);
GdaParameter *gda_parameter_list_find_param_for_user (GdaPar
ameterList *paramlist,
GdaObje
ct *user);
GdaParameterListNode *gda_parameter_list_find_node_for_param (GdaPar ameterList *paramlist, GdaParameterListNode *gda_parameter_list_find_node_for_param (GdaPar ameterList *paramlist,
GdaPara meter *param); GdaPara meter *param);
GdaParameterListSource *gda_parameter_list_find_source (GdaPar ameterList *paramlist, GdaParameterListSource *gda_parameter_list_find_source (GdaPar ameterList *paramlist,
GdaData Model *model); GdaData Model *model);
GdaParameterListSource *gda_parameter_list_find_source_for_param (GdaPar ameterList *paramlist, GdaParameterListSource *gda_parameter_list_find_source_for_param (GdaPar ameterList *paramlist,
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,
 End of changes. 2 change blocks. 
5 lines changed or deleted 1 lines changed or added


 gda-parameter.h   gda-parameter.h 
skipping to change at line 68 skipping to change at line 68
}; };
GType gda_parameter_get_type (void); GType gda_parameter_get_type (void);
GdaParameter *gda_parameter_new (GType type); GdaParameter *gda_parameter_new (GType type);
GdaParameter *gda_parameter_new_copy (GdaParameter *orig); GdaParameter *gda_parameter_new_copy (GdaParameter *orig);
GType gda_parameter_get_g_type (GdaParameter *param); GType gda_parameter_get_g_type (GdaParameter *param);
GdaParameter *gda_parameter_new_string (const gchar * name, const gchar *str); GdaParameter *gda_parameter_new_string (const gchar * name, const gchar *str);
GdaParameter *gda_parameter_new_boolean (const gchar * name, gboolean value); GdaParameter *gda_parameter_new_boolean (const gchar * name, gboolean value);
void gda_parameter_declare_param_user (GdaParameter
*param, GdaObject *user);
GSList *gda_parameter_get_param_users (GdaParameter
*param);
void gda_parameter_replace_param_users (GdaParameter
*param, GHashTable *replacements);
const GValue *gda_parameter_get_value (GdaParameter *param); const GValue *gda_parameter_get_value (GdaParameter *param);
gchar *gda_parameter_get_value_str (GdaParameter *param); gchar *gda_parameter_get_value_str (GdaParameter *param);
void gda_parameter_set_value (GdaParameter *param, const GValue *value); void gda_parameter_set_value (GdaParameter *param, const GValue *value);
gboolean gda_parameter_set_value_str (GdaParameter *param, const gchar *value); gboolean gda_parameter_set_value_str (GdaParameter *param, const gchar *value);
void gda_parameter_declare_invalid (GdaParameter *param); void gda_parameter_declare_invalid (GdaParameter *param);
gboolean gda_parameter_is_valid (GdaParameter *param); gboolean gda_parameter_is_valid (GdaParameter *param);
const GValue *gda_parameter_get_default_value (GdaParameter *param); const GValue *gda_parameter_get_default_value (GdaParameter *param);
void gda_parameter_set_default_value (GdaParameter *param, const GValue *value); void gda_parameter_set_default_value (GdaParameter *param, const GValue *value);
 End of changes. 1 change blocks. 
7 lines changed or deleted 0 lines changed or added


 gda-query-field-value.h   gda-query-field-value.h 
/* gda-query-field-value.h /* gda-query-field-value.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 73 skipping to change at line 73
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); GType gda_query_field_value_get_g_type (GdaQueryFieldV alue *field);
void gda_query_field_value_set_dict_type (GdaQueryFieldV alue *field, GdaDictType *type); void gda_query_field_value_set_dict_type (GdaQueryFieldV alue *field, GdaDictType *type);
GdaDictType *gda_query_field_value_get_dict_type (GdaQueryFieldV alue *field); 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_is_parameter (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
#endif #endif
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added


 gda-query.h   gda-query.h 
skipping to change at line 63 skipping to change at line 63
GDA_QUERY_XML_LOAD_ERROR, GDA_QUERY_XML_LOAD_ERROR,
GDA_QUERY_META_DATA_UPDATE, GDA_QUERY_META_DATA_UPDATE,
GDA_QUERY_FIELDS_ERROR, GDA_QUERY_FIELDS_ERROR,
GDA_QUERY_TARGETS_ERROR, GDA_QUERY_TARGETS_ERROR,
GDA_QUERY_RENDER_ERROR, GDA_QUERY_RENDER_ERROR,
GDA_QUERY_PARSE_ERROR, GDA_QUERY_PARSE_ERROR,
GDA_QUERY_SYNTAX_ERROR, GDA_QUERY_SYNTAX_ERROR,
GDA_QUERY_STRUCTURE_ERROR, GDA_QUERY_STRUCTURE_ERROR,
GDA_QUERY_SQL_ANALYSE_ERROR, GDA_QUERY_SQL_ANALYSE_ERROR,
GDA_QUERY_NO_CNC_ERROR, GDA_QUERY_NO_CNC_ERROR,
GDA_QUERY_CNC_CLOSED_ERROR GDA_QUERY_CNC_CLOSED_ERROR,
GDA_QUERY_EXEC_ERROR
} GdaQueryError; } GdaQueryError;
/* struct for the object's data */ /* struct for the object's data */
struct _GdaQuery struct _GdaQuery
{ {
GdaQueryObject object; GdaQueryObject object;
GdaQueryPrivate *priv; GdaQueryPrivate *priv;
}; };
/* struct for the object's class */ /* struct for the object's class */
skipping to change at line 108 skipping to change at line 109
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_modif_query (GdaQuery *query);
gboolean gda_query_is_well_formed (GdaQuery *query, GdaPa rameterList *context, GError **error);
GdaQuery *gda_query_get_parent_query (GdaQuery *query); GdaQuery *gda_query_get_parent_query (GdaQuery *query);
GSList *gda_query_get_parameters (GdaQuery *query); GSList *gda_query_get_parameters (GdaQuery *query);
GdaParameterList *gda_query_get_parameter_list (GdaQuery *query); GdaParameterList *gda_query_get_parameter_list (GdaQuery *query);
GdaObject *gda_query_execute (GdaQuery *query, GdaPa rameterList *params, GdaObject *gda_query_execute (GdaQuery *query, GdaPa rameterList *params,
gboolean iter_model_onl y_requested, GError **error); gboolean iter_model_onl y_requested, GError **error);
/* if SQL queries */ /* if SQL queries */
void gda_query_set_sql_text (GdaQuery *query, const gchar *sql, GError **error); void gda_query_set_sql_text (GdaQuery *query, const gchar *sql, GError **error);
const gchar *gda_query_get_sql_text (GdaQuery *query); const gchar *gda_query_get_sql_text (GdaQuery *query);
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 gda-renderer.h   gda-renderer.h 
/* gda-renderer.h /* gda-renderer.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 38 skipping to change at line 38
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_RENDERER (gda_renderer_get_type()) #define GDA_TYPE_RENDERER (gda_renderer_get_type())
#define GDA_RENDERER(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYP E_RENDERER, GdaRenderer) #define GDA_RENDERER(obj) G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TYP E_RENDERER, GdaRenderer)
#define GDA_IS_RENDERER(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYP E_RENDERER) #define GDA_IS_RENDERER(obj) G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TYP E_RENDERER)
#define GDA_RENDERER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDA_TYPE_RENDERER, GdaRendererIface)) #define GDA_RENDERER_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GDA_TYPE_RENDERER, GdaRendererIface))
/* rendering options */ /* rendering options */
typedef enum { typedef enum {
GDA_RENDERER_EXTRA_PRETTY_SQL = 1 << 0, GDA_RENDERER_EXTRA_PRETTY_SQL = 1 << 0,
GDA_RENDERER_EXTRA_VAL_ATTRS = 1 << 1, GDA_RENDERER_PARAMS_AS_DETAILED = 1 << 1,
GDA_RENDERER_ERROR_IF_DEFAULT = 1 << 2, GDA_RENDERER_ERROR_IF_DEFAULT = 1 << 2,
GDA_RENDERER_FIELDS_NO_TARGET_ALIAS = 1 << 3 GDA_RENDERER_FIELDS_NO_TARGET_ALIAS = 1 << 3,
GDA_RENDERER_PARAMS_AS_COLON = 1 << 4,/* params as :param_nam
e */
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 gchar *(* render_as_sql) (GdaRenderer *iface, GdaParameterLis
t *context, guint options, GError **error); t *context, GSList **out_params_used,
guint 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 gchar *gda_renderer_render_as_sql (GdaRenderer *iface, GdaParame
terList *context, guint options, GError **error); terList *context, GSList **out_params_used,
guint options, GError **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. 5 change blocks. 
7 lines changed or deleted 14 lines changed or added


 gda-server-provider-extra.h   gda-server-provider-extra.h 
skipping to change at line 58 skipping to change at line 58
gboolean gda_server_provider_handler_info_equal_func (GdaServerProvi derHandlerInfo *a, gboolean gda_server_provider_handler_info_equal_func (GdaServerProvi derHandlerInfo *a,
GdaServerProvid erHandlerInfo *b); GdaServerProvid erHandlerInfo *b);
void gda_server_provider_handler_info_free (GdaServerProvi derHandlerInfo *info); void gda_server_provider_handler_info_free (GdaServerProvi derHandlerInfo *info);
GdaDataHandler *gda_server_provider_handler_find (GdaServerProvi der *prov, GdaConnection *cnc, GdaDataHandler *gda_server_provider_handler_find (GdaServerProvi der *prov, GdaConnection *cnc,
GType g_type, c onst gchar *dbms_type); GType g_type, c onst gchar *dbms_type);
void gda_server_provider_handler_declare (GdaServerProvi der *prov, GdaDataHandler *dh, void gda_server_provider_handler_declare (GdaServerProvi der *prov, GdaDataHandler *dh,
GdaConnection * cnc, GdaConnection * cnc,
GType g_type, c onst gchar *dbms_type); GType g_type, c onst gchar *dbms_type);
/*
* misc
*/
gboolean gda_server_provider_blob_list_for_update (GdaConnection
*cnc, GdaQuery *query,
GdaQuery **out_
select, GError **error);
gboolean gda_server_provider_blob_list_for_delete (GdaConnection
*cnc, GdaQuery *query,
GdaQuery **out_
select, GError **error);
gboolean gda_server_provider_split_update_query (GdaConnection
*cnc, GdaQuery *query,
GdaQuery **out_
query, GError **error);
gboolean gda_server_provider_select_query_has_blobs (GdaConnection
*cnc, GdaQuery *query, GError **error);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 18 lines changed or added


 gda-server-provider.h   gda-server-provider.h 
/* GDA library /* GDA 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>
* 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 130 skipping to change at line 130
GType g_type, GType g_type,
const gchar *dbms_type) ; const gchar *dbms_type) ;
GValue *(* string_to_value) (GdaServerProvider *provi der, GValue *(* string_to_value) (GdaServerProvider *provi der,
GdaConnection *cnc, GdaConnection *cnc,
const gchar *string, const gchar *string,
GType prefered_type, GType prefered_type,
gchar **dbms_type); gchar **dbms_type);
const gchar *(*get_def_dbms_type) (GdaServerProvider *prov ider, const gchar *(*get_def_dbms_type) (GdaServerProvider *prov ider,
GdaConnection *cnc, GdaConnection *cnc,
GType g_type); GType g_type);
gchar *(*escape_string) (GdaServerProvider *prov
ider,
GdaConnection *cnc, con
st gchar *str);
gchar *(*unescape_string) (GdaServerProvider *prov
ider,
GdaConnection *cnc, con
st gchar *str);
/* connections management */ /* connections management */
gboolean (* open_connection) (GdaServerProvider *provi der, gboolean (* open_connection) (GdaServerProvider *provi der,
GdaConnection *cnc, GdaConnection *cnc,
GdaQuarkList *params, GdaQuarkList *params,
const gchar *username, const gchar *username,
const gchar *password); const gchar *password);
gboolean (* close_connection) (GdaServerProvider *prov ider, gboolean (* close_connection) (GdaServerProvider *prov ider,
GdaConnection *cnc); GdaConnection *cnc);
skipping to change at line 161 skipping to change at line 165
gchar *(* render_operation) (GdaServerProvider *pr ovider, GdaConnection *cnc, gchar *(* render_operation) (GdaServerProvider *pr ovider, GdaConnection *cnc,
GdaServerOperation *o p, GError **error); GdaServerOperation *o p, GError **error);
gboolean (* perform_operation) (GdaServerProvider *pr ovider, GdaConnection *cnc, gboolean (* perform_operation) (GdaServerProvider *pr ovider, GdaConnection *cnc,
GdaServerOperation *o p, GError **error); GdaServerOperation *o p, GError **error);
/* commands */ /* commands */
GList *(* execute_command) (GdaServerProvider *prov ider, GList *(* execute_command) (GdaServerProvider *prov ider,
GdaConnection *cnc, GdaConnection *cnc,
GdaCommand *cmd, GdaCommand *cmd,
GdaParameterList *param s); GdaParameterList *param s);
GdaObject *(* execute_query) (GdaServerProvider *provid
er,
GdaConnection *cnc,
GdaQuery *query,
GdaParameterList *params)
;
char *(* get_last_insert_id) (GdaServerProvider *p rovider, char *(* get_last_insert_id) (GdaServerProvider *p rovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaDataModel *recset ); GdaDataModel *recset );
/* transactions */ /* transactions */
gboolean (* begin_transaction) (GdaServerProvider *pr ovider, gboolean (* begin_transaction) (GdaServerProvider *pr ovider,
GdaConnection *cnc, GdaConnection *cnc,
const gchar *name, Gd aTransactionIsolation level, const gchar *name, Gd aTransactionIsolation level,
GError **error); GError **error);
gboolean (* commit_transaction) (GdaServerProvider *p rovider, gboolean (* commit_transaction) (GdaServerProvider *p rovider,
skipping to change at line 187 skipping to change at line 195
GdaConnection *cnc, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
gboolean (* rollback_savepoint) (GdaServerProvider *p rovider, gboolean (* rollback_savepoint) (GdaServerProvider *p rovider,
GdaConnection *cnc, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
gboolean (* delete_savepoint) (GdaServerProvider *p rovider, gboolean (* delete_savepoint) (GdaServerProvider *p rovider,
GdaConnection *cnc, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
/* blobs */ /* blobs */
GdaBlob *(* create_blob) (GdaServerProvider *provider
,
GdaConnection *cnc);
GdaBlob *(* fetch_blob) (GdaServerProvider *provider,
GdaConnection *cnc, const gc
har *sql_id);
gpointer reserved1; /* is_reserved_word() ? */ gpointer reserved1; /* is_reserved_word() ? */
gpointer reserved2; /* ping_or_reconnect() ? */ gpointer reserved2; /* ping_or_reconnect() ? */
gpointer reserved3; gpointer reserved3;
gpointer reserved4; gpointer reserved4;
}; };
GType gda_server_provider_get_type (void); GType gda_server_provider_get_type (void);
/* provider information */ /* provider information */
const gchar *gda_server_provider_get_version (GdaServerPro vider *provider); const gchar *gda_server_provider_get_version (GdaServerPro vider *provider);
skipping to change at line 233 skipping to change at line 235
GdaConnect ion *cnc, GdaConnect ion *cnc,
const gcha r *string, const gcha r *string,
GType pref ered_type, GType pref ered_type,
gchar **db ms_type); gchar **db ms_type);
gchar *gda_server_provider_value_to_sql_string (GdaServer Provider *provider, gchar *gda_server_provider_value_to_sql_string (GdaServer Provider *provider,
GdaConnect ion *cnc, GdaConnect ion *cnc,
GValue *fr om); GValue *fr om);
const gchar *gda_server_provider_get_default_dbms_type (GdaServer Provider *provider, const gchar *gda_server_provider_get_default_dbms_type (GdaServer Provider *provider,
GdaConnect ion *cnc, GdaConnect ion *cnc,
GType type ); GType type );
gchar *gda_server_provider_escape_string (GdaServer
Provider *provider,
GdaConnect
ion *cnc, const gchar *str);
gchar *gda_server_provider_unescape_string (GdaServer
Provider *provider,
GdaConnect
ion *cnc, const gchar *str);
/* connections management */ /* connections management */
gboolean gda_server_provider_open_connection (GdaServerProvi der *provider, gboolean gda_server_provider_open_connection (GdaServerProvi der *provider,
GdaConnection * cnc, GdaConnection * cnc,
GdaQuarkList *p arams, GdaQuarkList *p arams,
const gchar *us ername, const gchar *us ername,
const gchar *pa ssword); const gchar *pa ssword);
gboolean gda_server_provider_close_connection (GdaServerProvi der *provider, gboolean gda_server_provider_close_connection (GdaServerProvi der *provider,
GdaConnection * cnc); GdaConnection * cnc);
skipping to change at line 266 skipping to change at line 272
gchar *gda_server_provider_render_operation (GdaServerPro vider *provider, GdaConnection *cnc, gchar *gda_server_provider_render_operation (GdaServerPro vider *provider, GdaConnection *cnc,
GdaServerOper ation *op, GError **error); GdaServerOper ation *op, GError **error);
gboolean gda_server_provider_perform_operation (GdaServerPro vider *provider, GdaConnection *cnc, gboolean gda_server_provider_perform_operation (GdaServerPro vider *provider, GdaConnection *cnc,
GdaServerOper ation *op, GError **error); GdaServerOper ation *op, GError **error);
/* commands */ /* commands */
GList *gda_server_provider_execute_command (GdaServerProvider *pr ovider, GList *gda_server_provider_execute_command (GdaServerProvider *pr ovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaCommand *cmd, GdaCommand *cmd,
GdaParameterList *para ms); GdaParameterList *para ms);
GdaObject *gda_server_provider_execute_query (GdaServerProvider *prov
ider,
GdaConnection *cnc,
GdaQuery *query,
GdaParameterList *params
);
gchar *gda_server_provider_get_last_insert_id (GdaServerProvider *pr ovider, gchar *gda_server_provider_get_last_insert_id (GdaServerProvider *pr ovider,
GdaConnection *cnc, GdaConnection *cnc,
GdaDataModel *recset); GdaDataModel *recset);
/* transactions */ /* transactions */
gboolean gda_server_provider_begin_transaction (GdaServerProvider * provider, gboolean gda_server_provider_begin_transaction (GdaServerProvider * provider,
GdaConnection *cnc, GdaConnection *cnc,
const gchar *name, G daTransactionIsolation level, const gchar *name, G daTransactionIsolation level,
GError **error); GError **error);
gboolean gda_server_provider_commit_transaction (GdaServerProvider * provider, gboolean gda_server_provider_commit_transaction (GdaServerProvider * provider,
skipping to change at line 288 skipping to change at line 298
gboolean gda_server_provider_rollback_transaction (GdaServerProvider * provider, gboolean gda_server_provider_rollback_transaction (GdaServerProvider * provider,
GdaConnection *cnc, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
gboolean gda_server_provider_add_savepoint (GdaServerProvider * provider, GdaConnection *cnc, gboolean gda_server_provider_add_savepoint (GdaServerProvider * provider, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
gboolean gda_server_provider_rollback_savepoint (GdaServerProvider * provider, GdaConnection *cnc, gboolean gda_server_provider_rollback_savepoint (GdaServerProvider * provider, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
gboolean gda_server_provider_delete_savepoint (GdaServerProvider * provider, GdaConnection *cnc, gboolean gda_server_provider_delete_savepoint (GdaServerProvider * provider, GdaConnection *cnc,
const gchar *name, G Error **error); const gchar *name, G Error **error);
/* blobs */
GdaBlob *gda_server_provider_create_blob (GdaServerProvider *
provider,
GdaConnection *cnc);
GdaBlob *gda_server_provider_fetch_blob_by_id (GdaServerProvider *
provider,
GdaConnection *cnc,
const gchar *sql_id);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 7 change blocks. 
18 lines changed or deleted 29 lines changed or added


 gda-transaction-status.h   gda-transaction-status.h 
skipping to change at line 50 skipping to change at line 50
typedef struct _GdaTransactionStatus GdaTransactionStatus; typedef struct _GdaTransactionStatus GdaTransactionStatus;
typedef struct _GdaTransactionStatusClass GdaTransactionStatusClass; typedef struct _GdaTransactionStatusClass GdaTransactionStatusClass;
typedef struct _GdaTransactionStatusEvent GdaTransactionStatusEvent; typedef struct _GdaTransactionStatusEvent GdaTransactionStatusEvent;
typedef enum { typedef enum {
GDA_TRANSACTION_STATUS_EVENT_SAVEPOINT, GDA_TRANSACTION_STATUS_EVENT_SAVEPOINT,
GDA_TRANSACTION_STATUS_EVENT_SQL, GDA_TRANSACTION_STATUS_EVENT_SQL,
GDA_TRANSACTION_STATUS_EVENT_SUB_TRANSACTION, GDA_TRANSACTION_STATUS_EVENT_SUB_TRANSACTION,
} GdaTransactionStatusEventType; } GdaTransactionStatusEventType;
typedef enum {
GDA_TRANSACTION_STATUS_STATE_OK,
GDA_TRANSACTION_STATUS_STATE_FAILED
} GdaTransactionStatusState;
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 reserved1;
gpointer reserved2; gpointer reserved2;
}; };
struct _GdaTransactionStatus { struct _GdaTransactionStatus {
GObject object; GObject object;
gchar *name; gchar *name;
GdaTransactionIsolation isolation_level; GdaTransactionIsolation isolation_level;
GList *events; GdaTransactionStatusState state;
GList *events;
}; };
struct _GdaTransactionStatusClass { struct _GdaTransactionStatusClass {
GObjectClass parent_class; GObjectClass parent_class;
gpointer reserved[10]; gpointer reserved[10];
}; };
GType gda_transaction_status_get_type (void); GType gda_transaction_status_get_type (void);
GdaTransactionStatus *gda_transaction_status_new (const gchar *name); GdaTransactionStatus *gda_transaction_status_new (const gchar *name);
 End of changes. 3 change blocks. 
4 lines changed or deleted 10 lines changed or added


 gda-util.h   gda-util.h 
skipping to change at line 46 skipping to change at line 46
* Type utilities * Type utilities
*/ */
const gchar *gda_g_type_to_string (GType type); const gchar *gda_g_type_to_string (GType type);
GType gda_g_type_from_string (const gchar *str); GType gda_g_type_from_string (const gchar *str);
GList *gda_string_hash_to_list (GHashTable *hash_table); GList *gda_string_hash_to_list (GHashTable *hash_table);
/* /*
* SQL escaping * SQL escaping
*/ */
gchar *gda_default_escape_chars (const gchar *string); gchar *gda_default_escape_string (const gchar *string);
gchar *gda_default_unescape_chars (const gchar *string); gchar *gda_default_unescape_string (const gchar *string);
/* /*
* File management utility functions * File management utility functions
*/ */
gchar *gda_file_load (const gchar *filename); gchar *gda_file_load (const gchar *filename);
gboolean gda_file_save (const gchar *filename, const gchar *buffer, gint l en); gboolean gda_file_save (const gchar *filename, const gchar *buffer, gint l en);
/* /*
* utilities dealing with storing and retreiving GdaDictField's attributes * utilities dealing with storing and retreiving GdaDictField's attributes
* which is a list of comma separated keywords * which is a list of comma separated keywords
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added


 gda-value.h   gda-value.h 
/* GDA library /* GDA library
* Copyright (C) 1998 - 2006 The GNOME Foundation. * Copyright (C) 1998 - 2007 The GNOME Foundation.
* *
* AUTHORS: * AUTHORS:
* Michael Lausch <michael@lausch.at> * Michael Lausch <michael@lausch.at>
* Rodrigo Moya <rodrigo@gnome-db.org> * Rodrigo Moya <rodrigo@gnome-db.org>
* Juan-Mariano de Goyeneche <jmseyas@dit.upm.es> (BLOB issues) * Juan-Mariano de Goyeneche <jmseyas@dit.upm.es> (BLOB issues)
* Daniel Espinosa Ortiz <esodan@gmail.com> (Port to GValue) * Daniel Espinosa Ortiz <esodan@gmail.com> (Port to GValue)
* *
* 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 34 skipping to change at line 34
*/ */
#ifndef __GDA_VALUE_H__ #ifndef __GDA_VALUE_H__
#define __GDA_VALUE_H__ #define __GDA_VALUE_H__
#include <time.h> #include <time.h>
#include <glib/glist.h> #include <glib/glist.h>
#include <glib/gmacros.h> #include <glib/gmacros.h>
#include <glib-object.h> #include <glib-object.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libgda/gda-blob.h> #include <libgda/gda-decl.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TIMEZONE_INVALID (2*12*60*60) #define GDA_TIMEZONE_INVALID (2*12*60*60)
/* Definition of the GType's values used in GValue*/ /* Definition of the GType's values used in GValue*/
#define GDA_TYPE_NULL 0 #define GDA_TYPE_NULL 0
#define GDA_TYPE_BINARY (gda_binary_get_type()) #define GDA_TYPE_BINARY (gda_binary_get_type())
#define GDA_TYPE_BLOB (gda_blob_get_type()) #define GDA_TYPE_BLOB (gda_blob_get_type())
#define GDA_TYPE_GEOMETRIC_POINT (gda_geometricpoint_get_type()) #define GDA_TYPE_GEOMETRIC_POINT (gda_geometricpoint_get_type())
skipping to change at line 98 skipping to change at line 98
gushort second; gushort second;
gulong fraction; gulong fraction;
glong timezone; /* # of seconds to the east UTC */ glong timezone; /* # of seconds to the east UTC */
} GdaTimestamp; } GdaTimestamp;
typedef struct { typedef struct {
guchar *data; guchar *data;
glong binary_length; glong binary_length;
} GdaBinary; } GdaBinary;
typedef struct {
GdaBinary data;
GdaBlobOp *op; /* set up by providers if the GdaBlob is linked to so
mething actually existing in the database,
useable by anyone */
} 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 size); GValue *gda_value_new_binary (guchar *val, glong size);
GValue *gda_value_new_blob (guchar *val, glong si ze);
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) ;
GValue *gda_value_copy (const GValue *value); GValue *gda_value_copy (const GValue *value);
G_CONST_RETURN GdaBinary *gda_value_get_binary (const GValue *value ); G_CONST_RETURN GdaBinary *gda_value_get_binary (const GValue *value );
void gda_value_set_binary (GValue *value, cons t GdaBinary *binary); void gda_value_set_binary (GValue *value, cons t GdaBinary *binary);
void gda_value_take_binary (GValue *value, con st GdaBinary *binary); void gda_value_take_binary (GValue *value, con st GdaBinary *binary);
G_CONST_RETURN GdaBlob *gda_value_get_blob (const GValue *value); G_CONST_RETURN GdaBlob *gda_value_get_blob (const GValue *value);
void gda_value_set_blob (GValue *value, const void gda_value_set_blob (GValue *value, const
GdaBlob *val); GdaBlob *blob);
void gda_value_take_blob (GValue *value, const
GdaBlob *blob);
G_CONST_RETURN GdaGeometricPoint *gda_value_get_geometric_point (const GVal ue *value); G_CONST_RETURN GdaGeometricPoint *gda_value_get_geometric_point (const GVal ue *value);
void gda_value_set_geometric_point (GValue *va lue, const GdaGeometricPoint *val); void gda_value_set_geometric_point (GValue *va lue, const GdaGeometricPoint *val);
G_CONST_RETURN GdaValueList *gda_value_get_list (const GValue *value); G_CONST_RETURN GdaValueList *gda_value_get_list (const GValue *value);
void gda_value_set_list (GValue *value, const GdaValueList *val); void gda_value_set_list (GValue *value, const GdaValueList *val);
void gda_value_set_null (GValue *value); void gda_value_set_null (GValue *value);
G_CONST_RETURN GdaNumeric *gda_value_get_numeric (const GValue *valu e); G_CONST_RETURN GdaNumeric *gda_value_get_numeric (const GValue *valu e);
void gda_value_set_numeric (GValue *value, con st GdaNumeric *val); void gda_value_set_numeric (GValue *value, con st GdaNumeric *val);
gshort gda_value_get_short (const GValue *value) ; gshort gda_value_get_short (const GValue *value) ;
void gda_value_set_short (GValue *value, const gshort val); void gda_value_set_short (GValue *value, const gshort val);
gushort gda_value_get_ushort (const GValue *value ); gushort gda_value_get_ushort (const GValue *value );
skipping to change at line 152 skipping to change at line 161
gboolean gda_value_set_from_value (GValue *value, const GValue *from); gboolean gda_value_set_from_value (GValue *value, const GValue *from);
gint gda_value_compare (const GValue *value1, const GValue *value2); gint gda_value_compare (const GValue *value1, const GValue *value2);
gint gda_value_compare_ext (const GValue *valu e1, const GValue *value2); gint gda_value_compare_ext (const GValue *valu e1, const GValue *value2);
gchar *gda_value_stringify (const GValue *value) ; gchar *gda_value_stringify (const GValue *value) ;
xmlNodePtr gda_value_to_xml (const GValue *value); xmlNodePtr gda_value_to_xml (const GValue *value);
gchar *gda_binary_to_string (const GdaBinary *bi n, guint maxlen); gchar *gda_binary_to_string (const GdaBinary *bi n, guint maxlen);
gboolean gda_string_to_binary (const gchar *str, G daBinary *bin); gboolean gda_string_to_binary (const gchar *str, G daBinary *bin);
gchar *gda_blob_to_string (GdaBlob *blob, guint
maxlen);
gboolean gda_string_to_blob (const gchar *str, Gda
Blob *blob);
/* Custom data types */ /* Custom data types */
GType gda_numeric_get_type (void) G_GNUC_CONST; GType gda_numeric_get_type (void) G_GNUC_CONST;
gpointer gda_numeric_copy (gpointer boxed) G_GNUC_ CONST; gpointer gda_numeric_copy (gpointer boxed) G_GNUC_ CONST;
void gda_numeric_free (gpointer boxed) G_GNUC_ CONST; void gda_numeric_free (gpointer boxed) G_GNUC_ CONST;
GType gda_time_get_type(void) G_GNUC_CONST; GType gda_time_get_type (void) G_GNUC_CONST;
gpointer gda_time_copy (gpointer boxed) G_GNUC_CON ST; gpointer gda_time_copy (gpointer boxed) G_GNUC_CON ST;
void gda_time_free (gpointer boxed) G_GNUC_CON ST; void gda_time_free (gpointer boxed) G_GNUC_CON ST;
GType gda_timestamp_get_type(void) G_GNUC_CONST ; GType gda_timestamp_get_type (void) G_GNUC_CONS T;
gpointer gda_timestamp_copy (gpointer boxed) G_GNU C_CONST; gpointer gda_timestamp_copy (gpointer boxed) G_GNU C_CONST;
void gda_timestamp_free (gpointer boxed) G_GNU C_CONST; void gda_timestamp_free (gpointer boxed) G_GNU C_CONST;
GType gda_geometricpoint_get_type(void) G_GNUC_ CONST; GType gda_geometricpoint_get_type (void) G_GNUC _CONST;
gpointer gda_geometricpoint_copy (gpointer boxed) G_GNUC_CONST; gpointer gda_geometricpoint_copy (gpointer boxed) G_GNUC_CONST;
void gda_geometricpoint_free (gpointer boxed) G_GNUC_CONST; void gda_geometricpoint_free (gpointer boxed) G_GNUC_CONST;
GType gda_binary_get_type(void) G_GNUC_CONST; GType gda_binary_get_type (void) G_GNUC_CONST;
gpointer gda_binary_copy (gpointer boxed) G_GNUC_C ONST; gpointer gda_binary_copy (gpointer boxed) G_GNUC_C ONST;
void gda_binary_free (gpointer boxed) G_GNUC_C ONST; void gda_binary_free (gpointer boxed) G_GNUC_C ONST;
GType gda_blob_get_type (void) G_GNUC_CONST;
gpointer gda_blob_copy (gpointer boxed) G_GNUC_CON
ST;
void gda_blob_free (gpointer boxed) G_GNUC_CON
ST;
void gda_blob_set_op (GdaBlob *blob, GdaBlobOp
*op);
GType gda_value_list_get_type (void) G_GNUC_CON ST; GType gda_value_list_get_type (void) G_GNUC_CON ST;
GType gda_short_get_type (void) G_GNUC_CONST; GType gda_short_get_type (void) G_GNUC_CONST;
GType gda_ushort_get_type (void) G_GNUC_CONST; GType gda_ushort_get_type (void) G_GNUC_CONST;
/* Helper macros */ /* Helper macros */
#define gda_value_new_null() (g_new0 (GValue, 1)) #define gda_value_new_null() (g_new0 (GValue, 1))
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 11 change blocks. 
8 lines changed or deleted 32 lines changed or added


 libgda.h   libgda.h 
skipping to change at line 29 skipping to change at line 29
* *
* 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 __LIBGDA_H__ #ifndef __LIBGDA_H__
#define __LIBGDA_H__ #define __LIBGDA_H__
#include <libgda/gda-blob.h>
#include <libgda/gda-client.h> #include <libgda/gda-client.h>
#include <libgda/gda-column-index.h> #include <libgda/gda-column-index.h>
#include <libgda/gda-column.h> #include <libgda/gda-column.h>
#include <libgda/gda-command.h> #include <libgda/gda-command.h>
#include <libgda/gda-config.h> #include <libgda/gda-config.h>
#include <libgda/gda-connection-event.h> #include <libgda/gda-connection-event.h>
#include <libgda/gda-connection.h> #include <libgda/gda-connection.h>
#include <libgda/gda-connection-private.h> #include <libgda/gda-connection-private.h>
#include <libgda/gda-data-model-array.h> #include <libgda/gda-data-model-array.h>
#include <libgda/gda-data-model-hash.h> #include <libgda/gda-data-model-hash.h>
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 lines changed or added


 sql_parser.h   sql_parser.h 
skipping to change at line 170 skipping to change at line 170
struct sql_table struct sql_table
{ {
sql_table_type type; sql_table_type type;
union union
{ {
char *simple; char *simple;
sql_select_statement *select; sql_select_statement *select;
struct struct
{ {
gchar *funcname; char *funcname; /* Takes ownership: freed in sql_des troy_table(). */
GList *funcarglist; GList *funcarglist;
} }
function; function;
} }
d; d;
char *as; char *as;
sql_join_type join_type; sql_join_type join_type;
sql_where *join_cond; sql_where *join_cond;
}; };
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 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/