Ignore:
Timestamp:
Dec 5, 2006, 12:14:52 AM (15 years ago)
Author:
livings124
Message:

initial support for announce-list (currently crashes when a tracker fails)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/multitracker/libtransmission/transmission.h

    r1149 r1154  
    6262tr_handle_t * tr_init();
    6363
     64typedef struct tr_announce_list_item_s tr_announce_list_item_t;
     65
    6466/***********************************************************************
    6567 * tr_setMessageLevel
     
    316318
    317319    /* Tracker info */
    318     char        trackerAddress[256];
    319     int         trackerPort;
    320     char        trackerAnnounce[MAX_PATH_LENGTH];
     320    char                trackerAddress[256];
     321    int                 trackerPort;
     322    char                trackerAnnounce[MAX_PATH_LENGTH];
     323    char                trackerScrape[MAX_PATH_LENGTH];
     324    int                 trackerCanScrape;
     325   
     326    tr_announce_list_item_t  * trackerAnnounceList;
     327    int                 trackerAnnounceTiers;
    321328   
    322329    /* Torrent info */
     
    396403};
    397404
     405struct tr_announce_list_item_s
     406{
     407    char address[256];
     408    int port;
     409    char announce[MAX_PATH_LENGTH];
     410   
     411    tr_announce_list_item_t * nextItem;
     412};
     413
    398414#ifdef __TRANSMISSION__
    399415#  include "internal.h"
Note: See TracChangeset for help on using the changeset viewer.