Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/common.h
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2012-11-25 16:51:10 +0100
committerArthur de Jong <arthur@arthurdejong.org>2012-11-25 16:51:10 +0100
commitea55c22e2fd1872dffabc615e20cdf740f1558cb (patch)
tree0333a460302788a51f8dbd817e753e8ee2915b34 /nslcd/common.h
parenteefe25d027eb38328e8eaeec92d90fabacc149be (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.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