X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=network.h;h=d58635b6246b0162f52acaf0f6f92524ee309fcd;hb=19467455fe7840ab146f47136c88f61c87365e8c;hp=2ffa8f38bb228cddba6b0fff4c9e65d98402d0a8;hpb=3d4d4004e83f19310d90e6341dbf363a47382ec2;p=PuTTY.git diff --git a/network.h b/network.h index 2ffa8f38..d58635b6 100644 --- a/network.h +++ b/network.h @@ -227,6 +227,12 @@ Socket new_error_socket(const char *errmsg, Plug plug); * Exports from be_misc.c. */ void backend_socket_log(void *frontend, int type, SockAddr addr, int port, - const char *error_msg, int error_code); + const char *error_msg, int error_code, Conf *conf, + int session_started); +#ifndef BUFCHAIN_TYPEDEF +typedef struct bufchain_tag bufchain; /* rest of declaration in misc.c */ +#define BUFCHAIN_TYPEDEF +#endif +void log_proxy_stderr(Plug plug, bufchain *buf, const void *vdata, int len); #endif