summaryrefslogtreecommitdiff
path: root/features.def
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>1999-11-28 18:17:21 +0000
committerMartin Baulig <martin@src.gnome.org>1999-11-28 18:17:21 +0000
commit4a01752467afdca9c80dee0084192433f7eefb5b (patch)
treef4f742dae97675ef410e539d71757fdc799378f0 /features.def
parent53f9d03e30425a6d9f709d6db1a9c9e15eb86306 (diff)
downloadlibgtop-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 'features.def')
-rw-r--r--features.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/features.def b/features.def
index 8006c9bd..4e7727d5 100644
--- a/features.def
+++ b/features.def
@@ -18,6 +18,7 @@ char *|proc_args|ulong(size)|pid_t(pid):unsigned(max_len)
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,instance,strategy)
+retval|netinfo|ulong(if_flags,mtu,subnet,address)|string(interface)
+retval|netload|ulong(packets_in,packets_out,packets_total,bytes_in,bytes_out,bytes_total,errors_in,errors_out,errors_total,collisions)|string(interface)
retval|ppp|ulong(state,bytes_in,bytes_out)|ushort(device)