Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.1 KiB

  1. /*
  2. This file was derived from the libwww code, version 2.15, from CERN.
  3. A number of modifications have been made by Spyglass.
  4. eric@spyglass.com
  5. */
  6. /* ENCODING TO PRINTABLE CHARACTERS
  7. File module provides functions HTUU_encode() and HTUU_decode() which convert a buffer
  8. of bytes to/from RFC 1113 printable encoding format. This technique is similar to the
  9. familiar Unix uuencode format in that it maps 6 binary bits to one ASCII character (or
  10. more aptly, 3 binary bytes to 4 ASCII characters). However, RFC 1113 does not use the
  11. same mapping to printable characters as uuencode.
  12. Ported to WinINet Plug In DLL by arthurbi Dec-23-1995
  13. */
  14. #ifndef HTUU_H
  15. #define HTUU_H
  16. #ifdef __cplusplus
  17. extern "C" {
  18. #endif
  19. int HTUU_encode(unsigned char *bufin,
  20. unsigned int nbytes,
  21. char *bufcoded,
  22. long outbufmax);
  23. int HTUU_decode(char *bufcoded,
  24. unsigned char *bufplain,
  25. int outbufsize);
  26. #ifdef __cplusplus
  27. } // end extern "C"
  28. #endif
  29. #endif
  30. /*
  31. End of file. */