summaryrefslogtreecommitdiff
path: root/sbin/fdisk/cmd.h
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-16 01:47:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-10-16 01:47:14 +0000
commit070c99fecc59e8bdfc282b0f9fcd383b155e4073 (patch)
treeb15a7f4ffa9b2187552f0d8338383d2d56c1d310 /sbin/fdisk/cmd.h
parentc62a461e1595c039efd3d22058bd7eaa19acb381 (diff)
a bunch of improvements by weingart & I
Diffstat (limited to 'sbin/fdisk/cmd.h')
-rw-r--r--sbin/fdisk/cmd.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/sbin/fdisk/cmd.h b/sbin/fdisk/cmd.h
index 980e0933273..8f453be0b29 100644
--- a/sbin/fdisk/cmd.h
+++ b/sbin/fdisk/cmd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.h,v 1.2 1997/09/29 23:33:33 mickey Exp $ */
+/* $OpenBSD: cmd.h,v 1.3 1997/10/16 01:47:09 deraadt Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -38,11 +38,12 @@
#include "mbr.h"
-/* Constants (returned by cmd funs */
+/* Constants (returned by cmd funs) */
#define CMD_EXIT 0x0000
-#define CMD_CONT 0x0001
-#define CMD_CLEAN 0x0002
-#define CMD_DIRTY 0x0003
+#define CMD_SAVE 0x0001
+#define CMD_CONT 0x0002
+#define CMD_CLEAN 0x0003
+#define CMD_DIRTY 0x0004
/* Data types */
@@ -61,7 +62,7 @@ typedef struct _cmd_table_t {
/* Prototypes */
-int Xinit __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
+int Xreinit __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xdisk __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xedit __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xselect __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
@@ -69,6 +70,7 @@ int Xprint __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xwrite __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xexit __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xquit __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
+int Xabort __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xhelp __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xflag __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));
int Xupdate __P((cmd_t *, disk_t *, mbr_t *, mbr_t *, int));