diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-06-08 22:57:27 +0000 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-06-08 22:57:27 +0000 |
commit | 51f3f0903b3f32231f7e8780a5d7c4f9ae1f9203 (patch) | |
tree | 547d454f6a94f6344033b51a8c4e5411515ec1d6 /nslcd/util.h | |
parent | 6dc21ddc6876690943c093adc7289a922212fe87 (diff) |
implement our own stdio-like library that handles IO with a simple configurable timeout mechanism with buffering
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@272 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd/util.h')
-rw-r--r-- | nslcd/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nslcd/util.h b/nslcd/util.h index f329daf..6a27538 100644 --- a/nslcd/util.h +++ b/nslcd/util.h @@ -26,6 +26,8 @@ #ifndef _LDAP_NSS_LDAP_UTIL_H #define _LDAP_NSS_LDAP_UTIL_H +#include "common/tio.h" + /* * get the RDN's value: eg. if the RDN was cn=lukeh, getrdnvalue(entry) * would return lukeh. @@ -34,7 +36,7 @@ enum nss_status _nss_ldap_getrdnvalue(LDAPMessage *entry, const char *rdntype, char **rval, char **buffer, size_t * buflen); -int _nss_ldap_write_rndvalue(FILE *fp,LDAPMessage *entry,const char *rdntype); +int _nss_ldap_write_rndvalue(TFILE *fp,LDAPMessage *entry,const char *rdntype); /* * map a distinguished name to a login name, or group entry |