3 * @author David Llewellyn-Jones
11 * @section DESCRIPTION
28 ({ __typeof__ (a) _a = (a); \
29 __typeof__ (b) _b = (b); \
33 ({ __typeof__ (a) _a = (a); \
34 __typeof__ (b) _b = (b); \
39 // Function prototypes
41 size_t base64_encode_size(size_t binary_input
);
42 size_t base64_decode_size(size_t base64_input
);
43 void base64_encode_binary_to_base64(unsigned char const *input
, size_t input_size
, unsigned char *output
, size_t *output_size
);
44 void base64_decode_base64_to_binary(unsigned char const *input
, size_t input_size
, unsigned char *output
, size_t *output_size
);
46 uint32_t epoch_to_day_number(time_t epoch
);
47 uint8_t epoch_to_time_interval_number(time_t epoch
);
49 // Function definitions