Changeset 11039
- Timestamp:
- Jul 23, 2010, 11:02:57 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libtransmission/torrent.c
r11013 r11039 329 329 330 330 void 331 tr_torrentSetInactiveMode( tr_torrent * tor, tr_inact velimit mode )331 tr_torrentSetInactiveMode( tr_torrent * tor, tr_inactivelimit mode ) 332 332 { 333 333 assert( tr_isTorrent( tor ) ); … … 342 342 } 343 343 344 tr_ ratiolimit344 tr_inactivelimit 345 345 tr_torrentGetInactiveMode( const tr_torrent * tor ) 346 346 { -
trunk/libtransmission/torrent.h
r11013 r11039 260 260 261 261 uint64_t inactiveLimitMinutes; 262 tr_inact velimitinactiveLimitMode;262 tr_inactivelimit inactiveLimitMode; 263 263 264 264 uint64_t preVerifyTotal; -
trunk/libtransmission/transmission.h
r11036 r11039 1179 1179 TR_INACTIVELIMIT_UNLIMITED = 2 /* override the global settings, seeding regardless of activity */ 1180 1180 } 1181 tr_inact velimit;1182 1183 void tr_torrentSetInactiveMode( tr_torrent * tor,1184 tr_inactvelimit mode );1185 1186 tr_ ratiolimit tr_torrentGetInactiveMode( const tr_torrent * tor );1187 1188 void tr_torrentSetInactiveLimit( tr_torrent * tor,1181 tr_inactivelimit; 1182 1183 void tr_torrentSetInactiveMode( tr_torrent * tor, 1184 tr_inactivelimit mode ); 1185 1186 tr_inactivelimit tr_torrentGetInactiveMode( const tr_torrent * tor ); 1187 1188 void tr_torrentSetInactiveLimit( tr_torrent * tor, 1189 1189 uint64_t inactiveMinutes ); 1190 1190 1191 uint64_t tr_torrentGetInactiveLimit( const tr_torrent * tor );1192 1193 1194 tr_bool tr_torrentGetSeedInactive( const tr_torrent *, uint64_t * inactiveMinutes );1191 uint64_t tr_torrentGetInactiveLimit( const tr_torrent * tor ); 1192 1193 1194 tr_bool tr_torrentGetSeedInactive( const tr_torrent *, uint64_t * inactiveMinutes ); 1195 1195 1196 1196 /**** -
trunk/macosx/Torrent.h
r11013 r11039 99 99 - (CGFloat) progressStopRatio; 100 100 101 - (tr_inact velimit) inactiveSetting;102 - (void) setInactiveSetting: (tr_inact velimit) setting;101 - (tr_inactivelimit) inactiveSetting; 102 - (void) setInactiveSetting: (tr_inactivelimit) setting; 103 103 - (NSUInteger) inactiveLimitMinutes; 104 104 - (void) setInactiveLimitMinutes: (NSUInteger) limit; -
trunk/macosx/Torrent.m
r11013 r11039 394 394 } 395 395 396 - (tr_inact velimit) inactiveSetting396 - (tr_inactivelimit) inactiveSetting 397 397 { 398 398 return tr_torrentGetInactiveMode(fHandle); 399 399 } 400 400 401 - (void) setInactiveSetting: (tr_inact velimit) setting401 - (void) setInactiveSetting: (tr_inactivelimit) setting 402 402 { 403 403 tr_torrentSetInactiveMode(fHandle, setting);
Note: See TracChangeset
for help on using the changeset viewer.