summaryrefslogtreecommitdiffstats
path: root/lib/format_text/text_export.h
diff options
context:
space:
mode:
authorPetr Rockai <prockai@redhat.com>2011-08-30 14:55:15 +0000
committerPetr Rockai <prockai@redhat.com>2011-08-30 14:55:15 +0000
commite59e2f7c3c1e2fa170dfca2ee0c29cca2d4f55c1 (patch)
tree197a579049ddab74d8944939a45f8e0d46b6c3cf /lib/format_text/text_export.h
parentd35188058be01bd29128dcf1f5b79220fbcb135b (diff)
downloadlvm2-e59e2f7c3c1e2fa170dfca2ee0c29cca2d4f55c1.tar.gz
lvm2-e59e2f7c3c1e2fa170dfca2ee0c29cca2d4f55c1.tar.xz
lvm2-e59e2f7c3c1e2fa170dfca2ee0c29cca2d4f55c1.zip
Move the core of the lib/config/config.c functionality into libdevmapper,
leaving behind the LVM-specific parts of the code (convenience wrappers that handle `struct device` and `struct cmd_context`, basically). A number of functions have been renamed (in addition to getting a dm_ prefix) -- namely, all of the config interface now has a dm_config_ prefix.
Diffstat (limited to 'lib/format_text/text_export.h')
-rw-r--r--lib/format_text/text_export.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/format_text/text_export.h b/lib/format_text/text_export.h
index 39a69164..991203c2 100644
--- a/lib/format_text/text_export.h
+++ b/lib/format_text/text_export.h
@@ -24,7 +24,7 @@
struct formatter;
struct lv_segment;
-struct config_node;
+struct dm_config_node;
int out_size(struct formatter *f, uint64_t size, const char *fmt, ...)
__attribute__ ((format(printf, 3, 4)));
@@ -35,7 +35,7 @@ int out_hint(struct formatter *f, const char *fmt, ...)
int out_text(struct formatter *f, const char *fmt, ...)
__attribute__ ((format(printf, 2, 3)));
-int out_config_node(struct formatter *f, const struct config_node *cn);
+int out_config_node(struct formatter *f, const struct dm_config_node *cn);
int out_areas(struct formatter *f, const struct lv_segment *seg,
const char *type);