diff options
author | Bryan Ischo <bryan@ischo.com> | 2008-06-27 05:01:07 +0000 |
---|---|---|
committer | Bryan Ischo <bryan@ischo.com> | 2008-06-27 05:01:07 +0000 |
commit | 096ceede486da2b1ce298148f29153cc242f1b80 (patch) | |
tree | 5321ce5d912263ea8c9f174859d8ba9771048338 /inc/libs3.h | |
parent | 3237ccc393b8f7bcd36d04aecc31f7c3829f387b (diff) | |
download | ceph-libs3-096ceede486da2b1ce298148f29153cc242f1b80.tar.gz |
* Work in progress, about to rework some
Diffstat (limited to 'inc/libs3.h')
-rw-r--r-- | inc/libs3.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/inc/libs3.h b/inc/libs3.h index c8017ff..75437ca 100644 --- a/inc/libs3.h +++ b/inc/libs3.h @@ -162,6 +162,15 @@ struct S3Mutex; typedef struct S3RequestContext S3RequestContext; +typedef struct S3MetaHeader +{ + // This is the part after x-amz-meta- + const char *name; + + // This is everything after the colon, not including \r\n + const char *value; +} S3MetaHeader; + /** * S3ResponseHeaders is passed to the header callback function which is called * when the complete response status code and headers have been received. @@ -220,11 +229,9 @@ typedef struct S3ResponseHeaders **/ int metaHeadersCount; /** - * These are the metadata headers associated with the resource. These are - * strings of the form: - * x-amz-meta-${NAME}:${VALUE} + * These are the metadata headers associated with the resource. **/ - const char **metaHeaders; + const S3MetaHeader *metaHeaders; } S3ResponseHeaders; |