diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-06-09 00:57:27 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-06-09 00:57:27 +0200 |
commit | 51f3f0903b3f32231f7e8780a5d7c4f9ae1f9203 (patch) | |
tree | 547d454f6a94f6344033b51a8c4e5411515ec1d6 /nslcd/alias.c | |
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/alias.c')
-rw-r--r-- | nslcd/alias.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nslcd/alias.c b/nslcd/alias.c index adcef4d..6be04fc 100644 --- a/nslcd/alias.c +++ b/nslcd/alias.c @@ -5,7 +5,7 @@ Copyright (C) 1997-2005 Luke Howard Copyright (C) 2006 West Consulting - Copyright (C) 2006 Arthur de Jong + Copyright (C) 2006, 2007 Arthur de Jong This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public @@ -63,7 +63,7 @@ static enum nss_status _nss_ldap_parse_alias( return stat; } -static int write_alias(LDAPMessage *e,struct ldap_state UNUSED(*pvt),FILE *fp) +static int write_alias(LDAPMessage *e,struct ldap_state UNUSED(*pvt),TFILE *fp) { int stat; if ((stat=_nss_ldap_write_rndvalue(fp,e,ATM(LM_ALIASES,cn)))!=NSLCD_RESULT_SUCCESS) @@ -80,7 +80,7 @@ static int write_alias(LDAPMessage *e,struct ldap_state UNUSED(*pvt),FILE *fp) #define ALIAS_NAME result.alias_name #define ALIAS_RCPTS result.alias_members -int nslcd_alias_byname(FILE *fp) +int nslcd_alias_byname(TFILE *fp) { int32_t tmpint32; char name[256]; @@ -102,7 +102,7 @@ int nslcd_alias_byname(FILE *fp) return 0; } -int nslcd_alias_all(FILE *fp) +int nslcd_alias_all(TFILE *fp) { int32_t tmpint32,tmp2int32; static struct ent_context *alias_context; |