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:
Martin Baulig
1999-11-28 19:03:05 +00:00
committed by Martin Baulig
parent d58748ac66
commit f850409d45
8 changed files with 28 additions and 14 deletions

View File

@@ -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;