X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=msg.h;h=016612cd1ab7d33937924b6840887f04e6e79eaf;hb=d94eb07f82a7e9c086da23b31c8021107b60f884;hp=c6d037d99a3a2f37614bde047b193483622c5d5a;hpb=51d9a2ce33a6a60a75751a46bb93bf052a2dfc7a;p=thirdparty%2Fmdadm.git diff --git a/msg.h b/msg.h index c6d037d9..016612cd 100644 --- a/msg.h +++ b/msg.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2008 Intel Corporation * - * mdmon socket / message handling + * mdmon socket / message handling * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -17,7 +17,6 @@ * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. */ - struct mdinfo; struct metadata_update; @@ -27,12 +26,12 @@ extern int ack(int fd, int tmo); extern int wait_reply(int fd, int tmo); extern int connect_monitor(char *devname); extern int ping_monitor(char *devname); -extern int ping_monitor_by_id(int devnum); extern int block_subarray(struct mdinfo *sra); extern int unblock_subarray(struct mdinfo *sra, const int unfreeze); extern int block_monitor(char *container, const int freeze); extern void unblock_monitor(char *container, const int unfreeze); extern int fping_monitor(int sock); extern int ping_manager(char *devname); +extern void flush_mdmon(char *container); #define MSG_MAX_LEN (4*1024*1024)