initial code repo
[stor4nfv.git] / src / ceph / src / cls / lua / cls_lua_client.h
diff --git a/src/ceph/src/cls/lua/cls_lua_client.h b/src/ceph/src/cls/lua/cls_lua_client.h
new file mode 100644 (file)
index 0000000..e379069
--- /dev/null
@@ -0,0 +1,17 @@
+#ifndef CLS_LUA_CLIENT_HPP
+#define CLS_LUA_CLIENT_HPP
+#include <string>
+
+#include "include/buffer_fwd.h"  // for bufferlist
+
+namespace librados {
+  class IoCtx;
+}
+
+namespace cls_lua_client {
+  int exec(librados::IoCtx& ioctx, const std::string& oid,
+      const std::string& script, const std::string& handler,
+      librados::bufferlist& inbl, librados::bufferlist& outbl);
+}
+
+#endif