aboutsummaryrefslogtreecommitdiffstats
path: root/plugtest.c
diff options
context:
space:
mode:
authorSteve Slaven <bpk@hoopajoo.net>2005-03-12 00:27:55 (GMT)
committerSteve Slaven <bpk@hoopajoo.net>2005-03-12 00:27:55 (GMT)
commit77b250bfb63a28a8fe8a8da67de7354bce6e61ff (patch)
treee28f72c18305016c19c608f5fce4432529e7673d /plugtest.c
parent5dfb1906b299bf7c8a1ee3ba5cd1c9ea40648d89 (diff)
downloadpowwow-77b250bfb63a28a8fe8a8da67de7354bce6e61ff.zip
powwow-77b250bfb63a28a8fe8a8da67de7354bce6e61ff.tar.gz
powwow-77b250bfb63a28a8fe8a8da67de7354bce6e61ff.tar.bz2
Initial revisionv1.2.7
Diffstat (limited to 'plugtest.c')
-rw-r--r--plugtest.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugtest.c b/plugtest.c
new file mode 100644
index 0000000..596eab1
--- /dev/null
+++ b/plugtest.c
@@ -0,0 +1,18 @@
+#include <stdio.h>
+
+#include "defines.h"
+#include "cmd.h"
+
+void plugtest( char *arg );
+
+cmdstruct mycommand = { NULL, "plugtest", "test command", plugtest, NULL };
+
+void powwow_init() {
+ printf( "Init plugtest.so!\n" );
+
+ cmd_add_command( &mycommand );
+}
+
+void plugtest( char *arg ) {
+ printf( "Arg was '%s'\n", arg );
+}