summaryrefslogtreecommitdiff
path: root/features.def
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>2000-01-24 01:42:32 +0000
committerMartin Baulig <martin@src.gnome.org>2000-01-24 01:42:32 +0000
commit77a1a6a43d61af9bc882e75880213a60a183f69c (patch)
treebbe89452f38d2ad8aadf83dd2208d9da178a1193 /features.def
parente9c8125828282e7a944c7fadb80a600c7dee4b62 (diff)
downloadlibgtop-77a1a6a43d61af9bc882e75880213a60a183f69c.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 9202d5bd..cfab348d 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,address)|string(interface):unsigned(transport)
+retval|netinfo|ulong(if_flags,transport,mtu,subnet[GLIBTOP_IFADDR_LEN],address[GLIBTOP_IFADDR_LEN])|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)