PSI sics-cvs-psi_pre-ansto

This commit is contained in:
2003-06-13 00:00:00 +00:00
committed by Douglas Clowes
parent 2e3ddfb6c6
commit 3ffd0d8af4
1099 changed files with 318432 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