diff options
Diffstat (limited to 'replay.h')
-rw-r--r-- | replay.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -36,10 +36,11 @@ #define MAXCHAR 1000 #define TIMELEN 11 // 32-bit unixtime is up to 10 characters (+1 for null char) // TODO - Make this Year 2038 proof #define TIMELENF 11 // [HH:MM:SS] = 10 characters + 1 for null char +#define DATETIMELEN 50 // Should be enough for a full datetime string // TODO - Is it!? I think it will only ever be as long as [DD/MM/YY HH:MM:SS] (20 including null) int replaylines(int seconds, char *basedir); -int readreplayline(int seconds, int linenum, char *str, char *basedir); +int readreplayline(int seconds, int linenum, char *str, char *basedir, int replaydates); // Returns the number of seconds ago that 'nick' last spoke, or -1 if there is a problem. // 'basedir' is the directory in which to find 'replay.log'. |