Initial revision

This commit is contained in:
cvs
2000-02-07 10:38:55 +00:00
commit fdc6b051c9
846 changed files with 230218 additions and 0 deletions

27
uubuffer.h Normal file
View File

@ -0,0 +1,27 @@
/*---------------------------------------------------------------------------
U U B U F F E R
uubuffer defines one function which encodes a given buffer using
the uuencode algorithm.
Mark Koennecke, April 1998
-----------------------------------------------------------------------------*/
#ifndef UUBUFFER
#define UUBUFFER
int UUencodeBuffer(void *pBuffer, int iBufLen, char *pName,
void **pEncoded, int *iLength);
/*
- pBuffer is the buffer to encode
- iBufLen is the length of buffer to encode
- pName is the name to write instead of a filename
- *pEncoded is the pointer to the encoded buffer
- *iLength is the length of the encoded buffer.
On success, a 1 will be returned, 0 else.
UUencodeBuffer allocates memory for pEncoded. It is the callers
responsability to free this memory after use.
*/
#endif