diff options
Diffstat (limited to 'toxcore/Messenger.h')
-rw-r--r-- | toxcore/Messenger.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/toxcore/Messenger.h b/toxcore/Messenger.h index 5d31e15b..abf8aac2 100644 --- a/toxcore/Messenger.h +++ b/toxcore/Messenger.h | |||
@@ -104,7 +104,14 @@ struct File_Transfers { | |||
104 | uint64_t transferred; | 104 | uint64_t transferred; |
105 | uint8_t status; /* 0 == no transfer, 1 = not accepted, 2 = paused by the other, 3 = transferring, 4 = broken, 5 = paused by us */ | 105 | uint8_t status; /* 0 == no transfer, 1 = not accepted, 2 = paused by the other, 3 = transferring, 4 = broken, 5 = paused by us */ |
106 | }; | 106 | }; |
107 | 107 | enum { | |
108 | FILESTATUS_NONE, | ||
109 | FILESTATUS_NOT_ACCEPTED, | ||
110 | FILESTATUS_PAUSED_BY_OTHER, | ||
111 | FILESTATUS_TRANSFERRING, | ||
112 | FILESTATUS_BROKEN, | ||
113 | FILESTATUS_PAUSED_BY_US | ||
114 | }; | ||
108 | /* This cannot be bigger than 256 */ | 115 | /* This cannot be bigger than 256 */ |
109 | #define MAX_CONCURRENT_FILE_PIPES 256 | 116 | #define MAX_CONCURRENT_FILE_PIPES 256 |
110 | 117 | ||