From ea55c22e2fd1872dffabc615e20cdf740f1558cb Mon Sep 17 00:00:00 2001 From: Arthur de Jong Date: Sun, 25 Nov 2012 15:51:10 +0000 Subject: move all nsswitch-parsing related functions to nsswitch.c git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1840 ef36b2f9-881f-0410-afb5-c4e39611909c --- nslcd/common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nslcd/common.h') 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 -- cgit v1.2.3