summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_sqlite3/ldb_sqlite3.h
blob: 75105fe2641dec19617f990d5912c12c19038657 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include <sqlite3.h>

struct lsqlite3_private {
	char **options;
	const char *basedn;
        sqlite3 * sqlite;
        int lock_count;
	int last_rc;
        struct {
                sqlite3_stmt *begin;
                sqlite3_stmt *commit;
                sqlite3_stmt *rollback;
                sqlite3_stmt *newDN;
                sqlite3_stmt *renameDN;
                sqlite3_stmt *deleteDN;
                sqlite3_stmt *newObjectClass;
                sqlite3_stmt *assignObjectClass;
                sqlite3_stmt *newAttributeUseDefaults;
                sqlite3_stmt *newAttribute;
                sqlite3_stmt *addAttrValuePair;
                sqlite3_stmt *replaceAttrValuePairs;
                sqlite3_stmt *deleteAttrValuePairs;
                sqlite3_stmt *insertSubclass;
        } queries;
};