GnuCash  2.6.99
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures
qofbackend-p.h File Reference

private api for data storage backend More...

#include "qofbackend.h"
#include "qofbook.h"
#include "qofinstance-p.h"
#include "qofquery.h"
#include "qofsession.h"

Go to the source code of this file.

Data Structures

struct  QofBackendProvider_s
 
struct  QofBackend_s
 

Backend_Private

Pseudo-object defining how the engine can interact with different back-ends (which may be SQL databases, or network interfaces to remote QOF servers. File-io is just one type of backend).

The callbacks will be called at the appropriate times during a book session to allow the backend to store the data as needed.

enum  QofBackendLoadType { LOAD_TYPE_INITIAL_LOAD, LOAD_TYPE_LOAD_ALL }
 
void qof_backend_register_provider (QofBackendProvider *)
 
void qof_backend_set_message (QofBackend *be, const char *format,...)
 
char * qof_backend_get_message (QofBackend *be)
 
void qof_backend_init (QofBackend *be)
 
void qof_backend_destroy (QofBackend *be)
 
gchar qof_book_get_open_marker (const QofBook *book)
 
gint32 qof_book_get_version (const QofBook *book)
 
void qof_book_set_version (QofBook *book, gint32 version)
 

Detailed Description

private api for data storage backend

Author
Copyright (c) 2000,2001,2004 Linas Vepstas linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g
Copyright (c) 2005 Neil Williams linux.nosp@m.@cod.nosp@m.ehelp.nosp@m..co..nosp@m.uk

Definition in file qofbackend-p.h.