summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-08-17 22:43:01 +0200
committerMichael Adam <obnox@samba.org>2011-10-11 14:17:56 +0200
commitd8ce5bc656a673612f6587fefbe3acb08d5d8fa0 (patch)
tree0d746dfa56e62f9872590ff5318a55007b7b1723
parent7b9bf285140d937de41945170108d9f193baeefd (diff)
downloadsamba-d8ce5bc656a673612f6587fefbe3acb08d5d8fa0.tar.gz
samba-d8ce5bc656a673612f6587fefbe3acb08d5d8fa0.tar.bz2
samba-d8ce5bc656a673612f6587fefbe3acb08d5d8fa0.zip
s3:dbwrap: add wrapper dbwrap_get_flags()
-rw-r--r--source3/lib/dbwrap/dbwrap.c5
-rw-r--r--source3/lib/dbwrap/dbwrap.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/source3/lib/dbwrap/dbwrap.c b/source3/lib/dbwrap/dbwrap.c
index c3b3b0f0e5..3cbd699910 100644
--- a/source3/lib/dbwrap/dbwrap.c
+++ b/source3/lib/dbwrap/dbwrap.c
@@ -212,3 +212,8 @@ int dbwrap_wipe(struct db_context *db)
{
return db->wipe(db);
}
+
+int dbwrap_get_flags(struct db_context *db)
+{
+ return db->get_flags(db);
+}
diff --git a/source3/lib/dbwrap/dbwrap.h b/source3/lib/dbwrap/dbwrap.h
index 0ddc9e145f..79e215acad 100644
--- a/source3/lib/dbwrap/dbwrap.h
+++ b/source3/lib/dbwrap/dbwrap.h
@@ -79,6 +79,7 @@ int dbwrap_parse_record(struct db_context *db, TDB_DATA key,
void *private_data),
void *private_data);
int dbwrap_wipe(struct db_context *db);
+int dbwrap_get_flags(struct db_context *db);
/* The following definitions come from lib/dbwrap_util.c */