summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
authorAnton <anton@picapica>2018-07-03 17:07:10 +0400
committerAnton <anton@picapica>2018-07-03 17:07:10 +0400
commitcb2b4d833d4852a3e54cdb2394422ad7aeb24166 (patch)
treef500e0c11e983b19fb98001b37ea884b845a312b /PICA_proto.h
parentd154f1f79ddce2bdccc0c600251c5e2e7df3d14f (diff)
downloadpica-pica-cb2b4d833d4852a3e54cdb2394422ad7aeb24166.tar.gz
pica-pica-cb2b4d833d4852a3e54cdb2394422ad7aeb24166.zip
add multilogin policy to protocol and client settings
Diffstat (limited to 'PICA_proto.h')
-rw-r--r--PICA_proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index 46ca178..9456280 100644
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -75,7 +75,7 @@
//size
-#define PICA_PROTO_INITREQ_SIZE 4
+#define PICA_PROTO_INITREQ_SIZE 5
#define PICA_PROTO_INITRESPOK_SIZE 4
#define PICA_PROTO_VERDIFFER_SIZE 4
@@ -126,6 +126,10 @@
#define PICA_PROTO_C2CMSG_MAXFILENAMESIZE 255
+#define PICA_MULTILOGIN_PROHIBIT 0
+#define PICA_MULTILOGIN_REPLACE 1
+#define PICA_MULTILOGIN_ALLOW 2
+
struct PICA_proto_msg
{
unsigned char head[2];