X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/39934deb5202149f98198c111a35c21cb4d0d0f8..f668fdf37d5b25f354c8541c1c6dda7c74cb6444:/misc.h diff --git a/misc.h b/misc.h index cd144b53..d8a43524 100644 --- a/misc.h +++ b/misc.h @@ -5,6 +5,7 @@ #include /* for FILE * */ #include /* for va_list */ +#include /* for struct tm */ #ifndef FALSE #define FALSE 0 @@ -16,6 +17,8 @@ typedef struct Filename Filename; typedef struct FontSpec FontSpec; +unsigned long parse_blocksize(const char *bs); + char *dupstr(const char *s); char *dupcat(const char *s1, ...); char *dupprintf(const char *fmt, ...); @@ -39,6 +42,8 @@ void bufchain_prefix(bufchain *ch, void **data, int *len); void bufchain_consume(bufchain *ch, int len); void bufchain_fetch(bufchain *ch, void *data, int len); +struct tm ltime(void); + /* * Debugging functions. *