diff options
| author | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-12-15 11:53:22 +0000 |
|---|---|---|
| committer | me_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac> | 2013-12-15 11:53:22 +0000 |
| commit | 7dda947198b81622ad0aea773e7ba3a6ec90ba7c (patch) | |
| tree | 7c65033ff425bb3a247d6acda1135126359e1c4e /PICA_proto.h | |
| parent | 964f8ccd1398638d3e5dfd9abb9edd23190b188f (diff) | |
| download | pica-pica-7dda947198b81622ad0aea773e7ba3a6ec90ba7c.tar.gz pica-pica-7dda947198b81622ad0aea773e7ba3a6ec90ba7c.zip | |
file sending and receiving, implemented required functions in PICA_client.c, support for bidirectional sending and receiving two files simultaneously, file operations (open, read, write) are handled inside PICA_client instead of caller functions
git-svn-id: svn://localhost/project_picapica/trunk@300 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'PICA_proto.h')
| -rwxr-xr-x | PICA_proto.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/PICA_proto.h b/PICA_proto.h index cfa0c05..cb20db5 100755 --- a/PICA_proto.h +++ b/PICA_proto.h @@ -32,6 +32,13 @@ #define PICA_PROTO_ACCEPTEDFILE 0x51 #define PICA_PROTO_DENIEDFILE 0x52 #define PICA_PROTO_FILEFRAGMENT 0x53 +#define PICA_PROTO_FILECONTROL 0x54 + +#define PICA_PROTO_FILECONTROL_VOID 0 +#define PICA_PROTO_FILECONTROL_PAUSE 1 +#define PICA_PROTO_FILECONTROL_RESUME 2 +#define PICA_PROTO_FILECONTROL_CANCEL 3 +#define PICA_PROTO_FILECONTROL_IOERROR 4 #define PICA_PROTO_PINGREQ 0x68 #define PICA_PROTO_PINGREP 0x69 @@ -73,6 +80,7 @@ #define PICA_PROTO_ACCEPTEDFILE_SIZE 4 #define PICA_PROTO_DENIEDFILE_SIZE 4 +#define PICA_PROTO_FILECONTROL_SIZE 4 #define PICA_PROTO_PINGREQ_SIZE 4 #define PICA_PROTO_PINGREP_SIZE 4 |
