diff options
Diffstat (limited to 'src/rgw/rgw_lua_request.h')
-rw-r--r-- | src/rgw/rgw_lua_request.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/rgw/rgw_lua_request.h b/src/rgw/rgw_lua_request.h new file mode 100644 index 000000000..b01746428 --- /dev/null +++ b/src/rgw/rgw_lua_request.h @@ -0,0 +1,25 @@ +#pragma once + +#include <string> +#include "include/common_fwd.h" + +class req_state; +class RGWREST; +class OpsLogSink; +namespace rgw::sal { + class RGWRadosStore; +} + +namespace rgw::lua::request { + +// execute a lua script in the Request context +int execute( + rgw::sal::RGWRadosStore* store, + RGWREST* rest, + OpsLogSink* olog, + req_state *s, + RGWOp* op, + const std::string& script); + +} + |