mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
Move prototype for platform_new_connection() to a header file so the
definitions can be checked against it. [originally from svn r3248]
This commit is contained in:
parent
171ce1e780
commit
8a91a0516f
@ -84,6 +84,12 @@ Socket new_listener(char *srcaddr, int port, Plug plug, int local_host_only,
|
||||
SockAddr name_lookup(char *host, int port, char **canonicalname,
|
||||
const Config *cfg);
|
||||
|
||||
/* platform-dependent callback from new_connection() */
|
||||
Socket platform_new_connection(SockAddr addr, char *hostname,
|
||||
int port, int privport,
|
||||
int oobinline, int nodelay, Plug plug,
|
||||
const Config *cfg);
|
||||
|
||||
/* socket functions */
|
||||
|
||||
void sk_init(void); /* called once at program startup */
|
||||
|
5
proxy.c
5
proxy.c
@ -349,11 +349,6 @@ SockAddr name_lookup(char *host, int port, char **canonicalname,
|
||||
return sk_namelookup(host, canonicalname);
|
||||
}
|
||||
|
||||
Socket platform_new_connection(SockAddr addr, char *hostname,
|
||||
int port, int privport,
|
||||
int oobinline, int nodelay, Plug plug,
|
||||
const Config *cfg);
|
||||
|
||||
Socket new_connection(SockAddr addr, char *hostname,
|
||||
int port, int privport,
|
||||
int oobinline, int nodelay, Plug plug,
|
||||
|
Loading…
Reference in New Issue
Block a user