From: Xu Wang <[email protected]>

Signed-off-by: Xu Wang <[email protected]>
---
 libxkutil/device_parsing.h | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/libxkutil/device_parsing.h b/libxkutil/device_parsing.h
index 92427c1..603f29a 100644
--- a/libxkutil/device_parsing.h
+++ b/libxkutil/device_parsing.h
@@ -39,6 +39,27 @@ struct device_address {
         char **value;
 };
 
+/* The structure for saving unknown tag in the xml */
+enum others_type {
+        TYPE_PROP,
+        TYPE_NODE
+};
+
+struct others {
+        /* To identify the different tags with same name */
+        int id;
+        char *name;
+        int parent_id;
+        char *parent_name;
+        enum others_type type;
+        char *value;
+        struct others *next;
+        enum {
+                ACTIVE,
+                INACTIVE
+        } status;
+};
+
 struct vsi_device {
         char *vsi_type;
         char *manager_id;
-- 
1.8.3.1

_______________________________________________
Libvirt-cim mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvirt-cim

Reply via email to