Loading...
Searching...
No Matches
rpmbase64.h
Go to the documentation of this file.
/* base64 encoder/decoder based on public domain implementation
* by Chris Venter */
#include <sys/types.h>
#ifdef __cplusplus
extern "C" {
#endif
char *rpmBase64Encode(const void *data, size_t len, int linelen);
int rpmBase64Decode(const char *in, void **out, size_t *outlen);
char *rpmBase64CRC(const unsigned char *data, size_t len);
#ifdef __cplusplus
}
#endif
rpmBase64Encode
char * rpmBase64Encode(const void *data, size_t len, int linelen)
rpmBase64Decode
int rpmBase64Decode(const char *in, void **out, size_t *outlen)
rpmBase64CRC
char * rpmBase64CRC(const unsigned char *data, size_t len)