X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol.h;h=fb1e10960cc25539971a4250f8c9f358a1e87556;hp=f72d42d8999869c8f2baa27daf2dbad868a3660a;hb=7870cb4a1882fb0e3fd4e90784f81327fc0cab08;hpb=9ae205157e4ba739dccab09cdbbc583c162b675a diff --git a/src/protocol.h b/src/protocol.h index f72d42d8..fb1e1096 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -48,6 +48,7 @@ typedef enum request_t { CONTROL, REQ_PUBKEY, ANS_PUBKEY, REQ_SPTPS, + REQ_CANONICAL, NUM_REQUESTS } request_t; @@ -94,6 +95,7 @@ bool send_pong(struct meshlink_handle *mesh, struct connection_t *); bool send_add_edge(struct meshlink_handle *mesh, struct connection_t *, const struct edge_t *, int contradictions); bool send_del_edge(struct meshlink_handle *mesh, struct connection_t *, const struct edge_t *, int contradictions); bool send_req_key(struct meshlink_handle *mesh, struct node_t *); +bool send_canonical_address(struct meshlink_handle *mesh, struct node_t *); /* Request handlers */