summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'PICA_proto.h')
-rwxr-xr-xPICA_proto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/PICA_proto.h b/PICA_proto.h
index d6b26bf..cfa0c05 100755
--- a/PICA_proto.h
+++ b/PICA_proto.h
@@ -28,6 +28,10 @@
#define PICA_PROTO_MSGUTF8 0x30
#define PICA_PROTO_MSGOK 0x40
+#define PICA_PROTO_SENDFILEREQUEST 0x50
+#define PICA_PROTO_ACCEPTEDFILE 0x51
+#define PICA_PROTO_DENIEDFILE 0x52
+#define PICA_PROTO_FILEFRAGMENT 0x53
#define PICA_PROTO_PINGREQ 0x68
#define PICA_PROTO_PINGREP 0x69
@@ -67,6 +71,9 @@
#define PICA_PROTO_MSGOK_SIZE 4
+#define PICA_PROTO_ACCEPTEDFILE_SIZE 4
+#define PICA_PROTO_DENIEDFILE_SIZE 4
+
#define PICA_PROTO_PINGREQ_SIZE 4
#define PICA_PROTO_PINGREP_SIZE 4
@@ -89,6 +96,7 @@
#define PICA_PROTO_N2NMSG_MAXDATASIZE 65476
#define PICA_PROTO_C2CMSG_MAXDATASIZE 65532
+#define PICA_PROTO_C2CMSG_MAXFILENAMESIZE 255
struct PICA_proto_msg