/usr/include/synthesis/sysync_b64.h is in libsynthesis-dev 3.4.0.47.5+syncevolution-1.5.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | /* b64 encoding/decoding */
#ifndef SYSYNC_B64_H
#define SYSYNC_B64_H
#include "synthesis/generic_types.h"
using namespace sysync;
namespace b64 {
// encode data to B64, returns allocated buffer
// does line breaks if maxLineLen!=0
char *encode (
const uInt8 *instr, uInt32 len, uInt32 *outlenP=NULL,
sInt16 maxLineLen=0, bool crLineEnd=false
);
// decode B64 string to data (len=0 calculates string length automatically)
uInt8 *decode(const char *instr, uInt32 len=0, uInt32 *outlenP=NULL);
// free memory allocated with encode or decode above
void free(void *mem);
}
#endif /* SYSYNC_B64_H */
/* eof */
|