Added transport' and
protocol' argument to specify transport method and
1999-11-28 Martin Baulig <martin@home-of-linux.org> * include/glibtop/netload.h (glibtop_get_netload): Added `transport' and `protocol' argument to specify transport method and protocol. * include/glibtop/netinfo.h (glibtop_get_netinfo): Added `transport' argument to specify the transport method.
This commit is contained in:
committed by
Martin Baulig
parent
d58748ac66
commit
f850409d45
@@ -97,7 +97,8 @@ glibtop_init_netload_s (glibtop *server)
|
||||
|
||||
int
|
||||
glibtop_get_netload_s (glibtop *server, glibtop_netload *buf,
|
||||
const char *interface)
|
||||
const char *interface, unsigned transport,
|
||||
unsigned protocol)
|
||||
{
|
||||
char buffer [BUFSIZ], *p;
|
||||
int have_bytes, fields;
|
||||
|
Reference in New Issue
Block a user