1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00
lvm2/lib/report
Peter Rajnoha a64b39aef8 report: add report_init_for_selection fn and modify report_object to support reporting for selection only
The new "report_init_for_selection" is just a wrapper over
dm_report_init_with_selection that initializes reporting for selection
only. This means we're not going to do the actual reporting to output
for display and as such we intialize reporting as if no fields are reported
or sorted. The only fields "reported" are taken from the selection criteria
string and all such fields are marked as hidden automatically (FLD_HIDDEN flag).
These fields are used solely for selection criteria matching.

Also, modify existing report_object function that was used for reporting to
output for display. Now, it can either cause reporting to output or reporting
for selection only. The selection result is stored in struct selection_handle's
"selected" variable which can be handled further by any report_object caller.
2015-02-10 16:05:25 +01:00
..
columns-devtypes.h reporting: Add devtypes command. 2013-09-18 01:09:15 +01:00
columns.h report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00
properties.c properties: also recognize LVSINFO, LVSSTATUS and LVSINFOSTATUS as subtypes of LVS 2015-01-30 11:13:49 +01:00
properties.h report: select: refactor: move str_list to libdm 2014-06-17 16:27:20 +02:00
report.c report: add report_init_for_selection fn and modify report_object to support reporting for selection only 2015-02-10 16:05:25 +01:00
report.h report: add report_init_for_selection fn and modify report_object to support reporting for selection only 2015-02-10 16:05:25 +01:00
values.h report: rename lv_error_when_full field to lv_when_full and display either "error", "queue" or "" 2015-01-21 10:50:32 +01:00