Changeset 11373


Ignore:
Timestamp:
Nov 1, 2010, 12:12:30 AM (11 years ago)
Author:
charles
Message:

(trunk) #3697 "https://trac.transmissionbt.com/ticket/3697" -- make "blocklist.bin" visible in transmission.h

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r11368 r11373  
    21412141
    21422142int
    2143 tr_blocklistSetContent( tr_session * session,
    2144                         const char * contentFilename )
     2143tr_blocklistSetContent( tr_session * session, const char * contentFilename )
    21452144{
    21462145    tr_list * l;
    21472146    int ruleCount;
    21482147    tr_blocklist * b;
    2149     const char * defaultName = "blocklist.bin";
     2148    const char * defaultName = DEFAULT_BLOCKLIST_FILENAME;
    21502149    tr_sessionLock( session );
    21512150
  • trunk/libtransmission/transmission.h

    r11368 r11373  
    811811const char * tr_blocklistGetURL ( const tr_session * );
    812812
     813/** @brief the file in the $config/blocklists/ directory that's
     814           used by tr_blocklistSetContent() and "blocklist-update" */
     815#define DEFAULT_BLOCKLIST_FILENAME "blocklist.bin"
    813816
    814817/** @} */
Note: See TracChangeset for help on using the changeset viewer.