#include #include "common.h" void cmd_test(); void cmd_again(); struct s_cmd __exports[] = { { "test", &cmd_test }, { "again", &cmd_again }, NULL }; void cmd_test() { printf("This is test1.\n"); } void cmd_again() { printf("And this is another test\n"); }