summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2019-02-14 21:53:06 +0400
committerAnton <anton@picapica>2019-02-14 21:53:06 +0400
commitc1856913ef78ceffc4766cd53686c86d0c314e3f (patch)
tree6fe61431c6d8aab6c001551bd813e359f4219694 /PICA_proto.h
parent130f4611430a348bd482ba5c8755a6e12e0f8eda (diff)
downloadpica-pica-c1856913ef78ceffc4766cd53686c86d0c314e3f.tar.gz
pica-pica-c1856913ef78ceffc4766cd53686c86d0c314e3f.zip
pica-client: sending and receiving MULTILOGIN message
Diffstat (limited to 'PICA_proto.h')
-rw-r--r--PICA_proto.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index b218c19..cb6e673 100644
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -56,6 +56,8 @@
#define PICA_PROTO_DIRECTC2C_FAILED 0x0C
#define PICA_PROTO_DIRECTC2C_SWITCH 0x0D
+#define PICA_PROTO_MULTILOGIN 0x0E
+
#define PICA_PROTO_MSGUTF8 0x30
#define PICA_PROTO_MSGOK 0x40
#define PICA_PROTO_SENDFILEREQUEST 0x50
@@ -92,7 +94,7 @@
//size
-#define PICA_PROTO_INITREQ_SIZE 5
+#define PICA_PROTO_INITREQ_SIZE 4
#define PICA_PROTO_INITRESPOK_SIZE 4
#define PICA_PROTO_VERDIFFER_SIZE 4
@@ -141,6 +143,7 @@
#define PICA_PROTO_N2NMSG_MAXDATASIZE 65476
#define PICA_PROTO_C2CMSG_MAXDATASIZE 65532
#define PICA_PROTO_C2CMSG_MAXFILENAMESIZE 255
+#define PICA_PROTO_MULTILOGIN_MAXSIGSIZE 65265
#define PICA_MULTILOGIN_PROHIBIT 0