gda-mutex.h | gda-mutex.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
* Boston, MA 02110-1301, USA. | * Boston, MA 02110-1301, USA. | |||
*/ | */ | |||
#ifndef __GDA_MUTEX_H__ | #ifndef __GDA_MUTEX_H__ | |||
#define __GDA_MUTEX_H__ | #define __GDA_MUTEX_H__ | |||
#include <glib.h> | #include <glib.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#if GLIB_CHECK_VERSION(2,31,7) | ||||
typedef GRecMutex GdaMutex; | ||||
#else | ||||
typedef struct _GdaMutex GdaMutex; | typedef struct _GdaMutex GdaMutex; | |||
#endif | ||||
/** | /** | |||
* SECTION:gda-mutex | * SECTION:gda-mutex | |||
* @short_description: Recursive mutex implementation | * @short_description: Recursive mutex implementation | |||
* @title: GdaMutex | * @title: GdaMutex | |||
* @stability: Stable | * @stability: Stable | |||
* @see_also: #GdaLockable and #GMutex | * @see_also: #GdaLockable and #GMutex | |||
* | * | |||
* #GdaMutex implements a recursive mutex (unlike the #GMutex implementatio n which offers no | * #GdaMutex implements a recursive mutex (unlike the #GMutex implementatio n which offers no | |||
* guarantee about recursiveness). A recursive mutex is a mutex which can b e locked several | * guarantee about recursiveness). A recursive mutex is a mutex which can b e locked several | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
gda-statement-extra.h | gda-statement-extra.h | |||
---|---|---|---|---|
skipping to change at line 127 | skipping to change at line 127 | |||
* @render_field: function to render a #GdaSqlField | * @render_field: function to render a #GdaSqlField | |||
* @render_table: function to render a #GdaSqlTable | * @render_table: function to render a #GdaSqlTable | |||
* @render_function: function to render a #GdaSqlFunction | * @render_function: function to render a #GdaSqlFunction | |||
* @render_operation: function to render a #GdaSqlOperation | * @render_operation: function to render a #GdaSqlOperation | |||
* @render_case: function to render a #GdaSqlCase | * @render_case: function to render a #GdaSqlCase | |||
* @render_select_field: function to render a #GdaSqlSelectField | * @render_select_field: function to render a #GdaSqlSelectField | |||
* @render_select_target: function to render a #GdaSqlSelectTarget | * @render_select_target: function to render a #GdaSqlSelectTarget | |||
* @render_select_join: function to render a #GdaSqlSelectJoin | * @render_select_join: function to render a #GdaSqlSelectJoin | |||
* @render_select_from: function to render a #GdaSqlSelectFrom | * @render_select_from: function to render a #GdaSqlSelectFrom | |||
* @render_select_order: function to render a #GdaSqlSelectOrder | * @render_select_order: function to render a #GdaSqlSelectOrder | |||
* @render_distinct: function to render the DISTINCT clause in a SELECT | ||||
*/ | */ | |||
struct _GdaSqlRenderingContext { | struct _GdaSqlRenderingContext { | |||
GdaStatementSqlFlag flags; | GdaStatementSqlFlag flags; | |||
GdaSet *params; | GdaSet *params; | |||
GSList *params_used; | GSList *params_used; | |||
GdaServerProvider *provider; /* may be NULL */ | GdaServerProvider *provider; /* may be NULL */ | |||
GdaConnection *cnc; /* may be NULL */ | GdaConnection *cnc; /* may be NULL */ | |||
/* rendering functions */ | /* rendering functions */ | |||
GdaSqlRenderingValue render_value; | GdaSqlRenderingValue render_value; | |||
skipping to change at line 165 | skipping to change at line 166 | |||
GdaSqlRenderingFunc render_field; | GdaSqlRenderingFunc render_field; | |||
GdaSqlRenderingFunc render_table; | GdaSqlRenderingFunc render_table; | |||
GdaSqlRenderingFunc render_function; | GdaSqlRenderingFunc render_function; | |||
GdaSqlRenderingFunc render_operation; | GdaSqlRenderingFunc render_operation; | |||
GdaSqlRenderingFunc render_case; | GdaSqlRenderingFunc render_case; | |||
GdaSqlRenderingFunc render_select_field; | GdaSqlRenderingFunc render_select_field; | |||
GdaSqlRenderingFunc render_select_target; | GdaSqlRenderingFunc render_select_target; | |||
GdaSqlRenderingFunc render_select_join; | GdaSqlRenderingFunc render_select_join; | |||
GdaSqlRenderingFunc render_select_from; | GdaSqlRenderingFunc render_select_from; | |||
GdaSqlRenderingFunc render_select_order; | GdaSqlRenderingFunc render_select_order; | |||
GdaSqlRenderingFunc render_distinct; | ||||
/*< private >*/ | /*< 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); | |||
void (*_gda_reserved5) (void); | void (*_gda_reserved5) (void); | |||
void (*_gda_reserved6) (void); | void (*_gda_reserved6) (void); | |||
void (*_gda_reserved7) (void); | void (*_gda_reserved7) (void); | |||
void (*_gda_reserved8) (void); | ||||
}; | }; | |||
/** | /** | |||
* SECTION:provider-support-sql | * SECTION:provider-support-sql | |||
* @short_description: Adapting the SQL to the database's own SQL dialect | * @short_description: Adapting the SQL to the database's own SQL dialect | |||
* @title: SQL rendering API | * @title: SQL rendering API | |||
* @stability: Stable | * @stability: Stable | |||
* @see_also: | * @see_also: | |||
* | * | |||
* &LIBGDA; is able to render a #GdaStatement statement to SQL in a generic way (as close as possible to the SQL | * &LIBGDA; is able to render a #GdaStatement statement to SQL in a generic way (as close as possible to the SQL | |||
End of changes. 3 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
gda-util.h | gda-util.h | |||
---|---|---|---|---|
skipping to change at line 105 | skipping to change at line 105 | |||
GError ** error); | GError ** error); | |||
gboolean gda_compute_dml_statements (GdaConnection *cnc, GdaStateme nt *select_stmt, gboolean require_pk, | gboolean gda_compute_dml_statements (GdaConnection *cnc, GdaStateme nt *select_stmt, gboolean require_pk, | |||
GdaStatement **insert_stmt, Gda Statement **update_stmt, GdaStatement **delete_stmt, | GdaStatement **insert_stmt, Gda Statement **update_stmt, GdaStatement **delete_stmt, | |||
GError **error); | GError **error); | |||
GdaSqlStatement *gda_compute_select_statement_from_update (GdaStatement *up date_stmt, GError **error); | GdaSqlStatement *gda_compute_select_statement_from_update (GdaStatement *up date_stmt, GError **error); | |||
GdaSqlStatement *gda_rewrite_sql_statement_for_null_parameters (GdaSqlState ment *sqlst, GdaSet *params, | GdaSqlStatement *gda_rewrite_sql_statement_for_null_parameters (GdaSqlState ment *sqlst, GdaSet *params, | |||
gboolean *ou t_modified, GError **error); | gboolean *ou t_modified, GError **error); | |||
gboolean gda_rewrite_statement_for_null_parameters (GdaStatement *s tmt, GdaSet *params, | gboolean gda_rewrite_statement_for_null_parameters (GdaStatement *s tmt, GdaSet *params, | |||
GdaStatement **o ut_stmt, GError **error); | GdaStatement **o ut_stmt, GError **error); | |||
void _gda_modify_statement_param_types (GdaStatement *stmt, Gda DataModel *model); | ||||
/* | /* | |||
* DSN and connection string manipulations | * DSN and connection string manipulations | |||
*/ | */ | |||
gchar *gda_rfc1738_encode (const gchar *string); | gchar *gda_rfc1738_encode (const gchar *string); | |||
gboolean gda_rfc1738_decode (gchar *string); | gboolean gda_rfc1738_decode (gchar *string); | |||
void gda_dsn_split (const gchar *string, gchar **out_ dsn, | void gda_dsn_split (const gchar *string, gchar **out_ dsn, | |||
gchar **out_username, gchar **out_ password); | gchar **out_username, gchar **out_ password); | |||
void gda_connection_string_split (const gchar *string, gchar **out_ cnc_params, gchar **out_provider, | void gda_connection_string_split (const gchar *string, gchar **out_ cnc_params, gchar **out_provider, | |||
gchar **out_username, gchar **out_ password); | gchar **out_username, gchar **out_ password); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||