ELinks 0.16.1.1
peerconnect.h File Reference
Include dependency graph for peerconnect.h:
This graph shows which files directly or indirectly include this file:

Functions

struct connection_state init_bittorrent_listening_socket (struct connection *conn)
void done_bittorrent_listening_socket (struct connection *conn)
void done_bittorrent_peer_connection (struct bittorrent_peer_connection *peer)
void set_bittorrent_peer_connection_timeout (struct bittorrent_peer_connection *peer)
struct bittorrent_connectionfind_bittorrent_connection (bittorrent_id_T info_hash)
enum bittorrent_state make_bittorrent_peer_connection (struct bittorrent_connection *bittorrent, struct bittorrent_peer *peer_info)

Function Documentation

◆ done_bittorrent_listening_socket()

void done_bittorrent_listening_socket ( struct connection * conn)

◆ done_bittorrent_peer_connection()

void done_bittorrent_peer_connection ( struct bittorrent_peer_connection * peer)

◆ find_bittorrent_connection()

struct bittorrent_connection * find_bittorrent_connection ( bittorrent_id_T info_hash)

◆ init_bittorrent_listening_socket()

struct connection_state init_bittorrent_listening_socket ( struct connection * conn)

◆ make_bittorrent_peer_connection()

enum bittorrent_state make_bittorrent_peer_connection ( struct bittorrent_connection * bittorrent,
struct bittorrent_peer * peer_info )

◆ set_bittorrent_peer_connection_timeout()

void set_bittorrent_peer_connection_timeout ( struct bittorrent_peer_connection * peer)