⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sgml.c

📁 elinks下lynx是最重要的二个文本浏览器, 在linux下非常实用, elinks也是gentoo安装过程中默认使用的浏览器, 这是elinks源代码
💻 C
字号:
/* SGML generics */#ifdef HAVE_CONFIG_H#include "config.h"#endif#include <stdlib.h>#include <string.h>#include "elinks.h"#include "dom/node.h"#include "dom/sgml/sgml.h"#include "dom/string.h"#include "util/error.h"/* Backend includes: */#include "dom/sgml/html/html.h"#include "dom/sgml/rss/rss.h"#include "dom/sgml/xbel/xbel.h"intsgml_info_strcmp(const void *key_, const void *node_){	struct dom_node *key = (struct dom_node *) key_;	struct sgml_node_info *node = (struct sgml_node_info *) node_;	return dom_string_casecmp(&key->string, &node->string);}struct sgml_info *sgml_info[SGML_DOCTYPES] = {	&sgml_html_info,	&sgml_rss_info,	&sgml_xbel_info,};struct sgml_info *get_sgml_info(enum sgml_document_type doctype){	return doctype < SGML_DOCTYPES ? sgml_info[doctype] : NULL;}

⌨️ 快捷键说明

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