gda-server-provider-private

gda-server-provider-private

Types and Values

Description

Functions

gda_server_provider_get_real_main_context ()

GMainContext *
gda_server_provider_get_real_main_context
                               (GdaConnection *cnc);

Obtain a GMainContext on which to iterate. This function is reserved to database provider's implementations.

NB: if cnc is NOT NULL and has a GdaWorker associated, and if we are in its worker thread, then this function returns NULL (to avoid generating contexts which are never used)

Parameters

cnc

a GdaConnection, or NULL.

[allow-none]

Returns

a GMainContext, or NULL. Don't forget to call g_main_context_unref() when done

Types and Values

GdaServerProviderPrivate

typedef struct {
	GHashTable    *data_handlers; /* key = a GdaServerProviderHandlerInfo pointer, value = a GdaDataHandler */
	GdaSqlParser  *parser;

	GHashTable    *jobs_hash; /* key = a job ID, value = a # */
} GdaServerProviderPrivate;

enum GdaXaType

Members

GDA_XA_START

   

GDA_XA_END

   

GDA_XA_PREPARE

   

GDA_XA_COMMIT

   

GDA_XA_ROLLBACK

   

GDA_XA_RECOVER