summaryrefslogtreecommitdiff
path: root/src/object.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/object.c
parente5a019da8b3eff65697a9563855da91a53206a12 (diff)
downloadceph-libs3-cab0a18b04609ee9ae43c3acfd4d5f9f59767c0c.tar.gz
* Work in progress
Diffstat (limited to 'src/object.c')
-rw-r--r--src/object.c69
1 files changed, 69 insertions, 0 deletions
diff --git a/src/object.c b/src/object.c
new file mode 100644
index 0000000..dc3c7fb
--- /dev/null
+++ b/src/object.c
@@ -0,0 +1,69 @@
+/** **************************************************************************
+ * object.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_put_object(S3Request *request, S3BucketContext *bucketContext,
+ const char *key, uint64_t contentLength,
+ const S3RequestHeaders *optionalHeaders,
+ S3PutObjectCallback *callback, void *callbackData)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_copy_object(S3Request *request, S3BucketContext *bucketContext,
+ const char *key, const char *destinationBucket,
+ const char *destinationKey,
+ const S3RequestHeaders *optionalHeaders)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_get_object(S3Request *request, S3BucketContext *bucketContext,
+ const char *key, const struct timeval *ifModifiedSince,
+ const struct timeval *ifUnmodifiedSince,
+ const char *ifMatchETag, const char *ifNotMatchETag,
+ const char *byteRange,
+ S3GetObjectCallback *callback, void *callbackData)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_head_object(S3Request *request, S3BucketContext *bucketContext,
+ const char *key, const struct timeval *ifModifiedSince,
+ const struct timeval *ifUnmodifiedSince,
+ const char *ifMatchETag, const char *ifNotMatchETag)
+{
+ return S3StatusOK;
+}
+
+
+S3Status S3_delete_object(S3Request *request, S3BucketContext *bucketContext,
+ const char *key)
+{
+ return S3StatusOK;
+}