summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ngctl
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-07-03 13:34:18 +0000
committerphk <phk@FreeBSD.org>2000-07-03 13:34:18 +0000
commitaec15566c7a9b50127fb40fbf5ae9c66b1bbf018 (patch)
treeb89fa950ecba2c01b005278180f73adcbadfac27 /usr.sbin/ngctl
parente7f486457aa7b52a0c996b41a4351c072e162f5a (diff)
downloadFreeBSD-src-aec15566c7a9b50127fb40fbf5ae9c66b1bbf018.zip
FreeBSD-src-aec15566c7a9b50127fb40fbf5ae9c66b1bbf018.tar.gz
Experiemntal ascii based device configuration mechanism.
This may or may not survive, decision will be made well before 5.0-R
Diffstat (limited to 'usr.sbin/ngctl')
-rw-r--r--usr.sbin/ngctl/Makefile2
-rw-r--r--usr.sbin/ngctl/main.c1
-rw-r--r--usr.sbin/ngctl/ngctl.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile
index 468a17c..d8dee7c 100644
--- a/usr.sbin/ngctl/Makefile
+++ b/usr.sbin/ngctl/Makefile
@@ -2,7 +2,7 @@
# $Whistle: Makefile,v 1.3 1999/01/16 00:10:11 archie Exp $
PROG= ngctl
-SRCS= main.c mkpeer.c connect.c name.c show.c list.c \
+SRCS= main.c mkpeer.c config.c connect.c name.c show.c list.c \
msg.c debug.c shutdown.c rmhook.c status.c types.c
MAN8= ngctl.8
DPADD+= ${LIBNETGRAPH}
diff --git a/usr.sbin/ngctl/main.c b/usr.sbin/ngctl/main.c
index 67ffde3..9668fbe 100644
--- a/usr.sbin/ngctl/main.c
+++ b/usr.sbin/ngctl/main.c
@@ -59,6 +59,7 @@ static int QuitCmd(int ac, char **av);
/* List of commands */
static const struct ngcmd *const cmds[] = {
+ &config_cmd,
&connect_cmd,
&debug_cmd,
&help_cmd,
diff --git a/usr.sbin/ngctl/ngctl.h b/usr.sbin/ngctl/ngctl.h
index b66e74b..56d0a3d 100644
--- a/usr.sbin/ngctl/ngctl.h
+++ b/usr.sbin/ngctl/ngctl.h
@@ -75,6 +75,7 @@ struct ngcmd {
#define CMDRTN_QUIT 3
/* Available commands */
+extern const struct ngcmd config_cmd;
extern const struct ngcmd connect_cmd;
extern const struct ngcmd debug_cmd;
extern const struct ngcmd help_cmd;
OpenPOWER on IntegriCloud