From f8f24158e33e385912ee4acacbbe677de4c3a1d9 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 Aug 2001 07:02:43 +0000 Subject: split up the gethost*() functions a bit more, to make it more obvious what is going on. This could be improved further by always passing around fat sockaddr's I think. --- libexec/identd/identd.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libexec/identd/identd.h') diff --git a/libexec/identd/identd.h b/libexec/identd/identd.h index a0f0e2f9ee8..45093c544df 100644 --- a/libexec/identd/identd.h +++ b/libexec/identd/identd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: identd.h,v 1.8 2001/04/15 23:48:16 hugh Exp $*/ +/* $OpenBSD: identd.h,v 1.9 2001/08/08 07:02:42 deraadt Exp $*/ /* ** @@ -41,7 +41,8 @@ extern int fport; int parse __P((int, struct in_addr *, struct in_addr *)); int parse6 __P((int, struct sockaddr_in6 *, struct sockaddr_in6 *)); -char *gethost __P((struct in_addr *)); +char *gethost4 __P((struct sockaddr_in *)); +char *gethost4_addr __P((struct in_addr *)); char *gethost6 __P((struct sockaddr_in6 *)); int k_getuid __P((struct in_addr *, int, struct in_addr *, int, uid_t *)); int k_getuid6 __P((struct sockaddr_in6 *, int, struct sockaddr_in6 *, -- cgit v1.2.3