summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/ldb_tdb/ldb_tdb.h
blob: 30afe223ea94754da0111eddb144bcf0b7847568 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* this private structure is used by the ltdb backend in the
   ldb_context */
struct ltdb_private {
	TDB_CONTEXT *tdb;
	unsigned int connect_flags;
};

#ifdef STANDALONE
#define IVAL(p, ofs) (((unsigned *)((char *)(p) + (ofs)))[0])
#define SIVAL(p, ofs, v) do { IVAL(p, ofs) = (v); } while (0)
#endif