diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-05-06 10:02:38 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-05-06 10:02:38 +1000 |
commit | 0d726f17e191094665a5f2af8c2564dedb990502 (patch) | |
tree | 6523336fa8443c6769d3ea02301899de5d461134 /mdadm.h | |
parent | 9a02c62af93879d7fe4f3740bcde2e01fbccc960 (diff) | |
download | mdadm-0d726f17e191094665a5f2af8c2564dedb990502.tar.gz mdadm-0d726f17e191094665a5f2af8c2564dedb990502.tar.xz mdadm-0d726f17e191094665a5f2af8c2564dedb990502.zip |
add --export option to --examine
From: Kay Sievers <kay.sievers@vrfy.org>
Cc: David Zeuthen <david@fubar.dk>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -330,9 +330,10 @@ extern char *map_dev(int major, int minor, int create); extern struct superswitch { void (*examine_super)(struct supertype *st, char *homehost); void (*brief_examine_super)(struct supertype *st); + void (*export_examine_super)(struct supertype *st); void (*detail_super)(struct supertype *st, char *homehost); - void (*export_super)(struct supertype *st); void (*brief_detail_super)(struct supertype *st); + void (*export_detail_super)(struct supertype *st); void (*uuid_from_super)(struct supertype *st, int uuid[4]); void (*getinfo_super)(struct supertype *st, struct mdinfo *info); int (*match_home)(struct supertype *st, char *homehost); @@ -451,8 +452,8 @@ extern int Create(struct supertype *st, char *mddev, int mdfd, extern int Detail(char *dev, int brief, int export, int test, char *homehost); extern int Query(char *dev); -extern int Examine(mddev_dev_t devlist, int brief, int scan, int SparcAdjust, - struct supertype *forcest, char *homehost); +extern int Examine(mddev_dev_t devlist, int brief, int export, int scan, + int SparcAdjust, struct supertype *forcest, char *homehost); extern int Monitor(mddev_dev_t devlist, char *mailaddr, char *alert_cmd, int period, int daemonise, int scan, int oneshot, |