X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprotocol.h;fp=src%2Fprotocol.h;h=d2a767c27b30660ba54dd962f3fc8d58f92918b2;hp=8951cbcd2d3ae35ad528edba5f667e7cd80ec466;hb=a4acf7061fadc59d45c98e70a5247bb52114189b;hpb=b05df3fcbfb8dbef4c87691d118c5b68aeb79e4a diff --git a/src/protocol.h b/src/protocol.h index 8951cbcd..d2a767c2 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -80,10 +80,6 @@ extern void age_past_requests(void); /* Requests */ -extern bool send_id(struct connection_t *); -extern bool send_metakey(struct connection_t *); -extern bool send_challenge(struct connection_t *); -extern bool send_chal_reply(struct connection_t *); extern bool send_ack(struct connection_t *); extern bool send_status(struct connection_t *, int, const char *); extern bool send_error(struct connection_t *, int,const char *); @@ -96,15 +92,11 @@ extern bool send_add_edge(struct connection_t *, const struct edge_t *); extern bool send_del_edge(struct connection_t *, const struct edge_t *); extern bool send_key_changed(struct connection_t *, const struct node_t *); extern bool send_req_key(struct connection_t *, const struct node_t *, const struct node_t *); -extern bool send_ans_key(struct connection_t *, const struct node_t *, const struct node_t *); +extern bool send_ans_key(struct connection_t *, const struct node_t *); extern bool send_tcppacket(struct connection_t *, struct vpn_packet_t *); /* Request handlers */ -extern bool id_h(struct connection_t *); -extern bool metakey_h(struct connection_t *); -extern bool challenge_h(struct connection_t *); -extern bool chal_reply_h(struct connection_t *); extern bool ack_h(struct connection_t *); extern bool status_h(struct connection_t *); extern bool error_h(struct connection_t *);