Add links

This commit is contained in:
Kamil Trzcinski
2022-04-04 17:13:44 +02:00
parent 35262d1655
commit fcbb56f7fa
6 changed files with 111 additions and 49 deletions

View File

@ -8,4 +8,6 @@ typedef struct link_s {
void (*on_buffer)(struct buffer_s *buf);
} link_t;
int handle_links(link_t *all_links, int timeout);
int links_init(link_t *all_links);
int links_step(link_t *all_links, int timeout);
int links_loop(link_t *all_links, bool *running);