Annotation of libwww/Library/src/HTWSRC.html, revision 2.17
2.3 timbl 1: <HTML>
2: <HEAD>
2.17 ! frystyk 3: <TITLE>W3C Sample Code Library libwww WAIS</TITLE>
2.16 frystyk 4: <!-- Changed by: Henrik Frystyk Nielsen, 23-Mar-1996 -->
2.3 timbl 5: </HEAD>
2.1 timbl 6: <BODY>
2.5 frystyk 7:
8: <H1>WAIS Source file parser</H1>
9:
10: <PRE>
11: /*
2.9 frystyk 12: ** (c) COPYRIGHT MIT 1995.
2.5 frystyk 13: ** Please first read the full copyright statement in the file COPYRIGH.
14: */
15: </PRE>
16:
2.12 frystyk 17: This converter returns a <A HREF="HTStream.html">stream object</A>
18: 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.12 frystyk 21: HREF="HTStruct.html">structured stream</A> into whatever format was
22: required for the output stream.<P> See also: <A NAME="z4"
23: HREF="HTWAIS.html">HTWAIS</A> protocol interface module.<P>
24:
25: This module is implemented by <A HREF="HTWSRC.c">HTWSRC.c</A>, and it
26: is a part of the <A HREF="http://www.w3.org/pub/WWW/Library/"> W3C
2.17 ! frystyk 27: Sample Code Library</A>.
2.5 frystyk 28:
29: <PRE>
30: #ifndef HTWSRC_H
2.1 timbl 31: #define HTWSRC_H
32:
33: #include "HTFormat.h"
34:
2.3 timbl 35: extern HTConverter HTWSRCConvert;
2.13 frystyk 36: </PRE>
37:
38: <H2>Escaping Strings</H2>
39:
40: HTDeSlash takes out the invlaid characters in a URL path ELEMENT by
41: converting them into hex-escaped characters. HTEnSlash does the
42: reverse.<P> Each returns a pointer to a newly allocated string which
43: must eventually be freed by the caller.
2.1 timbl 44:
2.13 frystyk 45: <PRE>
2.14 frystyk 46: extern char * HTDeSlash (const char * str);
2.1 timbl 47:
2.14 frystyk 48: extern char * HTEnSlash (const char * str);
2.1 timbl 49:
50: #endif
2.16 frystyk 51: </PRE>
2.1 timbl 52:
2.16 frystyk 53: <HR>
54: <ADDRESS>
2.17 ! frystyk 55: @(#) $Id: HTWSRC.html,v 2.16 1996/04/12 17:49:44 frystyk Exp $
2.16 frystyk 56: </ADDRESS>
57: </BODY>
2.3 timbl 58: </HTML>
Webmaster