Move more socket options into the flow framework.
This commit is contained in:
@@ -9,12 +9,14 @@ struct peer;
|
||||
struct flow {
|
||||
const char *name;
|
||||
void (*socket_ready)(int);
|
||||
void (*socket_connected)(int);
|
||||
void (*new)(int, void *, struct peer *);
|
||||
void (*get_hello)(struct buf **, void *);
|
||||
uint32_t *ref_count;
|
||||
};
|
||||
|
||||
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_ref_inc(struct flow *);
|
||||
|
||||
Reference in New Issue
Block a user