summaryrefslogtreecommitdiffstats
path: root/canohost.h
diff options
context:
space:
mode:
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);