From fc84e55acd28bb7da2d104c0cd9a7487f261b7b5 Mon Sep 17 00:00:00 2001 From: Tom Feist Date: Sat, 1 Jan 2011 17:38:55 +0000 Subject: 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 :) --- modules/test/test_impl.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/test/test_impl.c (limited to 'modules/test/test_impl.c') 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 +#include +#include + +void print_load_message(void) { + + printtext(NULL, NULL, MSGLEVEL_CLIENTERROR, + "Hello, World. xxx \"%s\"", MODULE_NAME); + +} + -- cgit v1.2.3