Moved new api variables to the bottom of struct.
This commit is contained in:
committed by
Robert Roth
parent
7889113b99
commit
d4ac1eda07
@@ -80,8 +80,6 @@ struct _glibtop
|
|||||||
int socket; /* Accepted connection of a socket */
|
int socket; /* Accepted connection of a socket */
|
||||||
int ncpu; /* Number of CPUs, zero if single-processor */
|
int ncpu; /* Number of CPUs, zero if single-processor */
|
||||||
int real_ncpu; /* Real number of CPUs. Only ncpu are monitored */
|
int real_ncpu; /* Real number of CPUs. Only ncpu are monitored */
|
||||||
int ndisk; /* Number of DISKs, zero if single-disk. This pertains to disk volumes */
|
|
||||||
int real_ndisk; /* Number of PHYSICAL DISKs. Only ndisk is monitored for now */
|
|
||||||
unsigned long os_version_code; /* Version code of the operating system */
|
unsigned long os_version_code; /* Version code of the operating system */
|
||||||
const char *name; /* Program name for error messages */
|
const char *name; /* Program name for error messages */
|
||||||
const char *server_command; /* Command used to invoke server */
|
const char *server_command; /* Command used to invoke server */
|
||||||
@@ -100,6 +98,9 @@ struct _glibtop
|
|||||||
gid_t egid;
|
gid_t egid;
|
||||||
|
|
||||||
glibtop_machine *machine; /* Machine dependent data */
|
glibtop_machine *machine; /* Machine dependent data */
|
||||||
|
|
||||||
|
int ndisk; /* Number of DISKs, zero if single-disk. This pertains to disk volumes */
|
||||||
|
int real_ndisk; /* Number of PHYSICAL DISKs. Only ndisk is monitored for now */
|
||||||
};
|
};
|
||||||
|
|
||||||
extern glibtop *glibtop_global_server;
|
extern glibtop *glibtop_global_server;
|
||||||
|
Reference in New Issue
Block a user