summaryrefslogtreecommitdiffstats
path: root/canohost.h
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:32:17 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-05 23:32:17 +0000
commitf15a386511f669b2bb81c57032f458ff3e9e93a6 (patch)
treee001d9c444890c2b13a56d829c5bc9b38934202b /canohost.h
parentf327235f65b91e80f2d5db28678274f6a5d4def8 (diff)
- stevesk@cvs.openbsd.org 2001/04/05 15:48:18
[canohost.c canohost.h session.c] move get_remote_name_or_ip() to canohost.[ch]; for portable. ok markus@
Diffstat (limited to 'canohost.h')
-rw-r--r--canohost.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/canohost.h b/canohost.h
index da60b3af..89bd5c3b 100644
--- a/canohost.h
+++ b/canohost.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: canohost.h,v 1.4 2001/02/03 10:08:37 markus Exp $ */
+/* $OpenBSD: canohost.h,v 1.5 2001/04/05 15:48:19 stevesk Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -25,6 +25,8 @@ const char *get_canonical_hostname(int reverse_mapping_check);
*/
const char *get_remote_ipaddr(void);
+const char *get_remote_name_or_ip(u_int utmp_len, int reverse_mapping_check);
+
/* Returns the ipaddr/port number of the peer of the socket. */
char * get_peer_ipaddr(int socket);
int get_peer_port(int sock);