summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_opa.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_opa.h')
-rw-r--r--src/rgw/rgw_opa.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/rgw/rgw_opa.h b/src/rgw/rgw_opa.h
new file mode 100644
index 000000000..38824c58a
--- /dev/null
+++ b/src/rgw/rgw_opa.h
@@ -0,0 +1,14 @@
+// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
+// vim: ts=8 sw=2 smarttab ft=cpp
+
+#ifndef RGW_OPA_H
+#define RGW_OPA_H
+
+#include "rgw_common.h"
+#include "rgw_op.h"
+
+/* authorize request using OPA */
+int rgw_opa_authorize(RGWOp*& op,
+ req_state* s);
+
+#endif /* RGW_OPA_H */