File: HTWSRC.html

package info (click to toggle)
cern-httpd 3.0A-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 5,392 kB
  • ctags: 6,554
  • sloc: ansic: 37,902; makefile: 1,746; perl: 535; csh: 167; sh: 143
file content (47 lines) | stat: -rw-r--r-- 1,197 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<HTML>
<HEAD>
<TITLE>A parser for WAIS source files</TITLE>
<NEXTID N="z5">
</HEAD>
<BODY>
<H1>WAIS Source file parser</H1>This converter returns a <A
NAME="z1" HREF="Overview.html#z37">stream</A> object
into which a <A
NAME="z3" HREF="../../../Products/WAIS/Overview.html">WAIS</A> source file can
be written.  The result is put via
a <A
NAME="z2" HREF="Overview.html#z38">structured stream</A> into whatever
format was required for the output
stream.<P>
See also: <A
NAME="z4" HREF="HTWAIS.html">HTWAIS</A> protocol interface
module
<PRE>#ifndef HTWSRC_H
#define HTWSRC_H
#include "HTUtils.h"

#include "HTFormat.h"

#ifndef pyramid
extern  HTConverter HTWSRCConvert;
#endif

</PRE>
<H2>Escaping Strings</H2>HTDeSlash takes out the invlaid characters
in a URL path ELEMENT by converting
them into hex-escaped characters.
HTEnSlash does the reverse.<P>
Each returns a pointer to a newly
allocated string which must eventually
be freed by the caller.
<PRE>extern char * HTDeSlash PARAMS((CONST char * str));

extern char * HTEnSlash PARAMS((CONST char * str));

#endif

</PRE>
<ADDRESS><A
NAME="0" HREF="http://info.cern.ch./hypertext/TBL_Disclaimer.html">Tim BL</A></A>
</ADDRESS></BODY>
</HTML>