summaryrefslogtreecommitdiff
path: root/nslcd/cfg.h
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2014-12-16 14:33:52 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2014-12-16 14:33:52 -0500
commitb64145d71d09e64b2d5de3f99c7c695229aed897 (patch)
treefbf09df1df74d7991eaf94e9c0f52e3ff7bc07a8 /nslcd/cfg.h
parent79602e4b19dcb35febc5b3fd2ee8e6a65c1b701b (diff)
use stdbool
Diffstat (limited to 'nslcd/cfg.h')
-rw-r--r--nslcd/cfg.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/nslcd/cfg.h b/nslcd/cfg.h
index 7e3e6ed..9a76084 100644
--- a/nslcd/cfg.h
+++ b/nslcd/cfg.h
@@ -27,6 +27,7 @@
#define NSLCD__CFG_H
#include <regex.h>
+#include <stdbool.h>
#include "compat/attrs.h"
#include "common/set.h"
@@ -56,10 +57,10 @@ struct nslcd_config {
int pagesize; /* set to a greater than 0 to enable handling of paged results with the specified size */
SET *nss_initgroups_ignoreusers; /* the users for which no initgroups() searches should be done */
uid_t nss_min_uid; /* minimum uid for users retrieved */
- int nss_nested_groups; /* whether to expand nested groups */
+ bool nss_nested_groups; /* whether to expand nested groups */
regex_t validnames; /* the regular expression to determine valid names */
char *validnames_str; /* string version of validnames regexp */
- int ignorecase; /* whether or not case should be ignored in lookups */
+ bool ignorecase; /* whether or not case should be ignored in lookups */
char *pam_password_prohibit_message; /* whether password changing should be denied and user prompted with this message */
char reconnect_invalidate[LM_NONE]; /* set to 1 if the corresponding map should be invalidated */
};