ELinks 0.18.0
bittorrent.h File Reference
#include "main/module.h"
#include "network/state.h"
Include dependency graph for bittorrent.h:
This graph shows which files directly or indirectly include this file:

Functions

uint32_t get_bittorrent_peerwire_max_message_length (void)
uint32_t get_bittorrent_peerwire_max_request_length (void)
int * get_bittorrent_selection (struct uri *uri, size_t size)
void add_bittorrent_selection (struct uri *uri, int *selection, size_t size)
void add_bittorrent_message (struct uri *uri, struct connection_state state, struct bittorrent_const_string *)

Variables

struct module bittorrent_protocol_module

Function Documentation

◆ add_bittorrent_message()

void add_bittorrent_message ( struct uri * uri,
struct connection_state state,
struct bittorrent_const_string * string )

◆ add_bittorrent_selection()

void add_bittorrent_selection ( struct uri * uri,
int * selection,
size_t size )

◆ get_bittorrent_peerwire_max_message_length()

uint32_t get_bittorrent_peerwire_max_message_length ( void )

◆ get_bittorrent_peerwire_max_request_length()

uint32_t get_bittorrent_peerwire_max_request_length ( void )

◆ get_bittorrent_selection()

int * get_bittorrent_selection ( struct uri * uri,
size_t size )

Variable Documentation

◆ bittorrent_protocol_module

struct module bittorrent_protocol_module
extern