• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/libtransmission/

Lines Matching defs:tr_ctor

81 typedef struct tr_ctor tr_ctor;
367 void tr_ctorSetBandwidthPriority( tr_ctor * ctor, tr_priority_t priority );
372 tr_priority_t tr_ctorGetBandwidthPriority( const tr_ctor * ctor );
840 tr_ctor * ctor,
956 /** @addtogroup tr_ctor Torrent Constructors
963 To remedy this, a Torrent Constructor (struct tr_ctor) has been introduced:
967 - We can add new features to tr_ctor without breaking tr_torrentNew()'s API.
969 All the tr_ctor{Get,Set}*() functions with a return value return
973 a torrent with a tr_ctor. The other functions are optional.
975 You can reuse a single tr_ctor to create a batch of torrents --
998 tr_ctor* tr_ctorNew( const tr_session * session_or_NULL );
1001 void tr_ctorFree( tr_ctor * ctor );
1005 void tr_ctorSetDeleteSource( tr_ctor * ctor, bool doDelete );
1008 int tr_ctorSetMetainfoFromMagnetLink( tr_ctor * ctor, const char * magnet );
1011 int tr_ctorSetMetainfo( tr_ctor * ctor, const uint8_t * metainfo, size_t len );
1014 int tr_ctorSetMetainfoFromFile( tr_ctor * ctor, const char * filename );
1022 int tr_ctorSetMetainfoFromHash( tr_ctor * ctor, const char * hashString );
1025 void tr_ctorSetPeerLimit( tr_ctor * ctor, tr_ctorMode mode, uint16_t limit );
1030 void tr_ctorSetDownloadDir( tr_ctor * ctor,
1042 void tr_ctorSetIncompleteDir( tr_ctor * ctor, const char * directory );
1046 void tr_ctorSetPaused( tr_ctor * ctor,
1051 void tr_ctorSetFilePriorities( tr_ctor * ctor,
1057 void tr_ctorSetFilesWanted( tr_ctor * ctor,
1064 int tr_ctorGetPeerLimit( const tr_ctor * ctor,
1069 int tr_ctorGetPaused( const tr_ctor * ctor,
1074 int tr_ctorGetDownloadDir( const tr_ctor * ctor,
1079 int tr_ctorGetIncompleteDir( const tr_ctor * ctor,
1083 int tr_ctorGetMetainfo( const tr_ctor * ctor,
1087 int tr_ctorGetDeleteSource( const tr_ctor * ctor,
1091 tr_session* tr_ctorGetSession( const tr_ctor * ctor );
1095 const char* tr_ctorGetSourceFile( const tr_ctor * ctor );
1125 tr_parse_result tr_torrentParse( const tr_ctor * ctor,
1137 tr_torrent * tr_torrentNew( const tr_ctor * ctor,