comparison libpurple/protocols/oscar/peer.h @ 29683:1d657e98667b

Set file transfers to "completed" if the other user tells us they've received the file. Fixes a bug where we show the file transfer as canceled by us in the event where we're sending them a file that they already have.
author Mark Doliner <mark@kingant.net>
date Tue, 06 Apr 2010 08:18:47 +0000
parents 0d3145e6b1d6
children 4297feb30ad1
comparison
equal deleted inserted replaced
29682:29df7408df03 29683:1d657e98667b
43 #define PEER_CONNECTION_FLAG_IS_INCOMING 0x0020 43 #define PEER_CONNECTION_FLAG_IS_INCOMING 0x0020
44 44
45 #define PEER_TYPE_PROMPT 0x0101 /* "I am going to send you this file, is that ok?" */ 45 #define PEER_TYPE_PROMPT 0x0101 /* "I am going to send you this file, is that ok?" */
46 #define PEER_TYPE_RESUMEACCEPT 0x0106 /* We are accepting the resume */ 46 #define PEER_TYPE_RESUMEACCEPT 0x0106 /* We are accepting the resume */
47 #define PEER_TYPE_ACK 0x0202 /* "Yes, it is ok for you to send me that file" */ 47 #define PEER_TYPE_ACK 0x0202 /* "Yes, it is ok for you to send me that file" */
48 #define PEER_TYPE_DONE 0x0204 /* "I received that file with no problems, thanks a bunch" */ 48 #define PEER_TYPE_DONE 0x0204 /* "I received that file with no problems" or "I already have that file, great!" */
49 #define PEER_TYPE_RESUME 0x0205 /* Resume transferring, sent by whoever receives */ 49 #define PEER_TYPE_RESUME 0x0205 /* Resume transferring, sent by whoever receives */
50 #define PEER_TYPE_RESUMEACK 0x0207 /* Our resume accept was ACKed */ 50 #define PEER_TYPE_RESUMEACK 0x0207 /* Our resume accept was ACKed */
51 51
52 #define PEER_TYPE_GETFILE_REQUESTLISTING 0x1108 /* "I have a listing.txt file, do you want it?" */ 52 #define PEER_TYPE_GETFILE_REQUESTLISTING 0x1108 /* "I have a listing.txt file, do you want it?" */
53 #define PEER_TYPE_GETFILE_RECEIVELISTING 0x1209 /* "Yes, please send me your listing.txt file" */ 53 #define PEER_TYPE_GETFILE_RECEIVELISTING 0x1209 /* "Yes, please send me your listing.txt file" */