ELinks 0.16.1.1
|
Static information from the .torrent metafile. More...
#include <common.h>
Data Fields | |
bittorrent_id_T | info_hash |
The SHA1 info hash of the value of the info key from the metainfo .torrent file is used regularly when connecting to both the tracker and peers. | |
time_t | creation_date |
Optional information about the creation time of the torrent. | |
char * | comment |
Optional comment in free-form text. | |
struct uri_list | tracker_uris |
The announced URI of each available tracker. | |
uint32_t | pieces |
The number of pieces. | |
uint32_t | piece_length |
The number of bytes in each piece. | |
uint32_t | last_piece_length |
The last piece can be shorter than the others. | |
char * | piece_hash |
List of concatenated SHA1 hash values for each piece. | |
enum meta_type | type |
The type of the torrent. | |
unsigned int | malicious_paths:1 |
Potential bad file path detected. | |
char * | name |
The name of either the single file or the top-most directory. | |
struct bittorrent_file list | files |
A list with information about files in the torrent. |
Static information from the .torrent metafile.
char* bittorrent_meta::comment |
Optional comment in free-form text.
time_t bittorrent_meta::creation_date |
Optional information about the creation time of the torrent.
Used if the document.download.set_original_time is true.
struct bittorrent_file list bittorrent_meta::files |
A list with information about files in the torrent.
The list is a singleton for single-file torrents.
bittorrent_id_T bittorrent_meta::info_hash |
The SHA1 info hash of the value of the info key from the metainfo .torrent file is used regularly when connecting to both the tracker and peers.
uint32_t bittorrent_meta::last_piece_length |
The last piece can be shorter than the others.
unsigned int bittorrent_meta::malicious_paths |
Potential bad file path detected.
char* bittorrent_meta::name |
The name of either the single file or the top-most directory.
char* bittorrent_meta::piece_hash |
List of concatenated SHA1 hash values for each piece.
uint32_t bittorrent_meta::piece_length |
The number of bytes in each piece.
uint32_t bittorrent_meta::pieces |
The number of pieces.
struct uri_list bittorrent_meta::tracker_uris |
The announced URI of each available tracker.
enum meta_type bittorrent_meta::type |
The type of the torrent.