projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version number and other tweakings prior to the 0.58 release.
[u/mdw/putty]
/
misc.h
diff --git
a/misc.h
b/misc.h
index
7739446
..
ae883e1
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
@@
-41,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.
*
@@
-49,7
+52,7
@@
void bufchain_fetch(bufchain *ch, void *data, int len);
* debug(()) (note the double brackets) is like printf().
*
* dmemdump() and dmemdumpl() both do memory dumps. The difference
* debug(()) (note the double brackets) is like printf().
*
* dmemdump() and dmemdumpl() both do memory dumps. The difference
- * is that dmemdumpl() is more suited for when
where the memory i
s is
+ * is that dmemdumpl() is more suited for when
the memory addres
s is
* important (say because you'll be recording pointer values later
* on). dmemdump() is more concise.
*/
* important (say because you'll be recording pointer values later
* on). dmemdump() is more concise.
*/