/usr/include/bglibs/base64/base64.h is in libbg1-dev 1.106-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 | #ifndef BASE64__H__
#define BASE64__H__
#include "str/str.h"
#define BASE64_PAD '='
extern const char base64_bin2asc[64];
extern void base64_encode_whole(const unsigned char bin[3], char encoded[4]);
extern void base64_encode_part(const unsigned char bin[3], unsigned len,
char encoded[4]);
extern int base64_encode_line(const unsigned char* bin, unsigned long len,
str* encoded);
extern const signed char base64_asc2bin[256];
extern int base64_decode_part(const char encoded[4],
unsigned char bin[3]);
extern int base64_decode_line(const char* encoded, str* bin);
#endif
|