summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-05-06 10:02:38 +1000
committerNeil Brown <neilb@suse.de>2008-05-06 10:02:38 +1000
commit0d726f17e191094665a5f2af8c2564dedb990502 (patch)
tree6523336fa8443c6769d3ea02301899de5d461134 /mdadm.h
parent9a02c62af93879d7fe4f3740bcde2e01fbccc960 (diff)
downloadmdadm-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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/mdadm.h b/mdadm.h
index 0d73c17..5c18d15 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -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,