From 4de36d00728dd291aacd5e4b2fd813e98e43a109 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Fri, 25 Jun 2010 12:19:52 +0000 Subject: [PATCH] Update liblvm2app exported symbols. Add Makefile target to generate current list of lvm2app.h functions. --- WHATS_NEW | 2 + liblvm/.exported_symbols | 99 +++++++++++++++++++++------------------- liblvm/Makefile.in | 4 ++ 3 files changed, 59 insertions(+), 46 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 1c659c509..bd0ce6d1d 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,7 @@ Version 2.02.69 - ================================ + Update liblvm2app exported symbols. + Add manual Makefile target to generate current list of lvm2app.h functions. Preload libc locale messages to prevent reading it in memory locked state. Fix handling of simultaneous mirror image and mirrored log image failure. diff --git a/liblvm/.exported_symbols b/liblvm/.exported_symbols index 6f53de346..26452a2be 100644 --- a/liblvm/.exported_symbols +++ b/liblvm/.exported_symbols @@ -1,52 +1,59 @@ -lvm_library_get_version -lvm_init -lvm_quit -lvm_config_reload lvm_config_override -lvm_pv_get_dev_size -lvm_pv_get_size -lvm_pv_get_free -lvm_pv_get_name -lvm_pv_get_uuid -lvm_pv_get_mda_count -lvm_vg_get_seqno -lvm_vg_get_name -lvm_vg_get_uuid -lvm_vg_get_size -lvm_vg_get_free_size -lvm_vg_get_extent_size -lvm_vg_get_extent_count -lvm_vg_get_free_extent_count -lvm_vg_get_pv_count -lvm_vg_get_tags -lvm_lv_activate -lvm_lv_deactivate -lvm_lv_get_uuid -lvm_lv_get_name -lvm_lv_get_size -lvm_lv_is_active -lvm_lv_is_suspended -lvm_lv_add_tag -lvm_lv_remove_tag -lvm_lv_get_tags -lvm_vg_create -lvm_vg_extend -lvm_vg_reduce -lvm_vg_set_extent_size -lvm_vg_write -lvm_vg_open -lvm_vg_close -lvm_vg_remove -lvm_vg_add_tag -lvm_vg_remove_tag -lvm_scan -lvm_errno +lvm_config_reload lvm_errmsg -lvm_vg_list_pvs -lvm_vg_list_lvs +lvm_errno +lvm_init +lvm_library_get_version lvm_list_vg_names lvm_list_vg_uuids +lvm_lv_activate +lvm_lv_add_tag +lvm_lv_deactivate +lvm_lv_get_name +lvm_lv_get_size +lvm_lv_get_tags +lvm_lv_get_uuid +lvm_lv_is_active +lvm_lv_is_suspended +lvm_lv_remove_tag +lvm_lv_resize +lvm_pv_get_dev_size +lvm_pv_get_free +lvm_pv_get_mda_count +lvm_pv_get_name +lvm_pv_get_size +lvm_pv_get_uuid +lvm_pv_resize +lvm_quit +lvm_scan +lvm_vg_add_tag +lvm_vg_close +lvm_vg_create lvm_vg_create_lv_linear -lvm_vg_remove_lv -lvm_vgname_from_pvid +lvm_vg_extend +lvm_vg_get_extent_count +lvm_vg_get_extent_size +lvm_vg_get_free_extent_count +lvm_vg_get_free_size +lvm_vg_get_max_lv +lvm_vg_get_max_pv +lvm_vg_get_name +lvm_vg_get_pv_count +lvm_vg_get_seqno +lvm_vg_get_size +lvm_vg_get_tags +lvm_vg_get_uuid +lvm_vg_is_clustered +lvm_vg_is_exported +lvm_vg_is_partial +lvm_vg_list_lvs +lvm_vg_list_pvs lvm_vgname_from_device +lvm_vgname_from_pvid +lvm_vg_open +lvm_vg_reduce +lvm_vg_remove +lvm_vg_remove_lv +lvm_vg_remove_tag +lvm_vg_set_extent_size +lvm_vg_write diff --git a/liblvm/Makefile.in b/liblvm/Makefile.in index 197f1d153..90d3e2505 100644 --- a/liblvm/Makefile.in +++ b/liblvm/Makefile.in @@ -75,4 +75,8 @@ liblvm.cflow: $(SOURCES) cflow: liblvm.cflow +.exported_symbols_new: $(srcdir)/lvm2app.h + $(CPP) -P $< | \ + $(SED) -ne '/^(typedef|})/!s/.*[ \*]\(lvm_[a-z_]*\)(.*/\1/p' > $@ + DISTCLEAN_TARGETS += $(LIB_NAME).pc