X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;ds=sidebyside;f=src%2Fprotocol.h;h=92ccef01482f7d8882b431c35420812cdac55a3a;hb=f712fdc0b3de22566cdf06954256c62f46f25542;hp=48bdd864df83cc8120cf56cbd24e262b477616c3;hpb=2610a548bbeef7a10172889f8aa41d8bfa797c71;p=meshlink diff --git a/src/protocol.h b/src/protocol.h index 48bdd864..92ccef01 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -85,8 +85,8 @@ extern bool send_id(struct meshlink_handle *mesh, struct connection_t *); extern bool send_ack(struct meshlink_handle *mesh, struct connection_t *); extern bool send_ping(struct meshlink_handle *mesh, struct connection_t *); extern bool send_pong(struct meshlink_handle *mesh, struct connection_t *); -extern bool send_add_edge(struct meshlink_handle *mesh, struct connection_t *, const struct edge_t *); -extern bool send_del_edge(struct meshlink_handle *mesh, struct connection_t *, const struct edge_t *); +extern bool send_add_edge(struct meshlink_handle *mesh, struct connection_t *, const struct edge_t *, int contradictions); +extern bool send_del_edge(struct meshlink_handle *mesh, struct connection_t *, const struct edge_t *, int contradictions); extern void send_key_changed(struct meshlink_handle *mesh); extern bool send_req_key(struct meshlink_handle *mesh, struct node_t *);