git.samba.org
/
garming
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ce5f1
)
util_tdb: add the tdb_pack_append() prototype to util_tdb.h
author
Michael Adam
<obnox@samba.org>
Tue, 25 Mar 2008 12:53:31 +0000
(13:53 +0100)
committer
Michael Adam
<obnox@samba.org>
Tue, 25 Mar 2008 14:55:34 +0000
(15:55 +0100)
This function is currently not used but seems useful.
Michael
(This used to be commit
48149a954c1e737c9863cfa0991ab9bfc246c6da
)
source3/include/util_tdb.h
patch
|
blob
|
history
diff --git
a/source3/include/util_tdb.h
b/source3/include/util_tdb.h
index c0cb237468edafb4aa65c69fa5baf0c952608ccc..4ed791b69bb9fa034f5c446371128505773aa5c5 100644
(file)
--- 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);