summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorBryan Ischo <bryan@ischo.com>2008-09-04 12:40:17 +0000
committerBryan Ischo <bryan@ischo.com>2008-09-04 12:40:17 +0000
commiteddd387eec79e6fb3316f97f41ea7dd58898f588 (patch)
treeb6a6224adfd9446aa77c582c067f23ee143ef998 /inc
parent67d461d704f27e65ee4349e99ec8f7006e3bca2d (diff)
downloadceph-libs3-eddd387eec79e6fb3316f97f41ea7dd58898f588.tar.gz
* Minor cleanups
* Fixed bug where list bucket common prefixes were not being properly parsed * Fix typo in s3 argument * Reset the curl handle after each request, this fixes problems with issuing multiple requests by re-use of curl handles
Diffstat (limited to 'inc')
-rw-r--r--inc/libs3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/libs3.h b/inc/libs3.h
index a58b718..0605e7b 100644
--- a/inc/libs3.h
+++ b/inc/libs3.h
@@ -31,6 +31,11 @@
#include <sys/time.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
/** **************************************************************************
* Overview
* --------
@@ -1711,4 +1716,8 @@ void S3_set_acl(const S3BucketContext *bucketContext, const char *key,
**/
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LIBS3_H */