Changeset 6932


Ignore:
Timestamp:
Oct 20, 2008, 4:00:14 PM (12 years ago)
Author:
charles
Message:

#1366: move tr_ctor{Set,Get}Save() to a package-private header.

Location:
trunk/libtransmission
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent-ctor.c

    r6903 r6932  
    1515#include "bencode.h"
    1616#include "platform.h"
    17 #include "session.h" /* tr_sessionFindTorrentFile */
     17#include "session.h" /* tr_sessionFindTorrentFile() */
     18#include "torrent.h" /* tr_ctorGetSave() */
    1819#include "utils.h"
    1920
  • trunk/libtransmission/torrent.h

    r6832 r6932  
    2626#define TR_TORRENT_H 1
    2727
     28/**
     29***  Package-visible ctor API
     30**/
     31
     32void        tr_ctorSetSave( tr_ctor * ctor,
     33                            int       saveMetadataInOurTorrentsDir );
     34
     35int         tr_ctorGetSave( const tr_ctor * ctor );
     36
     37/**
     38***
     39**/
     40
    2841/* just like tr_torrentSetFileDLs but doesn't trigger a fastresume save */
    2942void        tr_torrentInitFileDLs( tr_torrent *      tor,
  • trunk/libtransmission/transmission.h

    r6924 r6932  
    718718void        tr_ctorFree( tr_ctor * ctor );
    719719
    720 void        tr_ctorSetSave( tr_ctor * ctor,
    721                             int       saveMetadataInOurTorrentsDir );
    722 
    723720void        tr_ctorSetDeleteSource( tr_ctor * ctor,
    724721                                    uint8_t   doDelete );
     
    767764int         tr_ctorGetMetainfo( const tr_ctor *         ctor,
    768765                                const struct tr_benc ** setme );
    769 
    770 int         tr_ctorGetSave( const tr_ctor * ctor );
    771766
    772767int         tr_ctorGetDeleteSource( const tr_ctor * ctor,
Note: See TracChangeset for help on using the changeset viewer.