common.h (443B)
1 #ifndef COMMON_H_ 2 #define COMMON_H_ 3 4 #include <assert.h> 5 #include <stdint.h> 6 #include <stdio.h> 7 #include <stdlib.h> 8 9 #include <dict.h> 10 #include <reading.h> 11 #include <stack_u64.h> 12 13 #define MAX_NEQ 512 14 15 typedef struct { 16 size_t from; 17 size_t to; 18 19 size_t entry; 20 char cond; 21 int64_t bound; 22 } cond_t; 23 24 stack_u64 *parse(dict_t *d, size_t *nconds, cond_t **r, char **lines, 25 size_t nlines); 26 void print_dict(dict_t *d); 27 28 #endif