File:
[Public] /
libwww /
Library /
src /
HTHInit.c
Revision
2.2:
download - view:
text,
annotated -
select for diffs
Sat Jun 15 00:24:50 1996 UTC (28 years ago) by
frystyk
Branches:
MAIN
CVS tags:
Release-5-1l,
Release-5-1k,
Release-5-1j,
Release-5-1g,
Release-5-1e,
Release-5-1d,
Release-5-1b,
Release-5-1a,
Release-5-1,
Release-5-0a,
Release-5-0,
Release-4-1b5,
Release-4-1b4,
Release-4-1b3,
PIPELINE1,
HEAD
NEW INIT FILE
/*
** 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.2 1996/06/15 00:24:50 frystyk Exp $
**
** Set up the HTML parsers in libwww
*/
/* Library include files */
#include "sysdep.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);
}
Webmaster