diff options
author | Srivardhan Hebbar <sri.hebbar@samsung.com> | 2016-01-08 23:51:41 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2016-01-09 00:33:44 +0100 |
commit | f3380734e2ae9ce20337c480e3ef79fcab740f5f (patch) | |
tree | 13242ed40b802615a9c704e9df4373df9363eb90 | |
parent | 97b7964e8cc0b9328e1c8c829c9f099bbc044a34 (diff) | |
download | efl-f3380734e2ae9ce20337c480e3ef79fcab740f5f.tar.gz |
eina: removing base64 from eina example.
Summary:
As base64 API's are no longer part of eina, removing them. Will add
separate file for emile examples.
Signed-off-by: Srivardhan Hebbar <sri.hebbar@samsung.com>
Reviewers: cedric, jpeg
Differential Revision: https://phab.enlightenment.org/D3552
-rw-r--r-- | src/examples/eina/eina_str_01.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/examples/eina/eina_str_01.c b/src/examples/eina/eina_str_01.c index ec34ce4299..fbe2cf0815 100644 --- a/src/examples/eina/eina_str_01.c +++ b/src/examples/eina/eina_str_01.c @@ -17,9 +17,6 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED) char *time_arr; time_t curr_time; struct tm *info; - char *b64; - unsigned char *decoded; - int decoded_len; eina_init(); @@ -71,20 +68,6 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED) printf("Today's Date: %s\n", time_arr); free(time_arr); - b64 = eina_str_base64_encode((unsigned char *)"Enlightenment", 9); - printf("%s\n", b64); - decoded = eina_str_base64_decode(b64, &decoded_len); - printf("decoded string: %s, decoded_len: %d\n", decoded, decoded_len); - free(b64); - free(decoded); - - b64 = eina_str_base64url_encode((unsigned char *)"www.enlightenment.org", 21); - printf("%s\n", b64); - decoded = eina_str_base64_decode(b64, &decoded_len); - printf("decoded string: %s, decoded_len: %d\n", decoded, decoded_len); - free(b64); - free(decoded); - eina_shutdown(); return 0; |