File indexing completed on 2025-01-18 10:02:04
0001 #ifndef MAD_STREAM_H
0002 #define MAD_STREAM_H
0003
0004
0005
0006 struct char_array;
0007
0008 struct in_buffer
0009 {
0010 char name[NAME_L];
0011 int flag;
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,
0020 curr;
0021 FILE** input_files;
0022 int stamp;
0023 struct in_buffer** buffers;
0024 };
0025
0026
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
0034