summaryrefslogtreecommitdiff
path: root/replay.h
diff options
context:
space:
mode:
Diffstat (limited to 'replay.h')
-rw-r--r--replay.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/replay.h b/replay.h
index 5ae9994..c3f23f9 100644
--- a/replay.h
+++ b/replay.h
@@ -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'.