blob: 1d12c7d7e60d0eb09e04d90a90a5825703cbf628 (
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() {
tty_printf( "Init plugtest.so!\n" );
cmd_add_command( &mycommand );
}
void plugtest( char *arg ) {
tty_printf( "Arg was '%s'\n", arg );
}
|