html.h

来自「《Beginning Linux Programming》书的配置实例源代码。」· C头文件 代码 · 共 40 行

H
40
字号
#define FIELD_LEN 250 /* how long can each name or value be */#define NV_PAIRS 200 /* how many name=value pairs can we process *//* This structure can hold one field name and one value of that field  */typedef struct name_value_st {    char name[FIELD_LEN + 1];    char value[FIELD_LEN + 1];} name_value;extern name_value name_val_pairs[NV_PAIRS];int get_input(void);void send_error(char *error_text);void load_nv_pair(char *tmp_buffer, int nv_entry_number_to_load);char x2c(char *what);void unescape_url(char *url);void html_content(void);void html_start(const char *title);void html_end(void);void html_header(int level, const char *header_text);void html_text(const char *text);

⌨️ 快捷键说明

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