#ifndef COMMAND_H #define COMMAND_H #define NOARGS 0x0 #define ARG1 0x1 #define ARG2 0x2 #define PURE 0x4 #define PURE2 0x8 struct command_struct { char *name; void (*func)(); unsigned long int flags; }; typedef struct command_struct CS; extern struct command_struct command_set[]; extern void *guest_command_set[]; #endif COMMAND_H