parser.h

来自「小型web服务器」· C头文件 代码 · 共 32 行

H
32
字号
/* Author:eveson <eveson.hu@gmail.com>   website:http://eveson.cublog.cn  */  #ifndef PARSER_H #define PARSER_H #define ITEM 3#define MAXLINE 1024#include <string.h>#include <stdio.h>#include <stdlib.h>#include <unistd.h>#include <sys/socket.h>#include <sys/stat.h>#include <netinet/in.h>#include <signal.h>#include <fcntl.h>#define perr_exit(s) {\	perror(s);\	exit(1);\}int readconfig(const char filename[],char *key[],int len,char value[][255]);void parser(char *s,char res[][255]);int is_picture(char file[],char type[]);void sig_child();#endif

⌨️ 快捷键说明

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