connection.h

来自「elinks下lynx是最重要的二个文本浏览器, 在linux下非常实用, el」· C头文件 代码 · 共 26 行

H
26
字号
#ifndef EL__PROTOCOL_BITTORRENT_CONNECTION_H#define EL__PROTOCOL_BITTORRENT_CONNECTION_H#include "protocol/protocol.h"struct bittorrent_connection;struct connection;#ifdef CONFIG_BITTORRENTextern protocol_handler_T bittorrent_protocol_handler;#else#define bittorrent_protocol_handler NULL#endifvoid update_bittorrent_connection_state(struct connection *conn);voidupdate_bittorrent_connection_stats(struct bittorrent_connection *bittorrent,				   off_t downloaded, off_t uploaded,				   off_t received);void bittorrent_resume_callback(struct bittorrent_connection *bittorrent);#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?