Skip to contentSkip to conversation

dev-prajnoha-selout - selout: add dm_report_set_output_selection to libdm

PATCH Peter Rajnoha 1 participant 1 message May 9, 2014

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b73c961d5a9f7a74e4ebf17986868c2f0b1e71c4
Commit:        b73c961d5a9f7a74e4ebf17986868c2f0b1e71c4
Parent:        55a278edb71f3fbe9b2c77e5106cea14e66e1b39
Author:        Peter Rajnoha <[email protected]>
AuthorDate:    Mon Apr 28 11:57:09 2014 +0200
Committer:     Peter Rajnoha <[email protected]>
CommitterDate: Fri May 9 08:51:00 2014 +0200

selout: add dm_report_set_output_selection to libdm

---
 libdm/libdevmapper.h |    2 +
 libdm/libdm-report.c |  401 ++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 394 insertions(+), 9 deletions(-)
libdm/libdevmapper.h +2 -0
index f5a1cc7..1acc00e 100644
@@ -1638,6 +1638,8 @@ struct dm_report *dm_report_init(uint32_t *report_types,
 				 const char *sort_keys,
 				 void *private_data);
 int dm_report_object(struct dm_report *rh, void *object);
+int dm_report_set_output_selection(struct dm_report *rh, uint32_t *report_types,
+				   const char *selection);
 int dm_report_output(struct dm_report *rh);
 void dm_report_free(struct dm_report *rh);
 
libdm/libdm-report.c +392 -9

426 lines not on this page · raw message