Ignore:
Timestamp:
Jul 18, 2007, 5:27:45 AM (15 years ago)
Author:
charles
Message:

fold per-torrent ul/dl speed cap settings into libtransmission. synchronize gtk+ client with this change. breaks os x client.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r2369 r2388  
    197197void tr_torrentIterate( tr_handle_t *, tr_callback_t, void * );
    198198
    199 void tr_setUseCustomLimit( tr_torrent_t * tor, int limit );
    200 void tr_setUploadLimit( tr_torrent_t * tor, int limit );
    201 void tr_setDownloadLimit( tr_torrent_t * tor, int limit );
     199/**
     200*** Speed Throttle
     201**/
     202
     203void tr_torrentEnableMaxSpeedUL ( tr_torrent_t * , char doThrottle );
     204void tr_torrentEnableMaxSpeedDL ( tr_torrent_t * , char doThrottle );
     205void tr_torrentSetMaxSpeedUL    ( tr_torrent_t * , int KiB_sec );
     206void tr_torrentSetMaxSpeedDL    ( tr_torrent_t * , int KiB_sec );
     207
     208int tr_torrentIsMaxSpeedEnabledUL ( const tr_torrent_t * );
     209int tr_torrentIsMaxSpeedEnabledDL ( const tr_torrent_t * );
     210int tr_torrentGetMaxSpeedUL       ( const tr_torrent_t * );
     211int tr_torrentGetMaxSpeedDL       ( const tr_torrent_t * );
    202212
    203213/***********************************************************************
Note: See TracChangeset for help on using the changeset viewer.