summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/sysinstall.h
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1999-07-19 10:06:18 +0000
committerjkh <jkh@FreeBSD.org>1999-07-19 10:06:18 +0000
commit362c174f0ecccf186bc683c9822722165abafe12 (patch)
tree4ebc1f90f19217af451b98a53337f7cdcbefa38e /usr.sbin/sysinstall/sysinstall.h
parentf3c07181e3a6a7579dac59ab5d7db8dda4765baa (diff)
downloadFreeBSD-src-362c174f0ecccf186bc683c9822722165abafe12.zip
FreeBSD-src-362c174f0ecccf186bc683c9822722165abafe12.tar.gz
Another batch of fixes for dhcp support in sysinstall, now dragging
in some code from C. Stone to parse the lease information. This is still a WIP and this commit is largely intended to allow others to sync up; the dhclient code still only works when doing dhcp configuration post-install and requires a bit more work on the boot floppy before it will truly work in the minimal bootstrapping role.
Diffstat (limited to 'usr.sbin/sysinstall/sysinstall.h')
-rw-r--r--usr.sbin/sysinstall/sysinstall.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index f10927d..0ed5308 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.169 1999/07/16 11:13:09 jkh Exp $
+ * $Id: sysinstall.h,v 1.170 1999/07/18 10:18:06 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -450,6 +450,10 @@ extern Boolean dummyInit(Device *dev);
extern FILE *dummyGet(Device *dev, char *dist, Boolean probe);
extern void dummyShutdown(Device *dev);
+/* dhcp.c */
+extern int dhcpParseLeases(char *file, char *hostname, char *domain, char *nameserver,
+ char *ipaddr, char *gateway, char *netmask);
+
/* disks.c */
extern int diskPartitionEditor(dialogMenuItem *self);
extern int diskPartitionWrite(dialogMenuItem *self);
OpenPOWER on IntegriCloud