Hide more interfaces behind the flow code.

This commit is contained in:
Ian Gulliver
2016-02-29 20:16:57 -08:00
parent 3fb3c02cf5
commit 90de5b80bc
5 changed files with 55 additions and 56 deletions

View File

@@ -2,18 +2,14 @@
#include <stdbool.h>
struct buf;
struct flow;
struct packet;
struct peer;
void send_init(void);
void send_cleanup(void);
struct serializer *send_get_serializer(char *);
void send_new(int, struct serializer *, struct peer *);
void send_new_wrapper(int, void *, struct peer *);
bool send_new_hello(int, struct serializer *, struct peer *);
void send_hello(struct buf **, void *);
void *send_get_serializer(char *);
bool send_new_hello(int, void *, struct peer *);
void send_write(struct packet *);
void send_print_usage(void);
extern struct flow *send_flow;