home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / lynx-2.4 / WWW / Library / Implementation / HTUU.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-28  |  964 b   |  30 lines

  1. /*                              ENCODING TO PRINTABLE CHARACTERS
  2.                                              
  3.    File module provides functions HTUU_encode() and HTUU_decode() which convert a buffer
  4.    of bytes to/from RFC 1113 printable encoding format. This technique is similar to the
  5.    familiar Unix uuencode format in that it maps 6 binary bits to one ASCII character (or
  6.    more aptly, 3 binary bytes to 4 ASCII characters).  However, RFC 1113 does not use the
  7.    same mapping to printable characters as uuencode.
  8.    
  9.  */
  10.  
  11. #ifndef HTUU_H
  12. #define HTUU_H
  13.  
  14. #ifndef HTUTILS_H
  15. #include "HTUtils.h"
  16. #endif /* HTUTILS_H */
  17.  
  18. PUBLIC int HTUU_encode PARAMS((unsigned char *bufin,
  19.                                unsigned int nbytes,
  20.                                char *bufcoded));
  21.  
  22. PUBLIC int HTUU_decode PARAMS((char *bufcoded,
  23.                                unsigned char *bufplain,
  24.                                int outbufsize));
  25.  
  26. #endif
  27. /*
  28.  
  29.    End of file.  */
  30.