summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/hast.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-08-27 15:16:52 +0000
committerpjd <pjd@FreeBSD.org>2010-08-27 15:16:52 +0000
commit74741a8c60590fd6adadb341f500aeadbdf656e8 (patch)
treebdae12fd7401b11b403ff6d526a8574d9aa98483 /sbin/hastd/hast.h
parentaeab5efe07c7865c2e084ae4ad41a58592f0a106 (diff)
downloadFreeBSD-src-74741a8c60590fd6adadb341f500aeadbdf656e8.zip
FreeBSD-src-74741a8c60590fd6adadb341f500aeadbdf656e8.tar.gz
Allow to execute specified program on various HAST events.
MFC after: 2 weeks Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Diffstat (limited to 'sbin/hastd/hast.h')
-rw-r--r--sbin/hastd/hast.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/hastd/hast.h b/sbin/hastd/hast.h
index 1f3b386..7137917 100644
--- a/sbin/hastd/hast.h
+++ b/sbin/hastd/hast.h
@@ -127,6 +127,8 @@ struct hast_resource {
int hr_extentsize;
/* Maximum number of extents that are kept dirty. */
int hr_keepdirty;
+ /* Path to a program to execute on various events. */
+ char hr_exec[PATH_MAX];
/* Path to local component. */
char hr_localpath[PATH_MAX];
OpenPOWER on IntegriCloud