X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=ssh.h;h=9a57205d61eabefbf6f69d32ff0a33f75068540a;hb=f5c90091bbbb4346a37792de3b9cb81d1f1fad85;hp=cd0f883fac7a9beb86502492fda52dbb96ce4b18;hpb=81df0d4253671dee0f7d1db83ebeb49b0e20fc27;p=PuTTY.git diff --git a/ssh.h b/ssh.h index cd0f883f..9a57205d 100644 --- a/ssh.h +++ b/ssh.h @@ -270,11 +270,13 @@ void ssh_send_port_open(void *channel, char *hostname, int port, char *org); /* Exports from portfwd.c */ extern const char *pfd_newconnect(Socket * s, char *hostname, int port, - void *c, const Config *cfg); + void *c, const Config *cfg, + int addressfamily); /* desthost == NULL indicates dynamic (SOCKS) port forwarding */ extern const char *pfd_addforward(char *desthost, int destport, char *srcaddr, int port, void *backhandle, - const Config *cfg, void **sockdata); + const Config *cfg, void **sockdata, + int address_family); extern void pfd_close(Socket s); extern void pfd_terminate(void *sockdata); extern int pfd_send(Socket s, char *data, int len);