summaryrefslogtreecommitdiff
path: root/source3/include/util_tdb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-31 12:01:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:33 -0500
commit032bd8eea89ce24ab5fdd2eb6095b8416ebde558 (patch)
tree4a95f2479b3dc0ddb852aa81d7616ef263cc7671 /source3/include/util_tdb.h
parent8bfa9351614115ceb8bfaa6f76355ddc14ec248b (diff)
downloadsamba-032bd8eea89ce24ab5fdd2eb6095b8416ebde558.tar.gz
samba-032bd8eea89ce24ab5fdd2eb6095b8416ebde558.tar.bz2
samba-032bd8eea89ce24ab5fdd2eb6095b8416ebde558.zip
r21076: Two pieces of infrastructure from Samba4: An API-compatible messaging wrapper
and tdb_wrap_open. Volker (This used to be commit c01f164dcaf88fb7f3bed8f69b210ba8fab326d1)
Diffstat (limited to 'source3/include/util_tdb.h')
-rw-r--r--source3/include/util_tdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/util_tdb.h b/source3/include/util_tdb.h
index cb5d98fc52..a8def46e44 100644
--- a/source3/include/util_tdb.h
+++ b/source3/include/util_tdb.h
@@ -35,6 +35,11 @@ typedef struct keys_node
TDB_DATA node_key;
} TDB_LIST_NODE;
+struct tdb_wrap {
+ struct tdb_context *tdb;
+ const char *name;
+ struct tdb_wrap *next, *prev;
+};
TDB_LIST_NODE *tdb_search_keys(struct tdb_context*, const char*);
void tdb_search_list_free(TDB_LIST_NODE*);