Ignore:
Timestamp:
Apr 16, 2009, 7:14:37 PM (13 years ago)
Author:
charles
Message:

(trunk libT) fix long-standing wart of a few public API calls returning strdup'ed char*, rather than a const char* like all the others

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/rpc-server.h

    r8242 r8246  
    4747                                    const char *    whitelist );
    4848
    49 char*           tr_rpcGetWhitelist( const tr_rpc_server * server );
     49const char*     tr_rpcGetWhitelist( const tr_rpc_server * server );
    5050
    5151void            tr_rpcSetPassword( tr_rpc_server * server,
    5252                                   const char *    password );
    5353
    54 char*           tr_rpcGetPassword( const tr_rpc_server * server );
     54const char*     tr_rpcGetPassword( const tr_rpc_server * server );
    5555
    5656void            tr_rpcSetUsername( tr_rpc_server * server,
    5757                                   const char *    username );
    5858
    59 char*           tr_rpcGetUsername( const tr_rpc_server * server );
     59const char*     tr_rpcGetUsername( const tr_rpc_server * server );
    6060
    6161void            tr_rpcSetPasswordEnabled( tr_rpc_server * server,
Note: See TracChangeset for help on using the changeset viewer.