diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 1996-09-02 19:39:24 -0400 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 1996-09-02 19:39:24 -0400 |
commit | e087f6d44e87f489fcb3056e86319ebba4218156 (patch) | |
tree | d045b58011bfbbf5186d34c4fed9e0dedb363275 /WWW/Library/Implementation/HTUU.h | |
download | lynx-snapshots-e087f6d44e87f489fcb3056e86319ebba4218156.tar.gz |
snapshot of project "lynx", label v2_6
Diffstat (limited to 'WWW/Library/Implementation/HTUU.h')
-rw-r--r-- | WWW/Library/Implementation/HTUU.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/WWW/Library/Implementation/HTUU.h b/WWW/Library/Implementation/HTUU.h new file mode 100644 index 00000000..05874e24 --- /dev/null +++ b/WWW/Library/Implementation/HTUU.h @@ -0,0 +1,29 @@ +/* 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. + + */ + +#ifndef HTUU_H +#define HTUU_H + +#ifndef HTUTILS_H +#include "HTUtils.h" +#endif /* HTUTILS_H */ + +PUBLIC int HTUU_encode PARAMS((unsigned char *bufin, + unsigned int nbytes, + char *bufcoded)); + +PUBLIC int HTUU_decode PARAMS((char *bufcoded, + unsigned char *bufplain, + int outbufsize)); + +#endif +/* + + End of file. */ |