summaryrefslogtreecommitdiffstats
path: root/PICA_proto.h
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-11-26 17:56:28 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-11-26 17:56:28 +0000
commit964f8ccd1398638d3e5dfd9abb9edd23190b188f (patch)
tree467a776618d66b21adf9a22a2f6183254cd4109c /PICA_proto.h
parent530d8a587e08b83b047eefa3f2f07761c7fb25b5 (diff)
downloadpica-pica-964f8ccd1398638d3e5dfd9abb9edd23190b188f.tar.gz
pica-pica-964f8ccd1398638d3e5dfd9abb9edd23190b188f.zip
file transfer - added protocol messages, handler functions, PICA_client API functions
git-svn-id: svn://localhost/project_picapica/trunk@299 fb96df88-216d-11de-830c-f3023f12d8ac
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