]> sourceware.org Git - lvm2.git/commit
libdm: report: support reporting field IDs in headings
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 22 Aug 2023 08:23:20 +0000 (10:23 +0200)
committerPeter Rajnoha <prajnoha@redhat.com>
Mon, 28 Aug 2023 13:44:57 +0000 (15:44 +0200)
commit12b60e7c251a5631a2d2e84c8441f10d8e53ff03
treec122225a4607404a87c499f550fef7095e30978c
parentc4b42e9f59c93c75c96d4e31cb87d3a29d1c005f
libdm: report: support reporting field IDs in headings

Add new DM_REPORT_OUTPUT_FIELD_IDS_IN_HEADINGS report output flag.
If enabled, column IDs are reported instead of column names in report
headings.

The 'column IDs' are IDs as found in 'const struct dm_report_field_type *fields'
array that is passed during report initialization (that is, a call to
dm_report_init/dm_report_init_with_selection). In this case, the 'id'
dm_report_field_type member is used instead of the 'heading' member.
WHATS_NEW_DM
device_mapper/all.h
device_mapper/libdm-report.c
libdm/libdevmapper.h
libdm/libdm-report.c
This page took 0.036084 seconds and 5 git commands to generate.