| 1 | #ifndef LIB__ELSEWHERE_H__ |
| 2 | #define LIB__ELSEWHERE_H__ |
| 3 | |
| 4 | #include <stdint.h> |
| 5 | #include <stddef.h> |
| 6 | #include <stdbool.h> |
| 7 | |
| 8 | struct elsewhere_range { |
| 9 | uint64_t elsewhere; |
| 10 | uint64_t target; |
| 11 | uint64_t length; |
| 12 | }; |
| 13 | |
| 14 | bool elsewhere_append( |
| 15 | bool flexible_target, |
| 16 | struct elsewhere_range *ranges, uint64_t *ranges_count, |
| 17 | uint64_t ranges_max, |
| 18 | void *elsewhere, uint64_t *target, size_t t_length); |
| 19 | |
| 20 | #endif |
