summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-08-28 14:20:13 +0200
committerVolker Lendecke <vl@samba.org>2013-10-01 11:59:29 +0000
commit173cdfe0a42f6d4917b0d28bfd23d7fff1ccf232 (patch)
tree6927da65d6c7db33e99b1fe1fd020572ef8624c6 /source3/include
parentf80f43c772e8c5504111dd4274eb928e61fa56ed (diff)
downloadsamba-173cdfe0a42f6d4917b0d28bfd23d7fff1ccf232.tar.gz
samba-173cdfe0a42f6d4917b0d28bfd23d7fff1ccf232.tar.bz2
samba-173cdfe0a42f6d4917b0d28bfd23d7fff1ccf232.zip
idmap_autorid_tdb: add idmap_autorid_getconfigstr()
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com> Signed-off-by: Michael Adam <obnox@samba.org> Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/idmap_autorid_tdb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h
index 12151289cb..21e4ddbdc3 100644
--- a/source3/include/idmap_autorid_tdb.h
+++ b/source3/include/idmap_autorid_tdb.h
@@ -69,4 +69,10 @@ struct autorid_global_config *idmap_autorid_loadconfig(struct db_context *db,
NTSTATUS idmap_autorid_saveconfig(struct db_context *db,
struct autorid_global_config *cfg);
+/**
+ * get the range config string stored in the database
+ */
+NTSTATUS idmap_autorid_getconfigstr(struct db_context *db, TALLOC_CTX *mem_ctx,
+ char **result);
+
#endif /* _IDMAP_AUTORID_H_ */