QOF: qofbook-p.h Source File

QOF 0.7.5

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

qofbook-p.h
Go to the documentation of this file.
1 /********************************************************************\
2 * qof-book-p.h -- private functions for QOF books. *
3 * *
4 * This program is free software; you can redistribute it and/or *
5 * modify it under the terms of the GNU General Public License as *
6 * published by the Free Software Foundation; either version 2 of *
7 * the License, or (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License*
15 * along with this program; if not, contact: *
16 * *
17 * Free Software Foundation Voice: +1-617-542-5942 *
18 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 *
19 * Boston, MA 02110-1301, USA gnu@gnu.org *
20 * *
21 \********************************************************************/
36 #ifndef QOF_BOOK_P_H
37 #define QOF_BOOK_P_H
38
39 #include "kvpframe.h"
40 #include "qofbackend.h"
41 #include "qofbook.h"
42 #include "qofid.h"
43 #include "qofid-p.h"
44 #include "qofinstance-p.h"
45 #include "qofundo-p.h"
46
48 struct _QofBook
49 {
51 QofInstance inst;
52
57 GHashTable *hash_of_collections;
58
61 GHashTable *data_tables;
62
64 GHashTable *data_table_finalizers;
65
70 gchar book_open;
71
77 gboolean shutting_down;
78
80 gint32 version;
81
87 QofBackend *backend;
88
90 QofUndo *undo_data;
91
94 guint32 idata;
95 };
96
105 void qof_book_set_backend (QofBook * book, QofBackend * be);
106
108 gboolean qof_book_register (void);
109
113 #endif /* QOF_BOOK_P_H */
_QofBook::inst
QofInstance inst
Definition: qofbook-p.h:51
_QofBook::hash_of_collections
GHashTable * hash_of_collections
Definition: qofbook-p.h:57
qofbackend.h
API for data storage Backend.
qof_book_set_backend
void qof_book_set_backend(QofBook *book, QofBackend *be)
Set the backend used by this book.
Definition: qofbook.c:170
QofInstance_s
Definition: qofinstance-p.h:35
qof_book_register
gboolean qof_book_register(void)
Definition: qofbook.c:376
_QofBook::book_open
gchar book_open
Definition: qofbook-p.h:70
QofUndo_s
Definition: qofundo-p.h:56
_QofBook::undo_data
QofUndo * undo_data
Definition: qofbook-p.h:90
qofid.h
QOF entity type identification system.
kvpframe.h
A key-value frame system.
_QofBook::data_table_finalizers
GHashTable * data_table_finalizers
Definition: qofbook-p.h:64
_QofBook::backend
QofBackend * backend
Definition: qofbook-p.h:87
qofbook.h
Encapsulate all the information about a dataset.
_QofBook::idata
guint32 idata
Definition: qofbook-p.h:94
_QofBook::data_tables
GHashTable * data_tables
Definition: qofbook-p.h:61
_QofBook::version
gint32 version
Definition: qofbook-p.h:80
_QofBook
Definition: qofbook-p.h:48
QofBackend_s
Definition: qofbackend-p.h:283
_QofBook::shutting_down
gboolean shutting_down
Definition: qofbook-p.h:77