diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-11-28 18:17:21 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-11-28 18:17:21 +0000 |
commit | 4a01752467afdca9c80dee0084192433f7eefb5b (patch) | |
tree | f4f742dae97675ef410e539d71757fdc799378f0 /include/glibtop/sysdeps.h | |
parent | 53f9d03e30425a6d9f709d6db1a9c9e15eb86306 (diff) | |
download | libgtop-4a01752467afdca9c80dee0084192433f7eefb5b.tar.gz |
Split netload into netload and netinfo.
1999-11-28 Martin Baulig <martin@home-of-linux.org>
Split netload into netload and netinfo.
* include/glibtop/netinfo.h: New file.
* include/glibtop/netload.h (glibtop_netload): Moved `if_flags',
`mtu', `subnet' and `address' into the new `glibtop_netinfo'.
* include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_NETINFO): Added.
(glibtop_sysdeps): Added `netinfo.
* include/glibtop/union.h (glibtop_union): Added `netinfo.
* include/glibtop/command.h (GLIBTOP_CMND_NETINFO): Added.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r-- | include/glibtop/sysdeps.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index b737fad9..7738d7c5 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -50,11 +50,12 @@ BEGIN_LIBGTOP_DECLS #define GLIBTOP_SYSDEPS_PROC_MAP 17 #define GLIBTOP_SYSDEPS_MOUNTLIST 18 #define GLIBTOP_SYSDEPS_FSUSAGE 19 -#define GLIBTOP_SYSDEPS_NETLOAD 20 -#define GLIBTOP_SYSDEPS_INTERFACE_NAMES 21 -#define GLIBTOP_SYSDEPS_PPP 22 +#define GLIBTOP_SYSDEPS_INTERFACE_NAMES 20 +#define GLIBTOP_SYSDEPS_NETINFO 21 +#define GLIBTOP_SYSDEPS_NETLOAD 22 +#define GLIBTOP_SYSDEPS_PPP 23 -#define GLIBTOP_MAX_SYSDEPS 25 +#define GLIBTOP_MAX_SYSDEPS 26 #define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1) @@ -89,8 +90,9 @@ struct _glibtop_sysdeps proc_map, /* glibtop_proc_map */ mountlist, /* glibtop_mountlist */ fsusage, /* glibtop_fsusage */ - netload, /* glibtop_netload */ interface_names, /* glibtop_interface_names */ + netinfo, /* glibtop_netinfo */ + netload, /* glibtop_netload */ ppp; /* glibtop_ppp */ }; |