diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-21 15:45:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:34:16 -0500 |
commit | 7de12a8d50ebb5ead2c44b9d726bb134dc8919b6 (patch) | |
tree | ed1b8333c42f0dfba509ad7dad4bff67a4d97fd4 /source4/lib/tdb | |
parent | 5c16371daa9d496fe109ea30bd6cfa3fd863a219 (diff) | |
download | samba-7de12a8d50ebb5ead2c44b9d726bb134dc8919b6.tar.gz samba-7de12a8d50ebb5ead2c44b9d726bb134dc8919b6.tar.bz2 samba-7de12a8d50ebb5ead2c44b9d726bb134dc8919b6.zip |
r9448: Work on reading the secrets tdb. Build tdbsam support by default.
(This used to be commit 9ea601c0a675767f8ea5f316c9355572dffbc4c0)
Diffstat (limited to 'source4/lib/tdb')
-rw-r--r-- | source4/lib/tdb/include/tdbutil.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/tdb/include/tdbutil.h b/source4/lib/tdb/include/tdbutil.h index fb9e5cf48f..0d86ddc993 100644 --- a/source4/lib/tdb/include/tdbutil.h +++ b/source4/lib/tdb/include/tdbutil.h @@ -43,5 +43,7 @@ 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); TDB_DATA tdb_fetch_bystring(TDB_CONTEXT *tdb, const char *keystr); +int tdb_unpack(TDB_CONTEXT *tdb, char *buf, int bufsize, const char *fmt, ...); +size_t tdb_pack(TDB_CONTEXT *tdb, char *buf, int bufsize, const char *fmt, ...); #endif /* __TDBUTIL_H__ */ |