Print links pipeline (for informational purposes)

This commit is contained in:
Kamil Trzcinski
2022-04-12 08:49:19 +02:00
parent d688f7127f
commit 887b88fdda
4 changed files with 48 additions and 6 deletions

View File

@ -14,6 +14,7 @@ typedef bool (*link_check_streaming)();
typedef bool (*link_validate_buffer)(struct link_s *link, buffer_t *buf);
typedef struct link_callbacks_s {
const char *callback_name;
link_on_buffer on_buffer;
link_check_streaming check_streaming;
link_validate_buffer validate_buffer;
@ -28,3 +29,4 @@ typedef struct link_s {
int links_init(link_t *all_links);
int links_step(link_t *all_links, int timeout_now_ms, int *timeout_next_ms);
int links_loop(link_t *all_links, bool *running);
void links_dump(link_t *all_links);