summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-25 13:53:31 +0100
committerMichael Adam <obnox@samba.org>2008-03-25 15:55:34 +0100
commit2d02e5a16d53072a73d0d864da9b90dd3dad994a (patch)
treebbac3ca734704bd34e2740f4a7c592d66d287e53
parent90ce5f189f1589bf237bb35e49b427c1da9c265b (diff)
downloadsamba-2d02e5a16d53072a73d0d864da9b90dd3dad994a.tar.gz
samba-2d02e5a16d53072a73d0d864da9b90dd3dad994a.tar.bz2
samba-2d02e5a16d53072a73d0d864da9b90dd3dad994a.zip
util_tdb: add the tdb_pack_append() prototype to util_tdb.h
This function is currently not used but seems useful. Michael (This used to be commit 48149a954c1e737c9863cfa0991ab9bfc246c6da)
-rw-r--r--source3/include/util_tdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index c0cb237468..4ed791b69b 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -87,6 +87,8 @@ int tdb_trans_delete(struct tdb_context *tdb, TDB_DATA key);
int tdb_unpack(const uint8 *buf, int bufsize, const char *fmt, ...);
size_t tdb_pack(uint8 *buf, int bufsize, const char *fmt, ...);
+bool tdb_pack_append(TALLOC_CTX *mem_ctx, uint8 **buf, size_t *len,
+ const char *fmt, ...);
struct tdb_context *tdb_open_log(const char *name, int hash_size,
int tdb_flags, int open_flags, mode_t mode);