summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils.h b/utils.h
index 41c71e5..adedc37 100644
--- a/utils.h
+++ b/utils.h
@@ -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);