Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd/ether.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-06-09 00:57:27 +0200
committerArthur de Jong <arthur@arthurdejong.org>2007-06-09 00:57:27 +0200
commit51f3f0903b3f32231f7e8780a5d7c4f9ae1f9203 (patch)
tree547d454f6a94f6344033b51a8c4e5411515ec1d6 /nslcd/ether.c
parent6dc21ddc6876690943c093adc7289a922212fe87 (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/ether.c')
-rw-r--r--nslcd/ether.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/nslcd/ether.c b/nslcd/ether.c
index 249b426..b2c2acf 100644
--- a/nslcd/ether.c
+++ b/nslcd/ether.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
@@ -73,7 +73,7 @@ struct ether
};
#ifdef NEW
-static int write_ether(LDAPMessage *e,struct ldap_state *pvt,FILE *fp)
+static int write_ether(LDAPMessage *e,struct ldap_state *pvt,TFILE *fp)
{
/* FIXME: fix following problem:
if the entry has multiple cn fields we may end up
@@ -129,7 +129,7 @@ _nss_ldap_parse_ether (LDAPMessage * e,
#define ETHER_NAME result.e_name
#define ETHER_ADDR result.e_addr
-int nslcd_ether_byname(FILE *fp)
+int nslcd_ether_byname(TFILE *fp)
{
int32_t tmpint32;
char name[256];
@@ -162,7 +162,7 @@ int nslcd_ether_byname(FILE *fp)
return 0;
}
-int nslcd_ether_byether(FILE *fp)
+int nslcd_ether_byether(TFILE *fp)
{
int32_t tmpint32;
struct ether_addr addr;
@@ -197,7 +197,7 @@ int nslcd_ether_byether(FILE *fp)
return 0;
}
-int nslcd_ether_all(FILE *fp)
+int nslcd_ether_all(TFILE *fp)
{
int32_t tmpint32;
static struct ent_context *ether_context;