xref: /netbsd-src/crypto/external/bsd/openssh/dist/canohost.h (revision 41768fc151975edf5da042dafee95bcbf07f4525)
1*41768fc1Schristos /*	$NetBSD: canohost.h,v 1.8 2017/04/18 18:41:46 christos Exp $	*/
25101d403Schristos /* $OpenBSD: canohost.h,v 1.12 2016/03/07 19:02:43 djm Exp $ */
3ca32bd8dSchristos 
4ca32bd8dSchristos /*
5ca32bd8dSchristos  * Author: Tatu Ylonen <ylo@cs.hut.fi>
6ca32bd8dSchristos  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7ca32bd8dSchristos  *                    All rights reserved
8ca32bd8dSchristos  *
9ca32bd8dSchristos  * As far as I am concerned, the code I have written for this software
10ca32bd8dSchristos  * can be used freely for any purpose.  Any derived versions of this
11ca32bd8dSchristos  * software must be clearly marked as such, and if the derived work is
12ca32bd8dSchristos  * incompatible with the protocol description in the RFC file, it must be
13ca32bd8dSchristos  * called by a name other than "ssh" or "Secure Shell".
14ca32bd8dSchristos  */
15ca32bd8dSchristos 
165101d403Schristos #ifndef _CANOHOST_H
175101d403Schristos #define _CANOHOST_H
18ca32bd8dSchristos 
19ca32bd8dSchristos char		*get_peer_ipaddr(int);
20ca32bd8dSchristos int		 get_peer_port(int);
21ca32bd8dSchristos char		*get_local_ipaddr(int);
22ca32bd8dSchristos char		*get_local_name(int);
235101d403Schristos int		get_local_port(int);
24ca32bd8dSchristos 
255101d403Schristos #endif /* _CANOHOST_H */
26