Output tape files will typically clobber existing files, but the user can change the default file mode to write+ or append in the tape definition in the input file. The "#" symbol at the beginning of a line denotes a comment. These comments and blank lines are skipped in input files. Leading whitespace is ignored.
Defines | |
| #define | ISSET(X, B) (((X)[(B)/8]&(1<<((B)&7)))==(1<<((B)&7))) |
| #define | MAPSIZE(N) ((N-1)/8+1) |
| #define | SET(X, B) ((X)[(B)/8]|=(1<<((B)&7))) |
Functions | |
| EXPORT void | close_collector (struct collector *my) |
| EXPORT void | close_player (struct player *my) |
| EXPORT void | close_recorder (struct recorder *my) |
| EXPORT void | close_shaper (struct shaper *my) |
| EXPORT int | open_collector (struct collector *my, char *fname, char *flags) |
| EXPORT int | open_player (struct player *my, char *fname, char *flags) |
| EXPORT int | open_recorder (struct recorder *my, char *fname, char *flags) |
| EXPORT int | open_shaper (struct shaper *my, char *fname, char *flags) |
| EXPORT char * | read_player (struct player *my, char *buffer, unsigned int size) |
| EXPORT char * | read_shaper (struct shaper *my, char *buffer, unsigned int size) |
| EXPORT int | rewind_player (struct player *my) |
| EXPORT int | rewind_shaper (struct shaper *my) |
| EXPORT int | write_collector (struct collector *my, char *timestamp, char *value) |
| EXPORT int | write_recorder (struct recorder *my, char *timestamp, char *value) |
Variables | |
| char * | file = NULL |
| int | linenum = 0 |