--- libwww/Library/src/HTEscape.html 1995/09/08 17:40:42 2.7 +++ libwww/Library/src/HTEscape.html 1995/09/20 18:29:29 2.8 @@ -1,6 +1,7 @@
This module is implemented by HTEscape.c, and -it is a part of the -W3C Reference Library. +it is a part of the W3C +Reference Library.
#ifndef HTESCAPE_H @@ -39,16 +39,13 @@ form- -The following are valid mask values. The terms are the BNF names in -the URI document. +typedef enum _HTURIEncoding { + URL_XALPHAS = 0x1, + URL_XPALPHAS = 0x2, + URL_PATH = 0x4 +} HTURIEncoding; -%xy
wherex -extern char * HTEscape PARAMS((CONST char * str, unsigned char mask)); -
-#define URL_XALPHAS (unsigned char) 1 -#define URL_XPALPHAS (unsigned char) 2 -#define URL_PATH (unsigned char) 4 +extern char * HTEscape (CONST char * str, HTURIEncoding mask);
-extern char * HTUnEscape PARAMS(( char * str)); - +extern char * HTUnEscape (char * str); ++
#endif /* HTESCAPE_H */