From 13e8c7e4344ec57917f5c74f9bca071274d235ce Mon Sep 17 00:00:00 2001 From: Dave Wysochanski Date: Wed, 1 Jul 2009 17:00:50 +0000 Subject: Rework the toollib interface (process_each_*) on top of new vg_read. Sun May 3 12:32:30 CEST 2009 Petr Rockai * Rework the toollib interface (process_each_*) on top of new vg_read. Rebased 6/26/09 by Dave W. - Add skipping message to process_each_lv - Remove inconsistent_t. --- tools/toollib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/toollib.h') diff --git a/tools/toollib.h b/tools/toollib.h index cc097964..273cb65f 100644 --- a/tools/toollib.h +++ b/tools/toollib.h @@ -27,11 +27,11 @@ struct volume_group *recover_vg(struct cmd_context *cmd, const char *vgname, uint32_t lock_type); int process_each_vg(struct cmd_context *cmd, int argc, char **argv, - uint32_t lock_type, inconsistent_t repair_vg, void *handle, + uint32_t flags, void *handle, int (*process_single) (struct cmd_context * cmd, const char *vg_name, struct volume_group * vg, - int consistent, void *handle)); + void *handle)); int process_each_pv(struct cmd_context *cmd, int argc, char **argv, struct volume_group *vg, uint32_t lock_type, @@ -51,7 +51,7 @@ int process_each_segment_in_pv(struct cmd_context *cmd, void *handle)); int process_each_lv(struct cmd_context *cmd, int argc, char **argv, - uint32_t lock_type, void *handle, + uint32_t flags, void *handle, int (*process_single) (struct cmd_context * cmd, struct logical_volume * lv, void *handle)); -- cgit