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