summaryrefslogtreecommitdiffstats
path: root/source3/include/dbwrap.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/dbwrap.h')
-rw-r--r--source3/include/dbwrap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/dbwrap.h b/source3/include/dbwrap.h
index 3312f9c1217..aad4ccd721e 100644
--- a/source3/include/dbwrap.h
+++ b/source3/include/dbwrap.h
@@ -83,6 +83,11 @@ struct db_context *db_open_file(TALLOC_CTX *mem_ctx,
int open_flags, mode_t mode);
+NTSTATUS dbwrap_delete(struct db_context *db, TDB_DATA key);
+NTSTATUS dbwrap_store(struct db_context *db, TDB_DATA key,
+ TDB_DATA data, int flags);
+TDB_DATA dbwrap_fetch(struct db_context *db, TALLOC_CTX *mem_ctx,
+ TDB_DATA key);
NTSTATUS dbwrap_delete_bystring(struct db_context *db, const char *key);
NTSTATUS dbwrap_store_bystring(struct db_context *db, const char *key,
TDB_DATA data, int flags);