summaryrefslogtreecommitdiff
path: root/lib/curl_base64.h
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-17 00:25:38 +0000
committerYang Tse <yangsita@gmail.com>2008-08-17 00:25:38 +0000
commitac18b471d253f8d5c69d1044a59753f32bcd663f (patch)
treebc98623aef6083f18f9cfaaecd70e41af980c28b /lib/curl_base64.h
parentbbe2386bff61acf0105806959b7f56a4a12db86e (diff)
downloadcurl-ac18b471d253f8d5c69d1044a59753f32bcd663f.tar.gz
libcurl internal base64.h header file renamed to curl_base64.h
Diffstat (limited to 'lib/curl_base64.h')
-rw-r--r--lib/curl_base64.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/curl_base64.h b/lib/curl_base64.h
new file mode 100644
index 000000000..c98fd196c
--- /dev/null
+++ b/lib/curl_base64.h
@@ -0,0 +1,28 @@
+#ifndef __CURL_BASE64_H
+#define __CURL_BASE64_H
+/***************************************************************************
+ * _ _ ____ _
+ * Project ___| | | | _ \| |
+ * / __| | | | |_) | |
+ * | (__| |_| | _ <| |___
+ * \___|\___/|_| \_\_____|
+ *
+ * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al.
+ *
+ * This software is licensed as described in the file COPYING, which
+ * you should have received as part of this distribution. The terms
+ * are also available at http://curl.haxx.se/docs/copyright.html.
+ *
+ * You may opt to use, copy, modify, merge, publish, distribute and/or sell
+ * copies of the Software, and permit persons to whom the Software is
+ * furnished to do so, under the terms of the COPYING file.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ * $Id$
+ ***************************************************************************/
+size_t Curl_base64_encode(struct SessionHandle *data,
+ const char *input, size_t size, char **str);
+size_t Curl_base64_decode(const char *source, unsigned char **outptr);
+#endif