home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / msdos / lynx / source / www / library / implemen / htwsrc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-25  |  1.3 KB  |  44 lines

  1. /*                                                             A parser for WAIS source files
  2.                                  WAIS SOURCE FILE PARSER
  3.                                              
  4.    This converter returns a stream object into which a WAIS source file can be written.
  5.    The result is put via a structured stream into whatever format was required for the
  6.    output stream.
  7.    
  8.    See also: HTWAIS protocol interface module
  9.    
  10.  */
  11. #ifndef HTWSRC_H
  12. #define HTWSRC_H
  13. #include "HTUtils.h"
  14.  
  15. #include "HTFormat.h"
  16.  
  17. extern  HTStream* HTWSRCConvert PARAMS((
  18.         HTPresentation *        pres,
  19.         HTParentAnchor *        anchor,
  20.         HTStream *              sink));
  21.  
  22. /*
  23.  
  24. Escaping Strings
  25.  
  26.    HTDeSlash takes out the invlaid characters in a URL path ELEMENT by converting them
  27.    into hex-escaped characters. HTEnSlash does the reverse.
  28.    
  29.    Each returns a pointer to a newly allocated string which must eventually be freed by
  30.    the caller.
  31.    
  32.  */
  33. extern char * HTDeSlash PARAMS((CONST char * str));
  34.  
  35. extern char * HTEnSlash PARAMS((CONST char * str));
  36.  
  37. #endif
  38.  
  39. /*
  40.  
  41.                                                                                     Tim BL
  42.                                                                                           
  43.     */
  44.