aboutsummaryrefslogtreecommitdiffstats
path: root/plugtest.c
blob: 596eab15aa943c62f4780cc710a85bc58aca1bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 );
}