diff options
author | Christian Pointner <equinox@helsinki.at> | 2010-01-11 22:01:07 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2010-01-11 22:01:07 (GMT) |
commit | 37ccdda9932a28ca4b974760978f6d6234007059 (patch) | |
tree | 46c43067e80e3819fb213ba7c0ce5f719e321bf8 /l_cmd.h | |
parent | d035636d833c393f86eb4eacb5c5934c94eb1a06 (diff) |
luaclient receiving data works now
Diffstat (limited to 'l_cmd.h')
-rw-r--r-- | l_cmd.h | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -0,0 +1,32 @@ +/* + * rhctl + * + * Copyright (C) 2009 Christian Pointner <equinox@spreadspace.org> + * + * This file is part of rhctl. + * + * rhctl is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * any later version. + * + * rhctl 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 rhctl. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef RHCTL_l_cmd_h_INCLUDED +#define RHCTL_l_cmd_h_INCLUDED + +#include <lua.h> + +extern int cmd_fd; + +#define LUA_CMDLIBNAME "cmd" +LUALIB_API int luaopen_cmd(lua_State *L); + +#endif |