/* */ #ifndef D_TORRENT_ATTRIBUTE_H #define D_TORRENT_ATTRIBUTE_H #include "ContextAttribute.h" #include #include #include "a2time.h" namespace aria2 { struct TorrentAttribute:public ContextAttribute { std::string name; std::string mode; std::vector > announceList; std::vector > nodes; // raw hash value 20 bytes. std::string infoHash; std::string metadata; size_t metadataSize; bool privateTorrent; time_t creationDate; std::string comment; std::string createdBy; std::vector urlList; TorrentAttribute(); ~TorrentAttribute(); // Don't allow copying TorrentAttribute(const TorrentAttribute&); TorrentAttribute& operator=(const TorrentAttribute&); }; } // namespace aria2 #endif // D_TORRENT_ATTRIBUTE_H