Ignore:
Timestamp:
Nov 26, 2009, 5:58:44 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #2096 "magnet links" -- add a callback for clients to know when a magnet torrent's metainfo is finished downloading.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r9582 r9591  
    12561256
    12571257
     1258
     1259typedef void ( tr_torrent_metadata_func )( tr_torrent  * torrent,
     1260                                           void        * user_data );
     1261/**
     1262 * Register to be notified whenever a torrent changes from
     1263 * having incomplete metadata to having complete metadata.
     1264 * This happens when a magnet link finishes downloading
     1265 * metadata from its peers.
     1266 */
     1267void tr_torrentSetMetadataCallback (
     1268         tr_torrent                * tor,
     1269         tr_torrent_metadata_func     func,
     1270         void                      * user_data );
     1271
    12581272/**
    12591273 * Register to be notified whenever a torrent's ratio limit
Note: See TracChangeset for help on using the changeset viewer.