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

/*
This file was derived from the libwww code, version 2.15, from CERN.
A number of modifications have been made by Spyglass.
[email protected]
*/
/* 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.
Ported to WinINet Plug In DLL by arthurbi Dec-23-1995
*/
#ifndef HTUU_H
#define HTUU_H
#ifdef __cplusplus
extern "C" {
#endif
int HTUU_encode(unsigned char *bufin,
unsigned int nbytes,
char *bufcoded,
long outbufmax);
int HTUU_decode(char *bufcoded,
unsigned char *bufplain,
int outbufsize);
#ifdef __cplusplus
} // end extern "C"
#endif
#endif
/*
End of file. */