summaryrefslogtreecommitdiff
path: root/source4/lib/tdb/include/tdbutil.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-21 20:01:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:17 -0500
commit6e388c27d86d77f2c7f9414fbb152c246ca53022 (patch)
treec5fa354a5b797f7a90655140572df4b617469839 /source4/lib/tdb/include/tdbutil.h
parent7fca0f1b986d5f1786c0c43bec6b10174e137939 (diff)
downloadsamba-6e388c27d86d77f2c7f9414fbb152c246ca53022.tar.gz
samba-6e388c27d86d77f2c7f9414fbb152c246ca53022.tar.bz2
samba-6e388c27d86d77f2c7f9414fbb152c246ca53022.zip
r9455: Support for reading the policy database
(This used to be commit 7548a5012aad41bde0652d4532d184545997be86)
Diffstat (limited to 'source4/lib/tdb/include/tdbutil.h')
-rw-r--r--source4/lib/tdb/include/tdbutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/tdb/include/tdbutil.h b/source4/lib/tdb/include/tdbutil.h
index 0d86ddc993..2f7c0ec234 100644
--- a/source4/lib/tdb/include/tdbutil.h
+++ b/source4/lib/tdb/include/tdbutil.h
@@ -38,7 +38,9 @@ int32_t tdb_change_int32_atomic(TDB_CONTEXT *tdb, const char *keystr, int32_t *o
int tdb_lock_bystring(TDB_CONTEXT *tdb, const char *keyval);
void tdb_unlock_bystring(TDB_CONTEXT *tdb, const char *keyval);
int32_t tdb_fetch_int32(TDB_CONTEXT *tdb, const char *keystr);
+BOOL tdb_store_uint32(TDB_CONTEXT *tdb, const char *keystr, uint32_t value);
int tdb_store_int32(TDB_CONTEXT *tdb, const char *keystr, int32_t v);
+BOOL tdb_fetch_uint32(TDB_CONTEXT *tdb, const char *keystr, uint32_t *value);
int tdb_traverse_delete_fn(TDB_CONTEXT *the_tdb, TDB_DATA key, TDB_DATA dbuf,
void *state);
int tdb_store_bystring(TDB_CONTEXT *tdb, const char *keystr, TDB_DATA data, int flags);