5 Unix SMB/CIFS implementation.
7 trivial database library (version 1 compat functions)
9 Copyright (C) Andrew Tridgell 1999-2004
10 Copyright (C) Rusty Russell 2011
12 ** NOTE! The following LGPL license applies to the tdb
13 ** library. This does NOT imply that all of Samba is released
16 This library is free software; you can redistribute it and/or
17 modify it under the terms of the GNU Lesser General Public
18 License as published by the Free Software Foundation; either
19 version 3 of the License, or (at your option) any later version.
21 This library is distributed in the hope that it will be useful,
22 but WITHOUT ANY WARRANTY; without even the implied warranty of
23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
24 Lesser General Public License for more details.
26 You should have received a copy of the GNU Lesser General Public
27 License along with this library; if not, see <http://www.gnu.org/licenses/>.
33 #include <sys/types.h>
39 void tdb1_set_max_dead(struct tdb_context *tdb, int max_dead);
41 int tdb1_get_seqnum(struct tdb_context *tdb);
43 void tdb1_increment_seqnum_nonblock(struct tdb_context *tdb);
45 uint64_t tdb1_incompatible_hash(const void *key, size_t len, uint64_t seed, void *);
47 /* @} ******************************************************************/
50 int tdb1_wipe_all(struct tdb_context *tdb);
51 int tdb1_repack(struct tdb_context *tdb);
53 extern TDB_DATA tdb1_null;