mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-16 23:57:54 +01:00
1. Make this compile again after Poul's changes to the get() strategy
routine. 2. Improve the tcpip menu slightly.
This commit is contained in:
parent
25fce75ee4
commit
ae71ab7fd4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8800
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.30 1995/05/24 17:49:11 jkh Exp $
|
||||
* $Id: devices.c,v 1.31 1995/05/26 08:41:37 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -145,7 +145,7 @@ deviceDiskFree(Device *dev)
|
||||
/* Register a new device in the devices array */
|
||||
Device *
|
||||
deviceRegister(char *name, char *desc, char *devname, DeviceType type, Boolean enabled,
|
||||
Boolean (*init)(Device *), int (*get)(char *, char *), Boolean (*close)(Device *, int),
|
||||
Boolean (*init)(Device *), int (*get)(char *), Boolean (*close)(Device *, int),
|
||||
void (*shutdown)(Device *), void *private)
|
||||
{
|
||||
Device *newdev;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: tcpip.c,v 1.21 1995/05/26 22:08:59 jkh Exp $
|
||||
* $Id: tcpip.c,v 1.22 1995/05/27 23:39:34 phk Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Gary J Palmer. All rights reserved.
|
||||
@ -206,7 +206,7 @@ tcpOpenDialog(Device *devp)
|
||||
/* Setup a nice screen for us to splat stuff onto */
|
||||
draw_box(ds_win, TCP_DIALOG_Y, TCP_DIALOG_X, TCP_DIALOG_HEIGHT, TCP_DIALOG_WIDTH, dialog_attr, border_attr);
|
||||
wattrset(ds_win, dialog_attr);
|
||||
mvwaddstr(ds_win, TCP_DIALOG_Y, TCP_DIALOG_X + 20, " Network Configuration ");
|
||||
mvprintw(ds_win, TCP_DIALOG_Y, TCP_DIALOG_X + 20, " Interface %s ", devp->name);
|
||||
|
||||
draw_box(ds_win, TCP_DIALOG_Y + 9, TCP_DIALOG_X + 8, TCP_DIALOG_HEIGHT - 13, TCP_DIALOG_WIDTH - 17,
|
||||
dialog_attr, border_attr);
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.30 1995/05/24 17:49:11 jkh Exp $
|
||||
* $Id: devices.c,v 1.31 1995/05/26 08:41:37 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -145,7 +145,7 @@ deviceDiskFree(Device *dev)
|
||||
/* Register a new device in the devices array */
|
||||
Device *
|
||||
deviceRegister(char *name, char *desc, char *devname, DeviceType type, Boolean enabled,
|
||||
Boolean (*init)(Device *), int (*get)(char *, char *), Boolean (*close)(Device *, int),
|
||||
Boolean (*init)(Device *), int (*get)(char *), Boolean (*close)(Device *, int),
|
||||
void (*shutdown)(Device *), void *private)
|
||||
{
|
||||
Device *newdev;
|
||||
|
@ -4,7 +4,7 @@
|
||||
* This is probably the last program in the `sysinstall' line - the next
|
||||
* generation being essentially a complete rewrite.
|
||||
*
|
||||
* $Id: devices.c,v 1.30 1995/05/24 17:49:11 jkh Exp $
|
||||
* $Id: devices.c,v 1.31 1995/05/26 08:41:37 jkh Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Jordan Hubbard. All rights reserved.
|
||||
@ -145,7 +145,7 @@ deviceDiskFree(Device *dev)
|
||||
/* Register a new device in the devices array */
|
||||
Device *
|
||||
deviceRegister(char *name, char *desc, char *devname, DeviceType type, Boolean enabled,
|
||||
Boolean (*init)(Device *), int (*get)(char *, char *), Boolean (*close)(Device *, int),
|
||||
Boolean (*init)(Device *), int (*get)(char *), Boolean (*close)(Device *, int),
|
||||
void (*shutdown)(Device *), void *private)
|
||||
{
|
||||
Device *newdev;
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* $Id: tcpip.c,v 1.21 1995/05/26 22:08:59 jkh Exp $
|
||||
* $Id: tcpip.c,v 1.22 1995/05/27 23:39:34 phk Exp $
|
||||
*
|
||||
* Copyright (c) 1995
|
||||
* Gary J Palmer. All rights reserved.
|
||||
@ -206,7 +206,7 @@ tcpOpenDialog(Device *devp)
|
||||
/* Setup a nice screen for us to splat stuff onto */
|
||||
draw_box(ds_win, TCP_DIALOG_Y, TCP_DIALOG_X, TCP_DIALOG_HEIGHT, TCP_DIALOG_WIDTH, dialog_attr, border_attr);
|
||||
wattrset(ds_win, dialog_attr);
|
||||
mvwaddstr(ds_win, TCP_DIALOG_Y, TCP_DIALOG_X + 20, " Network Configuration ");
|
||||
mvprintw(ds_win, TCP_DIALOG_Y, TCP_DIALOG_X + 20, " Interface %s ", devp->name);
|
||||
|
||||
draw_box(ds_win, TCP_DIALOG_Y + 9, TCP_DIALOG_X + 8, TCP_DIALOG_HEIGHT - 13, TCP_DIALOG_WIDTH - 17,
|
||||
dialog_attr, border_attr);
|
||||
|
Loading…
Reference in New Issue
Block a user