X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/26d1da7b02a1b4190877777183bd7be2087bc6d2..cdd310bb1a216ee7713926b6cd813016fe5343ee:/putty.h diff --git a/putty.h b/putty.h index 60aed037..af3768d8 100644 --- a/putty.h +++ b/putty.h @@ -794,6 +794,7 @@ int askappend(void *frontend, Filename filename); extern int console_batch_mode; int console_get_line(const char *prompt, char *str, int maxlen, int is_pw); void console_provide_logctx(void *logctx); +int is_interactive(void); /* * Exports from printing.c. @@ -814,6 +815,7 @@ void printer_finish_job(printer_job *); */ int cmdline_process_param(char *, char *, int, Config *); void cmdline_run_saved(Config *); +void cmdline_cleanup(void); extern char *cmdline_password; #define TOOLTYPE_FILETRANSFER 1 #define TOOLTYPE_NONNETWORK 2 @@ -847,5 +849,6 @@ const char *filename_to_str(const Filename *fn); int filename_equal(Filename f1, Filename f2); int filename_is_null(Filename fn); char *get_username(void); /* return value needs freeing */ +char *get_random_data(int bytes); /* used in cmdgen.c */ #endif