1204076Spjd/*	$NetBSD: canohost.h,v 1.8 2017/04/18 18:41:46 christos Exp $	*/
2204076Spjd/* $OpenBSD: canohost.h,v 1.12 2016/03/07 19:02:43 djm Exp $ */
3204076Spjd
4204076Spjd/*
5204076Spjd * Author: Tatu Ylonen <ylo@cs.hut.fi>
6204076Spjd * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
7204076Spjd *                    All rights reserved
8204076Spjd *
9204076Spjd * As far as I am concerned, the code I have written for this software
10204076Spjd * can be used freely for any purpose.  Any derived versions of this
11204076Spjd * software must be clearly marked as such, and if the derived work is
12204076Spjd * incompatible with the protocol description in the RFC file, it must be
13204076Spjd * called by a name other than "ssh" or "Secure Shell".
14204076Spjd */
15204076Spjd
16204076Spjd#ifndef _CANOHOST_H
17204076Spjd#define _CANOHOST_H
18204076Spjd
19204076Spjdchar		*get_peer_ipaddr(int);
20204076Spjdint		 get_peer_port(int);
21204076Spjdchar		*get_local_ipaddr(int);
22204076Spjdchar		*get_local_name(int);
23204076Spjdint		get_local_port(int);
24204076Spjd
25204076Spjd#endif /* _CANOHOST_H */
26204076Spjd