X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/bf133a73a78d9ea39ff5cd50dfea926253ec021a..6eaa8806c6bbe865035bda53ff5403337bb1d9c4:/putty.h?ds=inline diff --git a/putty.h b/putty.h index 9a35849e..af3768d8 100644 --- a/putty.h +++ b/putty.h @@ -429,6 +429,7 @@ struct config_tag { char answerback[256]; char printer[128]; /* Colour options */ + int system_colour; int try_palette; int bold_colour; unsigned char colours[22][3]; @@ -793,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. @@ -813,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 @@ -845,5 +848,7 @@ Filename filename_from_str(const char *string); 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