X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol.h;h=47aacd990f1966fb1a6dc0a04219311c55d9fea8;hp=92ccef01482f7d8882b431c35420812cdac55a3a;hb=0d133a5ff230ad78da3208d32521d7549836187e;hpb=de126fa104aaeabbc66b5dd59da9d07da2f0fd97 diff --git a/src/protocol.h b/src/protocol.h index 92ccef01..47aacd99 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -70,8 +70,8 @@ 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 void forward_request(struct meshlink_handle *mesh, struct connection_t *, const char *); +extern bool send_request(struct meshlink_handle *mesh, struct connection_t *, struct submesh_t *s, const char *, ...) __attribute__((__format__(printf, 4, 5))); +extern void forward_request(struct meshlink_handle *mesh, struct connection_t *, struct submesh_t *, const char *); extern bool receive_request(struct meshlink_handle *mesh, struct connection_t *, const char *); extern bool check_id(const char *);