Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:02:04

0001 #ifndef MAD_STREAM_H
0002 #define MAD_STREAM_H
0003 
0004 // types
0005 
0006 struct char_array;
0007 
0008 struct in_buffer
0009 {
0010   char name[NAME_L];
0011   int flag;                     /* flag for logical tests */
0012   struct char_array* c_a;
0013   int stamp;
0014 };
0015 
0016 struct in_buff_list
0017 {
0018   char name[NAME_L];
0019   int  max,                     /* max. pointer array size */
0020        curr;                    /* current occupation = call level */
0021   FILE** input_files;           /* input file pointers */
0022   int stamp;
0023   struct in_buffer** buffers;   /* in_buff pointer list */
0024 };
0025 
0026 // interface
0027 
0028 struct in_buffer*     new_in_buffer(int length);
0029 struct in_buff_list*  new_in_buff_list(int length);
0030 void                  grow_in_buff_list(struct in_buff_list*);
0031 int                   down_unit(char* file_name);
0032 
0033 #endif // MAD_STREAM_H
0034