#ifndef _VARS_H #define _VARS_H enum { false, true }; typedef unsigned short bool; typedef struct file_entry_t { const char *file; unsigned long lines; struct file_entry_t *next; } file_entry_t; typedef struct data_t { bool read_from_stdin; bool number_lines; unsigned long lines_count; char **stdin_lines; long **ranges; const char *file; FILE *input; file_entry_t *queue; } data_t; #endif /* _VARS_H */