Annotation of dgamelaunch-openbsd/ttyplay.h, Revision 1.1
1.1 ! rubenllo 1: #ifndef INCLUDED_ttyplay_h
! 2: #define INCLUDED_ttyplay_h
! 3:
! 4: #include <stdio.h>
! 5: #include "ttyrec.h"
! 6:
! 7: int ttyplay_main (char *ttyfile, int mode, int resizex, int resizey);
! 8:
! 9: typedef double (*WaitFunc) (struct timeval prev,
! 10: struct timeval cur, double speed);
! 11: typedef int (*ReadFunc) (FILE * fp, Header * h, char **buf, int pread);
! 12: typedef void (*WriteFunc) (char *buf, int len);
! 13:
! 14: /* Return values for ReadFunc (and ProcessFunc) */
! 15: #define READ_DATA 0 /* Data */
! 16: #define READ_EOF 1 /* Normal EOF */
! 17: #define READ_RESTART 2 /* Screen must be redrawn (after simplemail) */
! 18: #define READ_QUIT 3 /* User aborted */
! 19:
! 20: #endif /* !INCLUDED_ttyplay_h */
CVSweb