summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/hastd.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-08-05 19:16:31 +0000
committerpjd <pjd@FreeBSD.org>2010-08-05 19:16:31 +0000
commit7a18b662f13ec766be7a2d5d636b3f18d33b7c27 (patch)
tree0f8ede3b1b9ab2a4ab2dcbf5a6d8403abaff6620 /sbin/hastd/hastd.h
parent0a7f48a833394993f0f1ded5d0e1e2509c59da0a (diff)
downloadFreeBSD-src-7a18b662f13ec766be7a2d5d636b3f18d33b7c27.zip
FreeBSD-src-7a18b662f13ec766be7a2d5d636b3f18d33b7c27.tar.gz
Implement configuration reload on SIGHUP. This includes:
- Load added resources. - Stop and forget removed resources. - Update modified resources in least intrusive way, ie. don't touch /dev/hast/<name> unless path to local component or provider name were modified. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 1 month
Diffstat (limited to 'sbin/hastd/hastd.h')
-rw-r--r--sbin/hastd/hastd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/hastd/hastd.h b/sbin/hastd/hastd.h
index 199de8c..12b384d 100644
--- a/sbin/hastd/hastd.h
+++ b/sbin/hastd/hastd.h
@@ -39,7 +39,8 @@
#include "hast.h"
-extern bool sigexit_received;
+extern const char *cfgpath;
+extern bool sigexit_received, sighup_received;
extern struct pidfh *pfh;
void hastd_primary(struct hast_resource *res);
OpenPOWER on IntegriCloud