diff options
author | Yuval Lifshitz <yuvalif@yahoo.com> | 2019-03-20 17:43:36 +0100 |
---|---|---|
committer | Yuval Lifshitz <yuvalif@yahoo.com> | 2019-03-21 07:57:44 +0100 |
commit | 0f8671b3a13af2713fed51f15c83cca8ef19dd19 (patch) | |
tree | 2ed1f1fdd1492f5724b258265d4477fc7a7d856d /src/rgw/rgw_rest.h | |
parent | rgw: pubsub support s3 records. refactor ARN (diff) | |
download | ceph-0f8671b3a13af2713fed51f15c83cca8ef19dd19.tar.xz ceph-0f8671b3a13af2713fed51f15c83cca8ef19dd19.zip |
rgw/pubsub: implement S3 compatible get/delete APIs
Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
Diffstat (limited to 'src/rgw/rgw_rest.h')
-rw-r--r-- | src/rgw/rgw_rest.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rgw/rgw_rest.h b/src/rgw/rgw_rest.h index 4780f802634..f873810e20a 100644 --- a/src/rgw/rgw_rest.h +++ b/src/rgw/rgw_rest.h @@ -505,6 +505,7 @@ protected: static int allocate_formatter(struct req_state *s, int default_formatter, bool configurable); + public: static constexpr int MAX_BUCKET_NAME_LEN = 255; static constexpr int MAX_OBJ_NAME_LEN = 1024; @@ -514,6 +515,7 @@ public: static int validate_bucket_name(const string& bucket); static int validate_object_name(const string& object); + static int reallocate_formatter(struct req_state *s, int type); int init_permissions(RGWOp* op) override; int read_permissions(RGWOp* op) override; |