summaryrefslogtreecommitdiffstats
path: root/msg.h
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-05-15 16:48:52 +1000
committerNeil Brown <neilb@suse.de>2008-05-15 16:48:52 +1000
commitb109d92863bfa319d140b305132ca41bfb8d1194 (patch)
tree77e038600e1a454443f1ff37d28b21f27ead8336 /msg.h
parent0af73f61a25904edc7da24e2da9786b48bb8bec6 (diff)
downloadmdadm-b109d92863bfa319d140b305132ca41bfb8d1194.tar.gz
mdadm-b109d92863bfa319d140b305132ca41bfb8d1194.tar.xz
mdadm-b109d92863bfa319d140b305132ca41bfb8d1194.zip
start fleshing out socket code, ping monitor to see if it is alive
From: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'msg.h')
-rw-r--r--msg.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/msg.h b/msg.h
index 84ee9b3..6f0d9c1 100644
--- a/msg.h
+++ b/msg.h
@@ -17,6 +17,9 @@
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef _MSG_H
+#define _MSG_H
+
struct mdinfo;
struct md_message {
int seq;
@@ -57,3 +60,4 @@ extern int connect_monitor(char *devname);
extern int ping_monitor(char *devname);
extern int send_remove_device(int fd, dev_t rdev, int seq, int tmo);
+#endif