re/include/re_base64.h

11 lines
341 B
C
Raw Permalink Normal View History

2010-11-03 11:34:14 +00:00
/**
* @file re_base64.h Interface to Base64 encoding/decoding functions
*
* Copyright (C) 2010 Creytiv.com
*/
int base64_encode(const uint8_t *in, size_t ilen, char *out, size_t *olen);
2013-05-31 16:51:38 +00:00
int base64_print(struct re_printf *pf, const uint8_t *ptr, size_t len);
2010-11-03 11:34:14 +00:00
int base64_decode(const char *in, size_t ilen, uint8_t *out, size_t *olen);