From 2d02e5a16d53072a73d0d864da9b90dd3dad994a Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 25 Mar 2008 13:53:31 +0100 Subject: 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) --- source3/include/util_tdb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3') 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); -- cgit