diff options
Diffstat (limited to 'sys/stand/boot/cmd.h')
-rw-r--r-- | sys/stand/boot/cmd.h | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/sys/stand/boot/cmd.h b/sys/stand/boot/cmd.h index 706121d8f61..a3ecfcad048 100644 --- a/sys/stand/boot/cmd.h +++ b/sys/stand/boot/cmd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.h,v 1.8 1997/08/22 20:15:04 mickey Exp $ */ +/* $OpenBSD: cmd.h,v 1.9 1997/09/02 20:48:18 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -32,7 +32,17 @@ * */ -struct cmd_table; + +struct cmd_table { + char *cmd_name; + char cmd_type; +#define CMDT_CMD 0 +#define CMDT_VAR 1 +#define CMDT_SET 2 +#define CMDT_MDC 3 + int (*cmd_exec) __P((void)); +}; + struct cmd_state { char bootdev[16]; /* device */ char image[MAXPATHLEN - 16]; /* image */ |