#include #include void test_req(){} static int cmd_test_exec ( int argc, char **argv ) { int i; printf("Hello, world!\nI got the following arguments passed to me: \n"); for(i = 0; i < argc; i++){ printf("%d: \"%s\"\n", i, argv[i]); } return 0; } struct command test_command __command = { .name = "test", .exec = cmd_test_exec, };