#ifndef _CLIENT_H_723b1e83_ #define _CLIENT_H_723b1e83_ /* This file is in the public domain. */ typedef struct peerid PEERID; /* * This data is used to construct FORWARDING_NOTICE agent messages. * This means it has to be mirrored through shared-client sharing * connections. It's collected into a struct to make it easy to pass * across the connection-sharing procedure call interface. * * Unfortunately it's IP-specific, which will lose when ssh is run over * something other than IP, but this is really a bug in the * FORWARDING_NOTICE message definition, not our implementation. */ struct peerid { char *name; char *ip; int port; } ; extern void client_setup(void); extern unsigned int nextfwdreq_serial(void); extern const PEERID *client_peer_id(void); extern void client_session_up(void (*)(void)); #endif