Changeset 1868 for trunk/libtransmission/transmission.h
- Timestamp:
- May 11, 2007, 6:56:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/transmission.h
r1861 r1868 65 65 **********************************************************************/ 66 66 /* General errors */ 67 #define TR_OK 0x0000000068 #define TR_ERROR 0x8100000069 #define TR_ERROR_ASSERT 0x8200000067 #define TR_OK 0x00000000 68 #define TR_ERROR 0x81000000 69 #define TR_ERROR_ASSERT 0x82000000 70 70 /* I/O errors */ 71 #define TR_ERROR_IO_MASK 0x000000FF72 #define TR_ERROR_IO_PARENT 0x8000000173 #define TR_ERROR_IO_PERMISSIONS 0x8000000274 #define TR_ERROR_IO_SPACE 0x8000000475 #define TR_ERROR_IO_RESOURCES 0x8000000876 #define TR_ERROR_IO_DUP_ NAME0x8000000A77 #define TR_ERROR_IO_OTHER 0x8000001071 #define TR_ERROR_IO_MASK 0x000000FF 72 #define TR_ERROR_IO_PARENT 0x80000001 73 #define TR_ERROR_IO_PERMISSIONS 0x80000002 74 #define TR_ERROR_IO_SPACE 0x80000004 75 #define TR_ERROR_IO_RESOURCES 0x80000008 76 #define TR_ERROR_IO_DUP_DOWNLOAD 0x8000000A 77 #define TR_ERROR_IO_OTHER 0x80000010 78 78 /* Misc */ 79 #define TR_ERROR_TC_MASK 0x00000F0080 #define TR_ERROR_TC_ERROR 0x8000010081 #define TR_ERROR_TC_WARNING 0x8000020079 #define TR_ERROR_TC_MASK 0x00000F00 80 #define TR_ERROR_TC_ERROR 0x80000100 81 #define TR_ERROR_TC_WARNING 0x80000200 82 82 83 83 #define TR_ERROR_ISSET( num, code ) ( (code) == ( (code) & (num) ) ) … … 270 270 int tr_torrentScrape( tr_torrent_t *, int * s, int * l, int * d ); 271 271 272 void tr_torrentSetFolder( tr_torrent_t *, const char * ); 273 char * tr_torrentGetFolder( tr_torrent_t * ); 274 275 int tr_torrentDuplicateDownload( tr_torrent_t * tor ); 276 272 277 /*********************************************************************** 273 278 * tr_torrentStart … … 276 281 * therefore tr_torrentStart returns immediately. 277 282 **********************************************************************/ 278 void tr_torrentSetFolder( tr_torrent_t *, const char * );279 char * tr_torrentGetFolder( tr_torrent_t * );280 283 void tr_torrentStart( tr_torrent_t * ); 281 284
Note: See TracChangeset
for help on using the changeset viewer.