Main Page | Namespace List | Class List | Directories | File List | Class Members | File Members

canohost.h

Go to the documentation of this file.
00001 /*      $OpenBSD: canohost.h,v 1.8 2001/06/26 17:27:23 markus Exp $     */
00002 
00003 /*
00004  * Author: Tatu Ylonen <ylo@cs.hut.fi>
00005  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
00006  *                    All rights reserved
00007  *
00008  * As far as I am concerned, the code I have written for this software
00009  * can be used freely for any purpose.  Any derived versions of this
00010  * software must be clearly marked as such, and if the derived work is
00011  * incompatible with the protocol description in the RFC file, it must be
00012  * called by a name other than "ssh" or "Secure Shell".
00013  */
00014 
00015 const char      *get_canonical_hostname(int);
00016 const char      *get_remote_ipaddr(void);
00017 const char      *get_remote_name_or_ip(u_int, int);
00018 
00019 char            *get_peer_ipaddr(int);
00020 int              get_peer_port(int);
00021 char            *get_local_ipaddr(int);
00022 char            *get_local_name(int);
00023 
00024 int              get_remote_port(void);
00025 int              get_local_port(void);
00026 
00027 void             ipv64_normalise_mapped(struct sockaddr_storage *, socklen_t *);

© sourcejam.com 2005-2008