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.
This commit is contained in:
Martin Baulig
1999-11-28 18:17:21 +00:00
committed by Martin Baulig
parent 53f9d03e30
commit 4a01752467
18 changed files with 366 additions and 140 deletions

View File

@@ -57,11 +57,12 @@ BEGIN_LIBGTOP_DECLS
#define GLIBTOP_CMND_MOUNTLIST 20
#define GLIBTOP_CMND_FSUSAGE 21
#define GLIBTOP_CMND_NETLOAD 22
#define GLIBTOP_CMND_INTERFACE_NAMES 23
#define GLIBTOP_CMND_PPP 24
#define GLIBTOP_CMND_INTERFACE_NAMES 22
#define GLIBTOP_CMND_NETINFO 23
#define GLIBTOP_CMND_NETLOAD 24
#define GLIBTOP_CMND_PPP 25
#define GLIBTOP_MAX_CMND 25
#define GLIBTOP_MAX_CMND 26
#define _GLIBTOP_PARAM_SIZE 16