X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=putty.h;h=4acfec15aaef6b6ab7a0daab746ae3570c535231;hb=3fc33c4118acebbd6bb37f69b71a707aaa2f7ce8;hp=46708f102228df5909c55416ffd35f20fb478300;hpb=8574822b9b340fbfa9246c309fdfc803c970ea90;p=PuTTY.git diff --git a/putty.h b/putty.h index 46708f10..4acfec15 100644 --- a/putty.h +++ b/putty.h @@ -916,7 +916,16 @@ int verify_ssh_host_key(void *frontend, char *host, int port, char *keytype, */ int askalg(void *frontend, const char *algtype, const char *algname, void (*callback)(void *ctx, int result), void *ctx); -int askappend(void *frontend, Filename filename); +/* + * askappend can return four values: + * + * - 2 means overwrite the log file + * - 1 means append to the log file + * - 0 means cancel logging for this session + * - -1 means please wait. + */ +int askappend(void *frontend, Filename filename, + void (*callback)(void *ctx, int result), void *ctx); /* * Exports from console.c (that aren't equivalents to things in