diff options
author | James Dominic P. Guana <guana.histark@gmail.com> | 2021-04-20 10:39:13 +0000 |
---|---|---|
committer | Robert Roth <robert.roth.off@gmail.com> | 2021-04-23 09:48:11 +0000 |
commit | d4ac1eda0752d559db8737773d6894aadc700ce3 (patch) | |
tree | ee87693a7d319b0f5d4cb7787a4767d747f9aa12 | |
parent | 7889113b991710ba95ceb2ef90cdd312c12366d0 (diff) | |
download | libgtop-d4ac1eda0752d559db8737773d6894aadc700ce3.tar.gz |
Moved new api variables to the bottom of struct.
-rw-r--r-- | glibtop.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -80,8 +80,6 @@ struct _glibtop int socket; /* Accepted connection of a socket */ int ncpu; /* Number of CPUs, zero if single-processor */ 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 */ const char *name; /* Program name for error messages */ const char *server_command; /* Command used to invoke server */ @@ -100,6 +98,9 @@ struct _glibtop gid_t egid; 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; |