Ignore:
Timestamp:
Apr 18, 2009, 11:17:30 PM (13 years ago)
Author:
charles
Message:

(trunk) experimental support for tr_torrentSetPriority()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r8252 r8254  
    7272
    7373typedef int8_t tr_priority_t;
     74
     75static TR_INLINE tr_bool tr_isPriority( tr_priority_t p )
     76{
     77    return ( p == TR_PRI_LOW )
     78        || ( p == TR_PRI_NORMAL )
     79        || ( p == TR_PRI_HIGH );
     80}
    7481
    7582/**
     
    651658uint16_t   tr_sessionGetPeerLimitPerTorrent( const tr_session * );
    652659
     660tr_priority_t   tr_torrentGetPriority( const tr_torrent * );
     661void            tr_torrentSetPriority( tr_torrent *, tr_priority_t );
     662
    653663
    654664/**
Note: See TracChangeset for help on using the changeset viewer.