cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=7ded7cb707a1fa4055be970862ad5faf344ced87
commit 7ded7cb707a1fa4055be970862ad5faf344ced87 Author: Srivardhan Hebbar <[email protected]> Date: Mon Jan 4 15:19:34 2016 -0800 eina: update .h file to make decodeurl api visible. Summary: Signed-off-by: Srivardhan Hebbar <[email protected]> Reviewers: jpeg, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3521 Signed-off-by: Cedric BAIL <[email protected]> --- src/lib/eina/eina_str.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/lib/eina/eina_str.h b/src/lib/eina/eina_str.h index 70a061a..d6ce0ee 100644 --- a/src/lib/eina/eina_str.h +++ b/src/lib/eina/eina_str.h @@ -423,6 +423,20 @@ EAPI char *eina_str_base64url_encode(const unsigned char *src, unsigned int len) */ EAPI unsigned char * eina_str_base64_decode(const char * src, int *decoded_str_len); +/** + * @brief decoding function for base64 url and filename safe encoding. + * @param src The string to be decoded. + * @param decoded_str_len The length of the decoded string. + * @return the base64url decoded string. + * + * This will create a NULL terminated string which is base64url + * decode of the src. + * The caller has to free the returned string using free(). + * + * @since 1.17.0 + */ +EAPI unsigned char * eina_str_base64url_decode(const char * src, int *decoded_str_len); + #include "eina_inline_str.x" /** --
