aboutsummaryrefslogtreecommitdiffstats
path: root/modules/test/test_impl.c
diff options
context:
space:
mode:
authorTom Feist <shabble@metavore.org>2011-01-01 17:38:55 +0000
committerTom Feist <shabble@metavore.org>2011-01-01 17:38:55 +0000
commitfc84e55acd28bb7da2d104c0cd9a7487f261b7b5 (patch)
tree3609741634da3db93d7889ea30d29054af852e18 /modules/test/test_impl.c
parentMerge branch 'dev' of github.com:shabble/irssi-scripts into dev (diff)
downloadirssi-scripts-fc84e55acd28bb7da2d104c0cd9a7487f261b7b5.tar.gz
irssi-scripts-fc84e55acd28bb7da2d104c0cd9a7487f261b7b5.zip
module_test: The tiny beginnings of an irssi loadable-module (not script) for
educational and internals poking purposes. Hopefully one day it might grow up to be a real binary! See README for details on the code I "borrowed" from ahf. I hope I attributed it all ok :)
Diffstat (limited to '')
-rw-r--r--modules/test/test_impl.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/test/test_impl.c b/modules/test/test_impl.c
new file mode 100644
index 0000000..b086aff
--- /dev/null
+++ b/modules/test/test_impl.c
@@ -0,0 +1,11 @@
+#include <test_irssi.h>
+#include <test_impl.h>
+#include <test_core.h>
+
+void print_load_message(void) {
+
+ printtext(NULL, NULL, MSGLEVEL_CLIENTERROR,
+ "Hello, World. xxx \"%s\"", MODULE_NAME);
+
+}
+