Ignore:
Timestamp:
Mar 4, 2009, 4:16:02 PM (13 years ago)
Author:
charles
Message:

(trunk) #1881: promote tr_strratio() to libtransmission, so that its code doesn't have to be repeated in all the clients

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.h

    r7854 r8017  
    459459void* tr_int2ptr( int );
    460460
     461/**
     462 * @param buf the buffer to write the string to
     463 * @param buflef buf's size
     464 * @param ratio the ratio to convert to a string
     465 * @param the string represntation of "infinity"
     466 */
     467char* tr_strratio( char * buf, size_t buflen, double ratio, const char * infinity );
     468
     469
    461470#ifdef __cplusplus
    462471}
Note: See TracChangeset for help on using the changeset viewer.