summaryrefslogtreecommitdiffstats
path: root/tools/toollib.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/toollib.h')
-rw-r--r--tools/toollib.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/tools/toollib.h b/tools/toollib.h
index 8b5ef7ed..9390ff3e 100644
--- a/tools/toollib.h
+++ b/tools/toollib.h
@@ -35,10 +35,9 @@ struct volume_group *recover_vg(struct cmd_context *cmd, const char *vgname,
int process_each_vg(struct cmd_context *cmd, int argc, char **argv,
int lock_type, int consistent, void *handle,
int (*process_single) (struct cmd_context * cmd,
- const char *vg_name,
- struct volume_group *vg,
- int consistent,
- void *handle));
+ const char *vg_name,
+ struct volume_group * vg,
+ int consistent, void *handle));
int process_each_pv(struct cmd_context *cmd, int argc, char **argv,
struct volume_group *vg, void *handle,
@@ -53,6 +52,12 @@ int process_each_lv(struct cmd_context *cmd, int argc, char **argv,
struct logical_volume * lv,
void *handle));
+int process_each_segment_in_lv(struct cmd_context *cmd,
+ struct logical_volume *lv, void *handle,
+ int (*process_single) (struct cmd_context * cmd,
+ struct lv_segment * seg,
+ void *handle));
+
int process_each_pv_in_vg(struct cmd_context *cmd, struct volume_group *vg,
void *handle,
int (*process_single) (struct cmd_context * cmd,