summaryrefslogtreecommitdiff
path: root/src/l_cmd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/l_cmd.h')
-rw-r--r--src/l_cmd.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/l_cmd.h b/src/l_cmd.h
new file mode 100644
index 0000000..8c3652c
--- /dev/null
+++ b/src/l_cmd.h
@@ -0,0 +1,32 @@
+/*
+ * rhctl
+ *
+ * Copyright (C) 2009-2014 Christian Pointner <equinox@helsinki.at>
+ *
+ * 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