1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-18 10:04:20 +03:00
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
..
2015-01-30 16:22:11 +01:00
2015-01-30 13:17:12 +01:00
2014-10-24 16:39:30 +02:00
2014-10-30 23:58:49 +01:00
2015-01-14 14:52:05 +01:00
2014-10-30 23:58:49 +01:00
2014-11-18 16:50:49 +01:00
2015-01-30 14:16:27 +01:00
2014-10-30 23:58:49 +01:00
2015-01-30 13:17:12 +01:00
2014-11-10 22:05:48 +01:00
2014-10-30 23:58:49 +01:00
2014-10-30 23:58:49 +01:00
2014-03-12 19:12:34 +01:00
2014-11-13 17:49:42 +01:00