X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/a5a6f839780c4cb39f3001602162576d98e9fcca..919baedb34e9f6e351d70820529398181d8d0ea6:/putty.h 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