(trunk libT) remove dead code: tr_sessionSetLazyBitfieldEnabled(), tr_sessionIsLazyBitfieldEnabled()
This commit is contained in:
parent
bb6684cb1e
commit
bf4eb642dc
|
@ -2092,27 +2092,6 @@ tr_sessionGetCacheLimit_MB( const tr_session * session )
|
||||||
****
|
****
|
||||||
***/
|
***/
|
||||||
|
|
||||||
void
|
|
||||||
tr_sessionSetLazyBitfieldEnabled( tr_session * session,
|
|
||||||
tr_bool enabled )
|
|
||||||
{
|
|
||||||
assert( tr_isSession( session ) );
|
|
||||||
|
|
||||||
session->useLazyBitfield = enabled != 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
tr_bool
|
|
||||||
tr_sessionIsLazyBitfieldEnabled( const tr_session * session )
|
|
||||||
{
|
|
||||||
assert( tr_isSession( session ) );
|
|
||||||
|
|
||||||
return session->useLazyBitfield;
|
|
||||||
}
|
|
||||||
|
|
||||||
/***
|
|
||||||
****
|
|
||||||
***/
|
|
||||||
|
|
||||||
struct port_forwarding_data
|
struct port_forwarding_data
|
||||||
{
|
{
|
||||||
tr_bool enabled;
|
tr_bool enabled;
|
||||||
|
|
|
@ -101,7 +101,6 @@ struct tr_session
|
||||||
tr_bool isPrefetchEnabled;
|
tr_bool isPrefetchEnabled;
|
||||||
tr_bool isTorrentDoneScriptEnabled;
|
tr_bool isTorrentDoneScriptEnabled;
|
||||||
tr_bool isClosed;
|
tr_bool isClosed;
|
||||||
tr_bool useLazyBitfield;
|
|
||||||
tr_bool isIncompleteFileNamingEnabled;
|
tr_bool isIncompleteFileNamingEnabled;
|
||||||
tr_bool isRatioLimited;
|
tr_bool isRatioLimited;
|
||||||
tr_bool isIdleLimited;
|
tr_bool isIdleLimited;
|
||||||
|
|
|
@ -585,9 +585,6 @@ void tr_sessionSetLPDEnabled( tr_session * session, tr_bool enabled );
|
||||||
void tr_sessionSetCacheLimit_MB( tr_session * session, int mb );
|
void tr_sessionSetCacheLimit_MB( tr_session * session, int mb );
|
||||||
int tr_sessionGetCacheLimit_MB( const tr_session * session );
|
int tr_sessionGetCacheLimit_MB( const tr_session * session );
|
||||||
|
|
||||||
void tr_sessionSetLazyBitfieldEnabled( tr_session * session, tr_bool enabled );
|
|
||||||
tr_bool tr_sessionIsLazyBitfieldEnabled( const tr_session * session );
|
|
||||||
|
|
||||||
tr_encryption_mode tr_sessionGetEncryption( tr_session * session );
|
tr_encryption_mode tr_sessionGetEncryption( tr_session * session );
|
||||||
void tr_sessionSetEncryption( tr_session * session,
|
void tr_sessionSetEncryption( tr_session * session,
|
||||||
tr_encryption_mode mode );
|
tr_encryption_mode mode );
|
||||||
|
|
Loading…
Reference in New Issue