summaryrefslogtreecommitdiff
path: root/features.def
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>2000-01-24 23:27:50 +0000
committerMartin Baulig <martin@src.gnome.org>2000-01-24 23:27:50 +0000
commit5f02295a63de8ec0b7370fcd0537de59d0426653 (patch)
tree133ccbb857f359d8462d62cc2d82404f16f0722d /features.def
parent8b1dd440ee80eb340611f9e75f0a33a8032ba38a (diff)
downloadlibgtop-5f02295a63de8ec0b7370fcd0537de59d0426653.tar.gz
`address' and `subnet' are now arrays of GLIBTOP_IFADDR_LEN u_int8_t
2000-01-24 Martin Baulig <martin@home-of-linux.org> * include/glibtop/netinfo.h (glibtop_netinfo): `address' and `subnet' are now arrays of GLIBTOP_IFADDR_LEN u_int8_t values. (glibtop_get_netinfo): `transport' is now `u_int64_t' and not `unsigned' to make it work with `GLIBTOP_TRANSPORT_ALL'. * include/glibtop/limits.h (GLIBTOP_IFADDR_LEN): New constant. This is the length of a network interface address in bytes.
Diffstat (limited to 'features.def')
-rw-r--r--features.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/features.def b/features.def
index cfab348d..d70aa117 100644
--- a/features.def
+++ b/features.def
@@ -19,6 +19,6 @@ array(glibtop_map_entry)|proc_map|array|pid_t(pid)
array(glibtop_mountentry)|@mountlist|array|int(all_fs)
retval|@fsusage|ulong(blocks,bfree,bavail,files,ffree)|string(mount_dir)
array(glibtop_interface)|interface_names|array|ulong(interface,number,instance,strategy)
-retval|netinfo|ulong(if_flags,transport,mtu,subnet[GLIBTOP_IFADDR_LEN],address[GLIBTOP_IFADDR_LEN])|string(interface):ulong(transport)
+array(glibtop_ifaddr)|netinfo|array:ulong(if_flags,transport,mtu,subnet)|string(interface):ulong(transport)
retval|netload|ulong(packets_in,packets_out,packets_total,bytes_in,bytes_out,bytes_total,errors_in,errors_out,errors_total,collisions)|string(interface):unsigned(transport,protocol)
retval|ppp|ulong(state,bytes_in,bytes_out)|ushort(device,use_isdn):string(lockfile)