diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-04-05 15:48:20 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2001-04-05 15:48:20 +0000 |
commit | 8ed9c4e33e34e93bf3bbc709770f8fea219a527c (patch) | |
tree | 489eee700cd6c7ad7f82f5eb05ff4bb2f5e0df85 /usr.bin/ssh/canohost.h | |
parent | 37c8814707d75fdb8f7759cd2e19691f33af2076 (diff) |
move get_remote_name_or_ip() to canohost.[ch]; for portable. ok markus@
Diffstat (limited to 'usr.bin/ssh/canohost.h')
-rw-r--r-- | usr.bin/ssh/canohost.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/canohost.h b/usr.bin/ssh/canohost.h index da60b3af9f0..89bd5c3b454 100644 --- a/usr.bin/ssh/canohost.h +++ b/usr.bin/ssh/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); |