summaryrefslogtreecommitdiff
path: root/sysdeps/stub_suid
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>1999-12-26 13:43:04 +0000
committerMartin Baulig <martin@src.gnome.org>1999-12-26 13:43:04 +0000
commitd7f088bef0e858550e5ae6890082e962fc5697ad (patch)
treea82bcf7876e89c4dbac2928b7d71d2884bb6a262 /sysdeps/stub_suid
parentf489ea871d5779375658d3577b6cf36fd23f86bd (diff)
downloadlibgtop-d7f088bef0e858550e5ae6890082e962fc5697ad.tar.gz
Reflect latest interface changes.
Diffstat (limited to 'sysdeps/stub_suid')
-rw-r--r--sysdeps/stub_suid/interfaces.c10
-rw-r--r--sysdeps/stub_suid/netload.c3
-rw-r--r--sysdeps/stub_suid/procargs.c7
3 files changed, 10 insertions, 10 deletions
diff --git a/sysdeps/stub_suid/interfaces.c b/sysdeps/stub_suid/interfaces.c
index 3d468970..bda553cc 100644
--- a/sysdeps/stub_suid/interfaces.c
+++ b/sysdeps/stub_suid/interfaces.c
@@ -41,14 +41,14 @@ glibtop_init_interface_names_p (glibtop *server)
/* Provides network statistics. */
-char *
-glibtop_get_interface_names_p (glibtop *server, glibtop_interface_names *buf,
- unsigned interface, unsigned number,
- unsigned instance, unsigned strategy)
+glibtop_interface *
+glibtop_get_interface_names_p (glibtop *server, glibtop_array *array,
+ u_int64_t interface, u_int64_t number,
+ u_int64_t instance, u_int64_t strategy)
{
glibtop_init_s (&server, GLIBTOP_SYSDEPS_INTERFACE_NAMES, 0);
- memset (buf, 0, sizeof (glibtop_interface_names));
+ memset (array, 0, sizeof (glibtop_array));
return NULL;
}
diff --git a/sysdeps/stub_suid/netload.c b/sysdeps/stub_suid/netload.c
index ad3a9917..6910fe0e 100644
--- a/sysdeps/stub_suid/netload.c
+++ b/sysdeps/stub_suid/netload.c
@@ -41,7 +41,8 @@ glibtop_init_netload_p (glibtop *server)
int
glibtop_get_netload_p (glibtop *server, glibtop_netload *buf,
- const char *interface)
+ const char *interface, unsigned transport,
+ unsigned protocol)
{
memset (buf, 0, sizeof (glibtop_netload));
diff --git a/sysdeps/stub_suid/procargs.c b/sysdeps/stub_suid/procargs.c
index b7427704..cde5192d 100644
--- a/sysdeps/stub_suid/procargs.c
+++ b/sysdeps/stub_suid/procargs.c
@@ -40,10 +40,9 @@ glibtop_init_proc_args_p (glibtop *server)
/* Provides detailed information about a process. */
-char *
-glibtop_get_proc_args_p (glibtop *server, glibtop_proc_args *buf,
- pid_t pid, unsigned max_len)
+char **
+glibtop_get_proc_args_p (glibtop *server, glibtop_array *array, pid_t pid)
{
- memset (buf, 0, sizeof (glibtop_proc_args));
+ memset (array, 0, sizeof (glibtop_array));
return NULL;
}