diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2004-05-07 01:13:29 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2004-05-07 01:13:29 -0400 |
commit | d326f24d169154673717129098ff4554a673f178 (patch) | |
tree | 7229f817b10bcdb82f8df2b6af3a3acc792a762d /WWW/Library/Implementation/HTUU.h | |
parent | 2cd8e80bfe2792ce8999a26b34384598f58e3889 (diff) | |
download | lynx-snapshots-d326f24d169154673717129098ff4554a673f178.tar.gz |
snapshot of project "lynx", label v2-8-6dev_3
Diffstat (limited to 'WWW/Library/Implementation/HTUU.h')
-rw-r--r-- | WWW/Library/Implementation/HTUU.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/WWW/Library/Implementation/HTUU.h b/WWW/Library/Implementation/HTUU.h index e3cc02f9..6a0d4a7c 100644 --- a/WWW/Library/Implementation/HTUU.h +++ b/WWW/Library/Implementation/HTUU.h @@ -1,10 +1,11 @@ /* ENCODING TO PRINTABLE CHARACTERS - File module provides functions HTUU_encode() and HTUU_decode() which convert a buffer - of bytes to/from RFC 1113 printable encoding format. This technique is similar to the - familiar Unix uuencode format in that it maps 6 binary bits to one ASCII character (or - more aptly, 3 binary bytes to 4 ASCII characters). However, RFC 1113 does not use the - same mapping to printable characters as uuencode. + File module provides functions HTUU_encode() and HTUU_decode() which convert + a buffer of bytes to/from RFC 1113 printable encoding format. This + technique is similar to the familiar Unix uuencode format in that it maps 6 + binary bits to one ASCII character (or more aptly, 3 binary bytes to 4 ASCII + characters). However, RFC 1113 does not use the same mapping to printable + characters as uuencode. */ @@ -14,13 +15,13 @@ #ifndef HTUTILS_H #include <HTUtils.h> #endif - -extern int HTUU_encode (unsigned char *bufin, - unsigned int nbytes, - char *bufcoded); -extern int HTUU_decode (char *bufcoded, - unsigned char *bufplain, - int outbufsize); +extern int HTUU_encode(unsigned char *bufin, + unsigned int nbytes, + char *bufcoded); + +extern int HTUU_decode(char *bufcoded, + unsigned char *bufplain, + int outbufsize); #endif /* HTUU_H */ |