diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2012-11-25 16:51:10 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2012-11-25 16:51:10 +0100 |
commit | ea55c22e2fd1872dffabc615e20cdf740f1558cb (patch) | |
tree | 0333a460302788a51f8dbd817e753e8ee2915b34 /nslcd/common.h | |
parent | eefe25d027eb38328e8eaeec92d90fabacc149be (diff) |
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
Diffstat (limited to 'nslcd/common.h')
-rw-r--r-- | nslcd/common.h | 5 |
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 |