QOF  0.8.7
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 {
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 
88 
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 */
QofInstance inst
Definition: qofbook-p.h:51
GHashTable * hash_of_collections
Definition: qofbook-p.h:57
API for data storage Backend.
void qof_book_set_backend(QofBook *book, QofBackend *be)
Set the backend used by this book.
Definition: qofbook.c:170
gboolean qof_book_register(void)
Definition: qofbook.c:376
gchar book_open
Definition: qofbook-p.h:70
QofUndo * undo_data
Definition: qofbook-p.h:90
QOF entity type identification system.
A key-value frame system.
GHashTable * data_table_finalizers
Definition: qofbook-p.h:64
QofBackend * backend
Definition: qofbook-p.h:87
Encapsulate all the information about a dataset.
guint32 idata
Definition: qofbook-p.h:94
GHashTable * data_tables
Definition: qofbook-p.h:61
gint32 version
Definition: qofbook-p.h:80
gboolean shutting_down
Definition: qofbook-p.h:77