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
@@ -50,6 +50,8 @@ handle_parent_connection (int s)
|
||||
u_int64_t number G_GNUC_UNUSED;
|
||||
u_int64_t instance G_GNUC_UNUSED;
|
||||
u_int64_t strategy G_GNUC_UNUSED;
|
||||
u_int64_t transport G_GNUC_UNUSED;
|
||||
u_int64_t protocol G_GNUC_UNUSED;
|
||||
|
||||
glibtop_send_version (glibtop_global_server, s);
|
||||
|
||||
@@ -233,13 +235,13 @@ handle_parent_connection (int s)
|
||||
break;
|
||||
case GLIBTOP_CMND_NETINFO:
|
||||
retval = glibtop_get_netinfo_l
|
||||
(server, &resp->u.data.netinfo, parameter);
|
||||
(server, &resp->u.data.netinfo, parameter, 0);
|
||||
do_output (s, resp, _offset_data (netinfo),
|
||||
0, NULL, retval);
|
||||
break;
|
||||
case GLIBTOP_CMND_NETLOAD:
|
||||
retval = glibtop_get_netload_l
|
||||
(server, &resp->u.data.netload, parameter);
|
||||
(server, &resp->u.data.netload, parameter, 0, 0);
|
||||
do_output (s, resp, _offset_data (netload),
|
||||
0, NULL, retval);
|
||||
break;
|
||||
|
@@ -35,6 +35,8 @@ handle_slave_connection (int input, int output)
|
||||
u_int64_t number G_GNUC_UNUSED;
|
||||
u_int64_t instance G_GNUC_UNUSED;
|
||||
u_int64_t strategy G_GNUC_UNUSED;
|
||||
u_int64_t transport G_GNUC_UNUSED;
|
||||
u_int64_t protocol G_GNUC_UNUSED;
|
||||
|
||||
unsigned short max_len G_GNUC_UNUSED;
|
||||
pid_t pid G_GNUC_UNUSED;
|
||||
|
Reference in New Issue
Block a user