X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol.h;fp=src%2Fprotocol.h;h=05c2203bf70bc791bbb8657e3090191a8aa55e81;hp=fb1e10960cc25539971a4250f8c9f358a1e87556;hb=90a197d30aecd6da76fe6730702bdf4634ab1413;hpb=67630169f4a96da870f546c95bdde02784d0772e diff --git a/src/protocol.h b/src/protocol.h index fb1e1096..05c2203b 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -62,6 +62,10 @@ typedef struct past_request_t { time_t firstseen; } past_request_t; +/* Protocol support flags */ + +static const uint32_t PROTOCOL_TINY = 1; // Peer is using meshlink-tiny + /* Maximum size of strings in a request. * scanf terminates %2048s with a NUL character, * but the NUL character can be written after the 2048th non-NUL character.