1 #ifndef COMMON_FILES_H_INCLUDED
2 #define COMMON_FILES_H_INCLUDED
7 typedef struct FILE_Reader
{
12 typedef struct FILE_Writer
{
17 void FILE_AssignReader (FILE_Reader
*r
, FILE *fp
);
18 int FILE_OpenReader (FILE_Reader
*r
, const char *name
);
19 void FILE_CloseReader (FILE_Reader
*r
);
21 void FILE_AssignWriter (FILE_Writer
*w
, FILE *fp
);
22 int FILE_OpenWriter (FILE_Writer
*w
, const char *name
);
23 void FILE_CloseWriter (FILE_Writer
*w
);
25 #endif /* COMMON_FILES_H_INCLUDED */