summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/control.h
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-08-05 19:04:29 +0000
committerpjd <pjd@FreeBSD.org>2010-08-05 19:04:29 +0000
commit31021ec9f13b3e3a013f75bfa436a2c7c4622ef3 (patch)
tree25b7bf8edc77ef7e87a64ffbf66ae0325157da6c /sbin/hastd/control.h
parent64f20fee8760b7e158ffef062ffa7abc5eeb0943 (diff)
downloadFreeBSD-src-31021ec9f13b3e3a013f75bfa436a2c7c4622ef3.zip
FreeBSD-src-31021ec9f13b3e3a013f75bfa436a2c7c4622ef3.tar.gz
Make control_set_role() more public. We will need it soon.
MFC after: 1 month
Diffstat (limited to 'sbin/hastd/control.h')
-rw-r--r--sbin/hastd/control.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sbin/hastd/control.h b/sbin/hastd/control.h
index 15ea290..bde790a 100644
--- a/sbin/hastd/control.h
+++ b/sbin/hastd/control.h
@@ -36,6 +36,9 @@
#define HASTCTL_STATUS 2
struct hastd_config;
+struct hast_resource;
+
+void control_set_role(struct hast_resource *res, uint8_t role);
void control_handle(struct hastd_config *cfg);
OpenPOWER on IntegriCloud