Get everyone out of flow's business.

This commit is contained in:
Ian Gulliver
2016-03-02 22:25:56 -08:00
parent e62b84e4e8
commit 2f6db632b2
7 changed files with 35 additions and 33 deletions

View File

@@ -17,7 +17,8 @@ struct flow {
void flow_socket_ready(int, struct flow *);
void flow_socket_connected(int, struct flow *);
bool flow_hello(int, struct flow *, void *);
bool flow_new(int, struct flow *, void *);
void flow_new(int, struct flow *, void *, struct peer *);
bool flow_new_send_hello(int, struct flow *, void *, struct peer *);
void flow_get_hello(struct flow *, struct buf **, void *);
void flow_ref_inc(struct flow *);
void flow_ref_dec(struct flow *);