diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-08-31 19:16:30 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-08-31 19:16:30 +0000 |
commit | 760f8d30226213cb615180b462fc266dca955451 (patch) | |
tree | b6e12ce1aa65d6ea18e81f9102250b5f57f92aaa /protocols/Tox/src/tox_proto.h | |
parent | 862c352908a9800c2721870e09a8decce5adc1da (diff) |
Tox:
- fox for crush on auth request
- some fixes in file transfer
git-svn-id: http://svn.miranda-ng.org/main/trunk@10350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_proto.h')
-rw-r--r-- | protocols/Tox/src/tox_proto.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_proto.h b/protocols/Tox/src/tox_proto.h index 4718ac7c3f..c4dc2c3c8d 100644 --- a/protocols/Tox/src/tox_proto.h +++ b/protocols/Tox/src/tox_proto.h @@ -178,10 +178,13 @@ private: int __cdecl OnPreCreateMessage(WPARAM wParam, LPARAM lParam);
// transfer
+ void AddToTransferList(FileTransferParam *transfer);
+ void RemoveFromTransferList(FileTransferParam *transfer);
+
void __cdecl SendFileAsync(void* arg);
//static void OnFileControlCallback(Tox *tox, int32_t number, uint8_t hFile, uint64_t fileSize, uint8_t *name, uint16_t nameSize, void *arg);
- static void OnFileRequest(Tox *tox, int32_t number, uint8_t isSend, uint8_t fileNumber, uint8_t type, const uint8_t *data, uint16_t length, void *arg);
+ static void OnFileRequest(Tox *tox, int32_t number, uint8_t receive_send, uint8_t fileNumber, uint8_t type, const uint8_t *data, uint16_t length, void *arg);
static void OnFriendFile(Tox *tox, int32_t number, uint8_t fileNumber, uint64_t fileSize, const uint8_t *fileName, uint16_t length, void *arg);
static void OnFileData(Tox *tox, int32_t number, uint8_t fileNumber, const uint8_t *data, uint16_t length, void *arg);
|