gda-column.h   gda-column.h 
skipping to change at line 31 skipping to change at line 31
* 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_COLUMN_H__ #ifndef __GDA_COLUMN_H__
#define __GDA_COLUMN_H__ #define __GDA_COLUMN_H__
#include <glib-object.h> #include <glib-object.h>
#include <libgda/gda-value.h> #include <libgda/gda-value.h>
#include <glib/gmacros.h> #include <glib.h>
#include <libgda/gda-decl.h> #include <libgda/gda-decl.h>
G_BEGIN_DECLS G_BEGIN_DECLS
#define GDA_TYPE_COLUMN (gda_column_get_type()) #define GDA_TYPE_COLUMN (gda_column_get_type())
#define GDA_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TY PE_COLUMN, GdaColumn)) #define GDA_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST (obj, GDA_TY PE_COLUMN, GdaColumn))
#define GDA_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYP E_COLUMN, GdaColumnClass)) #define GDA_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (klass, GDA_TYP E_COLUMN, GdaColumnClass))
#define GDA_IS_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TY PE_COLUMN)) #define GDA_IS_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_TYPE (obj, GDA_TY PE_COLUMN))
#define GDA_IS_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_T YPE_COLUMN)) #define GDA_IS_COLUMN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDA_T YPE_COLUMN))
skipping to change at line 84 skipping to change at line 84
gboolean gda_column_get_auto_increment (GdaColumn *column); gboolean gda_column_get_auto_increment (GdaColumn *column);
void gda_column_set_auto_increment (GdaColumn *column, gboolean is_auto); void gda_column_set_auto_increment (GdaColumn *column, gboolean is_auto);
gint gda_column_get_position (GdaColumn *column); gint gda_column_get_position (GdaColumn *column);
void gda_column_set_position (GdaColumn *column, gint posi tion); void gda_column_set_position (GdaColumn *column, gint posi tion);
const GValue *gda_column_get_default_value (GdaColumn *column); const GValue *gda_column_get_default_value (GdaColumn *column);
void gda_column_set_default_value (GdaColumn *column, const GVa lue *default_value); void gda_column_set_default_value (GdaColumn *column, const GVa lue *default_value);
const GValue *gda_column_get_attribute (GdaColumn *column, const gch ar *attribute); const GValue *gda_column_get_attribute (GdaColumn *column, const gch ar *attribute);
void gda_column_set_attribute (GdaColumn *column, const gch void gda_column_set_attribute (GdaColumn *column, const gch
ar *attribute, const GValue *value); ar *attribute, const GValue *value,
GDestroyNotify destroy);
/**
* gda_column_set_attribute_static
*
* This function is similar to gda_column_set_attribute() but for static st
rings
*/
#define gda_column_set_attribute_static(holder,attribute,value) gda_column_
set_attribute((holder),(attribute),(value),NULL)
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
3 lines changed or deleted 13 lines changed or added


 gda-connection.h   gda-connection.h 
skipping to change at line 53 skipping to change at line 53
#define GDA_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GD A_TYPE_CONNECTION)) #define GDA_IS_CONNECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GD A_TYPE_CONNECTION))
/* error reporting */ /* error reporting */
extern GQuark gda_connection_error_quark (void); extern GQuark gda_connection_error_quark (void);
#define GDA_CONNECTION_ERROR gda_connection_error_quark () #define GDA_CONNECTION_ERROR gda_connection_error_quark ()
typedef enum { typedef enum {
GDA_CONNECTION_DSN_NOT_FOUND_ERROR, GDA_CONNECTION_DSN_NOT_FOUND_ERROR,
GDA_CONNECTION_PROVIDER_NOT_FOUND_ERROR, GDA_CONNECTION_PROVIDER_NOT_FOUND_ERROR,
GDA_CONNECTION_PROVIDER_ERROR, GDA_CONNECTION_PROVIDER_ERROR,
GDA_CONNECTION_CONN_OPEN_ERROR,
GDA_CONNECTION_DO_QUERY_ERROR,
GDA_CONNECTION_NONEXIST_DSN_ERROR,
GDA_CONNECTION_NO_CNC_SPEC_ERROR, GDA_CONNECTION_NO_CNC_SPEC_ERROR,
GDA_CONNECTION_NO_PROVIDER_SPEC_ERROR, GDA_CONNECTION_NO_PROVIDER_SPEC_ERROR,
GDA_CONNECTION_OPEN_ERROR, GDA_CONNECTION_OPEN_ERROR,
GDA_CONNECTION_EXECUTE_COMMAND_ERROR,
GDA_CONNECTION_STATEMENT_TYPE_ERROR GDA_CONNECTION_STATEMENT_TYPE_ERROR
} GdaConnectionError; } GdaConnectionError;
#define GDA_CONNECTION_NONEXIST_DSN_ERROR GDA_CONNECTION_DSN_NOT_FOUND_ERRO R
struct _GdaConnection { struct _GdaConnection {
GObject object; GObject object;
GdaConnectionPrivate *priv; GdaConnectionPrivate *priv;
}; };
struct _GdaConnectionClass { struct _GdaConnectionClass {
GObjectClass object_class; GObjectClass object_class;
/* signals */ /* signals */
void (*error) (GdaConnection *cnc, GdaConnecti onEvent *error); void (*error) (GdaConnection *cnc, GdaConnecti onEvent *error);
void (*conn_opened) (GdaConnection *obj); void (*conn_opened) (GdaConnection *obj);
void (*conn_to_close) (GdaConnection *obj); void (*conn_to_close) (GdaConnection *obj);
void (*conn_closed) (GdaConnection *obj); void (*conn_closed) (GdaConnection *obj);
void (*dsn_changed) (GdaConnection *obj); void (*dsn_changed) (GdaConnection *obj);
void (*transaction_status_changed)(GdaConnection *obj); void (*transaction_status_changed)(GdaConnection *obj);
}; };
typedef enum { typedef enum {
GDA_CONNECTION_OPTIONS_NONE = 0, GDA_CONNECTION_OPTIONS_NONE = 0,
GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0, GDA_CONNECTION_OPTIONS_READ_ONLY = 1 << 0
} GdaConnectionOptions; } GdaConnectionOptions;
typedef enum { typedef enum {
GDA_CONNECTION_FEATURE_AGGREGATES, GDA_CONNECTION_FEATURE_AGGREGATES,
GDA_CONNECTION_FEATURE_BLOBS, GDA_CONNECTION_FEATURE_BLOBS,
GDA_CONNECTION_FEATURE_INDEXES, GDA_CONNECTION_FEATURE_INDEXES,
GDA_CONNECTION_FEATURE_INHERITANCE, GDA_CONNECTION_FEATURE_INHERITANCE,
GDA_CONNECTION_FEATURE_NAMESPACES, GDA_CONNECTION_FEATURE_NAMESPACES,
GDA_CONNECTION_FEATURE_PROCEDURES, GDA_CONNECTION_FEATURE_PROCEDURES,
GDA_CONNECTION_FEATURE_SEQUENCES, GDA_CONNECTION_FEATURE_SEQUENCES,
 End of changes. 4 change blocks. 
5 lines changed or deleted 2 lines changed or added


 gda-data-comparator.h   gda-data-comparator.h 
skipping to change at line 53 skipping to change at line 53
GDA_DATA_COMPARATOR_MISSING_DATA_MODEL_ERROR, GDA_DATA_COMPARATOR_MISSING_DATA_MODEL_ERROR,
GDA_DATA_COMPARATOR_COLUMN_TYPES_MISMATCH_ERROR, GDA_DATA_COMPARATOR_COLUMN_TYPES_MISMATCH_ERROR,
GDA_DATA_COMPARATOR_MODEL_ACCESS_ERROR, GDA_DATA_COMPARATOR_MODEL_ACCESS_ERROR,
GDA_DATA_COMPARATOR_USER_CANCELLED_ERROR GDA_DATA_COMPARATOR_USER_CANCELLED_ERROR
} GdaDataComparatorError; } GdaDataComparatorError;
/* differences reporting */ /* differences reporting */
typedef enum { typedef enum {
GDA_DIFF_ADD_ROW, GDA_DIFF_ADD_ROW,
GDA_DIFF_REMOVE_ROW, GDA_DIFF_REMOVE_ROW,
GDA_DIFF_MODIFY_ROW, GDA_DIFF_MODIFY_ROW
} GdaDiffType; } GdaDiffType;
typedef struct { typedef struct {
GdaDiffType type; GdaDiffType type;
gint old_row; gint old_row;
gint new_row; gint new_row;
GHashTable *values; /* key = ('+' or '-') and a column position sta rting at 0 (string) GHashTable *values; /* key = ('+' or '-') and a column position sta rting at 0 (string)
* value = a GValue pointer */ * value = a GValue pointer */
} GdaDiff; } GdaDiff;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-data-model-iter-extra.h   gda-data-model-iter-extra.h 
skipping to change at line 28 skipping to change at line 28
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GDA_DATA_MODEL_ITER_EXTRA_H_ #ifndef __GDA_DATA_MODEL_ITER_EXTRA_H_
#define __GDA_DATA_MODEL_ITER_EXTRA_H_ #define __GDA_DATA_MODEL_ITER_EXTRA_H_
#include "gda-data-model-iter.h" #include "gda-data-model-iter.h"
G_BEGIN_DECLS G_BEGIN_DECLS
gboolean gda_data_model_iter_move_at_row_default (GdaDataModel *model, GdaD ataModelIter *iter, gint row); gboolean gda_data_model_iter_move_to_row_default (GdaDataModel *model, GdaD ataModelIter *iter, gint row);
gboolean gda_data_model_iter_move_next_default (GdaDataModel *model, GdaD ataModelIter *iter); gboolean gda_data_model_iter_move_next_default (GdaDataModel *model, GdaD ataModelIter *iter);
gboolean gda_data_model_iter_move_prev_default (GdaDataModel *model, GdaD ataModelIter *iter); gboolean gda_data_model_iter_move_prev_default (GdaDataModel *model, GdaD ataModelIter *iter);
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-data-model-iter.h   gda-data-model-iter.h 
skipping to change at line 66 skipping to change at line 66
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;
const GValue *gda_data_model_iter_get_value_at (GdaDataModelIte r *iter, gint col); const GValue *gda_data_model_iter_get_value_at (GdaDataModelIte r *iter, gint col);
const GValue *gda_data_model_iter_get_value_for_field (GdaDataModelIte r *iter, const gchar *field_name); const GValue *gda_data_model_iter_get_value_for_field (GdaDataModelIte r *iter, const gchar *field_name);
gboolean gda_data_model_iter_set_value_at (GdaDataModelIte r *iter, gint col, gboolean gda_data_model_iter_set_value_at (GdaDataModelIte r *iter, gint col,
const GValue *va lue, GError **error); const GValue *va lue, GError **error);
gboolean gda_data_model_iter_move_at_row (GdaDataModelIte r *iter, gint row); gboolean gda_data_model_iter_move_to_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);
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);
GdaHolder *gda_data_model_iter_get_holder_for_field (GdaDataModelIte r *iter, gint col); GdaHolder *gda_data_model_iter_get_holder_for_field (GdaDataModelIte r *iter, gint col);
#define gda_data_model_iter_move_at_row gda_data_model_iter_move_to_row
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added


 gda-data-select.h   gda-data-select.h 
skipping to change at line 103 skipping to change at line 103
gboolean gda_data_select_set_row_selection_condition (GdaDataSele ct *model, GdaSqlExpr *expr, GError **error); gboolean gda_data_select_set_row_selection_condition (GdaDataSele ct *model, GdaSqlExpr *expr, GError **error);
gboolean gda_data_select_set_row_selection_condition_sql (GdaDataSele ct *model, const gchar *sql_where, GError **error); gboolean gda_data_select_set_row_selection_condition_sql (GdaDataSele ct *model, const gchar *sql_where, GError **error);
gboolean gda_data_select_compute_row_selection_condition (GdaDataSele ct *model, GError **error); gboolean gda_data_select_compute_row_selection_condition (GdaDataSele ct *model, GError **error);
gboolean gda_data_select_set_modification_statement (GdaDataSele ct *model, GdaStatement *mod_stmt, GError **error); gboolean gda_data_select_set_modification_statement (GdaDataSele ct *model, GdaStatement *mod_stmt, GError **error);
gboolean gda_data_select_set_modification_statement_sql (GdaDataSele ct *model, const gchar *sql, GError **error); gboolean gda_data_select_set_modification_statement_sql (GdaDataSele ct *model, const gchar *sql, GError **error);
gboolean gda_data_select_compute_modification_statements (GdaDataSele ct *model, GError **error); gboolean gda_data_select_compute_modification_statements (GdaDataSele ct *model, GError **error);
gboolean gda_data_select_compute_columns_attributes (GdaDataSele ct *model, GError **error); gboolean gda_data_select_compute_columns_attributes (GdaDataSele ct *model, GError **error);
GdaConnection *gda_data_select_get_connection (GdaDataSele ct *model);
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 gda-easy.h   gda-easy.h 
skipping to change at line 49 skipping to change at line 49
#define GDA_EASY_ERROR gda_easy_error_quark () #define GDA_EASY_ERROR gda_easy_error_quark ()
typedef enum { typedef enum {
GDA_EASY_OBJECT_NAME_ERROR, GDA_EASY_OBJECT_NAME_ERROR,
GDA_EASY_INCORRECT_VALUE_ERROR, GDA_EASY_INCORRECT_VALUE_ERROR,
GDA_EASY_OPERATION_ERROR GDA_EASY_OPERATION_ERROR
} GdaEasyError; } GdaEasyError;
typedef enum typedef enum
{ {
GDA_EASY_CREATE_TABLE_PKEY_FLAG = 1 << 0, GDA_EASY_CREATE_TABLE_NOTHING_FLAG = 1 << 0,
GDA_EASY_CREATE_TABLE_NOT_NULL_FLAG = 1 << 1, GDA_EASY_CREATE_TABLE_PKEY_FLAG = 1 << 1,
GDA_EASY_CREATE_TABLE_UNIQUE_FLAG = 1 << 2, GDA_EASY_CREATE_TABLE_NOT_NULL_FLAG = 1 << 2,
GDA_EASY_CREATE_TABLE_AUTOINC_FLAG = 1 << 3, GDA_EASY_CREATE_TABLE_UNIQUE_FLAG = 1 << 3,
GDA_EASY_CREATE_TABLE_AUTOINC_FLAG = 1 << 4,
GDA_EASY_CREATE_TABLE_FKEY_FLAG = 1 << 5,
/* Flags combinations */ /* Flags combinations */
GDA_EASY_CREATE_TABLE_PKEY_AUTOINC_FLAG = GDA_EASY_CREATE_TABLE_PKEY _FLAG | GDA_EASY_CREATE_TABLE_AUTOINC_FLAG GDA_EASY_CREATE_TABLE_PKEY_AUTOINC_FLAG = GDA_EASY_CREATE_TABLE_PKEY _FLAG | GDA_EASY_CREATE_TABLE_AUTOINC_FLAG
} GdaEasyCreateTableFlag; } GdaEasyCreateTableFlag;
/* /*
* Convenient Functions * Convenient Functions
*/ */
GdaDataHandler *gda_get_default_handler (GType for_type); GdaDataHandler *gda_get_default_handler (GType for_type);
/* /*
 End of changes. 1 change blocks. 
4 lines changed or deleted 6 lines changed or added


 gda-holder.h   gda-holder.h 
skipping to change at line 99 skipping to change at line 99
gboolean gda_holder_get_not_null (GdaHolder *holder); gboolean gda_holder_get_not_null (GdaHolder *holder);
gboolean gda_holder_set_source_model (GdaHolder *holder, GdaDataModel *model, gboolean gda_holder_set_source_model (GdaHolder *holder, GdaDataModel *model,
gint col, GError ** error); gint col, GError ** error);
GdaDataModel *gda_holder_get_source_model (GdaHolder *holder, gint *col); GdaDataModel *gda_holder_get_source_model (GdaHolder *holder, gint *col);
gboolean gda_holder_set_bind (GdaHolder *holder, GdaHolder *bind_to, GError **error); gboolean gda_holder_set_bind (GdaHolder *holder, GdaHolder *bind_to, GError **error);
GdaHolder *gda_holder_get_bind (GdaHolder *holder) ; GdaHolder *gda_holder_get_bind (GdaHolder *holder) ;
const GValue *gda_holder_get_attribute (GdaHolder *holder, const gchar *attribute); const GValue *gda_holder_get_attribute (GdaHolder *holder, const gchar *attribute);
void gda_holder_set_attribute (GdaHolder *holder, void gda_holder_set_attribute (GdaHolder *holder,
const gchar *attribute, const GValue *value); const gchar *attribute, const GValue *value,
GDestroyNotify dest
roy);
/**
* gda_holder_set_attribute_static
*
* This function is similar to gda_holder_set_attribute() but for static st
rings
*/
#define gda_holder_set_attribute_static(holder,attribute,value) gda_holder_
set_attribute((holder),(attribute),(value),NULL)
G_END_DECLS G_END_DECLS
#endif #endif
 End of changes. 1 change blocks. 
2 lines changed or deleted 13 lines changed or added


 gda-log.h   gda-log.h 
skipping to change at line 23 skipping to change at line 23
* *
* You should have received a copy of the GNU Library General Public * You should have received a copy of the GNU Library General Public
* License along with this Library; see the file COPYING.LIB. If not, * License along with this Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 , * write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330 ,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#if !defined(__gda_log_h__) #if !defined(__gda_log_h__)
# define __gda_log_h__ # define __gda_log_h__
#include <glib/gmacros.h> #include <glib.h>
#include <glib/gtypes.h>
#include <time.h> #include <time.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* /*
* For application generating logs * For application generating logs
*/ */
void gda_log_enable (void); void gda_log_enable (void);
void gda_log_disable (void); void gda_log_disable (void);
gboolean gda_log_is_enabled (void); gboolean gda_log_is_enabled (void);
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added


 gda-meta-store.h   gda-meta-store.h 
skipping to change at line 61 skipping to change at line 61
GDA_META_STORE_SCHEMA_OBJECT_DESCR_ERROR, GDA_META_STORE_SCHEMA_OBJECT_DESCR_ERROR,
GDA_META_STORE_TRANSACTION_ALREADY_STARTED_ERROR GDA_META_STORE_TRANSACTION_ALREADY_STARTED_ERROR
} GdaMetaStoreError; } GdaMetaStoreError;
/* /*
* tracking changes in the meta database * tracking changes in the meta database
*/ */
typedef enum { typedef enum {
GDA_META_STORE_ADD, GDA_META_STORE_ADD,
GDA_META_STORE_REMOVE, GDA_META_STORE_REMOVE,
GDA_META_STORE_MODIFY, GDA_META_STORE_MODIFY
} GdaMetaStoreChangeType; } GdaMetaStoreChangeType;
typedef struct { typedef struct {
/* change general information */ /* change general information */
GdaMetaStoreChangeType c_type; GdaMetaStoreChangeType c_type;
gchar *table_name; gchar *table_name;
GHashTable *keys; /* key = ('+' or '-') and a column pos ition in @table (string) starting at 0, GHashTable *keys; /* key = ('+' or '-') and a column pos ition in @table (string) starting at 0,
* value = a GValue pointer */ * value = a GValue pointer */
} GdaMetaStoreChange; } GdaMetaStoreChange;
/* suggestion */ /* suggestion */
typedef struct { typedef struct {
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 gda-meta-struct.h   gda-meta-struct.h 
skipping to change at line 152 skipping to change at line 152
typedef struct { typedef struct {
gchar *column_name; gchar *column_name;
gchar *column_type; gchar *column_type;
GType gtype; GType gtype;
gboolean pkey; gboolean pkey;
gboolean nullok; gboolean nullok;
gchar *default_value; gchar *default_value;
} GdaMetaTableColumn; } GdaMetaTableColumn;
#define GDA_META_TABLE_COLUMN(x) ((GdaMetaTableColumn*)(x)) #define GDA_META_TABLE_COLUMN(x) ((GdaMetaTableColumn*)(x))
const GValue *gda_meta_table_column_get_attribute (GdaMetaTableColumn *tcol , const gchar *att_name); const GValue *gda_meta_table_column_get_attribute (GdaMetaTableColumn *tcol , const gchar *att_name);
void gda_meta_table_column_set_attribute (GdaMetaTableColumn *tcol void gda_meta_table_column_set_attribute (GdaMetaTableColumn *tcol
, const gchar *att_name, const GValue *value); , const gchar *att_name, const GValue *value,
GDestroyNotify destroy);
/**
* gda_meta_table_column_set_attribute_static
*
* This function is similar to gda_meta_table_column_set_attribute() but fo
r static strings
*/
#define gda_meta_table_column_set_attribute_static(holder,attribute,value)
gda_meta_table_column_set_attribute((holder),(attribute),(value),NULL)
void gda_meta_table_column_foreach_attribute (GdaMetaTableColumn * tcol, GdaAttributesManagerFunc func, gpointer data); void gda_meta_table_column_foreach_attribute (GdaMetaTableColumn * tcol, GdaAttributesManagerFunc func, gpointer data);
typedef struct { typedef struct {
GdaMetaDbObject *meta_table; GdaMetaDbObject *meta_table;
GdaMetaDbObject *depend_on; GdaMetaDbObject *depend_on;
gint cols_nb; gint cols_nb;
gint *fk_cols_array; /* FK fields index */ gint *fk_cols_array; /* FK fields index */
gchar **fk_names_array; /* FK fields names */ gchar **fk_names_array; /* FK fields names */
gint *ref_pk_cols_array; /* Ref PK fields index */ gint *ref_pk_cols_array; /* Ref PK fields index */
skipping to change at line 175 skipping to change at line 183
#define GDA_META_TABLE_FOREIGN_KEY(x) ((GdaMetaTableForeignKey*)(x)) #define GDA_META_TABLE_FOREIGN_KEY(x) ((GdaMetaTableForeignKey*)(x))
GType gda_meta_struct_get_type (void) G_GNUC_CONST; GType gda_meta_struct_get_type (void) G_GNUC_CONST;
GdaMetaStruct *gda_meta_struct_new (GdaMetaStore *store , GdaMetaStructFeature features); GdaMetaStruct *gda_meta_struct_new (GdaMetaStore *store , GdaMetaStructFeature features);
GdaMetaDbObject *gda_meta_struct_complement (GdaMetaStruct *mstr uct, GdaMetaDbObjectType type, GdaMetaDbObject *gda_meta_struct_complement (GdaMetaStruct *mstr uct, GdaMetaDbObjectType type,
const GValue *catalo g, const GValue *schema, const GValue *name, const GValue *catalo g, const GValue *schema, const GValue *name,
GError **error); GError **error);
gboolean gda_meta_struct_complement_schema (GdaMetaStruct *mstr uct, gboolean gda_meta_struct_complement_schema (GdaMetaStruct *mstr uct,
const GValue *catalo g, const GValue *schema, GError **error); const GValue *catalo g, const GValue *schema, GError **error);
gboolean gda_meta_struct_complement_default (GdaMetaStruct *mstr uct, GError **error); gboolean gda_meta_struct_complement_default (GdaMetaStruct *mstr uct, GError **error);
gboolean gda_meta_struct_complement_all (GdaMetaStruct *mstr uct, GError **error);
gboolean gda_meta_struct_complement_depend (GdaMetaStruct *mstr uct, GdaMetaDbObject *dbo, gboolean gda_meta_struct_complement_depend (GdaMetaStruct *mstr uct, GdaMetaDbObject *dbo,
GError **error); GError **error);
gboolean gda_meta_struct_sort_db_objects (GdaMetaStruct *mstr uct, GdaMetaSortType sort_type, GError **error); gboolean gda_meta_struct_sort_db_objects (GdaMetaStruct *mstr uct, GdaMetaSortType sort_type, GError **error);
GSList *gda_meta_struct_get_all_db_objects (GdaMetaStruct *mstr uct); GSList *gda_meta_struct_get_all_db_objects (GdaMetaStruct *mstr uct);
GdaMetaDbObject *gda_meta_struct_get_db_object (GdaMetaStruct *mstr uct, GdaMetaDbObject *gda_meta_struct_get_db_object (GdaMetaStruct *mstr uct,
const GValue *catalo g, const GValue *schema, const GValue *name); const GValue *catalo g, const GValue *schema, const GValue *name);
GdaMetaTableColumn *gda_meta_struct_get_table_column (GdaMetaStruct *mstr uct, GdaMetaTable *table, GdaMetaTableColumn *gda_meta_struct_get_table_column (GdaMetaStruct *mstr uct, GdaMetaTable *table,
const GValue *col_na me); const GValue *col_na me);
 End of changes. 2 change blocks. 
2 lines changed or deleted 13 lines changed or added


 gda-quark-list.h   gda-quark-list.h 
skipping to change at line 27 skipping to change at line 27
* *
* 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_QUARK_LIST_H__ #ifndef __GDA_QUARK_LIST_H__
#define __GDA_QUARK_LIST_H__ #define __GDA_QUARK_LIST_H__
#include <glib/gmacros.h> #include <glib.h>
#include <glib/gtypes.h>
#include <glib-object.h> #include <glib-object.h>
G_BEGIN_DECLS G_BEGIN_DECLS
typedef struct _GdaQuarkList GdaQuarkList; typedef struct _GdaQuarkList GdaQuarkList;
#define GDA_TYPE_QUARK_LIST (gda_quark_list_get_type()) #define GDA_TYPE_QUARK_LIST (gda_quark_list_get_type())
GType gda_quark_list_get_type (void) G_GNUC_CONST; GType gda_quark_list_get_type (void) G_GNUC_CONST;
GdaQuarkList *gda_quark_list_new (void); GdaQuarkList *gda_quark_list_new (void);
 End of changes. 1 change blocks. 
2 lines changed or deleted 1 lines changed or added


 gda-server-provider.h   gda-server-provider.h 
skipping to change at line 307 skipping to change at line 307
/* types and values manipulation */ /* types and values manipulation */
GdaDataHandler *gda_server_provider_get_data_handler_g_type(GdaServe rProvider *provider, GdaDataHandler *gda_server_provider_get_data_handler_g_type(GdaServe rProvider *provider,
GdaConnect ion *cnc, GdaConnect ion *cnc,
GType for_ type); GType for_ type);
GdaDataHandler *gda_server_provider_get_data_handler_dbms (GdaServer Provider *provider, GdaDataHandler *gda_server_provider_get_data_handler_dbms (GdaServer Provider *provider,
GdaConnect ion *cnc, GdaConnect ion *cnc,
const gcha r *for_type); const gcha r *for_type);
GValue *gda_server_provider_string_to_value (GdaServer Provider *provider, GValue *gda_server_provider_string_to_value (GdaServer Provider *provider,
GdaConnect ion *cnc, GdaConnect ion *cnc,
const gcha r *string, const gcha r *string,
GType pref ered_type, GType pref erred_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, gchar *gda_server_provider_escape_string (GdaServer Provider *provider,
GdaConnect ion *cnc, const gchar *str); GdaConnect ion *cnc, const gchar *str);
gchar *gda_server_provider_unescape_string (GdaServer Provider *provider, gchar *gda_server_provider_unescape_string (GdaServer Provider *provider,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 gda-util.h   gda-util.h 
skipping to change at line 27 skipping to change at line 27
* *
* 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_UTIL_H__ #ifndef __GDA_UTIL_H__
#define __GDA_UTIL_H__ #define __GDA_UTIL_H__
#include <glib/ghash.h> #include <glib.h>
#include <glib/glist.h>
#include "gda-holder.h" #include "gda-holder.h"
#include "gda-row.h" #include "gda-row.h"
#include "gda-connection.h" #include "gda-connection.h"
#include <sql-parser/gda-sql-statement.h> #include <sql-parser/gda-sql-statement.h>
#include <libgda/gda-data-select.h>
G_BEGIN_DECLS G_BEGIN_DECLS
/* /*
* 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);
/* /*
skipping to change at line 58 skipping to change at line 58
gboolean gda_identifier_equal (const gchar *id1, const gchar *id2); gboolean gda_identifier_equal (const gchar *id1, const gchar *id2);
gchar **gda_completion_list_get (GdaConnection *cnc, const gchar *text , gint start, gint end); gchar **gda_completion_list_get (GdaConnection *cnc, const gchar *text , gint start, gint end);
/* /*
* Param & model utilities * Param & model utilities
*/ */
gboolean gda_utility_check_data_model (GdaDataModel *model, gint nbcols , ...); gboolean gda_utility_check_data_model (GdaDataModel *model, gint nbcols , ...);
gboolean gda_utility_data_model_dump_data_to_xml (GdaDataModel *model, xmlNodePtr parent, gboolean gda_utility_data_model_dump_data_to_xml (GdaDataModel *model, xmlNodePtr parent,
const gint *cols, gint nb_cols , const gint *rows, gint nb_rows, const gint *cols, gint nb_cols , const gint *rows, gint nb_rows,
gboolean use_col_ids); gboolean use_col_ids);
const gchar *gda_utility_data_model_find_column_description (GdaDataSelect *model, const gchar *field_name);
gboolean gda_utility_holder_load_attributes (GdaHolder *holder, xmlNode Ptr node, GSList *sources, GError **error); gboolean gda_utility_holder_load_attributes (GdaHolder *holder, xmlNode Ptr node, GSList *sources, GError **error);
/* /*
* translate any text to an alphanumerical text * translate any text to an alphanumerical text
*/ */
gchar *gda_text_to_alphanum (const gchar *text); gchar *gda_text_to_alphanum (const gchar *text);
gchar *gda_alphanum_to_text (gchar *text); gchar *gda_alphanum_to_text (gchar *text);
/* /*
* Statement computation from meta store * Statement computation from meta store
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added


 gda-value.h   gda-value.h 
skipping to change at line 30 skipping to change at line 30
* 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_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.h>
#include <glib/gmacros.h>
#include <glib-object.h> #include <glib-object.h>
#include <libxml/tree.h> #include <libxml/tree.h>
#include <libgda/gda-decl.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
skipping to change at line 113 skipping to change at line 112
} 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 (const guchar *val, glong size); GValue *gda_value_new_binary (const guchar *val, glong size);
GValue *gda_value_new_blob (const guchar *val, gl ong size); GValue *gda_value_new_blob (const guchar *val, gl ong size);
GValue *gda_value_new_blob_from_file (const gchar *filename);
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. 2 change blocks. 
2 lines changed or deleted 2 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/