summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/control.h
diff options
context:
space:
mode:
authortrociny <trociny@FreeBSD.org>2011-04-26 19:38:30 +0000
committertrociny <trociny@FreeBSD.org>2011-04-26 19:38:30 +0000
commit465b8d715b30c5302f4ab5025b7047645f35abde (patch)
treeda54338c6771a9fbab95f80feed72b1b528c976e /sbin/hastd/control.h
parentb1280e91cd51ca3f3a150ad189a20d5f4e6c6104 (diff)
downloadFreeBSD-src-465b8d715b30c5302f4ab5025b7047645f35abde.zip
FreeBSD-src-465b8d715b30c5302f4ab5025b7047645f35abde.tar.gz
Rename HASTCTL_ defines, which are used for conversion between main
hastd process and workers, remove unused one and set different range of numbers. This is done in order not to confuse them with HASTCTL_CMD defines, used for conversation between hastctl and hastd, and to avoid bugs like the one fixed in in r221075. Approved by: pjd (mentor) MFC after: 1 week
Diffstat (limited to 'sbin/hastd/control.h')
-rw-r--r--sbin/hastd/control.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/hastd/control.h b/sbin/hastd/control.h
index ed8e4ff..0795c70 100644
--- a/sbin/hastd/control.h
+++ b/sbin/hastd/control.h
@@ -32,9 +32,8 @@
#ifndef _CONTROL_H_
#define _CONTROL_H_
-#define HASTCTL_SET_ROLE 1
-#define HASTCTL_STATUS 2
-#define HASTCTL_RELOAD 3
+#define CONTROL_STATUS 10
+#define CONTROL_RELOAD 11
struct hastd_config;
struct hast_resource;
OpenPOWER on IntegriCloud