X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=network.h;h=2cab438895c459d07d5f4b4bacd901c00066f544;hb=9157417feaafc411433f289248f65b0928ee7c06;hp=28744a6f5f5369b7d9b84ea315a45e1d090bcb29;hpb=f2319456bc1e36ff84bf250d8f0ccd5b39c96269;p=PuTTY.git diff --git a/network.h b/network.h index 28744a6f..2cab4388 100644 --- a/network.h +++ b/network.h @@ -62,13 +62,14 @@ struct plug_function_table { void sk_init(void); /* called once at program startup */ +void sk_cleanup(void); /* called just before program exit */ SockAddr sk_namelookup(char *host, char **canonicalname); void sk_getaddr(SockAddr addr, char *buf, int buflen); void sk_addr_free(SockAddr addr); Socket sk_new(SockAddr addr, int port, int privport, int oobinline, - Plug p); + int nodelay, Plug p); Socket sk_newlistener(int port, Plug plug, int local_host_only);