#ifndef REPLAY_H_INCLUDED #define REPLAY_H_INCLUDED #define _XOPEN_SOURCE #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> #include <ctype.h> #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 int replaylines(int seconds); int readreplayline(int seconds, int linenum, char *str); int writereplayline(char *str); #endif