1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00
lvm2/lib/report
Dave Wysochanski 4df3d5ad25 Add pv_get_property and create generic internal _get_property function.
We need to use a similar function for pv and lv properties, so just make
a generic _get_property() function that contains most of the required
functionality.  Also, add a check to ensure the field name matches the
object passed in by re-using report_type_t enum.  For pv properties,
the report_type might be either PVS or LABEL.

In addition, add 'const' to 'get' functions object parameter, but not
'set' functions.  Add _not_implemented_set() and _not_implemented_get()
functions.
2010-09-30 14:09:45 +00:00
..
columns.h Add {pv|vg|lv}_attr_dup() functions and refactor 'disp' functions. 2010-09-30 13:52:55 +00:00
properties.c Add pv_get_property and create generic internal _get_property function. 2010-09-30 14:09:45 +00:00
properties.h Add pv_get_property and create generic internal _get_property function. 2010-09-30 14:09:45 +00:00
report.c Add pv_mda_size, pv_mda_free, and pv_used functions, call from 'disp' functions. 2010-09-30 14:09:10 +00:00
report.h Separate PV label attributes which do not need parse metadata when reporting. 2009-02-09 09:45:49 +00:00