summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2017-11-30 22:57:25 +0400
committerAnton <anton@picapica>2017-11-30 22:57:25 +0400
commitc2f8b64da40dd73f75230f18816578a2cc8c1b9a (patch)
tree8c34adef51a2af250645e7f7b1fb87df0913e021 /PICA_proto.h
parentced679b1e7896b0df7215d842d2122d8c8f40edf (diff)
downloadpica-pica-c2f8b64da40dd73f75230f18816578a2cc8c1b9a.tar.gz
pica-pica-c2f8b64da40dd73f75230f18816578a2cc8c1b9a.zip
pica-client: display client protocol version
Diffstat (limited to 'PICA_proto.h')
-rw-r--r--PICA_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index 32c817a..46ca178 100644
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -10,6 +10,7 @@
#define PICA_C2CPROTO_VER_HIGH 0
#define PICA_C2CPROTO_VER_LOW 1
+#define PICA_PROTO_CLIENT_VER_STRING PICA_STRINGIFY2(PICA_C2CPROTO_VER_HIGH, PICA_C2CPROTO_VER_LOW)
#define PICA_PROTO_VER_STRING PICA_STRINGIFY2(PICA_PROTO_VER_HIGH, PICA_PROTO_VER_LOW)
#define PICA_STRINGIFY2(H, L) PICA_STRINGIFY(H, L)
#define PICA_STRINGIFY(H, L) #H#L