X-Git-Url: http://git.scottworley.com/tattlekey/blobdiff_plain/42b148051a82adff71153a2e67d1eaef460437ec..17461dece177a2ca6e34a0cc7412b2352a1e8053:/client/sends.h diff --git a/client/sends.h b/client/sends.h index 3dc1c74..b13f9a8 100644 --- a/client/sends.h +++ b/client/sends.h @@ -8,15 +8,15 @@ typedef struct { uint32_t timestamp; u16_t seq; u8_t send_count; -} send_t; +} press_t; bool next_send_less_than(void *user_data, pheap_node_id_t a, pheap_node_id_t b); -void create_send(send_t *sleeping_sends, pheap_t *sleeps_heap, - uint32_t timestamp, u16_t seq); +void create_press(press_t *presses, pheap_t *sleeps_heap, uint32_t timestamp, + u16_t seq); /* When do we next need to send something (in seconds since boot)? * Returns -1 if there's nothing pending. */ -int32_t next_scheduled_send(send_t *sleeping_sends, pheap_t *sleeps_heap); +int32_t next_scheduled_send(press_t *presses, pheap_t *sleeps_heap); #endif