common.h (385B)
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 <reading.h> 10 #include <stack_u64.h> 11 12 typedef struct { 13 uint64_t lb; 14 uint64_t ub; 15 int64_t delta; 16 } range_t; 17 18 size_t read_ranges(size_t *nranges, range_t *ranges, char **lines, 19 size_t nlines); 20 stack_u64 read_starts(char **lines); 21 22 #endif