mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
f88130fd85
Implicit fields are fields that are registered with the report and reported internally by libdevmapper itself (compared to explicit fields that are registered by the layer above libdevmapper - e.g. LVM, dmsetup...). The "selected" field is the implicit field (for now the only one) that reports the result of the selection. Since the selection itself is the property of the libdevmapper, the upper layer using dm_report_init can't register this field itself and it must be done directly at libdevmapper layer. The "selected" field is internally registered as part of the "common" report type with id 0x80000000 (the last bit in uin32_t) which is then reserved (the explicit report types are then checked if they do not contain this id and if yes, we error out). This way, the "selected" field is recognized by all libdevmapper users that initialize the reporting with "dm_report_init_with_selection". If reporting is initialized with the classical "dm_report_init", there's no functional change (so the "selected" field is not defined and it's not recognized). |
||
---|---|---|
.. | ||
datastruct | ||
ioctl | ||
misc | ||
mm | ||
regex | ||
.exported_symbols | ||
libdevmapper.h | ||
libdevmapper.pc.in | ||
libdm-common.c | ||
libdm-common.h | ||
libdm-config.c | ||
libdm-deptree.c | ||
libdm-file.c | ||
libdm-report.c | ||
libdm-string.c | ||
Makefile.in |