ELinks 0.18.0
|
Data Structures | |
struct | bittorrent_piece_cache_entry |
struct | bittorrent_piece_cache |
void add_requests_to_bittorrent_piece_cache | ( | struct bittorrent_peer_connection * | peer, |
struct bittorrent_peer_status * | status ) |
enum bittorrent_state add_to_bittorrent_piece_cache | ( | struct bittorrent_peer_connection * | peer, |
uint32_t | piece, | ||
uint32_t | offset, | ||
char * | data, | ||
uint32_t | datalen, | ||
int * | write_errno ) |
void done_bittorrent_piece_cache | ( | struct bittorrent_connection * | bittorrent | ) |
struct bittorrent_peer_request * find_bittorrent_peer_request | ( | struct bittorrent_peer_connection * | peer | ) |
char * get_bittorrent_piece_cache_data | ( | struct bittorrent_connection * | bittorrent, |
uint32_t | piece ) |
enum bittorrent_state init_bittorrent_piece_cache | ( | struct bittorrent_connection * | bittorrent, |
struct bittorrent_const_string * | metafile ) |
void remove_bittorrent_peer_from_piece_cache | ( | struct bittorrent_peer_connection * | peer | ) |
void update_bittorrent_piece_cache | ( | struct bittorrent_peer_connection * | peer, |
uint32_t | piece ) |
void update_bittorrent_piece_cache_from_bitfield | ( | struct bittorrent_peer_connection * | peer | ) |
void update_bittorrent_piece_cache_state | ( | struct bittorrent_connection * | bittorrent | ) |