Tabbed notebook functionality.
[ovirt-viewer.git] / internal.h
index 8f5ec01..9c39bef 100644 (file)
@@ -104,17 +104,18 @@ struct vm {
   int hostid;
   int id;
   int vnc_port;
+  char *uuid;                  /* Printable UUID. */
 
-  /* Only description, hostid, id and vnc_port fields are required.
-   * The remainder may be NULL / -1 to indicate they were missing in
-   * the data we got back from the WUI.
+  /* Only the fields above this point are required.  The remainder may
+   * be NULL / -1 to indicate they were missing in the data we got
+   * back from the WUI.
    */
+
   long mem_allocated;          /* Kbytes */
   long mem_used;               /* Kbytes */
   int vcpus_allocated;
   int vcpus_used;
   char *state;
-  char *uuid;                  /* Printable UUID. */
   char *mac_addr;              /* Printable MAC addr. */
 };