summaryrefslogtreecommitdiffstats
path: root/tools/toollib.h
diff options
context:
space:
mode:
authorDave Wysochanski <dwysocha@redhat.com>2009-07-01 17:00:50 +0000
committerDave Wysochanski <dwysocha@redhat.com>2009-07-01 17:00:50 +0000
commit13e8c7e4344ec57917f5c74f9bca071274d235ce (patch)
treefa112cef193eb9bd824953b3a504cfcf5ad6b246 /tools/toollib.h
parentb8b3508c59da5eed15b8db507fd8ef6cc771823f (diff)
downloadlvm2-13e8c7e4344ec57917f5c74f9bca071274d235ce.tar.gz
lvm2-13e8c7e4344ec57917f5c74f9bca071274d235ce.tar.xz
lvm2-13e8c7e4344ec57917f5c74f9bca071274d235ce.zip
Rework the toollib interface (process_each_*) on top of new vg_read.
Sun May 3 12:32:30 CEST 2009 Petr Rockai <me@mornfall.net> * 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.
Diffstat (limited to 'tools/toollib.h')
-rw-r--r--tools/toollib.h6
1 files changed, 3 insertions, 3 deletions
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));