Changeset 13913 for trunk/libtransmission/transmission.h
- Timestamp:
- Jan 31, 2013, 9:58:25 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/transmission.h
r13868 r13913 1440 1440 1441 1441 typedef void (tr_torrent_metadata_func)(tr_torrent * torrent, 1442 1442 void * user_data); 1443 1443 /** 1444 1444 * Register to be notified whenever a torrent changes from … … 1723 1723 int size); 1724 1724 1725 void tr_torrentVerify (tr_torrent * torrent); 1725 /** 1726 * Callback function invoked when a torrent finishes being verified. 1727 * 1728 * @param torrent the torrent that was verified 1729 * @param aborted true if the verify ended prematurely for some reason, 1730 * such as tr_torrentStop() or tr_torrentSetLocation() 1731 * being called during verification. 1732 * @param callback_data the user-defined pointer from tr_torrentVerify() 1733 */ 1734 typedef void (*tr_verify_done_func)(tr_torrent * torrent, 1735 bool aborted, 1736 void * user_data); 1737 1738 /** 1739 * Queue a torrent for verification. 1740 * 1741 * If callback_func is non-NULL, it will be called from the libtransmission 1742 * thread after the torrent's completness state is updated after the 1743 * file verification pass. 1744 */ 1745 void tr_torrentVerify (tr_torrent * torrent, 1746 tr_verify_done_func callback_func_or_NULL, 1747 void * callback_data_or_NULL); 1726 1748 1727 1749 /***********************************************************************
Note: See TracChangeset
for help on using the changeset viewer.