Annotation of libwww/Library/src/HTWSRC.html, revision 2.5
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:
36: #include "HTFormat.h"
37:
2.4 frystyk 38: #ifndef pyramid
2.3 timbl 39: extern HTConverter HTWSRCConvert;
2.4 frystyk 40: #endif
2.1 timbl 41:
42: </PRE>
43: <H2>Escaping Strings</H2>HTDeSlash takes out the invlaid characters
44: in a URL path ELEMENT by converting
45: them into hex-escaped characters.
46: HTEnSlash does the reverse.<P>
47: Each returns a pointer to a newly
48: allocated string which must eventually
49: be freed by the caller.
50: <PRE>extern char * HTDeSlash PARAMS((CONST char * str));
51:
52: extern char * HTEnSlash PARAMS((CONST char * str));
53:
54: #endif
55:
56: </PRE>
57: <ADDRESS><A
2.3 timbl 58: NAME="0" HREF="http://info.cern.ch./hypertext/TBL_Disclaimer.html">Tim BL</A></A>
2.1 timbl 59: </ADDRESS></BODY>
2.3 timbl 60: </HTML>
Webmaster