Ignore:
Timestamp:
Jun 26, 2007, 5:52:45 PM (15 years ago)
Author:
charles
Message:

Add tr_stat_t.downloadedValid hook to IPC for Gimp_

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/ipcparse.c

    r2149 r2201  
    196196    { "download-speed",         IPC_ST_DOWNSPEED,     RB_ENTRY_INITIALIZER() },
    197197    { "download-total",         IPC_ST_DOWNTOTAL,     RB_ENTRY_INITIALIZER() },
     198    { "download-valid",         IPC_ST_DOWNVALID,     RB_ENTRY_INITIALIZER() },
    198199    { "error",                  IPC_ST_ERROR,         RB_ENTRY_INITIALIZER() },
    199200    { "error-message",          IPC_ST_ERRMSG,        RB_ENTRY_INITIALIZER() },
     
    707708int
    708709ipc_addstat( benc_val_t * list, int tor,
    709              tr_stat_t * st, int types )
     710             const tr_stat_t * st, int types )
    710711{
    711712    benc_val_t  * dict, * item;
     
    754755            case IPC_ST_DOWNTOTAL:
    755756                tr_bencInitInt( item, st->downloaded );
     757                break;
     758            case IPC_ST_DOWNVALID:
     759                tr_bencInitInt( item, st->downloadedValid );
    756760                break;
    757761            case IPC_ST_ERROR:
Note: See TracChangeset for help on using the changeset viewer.