summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_rest_replica_log.h
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@inktank.com>2013-10-17 21:29:34 -0700
committerYehuda Sadeh <yehuda@inktank.com>2013-10-17 21:29:34 -0700
commita7024b379a0242b9cff66e903038d8f2dc3665aa (patch)
tree0338fc30db457bc714f0bd3942e8c18c00e847ce /src/rgw/rgw_rest_replica_log.h
parent7f7f760890867648499827e412acae61efa35909 (diff)
downloadceph-wip-apache-mod.tar.gz
rgw: initial apache module environment changeswip-apache-mod
Basically make it possible to compile an apache module that links into librados + rgw stuff. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Diffstat (limited to 'src/rgw/rgw_rest_replica_log.h')
-rw-r--r--src/rgw/rgw_rest_replica_log.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/rgw/rgw_rest_replica_log.h b/src/rgw/rgw_rest_replica_log.h
index c879150cc07..b813d57ea5c 100644
--- a/src/rgw/rgw_rest_replica_log.h
+++ b/src/rgw/rgw_rest_replica_log.h
@@ -133,12 +133,13 @@ protected:
RGWOp *op_delete();
RGWOp *op_post();
- int read_permissions(RGWOp*) {
- return 0;
- }
public:
RGWHandler_ReplicaLog() : RGWHandler_Auth_S3() {}
virtual ~RGWHandler_ReplicaLog() {}
+
+ int read_permissions(RGWOp*) {
+ return 0;
+ }
};
class RGWRESTMgr_ReplicaLog : public RGWRESTMgr {