summaryrefslogtreecommitdiffstats
path: root/tools/toollib.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/toollib.h')
-rw-r--r--tools/toollib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/toollib.h b/tools/toollib.h
index ef2b9db7..f002d603 100644
--- a/tools/toollib.h
+++ b/tools/toollib.h
@@ -66,7 +66,7 @@ typedef int (*process_single_pv_fn_t) (struct cmd_context *cmd,
void *handle);
int process_each_pv_in_vg(struct cmd_context *cmd, struct volume_group *vg,
- const struct list *tags, void *handle,
+ const struct dm_list *tags, void *handle,
process_single_pv_fn_t process_single);
typedef int (*process_single_lv_fn_t) (struct cmd_context *cmd,
@@ -75,8 +75,8 @@ typedef int (*process_single_lv_fn_t) (struct cmd_context *cmd,
int process_each_lv_in_vg(struct cmd_context *cmd,
const struct volume_group *vg,
- const struct list *arg_lvnames,
- const struct list *tags,
+ const struct dm_list *arg_lvnames,
+ const struct dm_list *tags,
void *handle,
process_single_lv_fn_t process_single);
@@ -89,10 +89,10 @@ char *skip_dev_dir(struct cmd_context *cmd, const char *vg_name,
* Builds a list of pv's from the names in argv. Used in
* lvcreate/extend.
*/
-struct list *create_pv_list(struct dm_pool *mem, struct volume_group *vg, int argc,
+struct dm_list *create_pv_list(struct dm_pool *mem, struct volume_group *vg, int argc,
char **argv, int allocatable_only);
-struct list *clone_pv_list(struct dm_pool *mem, struct list *pvs);
+struct dm_list *clone_pv_list(struct dm_pool *mem, struct dm_list *pvs);
int apply_lvname_restrictions(const char *name);
int is_reserved_lvname(const char *name);