mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-18 19:41:01 -05:00
Rename SocketPeerInfo to SocketEndpointInfo.
I'm preparing to be able to ask about the other end of the connection too, so the first step is to give this data structure a neutral name that can refer to either. No functional change yet.
This commit is contained in:
8
ssh.h
8
ssh.h
@ -225,7 +225,7 @@ struct ConnectionLayerVtable {
|
||||
* PortFwdManager */
|
||||
SshChannel *(*lportfwd_open)(
|
||||
ConnectionLayer *cl, const char *hostname, int port,
|
||||
const char *description, const SocketPeerInfo *peerinfo,
|
||||
const char *description, const SocketEndpointInfo *peerinfo,
|
||||
Channel *chan);
|
||||
|
||||
/* Initiate opening of a 'session'-type channel */
|
||||
@ -234,7 +234,7 @@ struct ConnectionLayerVtable {
|
||||
/* Open outgoing channels for X and agent forwarding. (Used in the
|
||||
* SSH server.) */
|
||||
SshChannel *(*serverside_x11_open)(ConnectionLayer *cl, Channel *chan,
|
||||
const SocketPeerInfo *pi);
|
||||
const SocketEndpointInfo *pi);
|
||||
SshChannel *(*serverside_agent_open)(ConnectionLayer *cl, Channel *chan);
|
||||
|
||||
/* Add an X11 display for ordinary X forwarding */
|
||||
@ -324,12 +324,12 @@ static inline void ssh_rportfwd_remove(
|
||||
{ cl->vt->rportfwd_remove(cl, rpf); }
|
||||
static inline SshChannel *ssh_lportfwd_open(
|
||||
ConnectionLayer *cl, const char *host, int port,
|
||||
const char *desc, const SocketPeerInfo *pi, Channel *chan)
|
||||
const char *desc, const SocketEndpointInfo *pi, Channel *chan)
|
||||
{ return cl->vt->lportfwd_open(cl, host, port, desc, pi, chan); }
|
||||
static inline SshChannel *ssh_session_open(ConnectionLayer *cl, Channel *chan)
|
||||
{ return cl->vt->session_open(cl, chan); }
|
||||
static inline SshChannel *ssh_serverside_x11_open(
|
||||
ConnectionLayer *cl, Channel *chan, const SocketPeerInfo *pi)
|
||||
ConnectionLayer *cl, Channel *chan, const SocketEndpointInfo *pi)
|
||||
{ return cl->vt->serverside_x11_open(cl, chan, pi); }
|
||||
static inline SshChannel *ssh_serverside_agent_open(
|
||||
ConnectionLayer *cl, Channel *chan)
|
||||
|
Reference in New Issue
Block a user