/* -------------------------------------------------------------------------- * Copyright 2003-2011 (inclusive) Nathan Angelacos * (nangel@users.sourceforge.net) * * This file is part of haserl. * * Haserl is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2, * as published by the Free Software Foundation. * * Haserl is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with haserl. If not, see . * * ------------------------------------------------------------------------ */ #ifndef H_LUA_H #define H_LUA_H 1 void lua_exec(buffer_t *buf, char *str); void lua_echo(buffer_t *buf, char *str, size_t len); void lua_eval(buffer_t *buf, char *str, size_t len); void lua_doscript(buffer_t *script, char *name); int h_lua_loadfile(lua_State *L); #endif