diff options
author | Martin Baulig <martin@home-of-linux.org> | 1999-11-21 18:35:40 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1999-11-21 18:35:40 +0000 |
commit | b746f488b028dc9002140b7cd31b70a56b9fe367 (patch) | |
tree | 5292b3a5500458a6762ada003aa0a2a6f604eeb6 /include/glibtop/sysdeps.h | |
parent | e5a7a5b0e574f793c804d318d99a0b1d50b411ef (diff) | |
download | libgtop-b746f488b028dc9002140b7cd31b70a56b9fe367.tar.gz |
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.
Diffstat (limited to 'include/glibtop/sysdeps.h')
-rw-r--r-- | include/glibtop/sysdeps.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/glibtop/sysdeps.h b/include/glibtop/sysdeps.h index baa353e3..b737fad9 100644 --- a/include/glibtop/sysdeps.h +++ b/include/glibtop/sysdeps.h @@ -51,9 +51,10 @@ BEGIN_LIBGTOP_DECLS #define GLIBTOP_SYSDEPS_MOUNTLIST 18 #define GLIBTOP_SYSDEPS_FSUSAGE 19 #define GLIBTOP_SYSDEPS_NETLOAD 20 -#define GLIBTOP_SYSDEPS_PPP 21 +#define GLIBTOP_SYSDEPS_INTERFACE_NAMES 21 +#define GLIBTOP_SYSDEPS_PPP 22 -#define GLIBTOP_MAX_SYSDEPS 24 +#define GLIBTOP_MAX_SYSDEPS 25 #define GLIBTOP_SYSDEPS_ALL ((1 << GLIBTOP_MAX_SYSDEPS) - 1) @@ -89,6 +90,7 @@ struct _glibtop_sysdeps mountlist, /* glibtop_mountlist */ fsusage, /* glibtop_fsusage */ netload, /* glibtop_netload */ + interface_names, /* glibtop_interface_names */ ppp; /* glibtop_ppp */ }; |