aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-04 23:36:23 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-04 23:36:23 +0000
commita2e3498a3cb7589d00b16799ea0544f4200f7e26 (patch)
tree6b41fde46007c62694ac47291e41d28b0524524d /usr.sbin/sysinstall/sysinstall.h
parentfb31b6d679579b73ff7139cd5d7af29c67b6a3e4 (diff)
downloadsrc-a2e3498a3cb7589d00b16799ea0544f4200f7e26.tar.gz
src-a2e3498a3cb7589d00b16799ea0544f4200f7e26.zip
Everything but the partition editor is done. This commit is for MBR testing.
Notes
Notes: svn path=/head/; revision=8281
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index 3152e2d4e038..d0da1c15958f 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -4,7 +4,7 @@
* This is probably the last attempt in the `sysinstall' line, the next
* generation being slated to essentially a complete rewrite.
*
- * $Id: sysinstall.h,v 1.5 1995/05/04 03:51:22 jkh Exp $
+ * $Id: sysinstall.h,v 1.6 1995/05/04 19:48:17 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -49,6 +49,7 @@
#include <string.h>
#include <unistd.h>
#include <dialog.h>
+#include "libdisk.h"
/*** Defines ***/
@@ -171,6 +172,7 @@ extern int CpioFD; /* The file descriptor for our CPIO floppy */
extern int DebugFD; /* Where diagnostic output goes */
extern Boolean OnCDROM; /* Are we running off of a CDROM? */
extern Boolean OnSerial; /* Are we on a serial console? */
+extern Boolean SystemWasInstalled; /* Did we install it? */
extern Boolean DialogActive; /* Is the dialog() stuff up? */
extern Variable *VarHead; /* The head of the variable chain */
extern unsigned int Dists; /* Which distributions we want */
@@ -208,6 +210,14 @@ extern void systemChangeLang(char *lang);
extern void systemChangeTerminal(char *color, char *mono);
extern void systemChangeScreenmap(char *newmap);
+/* disks.c */
+extern void partition_disk(struct disk *disks);
+extern int write_disks(struct disk **disks);
+extern void make_filesystems(struct disk **disks);
+extern void cpio_extract(struct disk **disks);
+extern void extract_dists(struct disk **disks);
+extern void do_final_setup(struct disk **disks);
+
/* dmenu.c */
extern void dmenuOpen(DMenu *menu, int *choice, int *scroll,
int *curr, int *max);
@@ -248,7 +258,7 @@ extern int mediaSetFS(char *str);
/* devices.c */
extern Device *device_get_all(DeviceType type, int *ndevs);
-extern struct disk *device_slice_disk(char *disk);
+extern struct disk *device_slice_disk(struct disk *d);
extern DMenu *device_create_disk_menu(DMenu *menu, Device **rdevs,
int (*func)());
@@ -268,5 +278,8 @@ extern void lang_set_Russian(char *str);
extern void lang_set_Spanish(char *str);
extern void lang_set_Swedish(char *str);
+/* wizard.c */
+extern void slice_wizard(struct disk *d);
+
#endif
/* _SYSINSTALL_H_INCLUDE */