summaryrefslogtreecommitdiff
path: root/source3/tdb/tdb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-11 00:07:40 +0000
committerJeremy Allison <jra@samba.org>2003-01-11 00:07:40 +0000
commit8e7dfa50b03139227bf1c14cddc6de3ebabcabc3 (patch)
tree85c2c3200da555c64adcf4651297ae58326fc814 /source3/tdb/tdb.h
parentfe6bb1e9edb51890f190f0a305493fba1286c5cb (diff)
downloadsamba-8e7dfa50b03139227bf1c14cddc6de3ebabcabc3.tar.gz
samba-8e7dfa50b03139227bf1c14cddc6de3ebabcabc3.tar.bz2
samba-8e7dfa50b03139227bf1c14cddc6de3ebabcabc3.zip
Added tdb_append() call. Efficiently adds to an entry. Used by new messaging
code. Also added torture tests for it. Jeremy. (This used to be commit b515525a060a388c6ae0a03006a882c9be2e42b6)
Diffstat (limited to 'source3/tdb/tdb.h')
-rw-r--r--source3/tdb/tdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/tdb/tdb.h b/source3/tdb/tdb.h
index dda89d0355..9a356885e5 100644
--- a/source3/tdb/tdb.h
+++ b/source3/tdb/tdb.h
@@ -115,6 +115,7 @@ const char *tdb_errorstr(TDB_CONTEXT *tdb);
TDB_DATA tdb_fetch(TDB_CONTEXT *tdb, TDB_DATA key);
int tdb_delete(TDB_CONTEXT *tdb, TDB_DATA key);
int tdb_store(TDB_CONTEXT *tdb, TDB_DATA key, TDB_DATA dbuf, int flag);
+int tdb_append(TDB_CONTEXT *tdb, TDB_DATA key);
int tdb_close(TDB_CONTEXT *tdb);
TDB_DATA tdb_firstkey(TDB_CONTEXT *tdb);
TDB_DATA tdb_nextkey(TDB_CONTEXT *tdb, TDB_DATA key);