Ignore:
Timestamp:
Oct 19, 2009, 5:05:00 AM (13 years ago)
Author:
charles
Message:

(trunk) #1483: move completed torrents to a user-specified directory + #629: different file extension for incomplete files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.h

    r9292 r9328  
    169169#define TR_PREFS_KEY_DOWNLOAD_DIR               "download-dir"
    170170#define TR_PREFS_KEY_ENCRYPTION                 "encryption"
     171#define TR_PREFS_KEY_INCOMPLETE_DIR             "incomplete-dir"
     172#define TR_PREFS_KEY_INCOMPLETE_DIR_ENABLED     "incomplete-dir-enabled"
    171173#define TR_PREFS_KEY_LAZY_BITFIELD              "lazy-bitfield-enabled"
    172174#define TR_PREFS_KEY_MSGLEVEL                   "message-level"
     
    227229 * @see tr_getDefaultConfigDir()
    228230 */
    229 void tr_sessionGetDefaultSettings( struct tr_benc * dictionary );
     231void tr_sessionGetDefaultSettings( const char * configDir, struct tr_benc * dictionary );
    230232
    231233/**
     
    329331 */
    330332const char * tr_sessionGetDownloadDir( const tr_session * session );
     333
     334/**
     335 * @brief Set the per-session incomplete download folder
     336 * @see tr_sessionInit()
     337 * @see tr_sessionGetIncompleteDir()
     338 * @see tr_sessionSetIncompleteDirEnabled()
     339 * @see tr_sessionGetIncompleteDirEnabled()
     340 */
     341void tr_sessionSetIncompleteDir( tr_session * session, const char * dir );
     342
     343const char* tr_sessionGetIncompleteDir( const tr_session * session );
     344
     345void tr_sessionSetIncompleteDirEnabled( tr_session * session, tr_bool );
     346
     347tr_bool tr_sessionGetIncompleteDirEnabled( const tr_session * session );
    331348
    332349/**
Note: See TracChangeset for help on using the changeset viewer.