summaryrefslogtreecommitdiff
path: root/usr.sbin/config/config.h
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-08-07 10:22:28 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-08-07 10:22:28 +0000
commitb67e43dd2278ca8b74e101b183394a9ecd6d27bb (patch)
tree20b2ec585464392c046d363f8c9a2fe29e8db5c5 /usr.sbin/config/config.h
parentec124f7a05558ad9de99cbeeb806a7b270b22ce8 (diff)
cf_locnames support, from NetBSD (jtk, according to the RCSids).
Diffstat (limited to 'usr.sbin/config/config.h')
-rw-r--r--usr.sbin/config/config.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/config/config.h b/usr.sbin/config/config.h
index 252e054f438..36e5a1ff488 100644
--- a/usr.sbin/config/config.h
+++ b/usr.sbin/config/config.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: config.h,v 1.9 1997/07/25 20:12:10 mickey Exp $ */
-/* $NetBSD: config.h,v 1.30 1997/02/02 21:12:30 thorpej Exp $ */
+/* $OpenBSD: config.h,v 1.10 1997/08/07 10:22:24 downsj Exp $ */
+/* $NetBSD: config.h,v 1.31 1997/03/14 00:14:09 jtk Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -285,6 +285,8 @@ struct hashtab *selecttab; /* selects things that are "optional foo" */
struct hashtab *needcnttab; /* retains names marked "needs-count" */
struct hashtab *opttab; /* table of configured options */
struct hashtab *defopttab; /* options that have been "defopt"'d */
+struct hashtab *attrtab; /* attributes (locators, etc.) */
+
struct devbase *allbases; /* list of all devbase structures */
struct deva *alldevas; /* list of all devbase attachment structures */
struct config *allcf; /* list of configured kernels */
@@ -321,6 +323,8 @@ int ht_insrep __P((struct hashtab *, const char *, void *, int));
void *ht_lookup __P((struct hashtab *, const char *));
void initintern __P((void));
const char *intern __P((const char *));
+typedef int (*ht_callback) __P((const char *, void *, void *));
+int ht_enumerate __P((struct hashtab *, ht_callback, void *));
/* main.c */
void addoption __P((const char *name, const char *value));