1
0
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:
Ben Harris 2003-06-06 10:42:14 +00:00
parent 171ce1e780
commit 8a91a0516f
2 changed files with 6 additions and 5 deletions

View File

@ -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 */

View File

@ -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,