]> git.scottworley.com Git - tattlekey/blob - client/sends.h
02d49db846c767905da47ed83bfe65d7e2912dfc
[tattlekey] / client / sends.h
1 #ifndef SENDS_H
2 #define SENDS_H
3
4 #include "pico/cyw43_arch.h"
5 #include "pico/util/pheap.h"
6
7 typedef struct {
8 uint32_t timestamp;
9 u16_t seq;
10 u8_t send_count;
11 } send_t;
12
13 uint32_t next_send(send_t *s);
14
15 bool next_send_less_than(void *user_data, pheap_node_id_t a, pheap_node_id_t b);
16
17 #endif