X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/39934deb5202149f98198c111a35c21cb4d0d0f8..aca589d972c5c12706d57322e89f9dec2b2a3a00:/misc.h diff --git a/misc.h b/misc.h index cd144b53..fe5056c6 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. *