Lines Matching refs:ctor
822 setFromCtor( tr_torrent * tor, uint64_t fields, const tr_ctor * ctor, int mode )
829 if( !tr_ctorGetPaused( ctor, mode, &isPaused ) )
837 if( !tr_ctorGetPeerLimit( ctor, mode, &tor->maxConnectedPeers ) )
843 if( !tr_ctorGetDownloadDir( ctor, mode, &path ) && path && *path )
855 useManditoryFields( tr_torrent * tor, uint64_t fields, const tr_ctor * ctor )
857 return setFromCtor( tor, fields, ctor, TR_FORCE );
861 useFallbackFields( tr_torrent * tor, uint64_t fields, const tr_ctor * ctor )
863 return setFromCtor( tor, fields, ctor, TR_FALLBACK );
869 const tr_ctor * ctor )
875 ret |= useManditoryFields( tor, fieldsToLoad, ctor );
879 ret |= useFallbackFields( tor, fieldsToLoad, ctor );