X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol.h;h=dd042ec68cd2a38b916ad5f4e189e1ee069361d3;hb=196806f90f40fcc0cf727abd4bed6bc5aefff5ff;hp=c3b3b383c3b1122aac301c92f1d8fe63dd15ddaa;hpb=a1b50920b9a52f86ca6e33fcb24d7fa34313a1ee;p=meshlink diff --git a/src/protocol.h b/src/protocol.h index c3b3b383..dd042ec6 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -17,8 +17,8 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef __TINC_PROTOCOL_H__ -#define __TINC_PROTOCOL_H__ +#ifndef __MESHLINK_PROTOCOL_H__ +#define __MESHLINK_PROTOCOL_H__ #include "ecdsa.h" @@ -70,7 +70,7 @@ typedef struct past_request_t { /* Basic functions */ -extern bool send_request(struct meshlink_handle *mesh, struct connection_t *, const char *, ...) __attribute__ ((__format__(printf, 3, 4))); +extern bool send_request(struct meshlink_handle *mesh, struct connection_t *, const char *, ...) __attribute__((__format__(printf, 3, 4))); extern void forward_request(struct meshlink_handle *mesh, struct connection_t *, const char *); extern bool receive_request(struct meshlink_handle *mesh, struct connection_t *, const char *); extern bool check_id(const char *); @@ -111,4 +111,4 @@ extern bool req_key_h(struct meshlink_handle *mesh, struct connection_t *, const extern bool ans_key_h(struct meshlink_handle *mesh, struct connection_t *, const char *); extern bool tcppacket_h(struct meshlink_handle *mesh, struct connection_t *, const char *); -#endif /* __TINC_PROTOCOL_H__ */ +#endif /* __MESHLINK_PROTOCOL_H__ */