summaryrefslogtreecommitdiff
path: root/include/nsutils/base64.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-26 17:15:07 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-26 17:15:07 +0000
commit33e92ff899ca76809d8e826bd885a746264fa4e8 (patch)
tree39ddcb4913f69b5008fd55ae64e9cf29a8b76058 /include/nsutils/base64.h
parent2633e6f22b3de1030da5e65d5128672324ac9565 (diff)
downloadlibnsutils-33e92ff899ca76809d8e826bd885a746264fa4e8.tar.gz
libnsutils-33e92ff899ca76809d8e826bd885a746264fa4e8.tar.bz2
Fix error enum to not conflict and add monotonic time implementation
Diffstat (limited to 'include/nsutils/base64.h')
-rw-r--r--include/nsutils/base64.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/nsutils/base64.h b/include/nsutils/base64.h
index 2bb10e4..672b69c 100644
--- a/include/nsutils/base64.h
+++ b/include/nsutils/base64.h
@@ -28,10 +28,10 @@
* \param output_length The length of data placed in \a output
* \return NSERROR_OK on success and \a output updated else error code.
*/
-nserror nsu_base64_encode_alloc(const uint8_t *input,
- size_t input_length,
- uint8_t **output,
- size_t *output_length);
+nsuerror nsu_base64_encode_alloc(const uint8_t *input,
+ size_t input_length,
+ uint8_t **output,
+ size_t *output_length);
/**
* Base 64 decode data.
@@ -44,9 +44,9 @@ nserror nsu_base64_encode_alloc(const uint8_t *input,
* \param output_length The length of data placed in \a output
* \return NSERROR_OK on success and \a output updated else error code.
*/
-nserror nsu_base64_decode_alloc(const uint8_t *input,
- size_t input_length,
- uint8_t **output,
- size_t *output_length);
+nsuerror nsu_base64_decode_alloc(const uint8_t *input,
+ size_t input_length,
+ uint8_t **output,
+ size_t *output_length);
#endif