From f15a386511f669b2bb81c57032f458ff3e9e93a6 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Thu, 5 Apr 2001 23:32:17 +0000 Subject: - 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@ --- canohost.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'canohost.h') 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 @@ -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); -- cgit v1.2.3