| gda-data-model-import.h | | gda-data-model-import.h | |
| /* GDA common library | | /* GDA common library | |
|
| * Copyright (C) 2006 - 2009 The GNOME Foundation. | | * Copyright (C) 2006 - 2010 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
| * Vivien Malerba <malerba@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| * | | * | |
| * This Library is distributed in the hope that it will be useful, | | * This Library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| typedef struct _GdaDataModelImportPrivate GdaDataModelImportPrivate; | | typedef struct _GdaDataModelImportPrivate GdaDataModelImportPrivate; | |
| | | | |
| struct _GdaDataModelImport { | | struct _GdaDataModelImport { | |
| GObject object; | | GObject object; | |
| GdaDataModelImportPrivate *priv; | | GdaDataModelImportPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaDataModelImportClass { | | struct _GdaDataModelImportClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
|
| | | /*< private >*/ | |
| /* Padding for future expansion */ | | /* Padding for future expansion */ | |
| void (*_gda_reserved1) (void); | | void (*_gda_reserved1) (void); | |
| void (*_gda_reserved2) (void); | | void (*_gda_reserved2) (void); | |
| void (*_gda_reserved3) (void); | | void (*_gda_reserved3) (void); | |
| void (*_gda_reserved4) (void); | | void (*_gda_reserved4) (void); | |
| }; | | }; | |
| | | | |
| GType gda_data_model_import_get_type (void) G_GNUC_CONST; | | GType gda_data_model_import_get_type (void) G_GNUC_CONST; | |
| GdaDataModel *gda_data_model_import_new_file (const gchar *filename, gb
oolean random_access, GdaSet *options); | | GdaDataModel *gda_data_model_import_new_file (const gchar *filename, gb
oolean random_access, GdaSet *options); | |
| GdaDataModel *gda_data_model_import_new_mem (const gchar *data, gboole
an random_access, GdaSet *options); | | GdaDataModel *gda_data_model_import_new_mem (const gchar *data, gboole
an random_access, GdaSet *options); | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 2 lines changed or added | |
|
| gda-server-operation.h | | gda-server-operation.h | |
| | | | |
| skipping to change at line 146 | | skipping to change at line 146 | |
| Gda
ServerOperationNodeStatus *status); | | Gda
ServerOperationNodeStatus *status); | |
| gchar *gda_server_operation_get_node_parent (Gd
aServerOperation *op, const gchar *path); | | gchar *gda_server_operation_get_node_parent (Gd
aServerOperation *op, const gchar *path); | |
| gchar *gda_server_operation_get_node_path_portion (Gd
aServerOperation *op, const gchar *path); | | gchar *gda_server_operation_get_node_path_portion (Gd
aServerOperation *op, const gchar *path); | |
| | | | |
| const gchar *gda_server_operation_get_sequence_name (Gd
aServerOperation *op, const gchar *path); | | const gchar *gda_server_operation_get_sequence_name (Gd
aServerOperation *op, const gchar *path); | |
| guint gda_server_operation_get_sequence_size (Gd
aServerOperation *op, const gchar *path); | | guint gda_server_operation_get_sequence_size (Gd
aServerOperation *op, const gchar *path); | |
| guint gda_server_operation_get_sequence_max_size (Gd
aServerOperation *op, const gchar *path); | | guint gda_server_operation_get_sequence_max_size (Gd
aServerOperation *op, const gchar *path); | |
| guint gda_server_operation_get_sequence_min_size (Gd
aServerOperation *op, const gchar *path); | | guint gda_server_operation_get_sequence_min_size (Gd
aServerOperation *op, const gchar *path); | |
| gchar **gda_server_operation_get_sequence_item_names (Gd
aServerOperation *op, const gchar *path); | | gchar **gda_server_operation_get_sequence_item_names (Gd
aServerOperation *op, const gchar *path); | |
| | | | |
|
| guint gda_server_operation_add_item_to_sequence (Gd
aServerOperation *op, const gchar *path); | | guint gda_server_operation_add_item_to_sequence (Gd
aServerOperation *op, const gchar *seq_path); | |
| gboolean gda_server_operation_del_item_from_sequence (Gd
aServerOperation *op, const gchar *item_path); | | gboolean gda_server_operation_del_item_from_sequence (Gd
aServerOperation *op, const gchar *item_path); | |
| | | | |
| gboolean gda_server_operation_is_valid (Gd
aServerOperation *op, const gchar *xml_file, GError **error); | | gboolean gda_server_operation_is_valid (Gd
aServerOperation *op, const gchar *xml_file, GError **error); | |
| | | | |
| 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-sql-builder.h | | gda-sql-builder.h | |
| | | | |
| skipping to change at line 118 | | skipping to change at line 118 | |
| GdaSqlBuilderId gda_sql_builder_select_join_targets (GdaSqlBuilder *builder
, | | GdaSqlBuilderId gda_sql_builder_select_join_targets (GdaSqlBuilder *builder
, | |
| GdaSqlBuilderId left_
target_id, GdaSqlBuilderId right_target_id, | | GdaSqlBuilderId left_
target_id, GdaSqlBuilderId right_target_id, | |
| GdaSqlSelectJoinType
join_type, | | GdaSqlSelectJoinType
join_type, | |
| GdaSqlBuilderId join_
expr); | | GdaSqlBuilderId join_
expr); | |
| void gda_sql_builder_join_add_field (GdaSqlBuilder *builder, G
daSqlBuilderId join_id, const gchar *field_name); | | void gda_sql_builder_join_add_field (GdaSqlBuilder *builder, G
daSqlBuilderId join_id, const gchar *field_name); | |
| void gda_sql_builder_select_order_by (GdaSqlBuilder *builder,
GdaSqlBuilderId expr_id, | | void gda_sql_builder_select_order_by (GdaSqlBuilder *builder,
GdaSqlBuilderId expr_id, | |
| gboolean asc, const gchar
*collation_name); | | gboolean asc, const gchar
*collation_name); | |
| void gda_sql_builder_select_set_distinct (GdaSqlBuilder *build
er, | | void gda_sql_builder_select_set_distinct (GdaSqlBuilder *build
er, | |
| gboolean distinct, Gd
aSqlBuilderId expr_id); | | gboolean distinct, Gd
aSqlBuilderId expr_id); | |
| void gda_sql_builder_select_set_limit (GdaSqlBuilder *builder, | | void gda_sql_builder_select_set_limit (GdaSqlBuilder *builder, | |
|
| GdaSqlBuilderId limit_co
unt_expr_id, GdaSqlBuilderId limit_offest_expr_id); | | GdaSqlBuilderId limit_co
unt_expr_id, GdaSqlBuilderId limit_offset_expr_id); | |
| | | | |
| void gda_sql_builder_select_set_having (GdaSqlBuilder *builder
, GdaSqlBuilderId cond_id); | | void gda_sql_builder_select_set_having (GdaSqlBuilder *builder
, GdaSqlBuilderId cond_id); | |
| void gda_sql_builder_select_group_by (GdaSqlBuilder *builder,
GdaSqlBuilderId expr_id); | | void gda_sql_builder_select_group_by (GdaSqlBuilder *builder,
GdaSqlBuilderId expr_id); | |
| | | | |
| /* COMPOUND SELECT Statement API */ | | /* COMPOUND SELECT Statement API */ | |
| void gda_sql_builder_compound_set_type (GdaSqlBuilder *builder
, GdaSqlStatementCompoundType compound_type); | | void gda_sql_builder_compound_set_type (GdaSqlBuilder *builder
, GdaSqlStatementCompoundType compound_type); | |
| void gda_sql_builder_compound_add_sub_select (GdaSqlBuilder *b
uilder, GdaSqlStatement *sqlst); | | void gda_sql_builder_compound_add_sub_select (GdaSqlBuilder *b
uilder, GdaSqlStatement *sqlst); | |
| | | | |
| /* import/Export API */ | | /* import/Export API */ | |
| GdaSqlExpr *gda_sql_builder_export_expression (GdaSqlBuilder *builder
, GdaSqlBuilderId id); | | GdaSqlExpr *gda_sql_builder_export_expression (GdaSqlBuilder *builder
, GdaSqlBuilderId id); | |
| | | | |
End of changes. 1 change blocks. |
| 1 lines changed or deleted | | 1 lines changed or added | |
|
| gda-vconnection-data-model.h | | gda-vconnection-data-model.h | |
|
| /* GDA | | /* | |
| * Copyright (C) 2007 - 2009 The GNOME Foundation. | | * Copyright (C) 2007 - 2010 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
| * Vivien Malerba <malerba@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| * | | * | |
| * This Library is distributed in the hope that it will be useful, | | * This Library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 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_VCONNECTION_DATA_MODEL_H__ | | #ifndef __GDA_VCONNECTION_DATA_MODEL_H__ | |
| #define __GDA_VCONNECTION_DATA_MODEL_H__ | | #define __GDA_VCONNECTION_DATA_MODEL_H__ | |
| | | | |
| #include <virtual/gda-virtual-connection.h> | | #include <virtual/gda-virtual-connection.h> | |
|
| | | #include <sql-parser/gda-statement-struct-parts.h> | |
| | | | |
| #define GDA_TYPE_VCONNECTION_DATA_MODEL (gda_vconnection_data_mo
del_get_type()) | | #define GDA_TYPE_VCONNECTION_DATA_MODEL (gda_vconnection_data_mo
del_get_type()) | |
| #define GDA_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_C
AST (obj, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModel)) | | #define GDA_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_C
AST (obj, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModel)) | |
| #define GDA_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST
(klass, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModelClass)) | | #define GDA_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST
(klass, GDA_TYPE_VCONNECTION_DATA_MODEL, GdaVconnectionDataModelClass)) | |
| #define GDA_IS_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_T
YPE (obj, GDA_TYPE_VCONNECTION_DATA_MODEL)) | | #define GDA_IS_VCONNECTION_DATA_MODEL(obj) (G_TYPE_CHECK_INSTANCE_T
YPE (obj, GDA_TYPE_VCONNECTION_DATA_MODEL)) | |
| #define GDA_IS_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), GDA_TYPE_VCONNECTION_DATA_MODEL)) | | #define GDA_IS_VCONNECTION_DATA_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), GDA_TYPE_VCONNECTION_DATA_MODEL)) | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| typedef struct _GdaVconnectionDataModel GdaVconnectionDataModel; | | typedef struct _GdaVconnectionDataModel GdaVconnectionDataModel; | |
| typedef struct _GdaVconnectionDataModelClass GdaVconnectionDataModelClass; | | typedef struct _GdaVconnectionDataModelClass GdaVconnectionDataModelClass; | |
| typedef struct _GdaVconnectionDataModelPrivate GdaVconnectionDataModelPriva
te; | | typedef struct _GdaVconnectionDataModelPrivate GdaVconnectionDataModelPriva
te; | |
| typedef struct _GdaVconnectionDataModelSpec GdaVconnectionDataModelSpec; | | typedef struct _GdaVconnectionDataModelSpec GdaVconnectionDataModelSpec; | |
|
| | | typedef struct _GdaVconnectionDataModelFilter GdaVconnectionDataModelFilter
; | |
| | | | |
| typedef GList *(*GdaVconnectionDataModelCreateColumnsFunc) (GdaVconn
ectionDataModelSpec *, GError **); | | typedef GList *(*GdaVconnectionDataModelCreateColumnsFunc) (GdaVconn
ectionDataModelSpec *, GError **); | |
| typedef GdaDataModel *(*GdaVconnectionDataModelCreateModelFunc) (GdaVconn
ectionDataModelSpec *); | | typedef GdaDataModel *(*GdaVconnectionDataModelCreateModelFunc) (GdaVconn
ectionDataModelSpec *); | |
| typedef void (*GdaVconnectionDataModelFunc) (GdaDataModel *, const gchar *,
gpointer ); | | typedef void (*GdaVconnectionDataModelFunc) (GdaDataModel *, const gchar *,
gpointer ); | |
| | | | |
|
| | | /* | |
| | | * Enabling pre-filtering when creating a data model to be used as a table, | |
| | | * (structure closely mapped with SQLite's sqlite3_index_info type), to ena | |
| | | ble | |
| | | * the data model to perform some filter tasks itself. | |
| | | * | |
| | | * A pointer to this structure is passed to the GdaVconnectionDataModelPars | |
| | | eFilterFunc function | |
| | | * and the function has to modify the variables in the *Outputs* section (a | |
| | | nd nowhere else) | |
| | | * | |
| | | * The @idxNum and @idxPointer are passed to the GdaVconnectionDataModelCre | |
| | | ateFModelFunc function call | |
| | | * and they represent nothing specific except that the GdaVconnectionDataMo | |
| | | delParseFilterFunc and | |
| | | * GdaVconnectionDataModelCreateFModelFunc functions need to agree on their | |
| | | meaning. | |
| | | * | |
| | | * See the gda-vconnection-hub.c file for an usage example. | |
| | | */ | |
| | | struct _GdaVconnectionDataModelFilter { | |
| | | /* Inputs */ | |
| | | int nConstraint; /* Number of entries in aConstraint */ | |
| | | struct GdaVirtualConstraint { | |
| | | int iColumn; /* Column on left-hand side of constraint | |
| | | */ | |
| | | GdaSqlOperatorType op; /* Constraint operator, among _EQ, _ | |
| | | LT, _LEQ, _GT, _GEQ, _REGEXP */ | |
| | | } *aConstraint; /* Table of WHERE clause constraints */ | |
| | | int nOrderBy; /* Number of terms in the ORDER BY clause | |
| | | */ | |
| | | struct GdaVirtualOrderby { | |
| | | int iColumn; /* Column number */ | |
| | | gboolean desc; /* TRUE for DESC. FALSE for ASC. */ | |
| | | } *aOrderBy; /* The ORDER BY clause */ | |
| | | | |
| | | /* Outputs */ | |
| | | struct GdaVirtualConstraintUsage { | |
| | | int argvIndex; /* if >0, constraint is part of argv to x | |
| | | Filter */ | |
| | | gboolean omit; /* Do not code a test for this constraint | |
| | | if TRUE */ | |
| | | } *aConstraintUsage; | |
| | | int idxNum; /* Number used to identify the index */ | |
| | | gpointer idxPointer; /* Pointer used to identify the index */ | |
| | | gboolean orderByConsumed; /* TRUE if output is already ordered */ | |
| | | double estimatedCost; /* Estimated cost of using this index */ | |
| | | }; | |
| | | | |
| | | typedef void (*GdaVconnectionDataModelParseFilterFunc) (GdaVconn | |
| | | ectionDataModelSpec *, GdaVconnectionDataModelFilter *); | |
| | | typedef GdaDataModel *(*GdaVconnectionDataModelCreateFModelFunc) (GdaVconn | |
| | | ectionDataModelSpec *, | |
| | | int, cons | |
| | | t char *, int, GValue **); | |
| | | | |
| struct _GdaVconnectionDataModelSpec { | | struct _GdaVconnectionDataModelSpec { | |
| GdaDataModel *data_model; | | GdaDataModel *data_model; | |
| GdaVconnectionDataModelCreateColumnsFunc create_columns_func; | | GdaVconnectionDataModelCreateColumnsFunc create_columns_func; | |
| GdaVconnectionDataModelCreateModelFunc create_model_func; | | GdaVconnectionDataModelCreateModelFunc create_model_func; | |
| | | | |
|
| /* Padding for future expansion */ | | GdaVconnectionDataModelParseFilterFunc create_filter_func; | |
| void (*_gda_reserved1) (void); | | GdaVconnectionDataModelCreateFModelFunc create_filtered_model_func | |
| void (*_gda_reserved2) (void); | | ; | |
| }; | | }; | |
|
| | | | |
| #define GDA_VCONNECTION_DATA_MODEL_SPEC(x) ((GdaVconnectionDataModelSpec*)(
x)) | | #define GDA_VCONNECTION_DATA_MODEL_SPEC(x) ((GdaVconnectionDataModelSpec*)(
x)) | |
| | | | |
| struct _GdaVconnectionDataModel { | | struct _GdaVconnectionDataModel { | |
| GdaVirtualConnection connection; | | GdaVirtualConnection connection; | |
| GdaVconnectionDataModelPrivate *priv; | | GdaVconnectionDataModelPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaVconnectionDataModelClass { | | struct _GdaVconnectionDataModelClass { | |
| GdaVirtualConnectionClass parent_class; | | GdaVirtualConnectionClass parent_class; | |
| | | | |
| | | | |
End of changes. 6 change blocks. |
| 6 lines changed or deleted | | 63 lines changed or added | |
|
| gda-virtual-connection.h | | gda-virtual-connection.h | |
| /* GDA virtual connection | | /* GDA virtual connection | |
|
| * Copyright (C) 2007 - 2008 The GNOME Foundation. | | * Copyright (C) 2007 - 2010 The GNOME Foundation. | |
| * | | * | |
| * AUTHORS: | | * AUTHORS: | |
| * Vivien Malerba <malerba@gnome-db.org> | | * Vivien Malerba <malerba@gnome-db.org> | |
| * | | * | |
| * This Library is free software; you can redistribute it and/or | | * This Library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Library General Public License as | | * modify it under the terms of the GNU Library General Public License as | |
| * published by the Free Software Foundation; either version 2 of the | | * published by the Free Software Foundation; either version 2 of the | |
| * License, or (at your option) any later version. | | * License, or (at your option) any later version. | |
| * | | * | |
| * This Library is distributed in the hope that it will be useful, | | * This Library is distributed in the hope that it will be useful, | |
| | | | |
| skipping to change at line 49 | | skipping to change at line 49 | |
| typedef struct _GdaVirtualConnectionPrivate GdaVirtualConnectionPrivate; | | typedef struct _GdaVirtualConnectionPrivate GdaVirtualConnectionPrivate; | |
| | | | |
| struct _GdaVirtualConnection { | | struct _GdaVirtualConnection { | |
| GdaConnection connection; | | GdaConnection connection; | |
| GdaVirtualConnectionPrivate *priv; | | GdaVirtualConnectionPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaVirtualConnectionClass { | | struct _GdaVirtualConnectionClass { | |
| GdaConnectionClass parent_class; | | GdaConnectionClass parent_class; | |
| | | | |
|
| | | /*< private >*/ | |
| /* Padding for future expansion */ | | /* Padding for future expansion */ | |
| void (*_gda_reserved1) (void); | | void (*_gda_reserved1) (void); | |
| void (*_gda_reserved2) (void); | | void (*_gda_reserved2) (void); | |
| void (*_gda_reserved3) (void); | | void (*_gda_reserved3) (void); | |
| void (*_gda_reserved4) (void); | | void (*_gda_reserved4) (void); | |
| }; | | }; | |
| | | | |
| GType gda_virtual_connection_get_type (void) G_G
NUC_CONST; | | GType gda_virtual_connection_get_type (void) G_G
NUC_CONST; | |
| GdaConnection *gda_virtual_connection_open (GdaVirtua
lProvider *virtual_provider, GError **error); | | GdaConnection *gda_virtual_connection_open (GdaVirtua
lProvider *virtual_provider, GError **error); | |
| GdaConnection *gda_virtual_connection_open_extended (GdaVirtua
lProvider *virtual_provider, | | GdaConnection *gda_virtual_connection_open_extended (GdaVirtua
lProvider *virtual_provider, | |
| GdaConnect
ionOptions options, GError **error); | | GdaConnect
ionOptions options, GError **error); | |
| void gda_virtual_connection_internal_set_provider_data (GdaVirtua
lConnection *vcnc, | | void gda_virtual_connection_internal_set_provider_data (GdaVirtua
lConnection *vcnc, | |
| gpointer d
ata, GDestroyNotify destroy_func); | | gpointer d
ata, GDestroyNotify destroy_func); | |
|
| gpointer gda_virtual_connection_internal_get_provider_data (GdaVirtua
lConnection *cnc); | | gpointer gda_virtual_connection_internal_get_provider_data (GdaVirtua
lConnection *vcnc); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|
| gda-xa-transaction.h | | gda-xa-transaction.h | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| typedef struct _GdaXaTransactionPrivate GdaXaTransactionPrivate; | | typedef struct _GdaXaTransactionPrivate GdaXaTransactionPrivate; | |
| typedef struct _GdaXaTransactionId GdaXaTransactionId; | | typedef struct _GdaXaTransactionId GdaXaTransactionId; | |
| | | | |
| /* error reporting */ | | /* error reporting */ | |
| extern GQuark gda_xa_transaction_error_quark (void); | | extern GQuark gda_xa_transaction_error_quark (void); | |
| #define GDA_XA_TRANSACTION_ERROR gda_xa_transaction_error_quark () | | #define GDA_XA_TRANSACTION_ERROR gda_xa_transaction_error_quark () | |
| | | | |
| typedef enum | | typedef enum | |
| { | | { | |
| GDA_XA_TRANSACTION_ALREADY_REGISTERED_ERROR, | | GDA_XA_TRANSACTION_ALREADY_REGISTERED_ERROR, | |
|
| GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR | | GDA_XA_TRANSACTION_DTP_NOT_SUPPORTED_ERROR, | |
| | | GDA_XA_TRANSACTION_CONNECTION_BRANCH_LENGTH_ERROR | |
| } GdaXaTransactionError; | | } GdaXaTransactionError; | |
| | | | |
| struct _GdaXaTransaction { | | struct _GdaXaTransaction { | |
| GObject object; | | GObject object; | |
| GdaXaTransactionPrivate *priv; | | GdaXaTransactionPrivate *priv; | |
| }; | | }; | |
| | | | |
| struct _GdaXaTransactionClass { | | struct _GdaXaTransactionClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| | | | |
|
| | | /*< private >*/ | |
| /* Padding for future expansion */ | | /* Padding for future expansion */ | |
| void (*_gda_reserved1) (void); | | void (*_gda_reserved1) (void); | |
| void (*_gda_reserved2) (void); | | void (*_gda_reserved2) (void); | |
| void (*_gda_reserved3) (void); | | void (*_gda_reserved3) (void); | |
| void (*_gda_reserved4) (void); | | void (*_gda_reserved4) (void); | |
| }; | | }; | |
| | | | |
| struct _GdaXaTransactionId { | | struct _GdaXaTransactionId { | |
| guint32 format; /* any number */ | | guint32 format; /* any number */ | |
| gushort gtrid_length; /* 1-64 */ | | gushort gtrid_length; /* 1-64 */ | |
| | | | |
End of changes. 2 change blocks. |
| 1 lines changed or deleted | | 3 lines changed or added | |
|