projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silcutil
/
silcbase64.h
diff --git
a/lib/silcutil/silcbase64.h
b/lib/silcutil/silcbase64.h
index e060d4d716d413b2df137b70b6b175c42e47bcc0..98effa135a89105e1395eaaf510c987c12ec4064 100644
(file)
--- a/
lib/silcutil/silcbase64.h
+++ b/
lib/silcutil/silcbase64.h
@@
-38,7
+38,7
@@
* DESCRIPTION
*
* Encodes data into Base 64 (PEM) encoding. Returns NULL terminated
* DESCRIPTION
*
* Encodes data into Base 64 (PEM) encoding. Returns NULL terminated
- * Base 64 encoded data string.
+ * Base 64 encoded data string.
Returns NULL if system is out of memory.
*
* If `stack' is non-NULL the returned buffer is allocated from `stack'.
*
*
* If `stack' is non-NULL the returned buffer is allocated from `stack'.
*
@@
-55,7
+55,7
@@
char *silc_base64_encode(SilcStack stack, unsigned char *data, SilcUInt32 len);
* DESCRIPTION
*
* Same as silc_base64_encode() but puts newline ('\n') every 72
* DESCRIPTION
*
* Same as silc_base64_encode() but puts newline ('\n') every 72
- * characters.
+ * characters.
Returns NULL if system is out of memory.
*
* If `stack' is non-NULL the returned buffer is allocated from `stack'.
*
*
* If `stack' is non-NULL the returned buffer is allocated from `stack'.
*
@@
-74,7
+74,8
@@
char *silc_base64_encode_file(SilcStack stack,
*
* DESCRIPTION
*
*
* DESCRIPTION
*
- * Decodes Base 64 (PEM) into data. Returns the decoded data.
+ * Decodes Base 64 (PEM) into data. Returns the decoded data. Returns
+ * NULL if the data is not valid Base 64 encoded data.
*
* If `stack' is non-NULL the returned buffer is allocated from `stack'.
*
*
* If `stack' is non-NULL the returned buffer is allocated from `stack'.
*