summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar m0gg2006-05-02 09:12:50 +0000
committerGravatar m0gg2006-05-02 09:12:50 +0000
commit45b1ba7ceeb4aa71a9adf4850ff5da8c575c2e33 (patch)
tree274608d629c609b477910a2b24412f1da0033066
parenta40b8b548afe6c55c841cd29877f71f234096b27 (diff)
downloadcsoap-45b1ba7ceeb4aa71a9adf4850ff5da8c575c2e33.tar.gz
csoap-45b1ba7ceeb4aa71a9adf4850ff5da8c575c2e33.tar.bz2
Documentation update
-rw-r--r--nanohttp/nanohttp-base64.h22
1 files changed, 21 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-base64.h b/nanohttp/nanohttp-base64.h
index 6ae5ac2..69f5dfa 100644
--- a/nanohttp/nanohttp-base64.h
+++ b/nanohttp/nanohttp-base64.h
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: nanohttp-base64.h,v 1.1 2006/02/19 22:22:41 snowdrop Exp $
+* $Id: nanohttp-base64.h,v 1.2 2006/05/02 09:12:50 m0gg Exp $
*
* CSOAP Project: A http client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -28,8 +28,28 @@
extern "C" {
#endif
+/**
+ *
+ * Base64 encodes a NUL terminated array of characters.
+ *
+ * @param instr Pointer to the input string.
+ * @param outstr Pointer to the output destination.
+ *
+ * @see base64_decode
+ *
+ */
extern void base64_encode(const unsigned char *instr, unsigned char *outstr);
+/**
+ *
+ * Base64 decodes a NUL terminated array of characters.
+ *
+ * @param instr Pointer to the input string.
+ * @param outstr Pointer to the output destination.
+ *
+ * @see base64_encode
+ *
+ */
extern void base64_decode(const unsigned char *instr, unsigned char *outstr);
#ifdef __cplusplus