hthinit.c

来自「www工具包」· C语言 代码 · 共 35 行

C
35
字号
/***	CONFIGURATION-SPECIFIC INITIALIALIZATION FOR HTML PARSER****	(c) COPYRIGHT MIT 1995.**	Please first read the full copyright statement in the file COPYRIGH.**	@(#) $Id: HTHInit.c,v 2.3 1998/05/04 19:36:40 frystyk Exp $****	Set up the HTML parsers in libwww*//* Library include files */#include "wwwsys.h"#include "WWWUtil.h"#include "WWWCore.h"#include "HTHInit.h"				         /* Implemented here *//* ------------------------------------------------------------------------- *//*	BINDINGS BETWEEN A SOURCE MEDIA TYPE AND A DEST MEDIA TYPE (CONVERSION)**	----------------------------------------------------------------------**	Not done automaticly - may be done by application!*/PUBLIC void HTMLInit (HTList * c){    /*    ** This set of converters uses the HTML/HText interface.    ** If you do not want this interface then replace them!    */    HTConversion_add(c,"text/html",		"www/present",	HTMLPresent,	1.0, 0.0, 0.0);    HTConversion_add(c,"text/plain",		"www/present",	HTPlainPresent,	1.0, 0.0, 0.0);    HTConversion_add(c,"text/html",		"text/x-c",	HTMLToC,	0.5, 0.0, 0.0);    HTConversion_add(c,"text/html",		"text/plain",	HTMLToPlain,	0.5, 0.0, 0.0);    HTConversion_add(c,"text/html",	       	"text/latex",	HTMLToTeX,	1.0, 0.0, 0.0);}

⌨️ 快捷键说明

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