1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00
lvm2/liblvm
Dave Wysochanski 557f287005 Add lvm_{pv|vg|lv}_get_{uuid|name}.
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>
2009-07-23 23:40:05 +00:00
..
.exported_symbols Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00
liblvm2app.pc.in check in the correct pkgconfig file 2009-07-23 01:41:53 +00:00
lvm_base.c Add lvm_errno and lvm_errmsg to liblvm to obtain failure information. 2009-07-16 00:36:59 +00:00
lvm_lv.c Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00
lvm_pv.c Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00
lvm_vg.c Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00
lvm.h Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00
Makefile.in Add lvm_{pv|vg|lv}_get_{uuid|name}. 2009-07-23 23:40:05 +00:00