summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 3d2a76826..c4d64be1c 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -703,6 +703,17 @@ errno_t sysdb_netgr_to_entries(TALLOC_CTX *mem_ctx,
errno_t sysdb_dn_sanitize(void *mem_ctx, const char *input,
char **sanitized);
+errno_t sysdb_get_bool(struct sysdb_ctx *sysdb,
+ struct ldb_dn *dn,
+ const char *attr_name,
+ bool *value);
+
+errno_t sysdb_set_bool(struct sysdb_ctx *sysdb,
+ struct ldb_dn *dn,
+ const char *cn_value,
+ const char *attr_name,
+ bool value);
+
errno_t sysdb_has_enumerated(struct sysdb_ctx *sysdb,
bool *has_enumerated);