X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fprotocol.h;h=fd1676cb10a81a8c0dc2f8f9c6aa511043218e27;hb=3a149f7521dfff67e6a790c1a830afc649ae083e;hp=42981ccaa9e4b807104f308d094167ff916721e8;hpb=42d2dff33306beae8ddbd9cc991ad80f135950a6;p=tinc diff --git a/src/protocol.h b/src/protocol.h index 42981cca..fd1676cb 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -84,7 +84,6 @@ extern bool send_request(struct connection_t *c, const char *format, ...) __attr extern void forward_request(struct connection_t *c, const char *request); extern bool receive_request(struct connection_t *c, const char *request); -extern void init_requests(void); extern void exit_requests(void); extern bool seen_request(const char *request); @@ -107,7 +106,7 @@ extern void send_key_changed(void); extern bool send_req_key(struct node_t *to); extern bool send_ans_key(struct node_t *to); extern bool send_tcppacket(struct connection_t *c, const struct vpn_packet_t *packet); -extern bool send_sptps_tcppacket(struct connection_t *c, const char *packet, int len); +extern bool send_sptps_tcppacket(struct connection_t *c, const void *packet, size_t len); extern bool send_udp_info(struct node_t *from, struct node_t *to); extern bool send_mtu_info(struct node_t *from, struct node_t *to, int mtu);