2016-02-17 17:19:57 -08:00
|
|
|
#pragma once
|
|
|
|
|
|
2016-03-08 12:22:46 -08:00
|
|
|
#include <stdbool.h>
|
|
|
|
|
|
2016-03-02 22:30:45 -08:00
|
|
|
struct buf;
|
2016-02-29 17:12:06 -08:00
|
|
|
struct flow;
|
2016-02-22 16:58:13 -08:00
|
|
|
struct packet;
|
2016-02-17 17:19:57 -08:00
|
|
|
|
2016-02-25 23:37:37 -08:00
|
|
|
void send_init(void);
|
|
|
|
|
void send_cleanup(void);
|
2016-03-07 11:26:25 -08:00
|
|
|
void *send_get_serializer(const char *);
|
2016-03-02 22:30:45 -08:00
|
|
|
void send_get_hello(struct buf **, void *);
|
2016-02-17 17:19:57 -08:00
|
|
|
void send_write(struct packet *);
|
2016-02-25 23:37:37 -08:00
|
|
|
void send_print_usage(void);
|
2016-03-08 12:22:46 -08:00
|
|
|
bool send_add(bool (*)(const char *, struct flow *, void *), struct flow *, const char *);
|
2016-02-29 17:12:06 -08:00
|
|
|
extern struct flow *send_flow;
|