X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet.h;h=507de349e37817b1c4957cfb5d1f0ba90ab275ff;hb=107d9c7da5b206425a8e1643a6849ea990f725f8;hp=367ef714b933d5061f68435b2918010320617a45;hpb=263d9903826ffb65aec89bdf5d46f72bd183d467;p=tinc diff --git a/src/net.h b/src/net.h index 367ef714..507de349 100644 --- a/src/net.h +++ b/src/net.h @@ -184,8 +184,8 @@ extern void handle_new_meta_connection(void *, int); extern void handle_new_unix_connection(void *, int); extern int setup_listen_socket(const sockaddr_t *); extern int setup_vpn_in_socket(const sockaddr_t *); -extern bool send_sptps_data(void *handle, uint8_t type, const char *data, size_t len); -extern bool receive_sptps_record(void *handle, uint8_t type, const char *data, uint16_t len); +extern bool send_sptps_data(void *handle, uint8_t type, const void *data, size_t len); +extern bool receive_sptps_record(void *handle, uint8_t type, const void *data, uint16_t len); extern void send_packet(struct node_t *, vpn_packet_t *); extern void receive_tcppacket(struct connection_t *, const char *, int); extern void broadcast_packet(const struct node_t *, vpn_packet_t *);