master - report: add dm_report_field_string_list_unsorted
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=02dc3c773e6c8728b5df1dd7be8e1dc8c5f58e72 Commit: 02dc3c773e6c8728b5df1dd7be8e1dc8c5f58e72 Parent: 993f8d1b3f6cd6f04d0b9bfe858c35161e262dc4 Author: Peter Rajnoha <[email protected]> AuthorDate: Mon Aug 25 10:04:08 2014 +0200 Committer: Peter Rajnoha <[email protected]> CommitterDate: Mon Aug 25 16:11:40 2014 +0200
report: add dm_report_field_string_list_unsorted
--- WHATS_NEW_DM | 1 + libdm/libdevmapper.h | 2 + libdm/libdm-report.c | 133 ++++++++++++++++++++++++++++++++++---------------- 3 files changed, 94 insertions(+), 42 deletions(-)
WHATS_NEW_DM +1 -0
@@ -1,5 +1,6 @@ Version 1.02.89 - ================================= + Add dm_report_field_string_list_unsorted for str. list report without sorting. Support --deferred with dmsetup remove to defer removal of open devices. Update dm-ioctl.h to include DM_DEFERRED_REMOVE flag. Add support for selection to match string list subset, recognize { } operator.
libdm/libdevmapper.h +2 -0
@@ -1755,6 +1755,8 @@ int dm_report_field_string(struct dm_report *rh, struct dm_report_field *field, const char *const *data);int dm_report_field_string_list (struct dm_report *rh,struct dm_report_field *field,const struct dm_list *data,const char *delimiter); +int dm_report_field_string_list_unsorted (struct dm_report *rh,struct dm_report_field *field, +const struct dm_list *data,const char *delimiter);int dm_report_field_int32 (struct dm_report *rh,struct dm_report_field *field,const int32_t *data); int dm_report_field_uint32(struct dm_report *rh, struct dm_report_field *field,
libdm/libdm-report.c +91 -42
171 lines not on this page · raw message