![]() |
![]() |
![]() |
GSQL Developers Reference Manual | ![]() |
---|---|---|---|---|
#define GSQL_ENGINE_SYMBOL_LOAD #define GSQL_ENGINE_SYMBOL_UNLOAD #define GNOME_SYSTEM_FONT GSQLEngineInfo; GSQLEngine; void gsql_engines_lookup (); guint gsql_engines_count (); void gsql_engines_foreach (GHFunc func, gpointer userdata); void gsql_engine_menu_set_status (GSQLEngine *engine, gboolean status);
typedef struct { gint major_version; gint minor_version; gchar * id; gchar * name; gchar * version; gchar * desc; gchar * author; gchar * homepage; } GSQLEngineInfo;
typedef struct { GSQLEngineInfo info; gchar *file_logo; /* icon file */ gchar *stock_logo; /* stock name of logo */ GModule *module; gchar *file; GtkActionGroup *action; guint menu_id; gboolean multi_statement; /* multistatement support. default value FALSE */ gboolean in_use; gboolean (*load) (GSQLEngine * engine); gboolean (*unload) (GSQLEngine * engine); gpointer (*session_open) (GtkWidget *logon_widget, gchar *buffer); /* logon widget */ GtkWidget *(*logon_widget_new) (); void (*logon_widget_free) (GtkWidget * prefs_widget); /* prefs widget */ GtkWidget *(*conf_widget_new) (); void (*conf_widget_free) (GtkWidget * prefs_widget); /* cursor routines */ GSQLCursorState (*cursor_open_with_bind) (GSQLCursor *cursor, GList *args); GSQLCursorState (*cursor_open_with_bind_by_name) (GSQLCursor *cursor, GList *args); GSQLCursorState (*cursor_open) (GSQLCursor *cursor); GSQLCursorState (*cursor_stop) (GSQLCursor *cursor); gint (*cursor_fetch) (GSQLCursor *cursor, gint rows); } GSQLEngine;
void gsql_engines_lookup ();
Looking up available engines at PACKAGE_ENGINES_DIR
void gsql_engines_foreach (GHFunc func, gpointer userdata);
|
|
|
void gsql_engine_menu_set_status (GSQLEngine *engine, gboolean status);
|
|
|