summaryrefslogtreecommitdiffstats
path: root/src/auth/userdb-template.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/auth/userdb-template.h')
-rw-r--r--src/auth/userdb-template.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/auth/userdb-template.h b/src/auth/userdb-template.h
new file mode 100644
index 0000000..a146a87
--- /dev/null
+++ b/src/auth/userdb-template.h
@@ -0,0 +1,15 @@
+#ifndef USERDB_TEMPLATE_H
+#define USERDB_TEMPLATE_H
+
+struct userdb_template *
+userdb_template_build(pool_t pool, const char *userdb_name, const char *args);
+int userdb_template_export(struct userdb_template *tmpl,
+ struct auth_request *auth_request,
+ const char **error_r);
+bool userdb_template_remove(struct userdb_template *tmpl,
+ const char *key, const char **value_r);
+bool userdb_template_is_empty(struct userdb_template *tmpl);
+const char *const *userdb_template_get_args(struct userdb_template *tmpl,
+ unsigned int *count_r);
+
+#endif