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

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: /*
                     11: **     (c) COPYRIGHT CERN 1994.
                     12: **     Please first read the full copyright statement in the file COPYRIGH.
                     13: */
                     14: </PRE>
                     15: 
                     16: This converter returns a <A
                     17: HREF="http://info.cern.ch/hypertext/WWW/Library/User/Guide/Stream.html">stream
                     18: object</A> into which a <A
                     19: HREF="http://info.cern.ch/hypertext/Products/WAIS/Overview.html">WAIS</A>
                     20: source file can be written.  The result is put via a <A
                     21: HREF="http://info.cern.ch/hypertext/WWW/Library/User/Guide/Stream">structured
                     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
                     28: HREF="http://info.cern.ch/hypertext/WWW/Library/User/Guide/Guide.html">
                     29: Library of Common Code</A>.
                     30: 
                     31: <PRE>
                     32: #ifndef HTWSRC_H
2.1       timbl      33: #define HTWSRC_H
                     34: #include "HTUtils.h"
                     35: 
2.6     ! roeber     36: #include "sysdep.h"
2.1       timbl      37: #include "HTFormat.h"
                     38: 
2.6     ! roeber     39: #ifndef NO_EXTERN_TYPEDEF_FUNC
2.3       timbl      40: extern  HTConverter HTWSRCConvert;
2.4       frystyk    41: #endif
2.1       timbl      42: 
                     43: </PRE>
                     44: <H2>Escaping Strings</H2>HTDeSlash takes out the invlaid characters
                     45: in a URL path ELEMENT by converting
                     46: them into hex-escaped characters.
                     47: HTEnSlash does the reverse.<P>
                     48: Each returns a pointer to a newly
                     49: allocated string which must eventually
                     50: be freed by the caller.
                     51: <PRE>extern char * HTDeSlash PARAMS((CONST char * str));
                     52: 
                     53: extern char * HTEnSlash PARAMS((CONST char * str));
                     54: 
                     55: #endif
                     56: 
                     57: </PRE>
                     58: <ADDRESS><A
2.3       timbl      59: NAME="0" HREF="http://info.cern.ch./hypertext/TBL_Disclaimer.html">Tim BL</A></A>
2.1       timbl      60: </ADDRESS></BODY>
2.3       timbl      61: </HTML>

Webmaster