summaryrefslogtreecommitdiffstats
path: root/sbin/devd/devd.hh
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-10-24 22:02:29 +0000
committerimp <imp@FreeBSD.org>2003-10-24 22:02:29 +0000
commitff0432665a0dc30bec1aa09d92ecfe2ac4d25f4d (patch)
treea73579281972ef4a2b53de9f6192b64289db292d /sbin/devd/devd.hh
parent2fd31354d9e4c945cf1de39d75e7a45ba1ed36cc (diff)
downloadFreeBSD-src-ff0432665a0dc30bec1aa09d92ecfe2ac4d25f4d.zip
FreeBSD-src-ff0432665a0dc30bec1aa09d92ecfe2ac4d25f4d.tar.gz
Parse the ! lines that will soon be coming from the kernel. These are
a generalized notification mechanism for subsystems wishing to report events. Revieded by: njl # The kernel side seems like it might be causing panics for me, but should # be forthcoming shortly.
Diffstat (limited to 'sbin/devd/devd.hh')
-rw-r--r--sbin/devd/devd.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/devd/devd.hh b/sbin/devd/devd.hh
index 15dba5d..4730267 100644
--- a/sbin/devd/devd.hh
+++ b/sbin/devd/devd.hh
@@ -133,6 +133,7 @@ public:
void add_detach(int, event_proc *);
void add_directory(const char *);
void add_nomatch(int, event_proc *);
+ void add_notify(int, event_proc *);
void set_pidfile(const char *);
void reset();
void parse();
@@ -158,6 +159,7 @@ private:
std::vector<event_proc *> _attach_list;
std::vector<event_proc *> _detach_list;
std::vector<event_proc *> _nomatch_list;
+ std::vector<event_proc *> _notify_list;
};
#endif /* DEVD_HH */
OpenPOWER on IntegriCloud