SYMBOL INDEX (51 symbols across 5 files) FILE: Client/Codes/main.cpp function setnonblocking (line 15) | int setnonblocking( int fd ) function addfd (line 23) | void addfd( int epoll_fd, int fd ) function write_nbytes (line 32) | bool write_nbytes( int sockfd, const char* buffer, int len ) function read_once (line 57) | bool read_once( int sockfd, char* buffer, int len ) function start_conn (line 75) | void start_conn( int epoll_fd, int num, const char* ip, int port ) function close_conn (line 102) | void close_conn( int epoll_fd, int sockfd ) function main (line 108) | int main( int argc, char* argv[] ) FILE: Server/Codes/http_conn.h function class (line 42) | class http_conn function class (line 119) | class util_timer function close_conn (line 131) | void http_conn::close_conn( bool real_close ) function init (line 148) | void http_conn::init( int epollfd,int sockfd, const sockaddr_in& addr,ut... function init (line 179) | void http_conn::init() function read (line 234) | bool http_conn::read() function unmap (line 456) | void http_conn::unmap() function write (line 465) | bool http_conn::write() function add_response (line 511) | bool http_conn::add_response( const char* format, ... ) function add_status_line (line 529) | bool http_conn::add_status_line( int status, const char* title ) function add_headers (line 534) | bool http_conn::add_headers( int content_len ) function add_content_length (line 541) | bool http_conn::add_content_length( int content_len ) function add_linger (line 546) | bool http_conn::add_linger() function add_blank_line (line 551) | bool http_conn::add_blank_line() function add_content (line 556) | bool http_conn::add_content( const char* content ) function process_write (line 561) | bool http_conn::process_write( HTTP_CODE ret ) function process (line 641) | void http_conn::process() FILE: Server/Codes/main.cpp function create_son_thread (line 22) | void create_son_thread()//创建子线程 function close_son_thread (line 48) | void close_son_thread() function sig_handler (line 58) | static void sig_handler( int sig)//信号发送给主函数 function deal_new_conn (line 66) | void deal_new_conn(int &thread_index)//主线程分配新到的连接给子线程 function deal_sig_recv (line 73) | void deal_sig_recv(bool& stop)//主线程处理系统信号 function main (line 115) | int main(int argc, char *argv[]) FILE: Server/Codes/web_function.h function unix_error (line 49) | void unix_error(char *msg) /* Unix-style error */ function app_error (line 55) | void app_error(char *msg) /* Application error */ function show_error (line 61) | void show_error(char *msg) function show_addr (line 66) | void show_addr(sockaddr_in address) function Open (line 86) | int Open(const char *pathname, int flags, mode_t mode) function Read (line 95) | ssize_t Read(int fd, void *buf, size_t count) function Write (line 104) | ssize_t Write(int fd, const void *buf, size_t count) function Close (line 114) | void Close(int fd) function setnonblocking (line 123) | static int setnonblocking( int fd ) function removefd (line 132) | static void removefd( int epollfd, int fd )//删除事件 function addfd (line 138) | static void addfd( int epollfd, int fd )//添加事件 function addfd (line 147) | void addfd( int epollfd, int fd, bool one_shot )//添加事件 function modfd (line 160) | void modfd( int epollfd, int fd, int ev )//修改事件 function show_sys_time (line 168) | void show_sys_time() function open_clientfd (line 189) | int open_clientfd(char *ip, char *_port) { function open_listenfd (line 212) | int open_listenfd(char *ip, char *_port,int backlog)//仅ipv4 function open_listenfd (line 239) | int open_listenfd(char *port)//ipv4/ipv6通用 FILE: Server/Codes/web_thread.h type timer_cmp (line 31) | struct timer_cmp type sockaddr_in (line 122) | struct sockaddr_in type sockaddr (line 124) | struct sockaddr type sockaddr (line 149) | struct sockaddr