stat.h (450B)
1 /* 2 * stat.h -- status 3 */ 4 5 #ifndef STAT_H 6 #define STAT_H 7 8 #include <stdbool.h> 9 #include <stdio.h> 10 11 struct stat { 12 char s_outf[512]; /* output file */ 13 char s_asmf[512]; /* ASM output file */ 14 char i_infile[512]; /* src file */ 15 FILE* i_fstream; /* file stream */ 16 bool mod_pipe; /* if using pipes for communication over tempfiles */ 17 }; 18 19 typedef struct stat stat_t; 20 21 /* current stat */ 22 extern stat_t stat; 23 24 void initstat(void); 25 26 #endif /* STAT_H */ 27