Rename socket_connected to socket_ready, since we use it before accept()

This commit is contained in:
Ian Gulliver
2016-03-02 19:28:02 -08:00
parent 14be11de79
commit 91775999d8
7 changed files with 13 additions and 13 deletions

View File

@@ -8,13 +8,13 @@ struct peer;
struct flow {
const char *name;
void (*socket_connected)(int);
void (*socket_ready)(int);
void (*new)(int, void *, struct peer *);
void (*get_hello)(struct buf **, void *);
uint32_t *ref_count;
};
void flow_socket_connected(int, struct flow *);
void flow_socket_ready(int, struct flow *);
bool flow_hello(int, struct flow *, void *);
bool flow_new(int, struct flow *, void *);
void flow_ref_inc(struct flow *);