Added new feature to get a list of network interface names.

1999-11-21  Martin Baulig  <martin@home-of-linux.org>

	Added new feature to get a list of network interface names.

	* features.def: Added `interface_names' feature.

	* include/glibtop/interfaces.h: New file.

	* include/glibtop/sysdeps.h (GLIBTOP_SYSDEPS_INTERFACE_NAMES): Added.
	(glibtop_sysdeps): Added `interface_names'.
	* include/glibtop/union.h (glibtop_union): Added `interface_names'.
	* include/glibtop/command.h (GLIBTOP_CMND_INTERFACE_NAMES): Added.
This commit is contained in:
Martin Baulig
1999-11-21 18:35:40 +00:00
committed by Martin Baulig
parent e5a7a5b0e5
commit b746f488b0
13 changed files with 217 additions and 23 deletions

View File

@@ -50,6 +50,7 @@
#include <glibtop/fsusage.h>
#include <glibtop/netload.h>
#include <glibtop/interfaces.h>
#include <glibtop/ppp.h>
BEGIN_LIBGTOP_DECLS
@@ -79,6 +80,7 @@ union _glibtop_union
glibtop_mountlist mountlist;
glibtop_fsusage fsusage;
glibtop_netload netload;
glibtop_interface_names interface_names;
glibtop_ppp ppp;
};