Definition in file qof-gda.c.
#include "config.h"
#include <glib.h>
#include <glib/gstdio.h>
#include <libintl.h>
#include <libgda/libgda.h>
#include "qof.h"
#include "qof-gda.h"
Go to the source code of this file.
Defines | |
#define | _(String) dgettext (GETTEXT_PACKAGE, String) |
#define | ACCESS_METHOD "gda" |
#define | LIBGDA_DIR ".qofgda" |
#define | GDA_DBNAME "gda-database-name" |
#define | GDA_USERNAME "gda-username" |
#define | GDA_PASSWORD "gda-password" |
#define | GDA_DATASOURCE "qof-gda-source" |
Functions | |
static gboolean | qgda_determine_file_type (const gchar *path) |
static void | qgda_modify (QofBackend *be, QofInstance *inst) |
static GdaColumn * | qoftype_to_gdafield (QofIdTypeConst qoftype) |
static void | convert_params (QofParam *param, gpointer user_data) |
static void | build_table (gpointer value, gpointer user_data) |
static void | create_tables (QofObject *obj, gpointer user_data) |
static gboolean | create_data_source (QGdaBackend *qgda_be) |
static void | qgda_session_begin (QofBackend *be, QofSession *session, const gchar *book_path, gboolean ignore_lock, gboolean create_if_nonexistent) |
static void | load_entities (gpointer value, gpointer user_data) |
static void | qgda_class_foreach (QofObject *obj, gpointer data) |
static void | qgda_db_load (QofBackend *be, QofBook *book) |
static void | qgda_write_db (QofBackend *be, QofBook *book) |
static void | qgda_session_end (QofBackend *be) |
static void | qgda_destroy_backend (QofBackend *be) |
static void | option_cb (QofBackendOption *option, gpointer data) |
static void | load_config (QofBackend *be, KvpFrame *config) |
static KvpFrame * | get_config (QofBackend *be) |
static QofBackend * | qgda_backend_new (void) |
static void | qgda_provider_free (QofBackendProvider *prov) |
void | qof_gda_provider_init (void) |
Initialises the libgda2 QOF backend. | |
Variables | |
static QofLogModule | log_module = QOF_MOD_GDA |