diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-05-15 16:48:52 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-15 16:48:52 +1000 |
commit | b109d92863bfa319d140b305132ca41bfb8d1194 (patch) | |
tree | 77e038600e1a454443f1ff37d28b21f27ead8336 /msg.h | |
parent | 0af73f61a25904edc7da24e2da9786b48bb8bec6 (diff) | |
download | mdadm-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |