r21076: Two pieces of infrastructure from Samba4: An API-compatible messaging wrapper
[sfrench/samba-autobuild/.git] / source / include / util_tdb.h
index cb5d98fc5264e78552d33b49eaa040b4efaed1e7..a8def46e441e8d843ded0c8a06c1a2178a72b46a 100644 (file)
@@ -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*);