diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-05 23:32:17 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-05 23:32:17 +0000 |
commit | f15a386511f669b2bb81c57032f458ff3e9e93a6 (patch) | |
tree | e001d9c444890c2b13a56d829c5bc9b38934202b /canohost.h | |
parent | f327235f65b91e80f2d5db28678274f6a5d4def8 (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.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/canohost.h b/canohost.h index da60b3af9..89bd5c3b4 100644 --- a/canohost.h +++ b/canohost.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: canohost.h,v 1.4 2001/02/03 10:08:37 markus Exp $ */ | 1 | /* $OpenBSD: canohost.h,v 1.5 2001/04/05 15:48:19 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -25,6 +25,8 @@ const char *get_canonical_hostname(int reverse_mapping_check); | |||
25 | */ | 25 | */ |
26 | const char *get_remote_ipaddr(void); | 26 | const char *get_remote_ipaddr(void); |
27 | 27 | ||
28 | const char *get_remote_name_or_ip(u_int utmp_len, int reverse_mapping_check); | ||
29 | |||
28 | /* Returns the ipaddr/port number of the peer of the socket. */ | 30 | /* Returns the ipaddr/port number of the peer of the socket. */ |
29 | char * get_peer_ipaddr(int socket); | 31 | char * get_peer_ipaddr(int socket); |
30 | int get_peer_port(int sock); | 32 | int get_peer_port(int sock); |