1 #ifndef __KVM_CMD_H__ 2 #define __KVM_CMD_H__ 3 4 struct cmd_struct { 5 const char *cmd; 6 int (*fn)(int, const char **, const char *); 7 int option; 8 }; 9 10 int handle_command(struct cmd_struct *command, int argc, const char **argv); 11 12 #endif 13