Changeset 5089


Ignore:
Timestamp:
Feb 22, 2008, 2:39:15 AM (14 years ago)
Author:
charles
Message:

flesh out the possible values for the new tracker fields in tr_stat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r5086 r5089  
    725725struct tr_tracker_stat
    726726{
     727    /* This is the unmodified string returned by the tracker in response
     728     * to the torrent's most recent scrape request.  If no request was
     729     * sent or there was no response, this string is empty. */
    727730    char scrapeResponse[512];
     731
     732    /* The unmodified string returned by the tracker in response
     733     * to the torrent's most recent scrape request.  If no request was
     734     * sent or there was no response, this string is empty. */
    728735    char announceResponse[512];
     736
     737    /* Time the most recent scrape request was sent,
     738     * or zero if one hasn't been sent yet. */
    729739    time_t lastScrapeTime;
     740
     741    /* Time when the next scrape request will be sent.
     742     * This value is always a valid time. */
     743    time_t nextScrapeTime;
     744
     745    /* Time the most recent announce request was sent,
     746     * or zero if one hasn't been sent yet. */
    730747    time_t lastAnnounceTime;
    731     time_t nextScrapeTime;
     748
     749    /* Time when the next reannounce request will be sent,
     750     * or zero if the torrent is stopped. */
    732751    time_t nextAnnounceTime;
     752
     753    /* When the tracker will allow a human-driven "manual" announce to be sent,
     754     * derived from the "min interval" field given by the tracker.
     755     * This value is 0 when the torrent is stopped.
     756     * This value is ~(time_t)0 if the tracker returned a serious error.
     757     * Otherwise, the value is a valid time.
     758     * @see tr_manualUpdate( tr_torrent * );
     759     * @see tr_torrentCanManualUpdate( const tr_torrent * ); */
    733760    time_t nextManualAnnounceTime;
    734761};
Note: See TracChangeset for help on using the changeset viewer.