X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Fcls%2Flua%2Fcls_lua_client.h;fp=src%2Fceph%2Fsrc%2Fcls%2Flua%2Fcls_lua_client.h;h=e37906993c9f98cb3d5c2c9818f5506093069fba;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git 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 index 0000000..e379069 --- /dev/null +++ b/src/ceph/src/cls/lua/cls_lua_client.h @@ -0,0 +1,17 @@ +#ifndef CLS_LUA_CLIENT_HPP +#define CLS_LUA_CLIENT_HPP +#include + +#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