HTWSRC.h
Upload User: zlh9724
Upload Date: 2007-01-04
Package Size: 1991k
Code Size: 1k
Category:

Browser Client

Development Platform:

Unix_Linux

  1. /*                                                             A parser for WAIS source files
  2.                                  WAIS SOURCE FILE PARSER
  3.                                              
  4.  */
  5. /*
  6. **      (c) COPYRIGHT MIT 1995.
  7. **      Please first read the full copyright statement in the file COPYRIGH.
  8. */
  9. /*
  10.    This converter returns a stream object into which a WAIS source file can be written.
  11.    The result is put via a structured stream into whatever format was required for the
  12.    output stream.
  13.    
  14.     See also: HTWAIS protocol interface module.
  15.    
  16.    This module is implemented by HTWSRC.c, and it is a part of the  W3C Reference Library.
  17.    
  18.  */
  19. #ifndef HTWSRC_H
  20. #define HTWSRC_H
  21. #include "HTFormat.h"
  22. extern  HTConverter HTWSRCConvert;
  23. /*
  24. Escaping Strings
  25.    HTDeSlash takes out the invlaid characters in a URL path ELEMENT by converting them
  26.    into hex-escaped characters.  HTEnSlash does the reverse.
  27.    
  28.     Each returns a pointer to a newly allocated string which must eventually be freed by
  29.    the caller.
  30.    
  31.  */
  32. extern char * HTDeSlash (CONST char * str);
  33. extern char * HTEnSlash (CONST char * str);
  34. #endif
  35. /*
  36.                                                                                     Tim BL
  37.                                                                                           
  38.     */