rpm: /home/mdomonko/code/rpm/rpm-4.20.x/include/rpm/rpmbase64.h Source File

rpm 4.20.0 The RPM Package Manager

Loading...
Searching...
No Matches
rpmbase64.h
Go to the documentation of this file.
1/* base64 encoder/decoder based on public domain implementation
2 * by Chris Venter */
3
10#include <sys/types.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
24 char *rpmBase64Encode(const void *data, size_t len, int linelen);
25
36 int rpmBase64Decode(const char *in, void **out, size_t *outlen);
37
42 char *rpmBase64CRC(const unsigned char *data, size_t len);
43
44#ifdef __cplusplus
45}
46#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)