summaryrefslogtreecommitdiff
path: root/nslcd/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'nslcd/common.h')
-rw-r--r--nslcd/common.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/nslcd/common.h b/nslcd/common.h
index 3ca77f8..a7be8c5 100644
--- a/nslcd/common.h
+++ b/nslcd/common.h
@@ -127,8 +127,11 @@ void get_shadow_properties(MYLDAP_ENTRY *entry,long *lastchangedate,
long *inactdays,long *expiredate,unsigned long *flag);
+/* check whether the nsswitch file should be reloaded */
+void nsswitch_check_reload(void);
+
/* check whether the nsswitch.conf file has LDAP as a naming source for db */
-int nsswitch_db_uses_ldap(const char *filename,const char *db);
+int nsswitch_shadow_uses_ldap(void);
/* fallback definition of HOST_NAME_MAX */
#ifndef HOST_NAME_MAX