response.h

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

H
30
字号
#ifndef EL__PROTOCOL_NNTP_RESPONSE_H#define EL__PROTOCOL_NNTP_RESPONSE_H#include "protocol/nntp/connection.h"struct connection;struct read_buffer;/* Reads multi-lined response data *//* Slightly abusive usage of connection state to signal what is going on * or what went wrong: * S_TRANS (transferring) means 'end-of-text' not reached yet * S_OK 		  means no more text expected * S_OUT_OF_MEM		  allocation failure of some sort */enum connection_stateread_nntp_response_data(struct connection *conn, struct read_buffer *rb);/* Reads the first line in the NNTP response from the @rb read buffer and * returns the response code. *//* Returns: * NNTP_CODE_NONE	if no \r\n ended line could be read and another *			check should be rescheduled. * NNTP_CODE_INVALID	if the response code is not within the range *			100 - 599 of valid codes. */enum nntp_codeget_nntp_response_code(struct connection *conn, struct read_buffer *rb);#endif

⌨️ 快捷键说明

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