/* stuff for builtin commands */ #define CMD_LEAVE (Function)(-1) typedef int (*Function)(); typedef struct { char *name; Function func; int access; } cmd_t;