summaryrefslogtreecommitdiff
path: root/source3/include/idmap_autorid_tdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/idmap_autorid_tdb.h')
-rw-r--r--source3/include/idmap_autorid_tdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h
index 21e4ddbdc3..2702f4cf09 100644
--- a/source3/include/idmap_autorid_tdb.h
+++ b/source3/include/idmap_autorid_tdb.h
@@ -75,4 +75,11 @@ NTSTATUS idmap_autorid_saveconfig(struct db_context *db,
NTSTATUS idmap_autorid_getconfigstr(struct db_context *db, TALLOC_CTX *mem_ctx,
char **result);
+/**
+ * parse the handed in config string and fill the provided config structure.
+ * return false if the string could not be parsed.
+ */
+bool idmap_autorid_parse_configstr(const char *configstr,
+ struct autorid_global_config *cfg);
+
#endif /* _IDMAP_AUTORID_H_ */