blob: dd42c581a5ce96844615e7e26cce7aeea21aa492 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include <stdio.h>
#include "defines.h"
#include "cmd.h"
#include "tty.h"
void plugtest( char *arg );
cmdstruct mycommand = { NULL, NULL, "plugtest", plugtest, "test command" };
void powwow_init() {
tty_printf( "Init plugtest.so!\n" );
cmd_add_command( &mycommand );
}
void plugtest( char *arg ) {
tty_printf( "Arg was '%s'\n", arg );
}
|