Ignore:
Timestamp:
Jul 3, 2010, 12:25:22 AM (11 years ago)
Author:
charles
Message:

(trunk) #3045 "make libtransmission's API byte-oriented instead of KiB-oriented." -- implemented. This is a largish commit and will break the mac build for a little while.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/cache.h

    r10798 r10931  
    2424***/
    2525
    26 tr_cache * tr_cacheNew( double max_MiB );
     26tr_cache * tr_cacheNew( int64_t max_bytes );
    2727
    2828void tr_cacheFree( tr_cache * );
     
    3232***/
    3333
    34 int tr_cacheSetLimit( tr_cache * cache, double max_MiB );
     34int tr_cacheSetLimit( tr_cache * cache, int64_t max_bytes );
    3535
    36 double tr_cacheGetLimit( const tr_cache * );
     36int64_t tr_cacheGetLimit( const tr_cache * );
    3737
    3838int tr_cacheWriteBlock( tr_cache         * cache,
Note: See TracChangeset for help on using the changeset viewer.