...
struct _virNodeDeviceObjList {
@@ -976,3 +977,16 @@ virNodeDeviceObjSetSkipUpdateCaps(virNodeDeviceObjPtr obj,
{
obj->skipUpdateCaps = skipUpdateCaps;
}
2 blank lines in between the function definitions please.
+
+bool
+virNodeDeviceObjIsActive(virNodeDeviceObjPtr obj)
+{
+ return obj->active;
+}
+
+void
+virNodeDeviceObjSetActive(virNodeDeviceObjPtr obj,
+ bool active)
+{
+ obj->active = active;
+}
Erik