diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-08 07:02:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-08-08 07:02:43 +0000 |
commit | f8f24158e33e385912ee4acacbbe677de4c3a1d9 (patch) | |
tree | 4b9e5dcb50c1fa52cc786037d50fa24f69e112b0 /libexec/identd/identd.h | |
parent | 006c04bda615cb8e90d326298f6b88c89b73a45b (diff) |
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.
Diffstat (limited to 'libexec/identd/identd.h')
-rw-r--r-- | libexec/identd/identd.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 *, |