ncsa-mosaic/libwww2/HTWSRC.h

46 lines
1.2 KiB
C
Raw Permalink Normal View History

2010-03-08 04:55:21 -06:00
/* A parser for WAIS source files
WAIS SOURCE FILE PARSER
2010-03-08 04:55:21 -06:00
This converter returns a stream object into which a WAIS source file can be written.
The result is put via a structured stream into whatever format was required for the
output stream.
2010-03-08 04:55:21 -06:00
See also: HTWAIS protocol interface module
2010-03-08 04:55:21 -06:00
*/
#ifndef HTWSRC_H
#define HTWSRC_H
#include "HTUtils.h"
#include "HTFormat.h"
extern HTStream* HTWSRCConvert PARAMS((
HTPresentation * pres,
HTParentAnchor * anchor,
HTStream * sink,
HTFormat format_in,
int compressed));
/*
Escaping Strings
HTDeSlash takes out the invlaid characters in a URL path ELEMENT by converting them
into hex-escaped characters. HTEnSlash does the reverse.
2010-03-08 04:55:21 -06:00
Each returns a pointer to a newly allocated string which must eventually be freed by
the caller.
2010-03-08 04:55:21 -06:00
*/
extern char * HTDeSlash PARAMS((WWW_CONST char * str));
extern char * HTEnSlash PARAMS((WWW_CONST char * str));
#endif
/*
Tim BL
2010-03-08 04:55:21 -06:00
*/