Encapsulate flow descriptions inside a struct.

This commit is contained in:
Ian Gulliver
2016-02-29 17:12:06 -08:00
parent 3539f9d640
commit 3fb3c02cf5
12 changed files with 83 additions and 68 deletions

View File

@@ -1,6 +1,9 @@
#pragma once
#include <stdbool.h>
struct buf;
struct flow;
struct packet;
struct peer;
@@ -13,3 +16,4 @@ bool send_new_hello(int, struct serializer *, struct peer *);
void send_hello(struct buf **, void *);
void send_write(struct packet *);
void send_print_usage(void);
extern struct flow *send_flow;