summaryrefslogtreecommitdiffstats
path: root/src/cls/lua/cls_lua.h
blob: 70ce9a9273438175dcca60e24da435f8f172fccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef CEPH_CLS_LUA_H
#define CEPH_CLS_LUA_H

#include <lua.hpp>
#include "include/types.h"

#define LOG_LEVEL_DEFAULT 10

int luaopen_bufferlist(lua_State *L);

bufferlist *clslua_checkbufferlist(lua_State *L, int pos = 1);
bufferlist *clslua_pushbufferlist(lua_State *L, bufferlist *set);

#endif