summaryrefslogtreecommitdiffstats
path: root/liblvm/.exported_symbols
Commit message (Collapse)AuthorAgeFilesLines
* Generate liblvm2app and libdevmapper exported symbols from header files.Alasdair Kergon2010-06-251-59/+0
| | | | | Detection is simply by prefix - dm_ or lvm_ - and any additional symbols needed but not detected this way are placed in .exported_symbols.
* actually, let's keep these in same order as in headerAlasdair Kergon2010-06-251-44/+44
|
* Update liblvm2app exported symbols.Alasdair Kergon2010-06-251-39/+46
| | | | Add Makefile target to generate current list of lvm2app.h functions.
* Add lvm2app interfaces to lookup a vgname from a pvid and pvname.Dave Wysochanski2010-05-191-0/+2
| | | | | | | | | | | lvm2app forces applications to start with a volume group name, open the volume group, then operate on individual pvs. In some cases the application may want to start with a device name rather than the volume group name. Today, if an application wants to do this, it must iterate through all the volume groups to find the volume group that the specific device is attached to. These new interfaces allow the application to avoid such overhead. Bump the lvm2app version number to 3.
* Add lvm_lv_get_tags(), lvm_lv_add_tag(), and lvm_lv_remove_tag().Dave Wysochanski2010-02-241-0/+3
| | | | | | | | | | Add lvm2app functions to manage LV tags. For lvm_lv_get_tags(), we return a list of tags, similar to other functions that return lists. An empty list is returned if there are no tags. NULL is returned if there is a problem obtaining the list of tags. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_vg_get_tags(), lvm_vg_add_tag(), and lvm_vg_remove_tag().Dave Wysochanski2010-02-241-0/+3
| | | | | | | | | | Add lvm2app functions to manage VG tags. For lvm_vg_get_tags(), we return a list of tags, similar to other functions that return lists. An empty list is returned if there are no VG tags. NULL is returned if there is a problem obtaining the list of tags. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Export lvm_pv_get_size(), lvm_pv_get_free(), lvm_pv_get_dev_size in lvm2app.Dave Wysochanski2010-02-141-0/+3
| | | | | | | | We add these exports to show the pv_size and pv_free and dev_size fields. Fixes rhbz561423. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_vg_get_seqno, updating lvm.h and unit test.Dave Wysochanski2009-07-281-0/+1
| | | | | | Adding the ability to get the seqno is important for an application to determine if something has changed in a VG. Otherwise, the only way to know is to open the VG with write permission and hold the handle.
* Add lvm_library_get_version() and update unit tests to display version.Dave Wysochanski2009-07-281-0/+1
|
* Rename lvm_create to lvm_init and lvm_destroy to lvm_quit.Dave Wysochanski2009-07-281-2/+2
|
* Add lvm_config_override - allow caller to override config, similar to --config.Dave Wysochanski2009-07-271-1/+2
| | | | | | | | | | | | | | | | Allowing the caller to override the LVM configuration with an API will enable them to use things such as device filters. While very flexible, there is some danger to this API in that it will make it harder to debug setups that have a changing config and deduce what might have happened. At some point we may want to limit the scope of this API but for now it is as open as the --config option to lvm commands. Update exported symbols. When I renamed lvm_reload_config to lvm_config_reload I forgot to rename so I renamed that one here. This I believe is the last liblvm API for now. ;-) Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_vg_reduce to liblvm2appDave Wysochanski2009-07-271-0/+1
| | | | | | | | | | | | | | | | Extend lvm_vg_write to remove pvs removed in lvm_vg_reduce. The lvm volume_group internal structure removed_pvs is used for that. The list is empty afterwards. Add new test for vg->pvs emptyness to lvm_vg_write to prevent to write empty vgs. This is needed because of lvm_vg_reduce and lv_vg_create, which creates empty vgs. Signed-off-by: Thomas Woerner <twoerner@redhat.com> Acked-by: Dave Wysochanski <dwysocha@redhat.com> Author: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_lv_is_active and lvm_lv_is_suspended.Dave Wysochanski2009-07-261-0/+2
| | | | | | | | Return whether an LV is active in the kernel (live table) or suspended (table suspend). Author: Dave Wysochanski <dwysocha@redhat.com>
* Implement lvm_lv_activate and lvm_lv_deactivate liblvm calls.Dave Wysochanski2009-07-261-0/+2
| | | | | | | | Limited implementation but other types of activation should probably have separate calls. We also currently do not handle pvmoves or lvconverts. Author: Dave Wysochanski <dwysocha@redhat.com>
* Rename lvm_scan_vgs to lvm_scan.Dave Wysochanski2009-07-261-1/+1
| | | | Author: Dave Wysochanski <dwysocha@redhat.com>
* Rename lvm_vg_get_free to lvm_vg_get_free_size.Dave Wysochanski2009-07-261-1/+1
| | | | Author: Dave Wysochanski <dwysocha@redhat.com>
* Rename lvm_list_vg_ids to lvm_list_vg_uuids.Dave Wysochanski2009-07-261-1/+1
| | | | Author: Dave Wysochanski <dwysocha@redhat.com>
* Rename lvm_vg_get_free_count to lvm_vg_get_free_extent_count.Dave Wysochanski2009-07-261-1/+1
| | | | Author: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_vg_remove_lv liblvm function.Dave Wysochanski2009-07-261-0/+1
| | | | | | | | | Add a very simple version of lvm_vg_remove_lv. Since we currently can only create linear LVs, this simple remove function is adequate. We must refactor lvremove_single a bit. Author: Dave Wysochanski <dwysocha@redhat.com>
* Add most all liblvm 'get' functions needed for anaconda.Dave Wysochanski2009-07-261-2/+10
| | | | | | | | | | | | Add the most straightforward 'get' functions required for anaconda. These are the ones that return simple uint64_t values. The other more complex ones involve the lv_attr bits. These will come in a separate patch series since each lv_attr bit will be returned in a separate API instred of returning the string and requiring the user to parse it. Author: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_vg_create_lv_linear liblvm function.Dave Wysochanski2009-07-261-0/+1
| | | | | | | Create a default linear logical volume from a volume group. Author: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_scan_vgs liblvm fn to scan the system for LVM metadata.Dave Wysochanski2009-07-241-0/+1
| | | | | | | The lvm_list_vg_{names|ids} functions do not do a scan so we provide a liblvm function that does a scan. Author: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_list_vg_names and lvm_list_vg_ids liblvm functions.Dave Wysochanski2009-07-241-0/+2
| | | | | | | These functions provide the capability of enumerating all vgnames and vgids in the system. They do not do a scan of the system. Author: Dave Wysochanski <dwysocha@redhat.com>
* Add lvm_{pv|vg|lv}_get_{uuid|name}.Dave Wysochanski2009-07-231-0/+6
| | | | | | | | | | | | | Caller must free the memory of the uuid / name returned. This may not be the best memory management policy since it may lead to memory leaks if the caller has code like this: if (!lvm_vg_get_name(vg)) Maybe we don't care - if we do we can use pools tied to handles later or some other scheme. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Acked-by: Thomas Woerner <twoerner@redhat.com>
* Add lvm_vg_list_{pvs|lvs} - return lists of pv/lv handles for a vg.Dave Wysochanski2009-07-231-0/+2
| | | | | | | | | - Use vgmem pool to allocate a list of lvm_*_list structs - Allocate a new list each call (list may have changed since last call) - Add to liblvm's exported symbols Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Acked-by: Thomas Woerner <twoerner@redhat.com>
* Add lvm_vg_open() to open an existing VG for reading or writing.Dave Wysochanski2009-07-221-0/+1
| | | | | | | | lvm_vg_open() calls internal vg_read() function which is the entry point for reading an existing VG. In addition to the mode, we include a 'flags' parameter for future extensions. Signed-off-by: Dave Wysochanski <dwysocha@redhat.com>
* Export lvm_errno and lvm_errmsg in liblvm.Dave Wysochanski2009-07-221-0/+2
| | | | Author: Dave Wysochanski <dwysocha@redhat.com>
* Add VG APIs to liblvm/.exported_symbols.Dave Wysochanski2009-07-141-1/+7
| | | | | | | | | | | | | | Add the following VG APIs to liblvm/.exported_symbols: -lvm_reload_config -lvm_vg_create -lvm_vg_extend -lvm_vg_set_extent_size -lvm_vg_write -lvm_vg_close -lvm_vg_remove Signed-off-by: Dave Wysochanski <dwysocha@redhat.com> Acked-by: Alasdair G Kergon <agk@redhat.com>
* Add missing liblvm/.exported_symbolsDave Wysochanski2009-03-081-0/+3