/*
 * Subtransaction wrapper
 * Author: Eugene Sergeev <eugeney.sergeev at gmail.com>
 * Please check copyright notice at the bottom of pllua.h
 */
#ifndef PLLUA_SUBXACT_H
#define PLLUA_SUBXACT_H

#include <lua.h>
#include <lualib.h>
#include <lauxlib.h>

#include <postgres.h>

int use_subtransaction(lua_State * L);
int subt_luaB_pcall (lua_State *L);
int subt_luaB_xpcall (lua_State *L);

#endif // PLLUA_SUBXACT_H
