1769 dladm show-link truncates OVER field
[unleashed.git] / usr / src / cmd / ssh / include / canohost.h
bloba60c0ef7e998203275e68ab19cd750f415d6642e
1 /* $OpenBSD: canohost.h,v 1.8 2001/06/26 17:27:23 markus Exp $ */
3 #ifndef _CANOHOST_H
4 #define _CANOHOST_H
6 #pragma ident "%Z%%M% %I% %E% SMI"
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
14 * Author: Tatu Ylonen <ylo@cs.hut.fi>
15 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
16 * All rights reserved
18 * As far as I am concerned, the code I have written for this software
19 * can be used freely for any purpose. Any derived versions of this
20 * software must be clearly marked as such, and if the derived work is
21 * incompatible with the protocol description in the RFC file, it must be
22 * called by a name other than "ssh" or "Secure Shell".
25 const char *get_canonical_hostname(int);
26 const char *get_remote_ipaddr(void);
27 const char *get_remote_name_or_ip(u_int, int);
29 char *get_peer_ipaddr(int);
30 int get_peer_port(int);
31 char *get_local_ipaddr(int);
32 char *get_local_name(int);
34 int get_remote_port(void);
35 int get_local_port(void);
37 #ifdef __cplusplus
39 #endif
41 #endif /* _CANOHOST_H */