summaryrefslogtreecommitdiff
path: root/l_cmd.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2010-01-11 22:01:07 (GMT)
committerChristian Pointner <equinox@helsinki.at>2010-01-11 22:01:07 (GMT)
commit37ccdda9932a28ca4b974760978f6d6234007059 (patch)
tree46c43067e80e3819fb213ba7c0ce5f719e321bf8 /l_cmd.h
parentd035636d833c393f86eb4eacb5c5934c94eb1a06 (diff)
luaclient receiving data works now
Diffstat (limited to 'l_cmd.h')
-rw-r--r--l_cmd.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/l_cmd.h b/l_cmd.h
new file mode 100644
index 0000000..2080b9f
--- /dev/null
+++ b/l_cmd.h
@@ -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