summaryrefslogtreecommitdiff
path: root/src/bucket.c
diff options
context:
space:
mode:
authorBryan Ischo <bryan@ischo.com>2008-06-24 10:52:28 +0000
committerBryan Ischo <bryan@ischo.com>2008-06-24 10:52:28 +0000
commitcab0a18b04609ee9ae43c3acfd4d5f9f59767c0c (patch)
treed49dbb8dee9f308c70583e601ed13be7d2bece13 /src/bucket.c
parente5a019da8b3eff65697a9563855da91a53206a12 (diff)
downloadceph-libs3-cab0a18b04609ee9ae43c3acfd4d5f9f59767c0c.tar.gz
* Work in progress
Diffstat (limited to 'src/bucket.c')
-rw-r--r--src/bucket.c70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/bucket.c b/src/bucket.c
new file mode 100644
index 0000000..c0bc135
--- /dev/null
+++ b/src/bucket.c
@@ -0,0 +1,70 @@
+/** **************************************************************************
+ * bucket.c
+ *
+ * Copyright 2008 Bryan Ischo <bryan@ischo.com>
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the
+ *
+ * Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ *
+ ************************************************************************** **/
+
+#include "libs3.h"
+
+S3Status S3_list_buckets(S3Request *request,
+ const char *accessKeyId, const char *secretAccessKey,
+ S3ListBucketCallback *callback,
+ void *callbackData)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_test_bucket(S3Request *request,
+ const char *accessKeyId, const char *secretAccessKey,
+ const char *bucketName,
+ int locationConstraintReturnSize,
+ const char *locationConstraintReturn)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_create_bucket(S3Request *request,
+ const char *accessKeyId, const char *secretAccessKey,
+ const char *bucketName,
+ const char *locationConstraint)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_delete_bucket(S3Request *request,
+ const char *accessKeyId, const char *secretAccessKey,
+ const char *bucketName)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_list_bucket(S3Request *request, S3BucketContext *bucketContext,
+ const char *prefix, const char *marker,
+ const char *delimiter, int maxkeys,
+ S3ListBucketCallback *callback,
+ void *callbackData)
+{
+ return S3StatusOK;
+}