Ignore:
Timestamp:
Oct 10, 2009, 7:16:21 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #2489: tr_torrentSetAnnounceList() should check for invalid and duplicate announce URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r9259 r9274  
    11021102tr_tracker_info;
    11031103
     1104
     1105typedef enum
     1106{
     1107  TR_ANNOUNCE_LIST_OK,
     1108  TR_ANNOUNCE_LIST_HAS_DUPLICATES,
     1109  TR_ANNOUNCE_LIST_HAS_BAD
     1110}
     1111tr_announce_list_err;
     1112
    11041113/**
    11051114 * @brief Modify a torrent's tracker list.
     
    11141123 * @param trackerCount size of the `trackers' array
    11151124 */
    1116 void tr_torrentSetAnnounceList( tr_torrent *            torrent,
    1117                                 const tr_tracker_info * trackers,
    1118                                 int                     trackerCount );
     1125tr_announce_list_err
     1126tr_torrentSetAnnounceList( tr_torrent             * torrent,
     1127                           const tr_tracker_info  * trackers,
     1128                           int                      trackerCount );
    11191129
    11201130
Note: See TracChangeset for help on using the changeset viewer.