| 1 |
#ifndef READ_SOURCE_H |
| 2 |
#define READ_SOURCE_H |
| 3 |
|
| 4 |
#include <stdio.h> |
| 5 |
|
| 6 |
// read file at once, the pointer is all fixed |
| 7 |
extern unsigned init_source (FILE *read_fp); |
| 8 |
|
| 9 |
// return NULL to indicate EOF |
| 10 |
extern char *next_line (void); |
| 11 |
|
| 12 |
extern void free_source (void); |
| 13 |
|
| 14 |
#endif |