| 31 | } |
| 32 | |
| 33 | static bool equal(const struct query_channel_range *x, |
| 34 | const struct query_channel_range *y) |
| 35 | { |
| 36 | size_t upto_tlvs = (uintptr_t)&x->tlvs - (uintptr_t)x; |
| 37 | if (memcmp(x, y, upto_tlvs) != 0) |
| 38 | return false; |
| 39 | |
| 40 | assert(x->tlvs && y->tlvs); |
| 41 | return tal_arr_eq(x->tlvs->query_option, y->tlvs->query_option); |
| 42 | } |
| 43 | |
| 44 | void run(const u8 *data, size_t size) |
| 45 | { |
nothing calls this directly
no outgoing calls
no test coverage detected