projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New function ltime() returns a struct tm of the current local time.
[u/mdw/putty]
/
misc.h
diff --git
a/misc.h
b/misc.h
index
cd144b5
..
fe5056c
100644
(file)
--- a/
misc.h
+++ b/
misc.h
@@
-5,6
+5,7
@@
#include <stdio.h> /* for FILE * */
#include <stdarg.h> /* for va_list */
#include <stdio.h> /* for FILE * */
#include <stdarg.h> /* for va_list */
+#include <time.h> /* for struct_tm */
#ifndef FALSE
#define FALSE 0
#ifndef FALSE
#define FALSE 0
@@
-16,6
+17,8
@@
typedef struct Filename Filename;
typedef struct FontSpec FontSpec;
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, ...);
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);
void bufchain_consume(bufchain *ch, int len);
void bufchain_fetch(bufchain *ch, void *data, int len);
+struct tm ltime(void);
+
/*
* Debugging functions.
*
/*
* Debugging functions.
*