summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrivardhan Hebbar <sri.hebbar@samsung.com>2016-01-04 15:19:34 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-01-04 15:42:59 -0800
commit7ded7cb707a1fa4055be970862ad5faf344ced87 (patch)
treec4c96367a01daec290a5cd660cd9135310d94f90
parente12456f3e7fd252640d04c44a4b75340aaede593 (diff)
eina: update .h file to make decodeurl api visible.
Summary: Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com> Reviewers: jpeg, cedric Reviewed By: cedric Differential Revision: https://phab.enlightenment.org/D3521 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/lib/eina/eina_str.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/eina/eina_str.h b/src/lib/eina/eina_str.h
index 70a061a6ab..d6ce0ee757 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)
423 */ 423 */
424EAPI unsigned char * eina_str_base64_decode(const char * src, int *decoded_str_len); 424EAPI unsigned char * eina_str_base64_decode(const char * src, int *decoded_str_len);
425 425
426/**
427 * @brief decoding function for base64 url and filename safe encoding.
428 * @param src The string to be decoded.
429 * @param decoded_str_len The length of the decoded string.
430 * @return the base64url decoded string.
431 *
432 * This will create a NULL terminated string which is base64url
433 * decode of the src.
434 * The caller has to free the returned string using free().
435 *
436 * @since 1.17.0
437 */
438EAPI unsigned char * eina_str_base64url_decode(const char * src, int *decoded_str_len);
439
426#include "eina_inline_str.x" 440#include "eina_inline_str.x"
427 441
428/** 442/**