Changeset 6017


Ignore:
Timestamp:
Jun 3, 2008, 7:22:22 PM (14 years ago)
Author:
charles
Message:

add tr_torrentSetAddedDate() and tr_torrentSetActivityDate()

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r6016 r6017  
    15791579    }
    15801580}
     1581
     1582/**
     1583***
     1584**/
     1585
     1586/** @deprecated this method will be removed in 1.40 */
     1587void
     1588tr_torrentSetAddedDate( tr_torrent * tor, time_t t )
     1589{
     1590    tor->addedDate = t;
     1591}
     1592
     1593/** @deprecated this method will be removed in 1.40 */
     1594void
     1595tr_torrentSetActivityDate( tr_torrent * tor, time_t t )
     1596{
     1597    tor->activityDate = t;
     1598}
  • trunk/libtransmission/transmission.h

    r6016 r6017  
    12431243const tr_stat * tr_torrentStatCached( tr_torrent * );
    12441244
     1245/** @deprecated this method will be removed in 1.40 */
     1246void tr_torrentSetAddedDate( tr_torrent *, time_t );
     1247
     1248/** @deprecated this method will be removed in 1.40 */
     1249void tr_torrentSetActivityDate( tr_torrent *, time_t );
     1250
    12451251/** @} */
    12461252
Note: See TracChangeset for help on using the changeset viewer.