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 /features.def | |
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 'features.def')
-rw-r--r-- | features.def | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/features.def b/features.def index f9b55bae..11b00ba3 100644 --- a/features.def +++ b/features.def @@ -19,4 +19,5 @@ glibtop_map_entry *|proc_map|ulong(number,size,total)|pid_t(pid) glibtop_mountentry *|@mountlist|ulong(number,size,total)|int(all_fs) retval|@fsusage|ulong(blocks,bfree,bavail,files,ffree)|string|mount_dir retval|netload|ulong(if_flags,mtu,subnet,address,packets_in,packets_out,packets_total,bytes_in,bytes_out,bytes_total,errors_in,errors_out,errors_total,collisions)|string|interface +char *|interface_names|ulong(size)|unsigned(interface,number,strategy) retval|ppp|ulong(state,bytes_in,bytes_out)|ushort(device) |