X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fprotocol.h;h=080eab623c39be2a0d991cbd1ae2b65ee965fc9d;hb=8eb1e508a3fd32a93f1dabab098b3293f527ac2b;hp=5882513d4947be821741ac3f55b6de36b1d011cf;hpb=b549eb9642b4b8b441b0e23cd3e0b4d7f39907ae;p=meshlink-tiny diff --git a/src/protocol.h b/src/protocol.h index 5882513..080eab6 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -75,8 +75,8 @@ typedef struct past_request_t { /* Basic functions */ -bool send_request(struct meshlink_handle *mesh, struct connection_t *, const struct submesh_t *s, const char *, ...) __attribute__((__format__(printf, 4, 5))); -void forward_request(struct meshlink_handle *mesh, struct connection_t *, const struct submesh_t *, const char *); +bool send_request(struct meshlink_handle *mesh, struct connection_t *, const char *, ...) __attribute__((__format__(printf, 3, 4))); +void forward_request(struct meshlink_handle *mesh, struct connection_t *, const char *); bool receive_request(struct meshlink_handle *mesh, struct connection_t *, const char *); bool check_id(const char *);