aboutsummaryrefslogtreecommitdiffstats
path: root/modules/key_emitter/key_emitter_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/key_emitter/key_emitter_core.c')
-rw-r--r--modules/key_emitter/key_emitter_core.c34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/key_emitter/key_emitter_core.c b/modules/key_emitter/key_emitter_core.c
new file mode 100644
index 0000000..196dd70
--- /dev/null
+++ b/modules/key_emitter/key_emitter_core.c
@@ -0,0 +1,34 @@
+
+/* Originally this code was part of the irssi-lua module
+ * <https://github.com/ahf/irssi-lua> and copyright as below:
+ *
+ * Copyright (c) 2009 Alexander Færøy <ahf@irssi.org>
+ *
+ * This program 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 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#include <key_emitter_core.h>
+#include <key_emitter_irssi.h>
+#include <key_emitter_impl.h>
+
+void test_init() {
+ module_register(MODULE_NAME, "core");
+ print_load_message();
+}
+
+void test_deinit() {
+ print_unload_message();
+}