diff options
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ struct connection { struct list_head *addrs; unsigned next_addr; - void (*callback)(struct cfg *, struct connection *, int res); + void (*callback)(struct cfg *, struct connection *, bool); }; struct uring_task; @@ -59,7 +59,7 @@ void connection_set_remote(struct cfg *cfg, struct connection *conn, void connect_any(struct cfg *cfg, struct uring_task *task, struct list_head *addrs, struct connection *conn, - void (*callback)(struct cfg *, struct connection *, int res)); + void (*callback)(struct cfg *, struct connection *, bool)); uint16_t sockaddr_port(struct sockaddr_in46 *addr); |