summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/media.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1995-04-29 19:33:06 +0000
committerjkh <jkh@FreeBSD.org>1995-04-29 19:33:06 +0000
commitfe13bd0b5e978f8a7c822e5dd4d039a5981f7204 (patch)
treeab80745bc8d6737d2054b314ccdba01ec7273564 /usr.sbin/sysinstall/media.c
parent3710598186a6d9cf7b16aac1100f0197134ef8a9 (diff)
downloadFreeBSD-src-fe13bd0b5e978f8a7c822e5dd4d039a5981f7204.zip
FreeBSD-src-fe13bd0b5e978f8a7c822e5dd4d039a5981f7204.tar.gz
o Add extra menu types (radio implemented, multiple choice shortly).
o Make the framework generally more robust. o Figured out how to nest the menu descriptions - no more grotty initialization of menus. o Fix bug with helpline and helpfile not being reset. o Add stubs for the media selection code. Coming next: Fdisk and disklabel screens using Phk's new libdisk stuff.
Diffstat (limited to 'usr.sbin/sysinstall/media.c')
-rw-r--r--usr.sbin/sysinstall/media.c52
1 files changed, 51 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/media.c b/usr.sbin/sysinstall/media.c
index 16fec45..b6febca 100644
--- a/usr.sbin/sysinstall/media.c
+++ b/usr.sbin/sysinstall/media.c
@@ -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$
+ * $Id: media.c,v 1.1 1995/04/27 18:05:10 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -50,3 +50,53 @@ mediaSetCDROM(void)
{
return 0;
}
+
+/*
+ * Return 0 if we successfully found and set the installation type to
+ * be a floppy
+ */
+int
+mediaSetFloppy(void)
+{
+ return 0;
+}
+
+/*
+ * Return 0 if we successfully found and set the installation type to
+ * be a DOS partition.
+ */
+int
+mediaSetDOS(void)
+{
+ return 0;
+}
+
+/*
+ * Return 0 if we successfully found and set the installation type to
+ * be a tape drive.
+ */
+int
+mediaSetTape(void)
+{
+ return 0;
+}
+
+/*
+ * Return 0 if we successfully found and set the installation type to
+ * be an ftp server
+ */
+int
+mediaSetFTP(void)
+{
+ return 0;
+}
+
+/*
+ * Return 0 if we successfully found and set the installation type to
+ * be some sort of mounted filesystem (it's also mounted at this point)
+ */
+int
+mediaSetFS(void)
+{
+ return 0;
+}
OpenPOWER on IntegriCloud