Lines Matching defs:tag
117 tr_bencDictAddInt( &top, "tag", TAG_PORT_TEST );
128 tr_bencDictAddInt( &top, "tag", TAG_MAGNET_LINK );
376 buildRequest( const char * method, tr_benc& top, int tag=-1 )
380 if( tag >= 0 )
381 tr_bencDictAddInt( &top, "tag", tag );
507 tr_bencDictAddInt( &top, "tag", TAG_SOME_TORRENTS );
522 tr_bencDictAddInt( &top, "tag", TAG_SOME_TORRENTS );
556 tr_bencDictAddInt( &top, "tag", TAG_SOME_TORRENTS );
570 tr_bencDictAddInt( &top, "tag", TAG_ALL_TORRENTS );
581 const int tag( ids.isEmpty() ? TAG_ALL_TORRENTS : TAG_SOME_TORRENTS );
582 tr_benc * args( buildRequest( "torrent-get", top, tag ) );
595 tr_bencDictAddInt( &top, "tag", TAG_SESSION_STATS );
606 tr_bencDictAddInt( &top, "tag", TAG_SESSION_INFO );
617 tr_bencDictAddInt( &top, "tag", TAG_BLOCKLIST_UPDATE );
723 int64_t tag = -1;
727 tr_bencDictFindInt ( &top, "tag", &tag );
731 emit executed( tag, result, args );
736 if( tr_bencDictFindInt( &top, "tag", &tag ) )
738 switch( tag )
744 emit torrentsUpdated( torrents, tag==TAG_ALL_TORRENTS );