Annotation of libwww/Library/src/HTWSRC.html, revision 2.11

2.3       timbl       1: <HTML>
                      2: <HEAD>
2.1       timbl       3: <TITLE>A parser for WAIS source files</TITLE>
2.3       timbl       4: </HEAD>
2.1       timbl       5: <BODY>
2.5       frystyk     6: 
                      7: <H1>WAIS Source file parser</H1>
                      8: 
                      9: <PRE>
                     10: /*
2.9       frystyk    11: **     (c) COPYRIGHT MIT 1995.
2.5       frystyk    12: **     Please first read the full copyright statement in the file COPYRIGH.
                     13: */
                     14: </PRE>
                     15: 
                     16: This converter returns a <A
2.11    ! frystyk    17: HREF="http://www.w3.org/pub/WWW/Library/User/Guide/Stream.html">stream
2.5       frystyk    18: object</A> into which a <A
2.11    ! frystyk    19: HREF="http://www.w3.org/pub/Products/WAIS/Overview.html">WAIS</A>
2.5       frystyk    20: source file can be written.  The result is put via a <A
2.11    ! frystyk    21: HREF="http://www.w3.org/pub/WWW/Library/User/Guide/Stream">structured
2.5       frystyk    22: stream</A> into whatever format was required for the output stream.<P>
                     23: See also: <A NAME="z4" HREF="HTWAIS.html">HTWAIS</A> protocol
                     24: interface module.<P>
                     25: 
                     26: This module is implemented by <A HREF="HTWSRC.c">HTWSRC.c</A>, and it is
                     27: a part of the <A
2.11    ! frystyk    28: HREF="http://www.w3.org/pub/WWW/Library/">
2.10      frystyk    29: W3C Reference Library</A>.
2.5       frystyk    30: 
                     31: <PRE>
                     32: #ifndef HTWSRC_H
2.1       timbl      33: #define HTWSRC_H
                     34: 
                     35: #include "HTFormat.h"
                     36: 
2.7       frystyk    37: #ifndef pyramid
2.3       timbl      38: extern  HTConverter HTWSRCConvert;
2.4       frystyk    39: #endif
2.1       timbl      40: 
                     41: </PRE>
                     42: <H2>Escaping Strings</H2>HTDeSlash takes out the invlaid characters
                     43: in a URL path ELEMENT by converting
                     44: them into hex-escaped characters.
                     45: HTEnSlash does the reverse.<P>
                     46: Each returns a pointer to a newly
                     47: allocated string which must eventually
                     48: be freed by the caller.
                     49: <PRE>extern char * HTDeSlash PARAMS((CONST char * str));
                     50: 
                     51: extern char * HTEnSlash PARAMS((CONST char * str));
                     52: 
                     53: #endif
                     54: 
                     55: </PRE>
                     56: <ADDRESS><A
2.8       frystyk    57: NAME="0" HREF="http://www.w3.org./hypertext/TBL_Disclaimer.html">Tim BL</A></A>
2.1       timbl      58: </ADDRESS></BODY>
2.3       timbl      59: </HTML>

Webmaster