summaryrefslogtreecommitdiffstats
path: root/src/rgw/rgw_lua_request.h
blob: b017464280b369c6cb8efdd95270541b1d19e7e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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);

}