qofbackend.h File Reference

API for data storage Backend. More...

#include "qofinstance.h"

Go to the source code of this file.

Data Structures

struct  QofBackendOption_s

Defines

#define QOF_MOD_BACKEND   "qof-backend"

Typedefs

typedef gint32 QofErrorId
 The ID of this error.
typedef struct QofBackendProvider_s QofBackendProvider
typedef struct QofBackend_s QofBackend
 Pseudo-object providing an interface between the framework and a persistant data store (e.g. a server, a database, or a file).
typedef void(* QofBePercentageFunc )(const gchar *message, double percent)
 DOCUMENT ME!

Functions

gboolean qof_load_backend_library (const gchar *directory, const gchar *filename, const gchar *init_fcn)
 Load a QOF-compatible backend shared library.
QofBackendqof_book_get_backend (QofBook *book)
 Retrieve the backend used by this book.
void qof_book_set_backend (QofBook *book, QofBackend *)
 Set the backend used by this book.
Allow access to the begin routine for this backend.
QOF_BEGIN_EDIT and QOF_COMMIT_EDIT_PART1 and part2 rely on calling QofBackend *be->begin and be->commit. This means the QofBackend struct becomes part of the public API. These function replaces those calls to allow the macros to be used when QOF is built as a library.

void qof_backend_run_begin (QofBackend *be, QofInstance *inst)
gboolean qof_backend_begin_exists (QofBackend *be)
void qof_backend_run_commit (QofBackend *be, QofInstance *inst)
gboolean qof_backend_commit_exists (QofBackend *be)


Detailed Description

API for data storage Backend.

Author:
Copyright (C) 2000-2001 Linas Vepstas <linas@linas.org>

Copyright 2004,2005,2006 Neil Williams <linux@codehelp.co.uk>

Definition in file qofbackend.h.


Generated on Mon Feb 23 12:52:21 2009 for QOF by  doxygen 1.5.7