summaryrefslogtreecommitdiff
path: root/sysdeps/stub
diff options
context:
space:
mode:
authorMartin Baulig <martin@src.gnome.org>2000-11-20 16:43:59 +0000
committerMartin Baulig <martin@src.gnome.org>2000-11-20 16:43:59 +0000
commit7a7e7d1bc3064a8ec605536be7f68aac5e5cf11f (patch)
tree2fa963a4716bfecb5b29045a1d3a2a7ab6c62900 /sysdeps/stub
parent6511ad348b1f991a49359256d7537c66f6d45e33 (diff)
downloadlibgtop-7a7e7d1bc3064a8ec605536be7f68aac5e5cf11f.tar.gz
Make it compile.
Diffstat (limited to 'sysdeps/stub')
-rw-r--r--sysdeps/stub/interfaces.c11
-rw-r--r--sysdeps/stub/netload.c3
-rw-r--r--sysdeps/stub/procargs.c7
3 files changed, 11 insertions, 10 deletions
diff --git a/sysdeps/stub/interfaces.c b/sysdeps/stub/interfaces.c
index 806fbf1d..1c2035ba 100644
--- a/sysdeps/stub/interfaces.c
+++ b/sysdeps/stub/interfaces.c
@@ -43,14 +43,15 @@ glibtop_init_interface_names_s (glibtop *server)
/* Provides network statistics. */
-char *
-glibtop_get_interface_names_s (glibtop *server, glibtop_interface_names *buf,
- unsigned interface, unsigned number,
- unsigned instance, unsigned strategy)
+
+glibtop_interface *
+glibtop_get_interface_names_s (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/netload.c b/sysdeps/stub/netload.c
index e600d2e1..8f34d41b 100644
--- a/sysdeps/stub/netload.c
+++ b/sysdeps/stub/netload.c
@@ -43,7 +43,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)
{
memset (buf, 0, sizeof (glibtop_netload));
diff --git a/sysdeps/stub/procargs.c b/sysdeps/stub/procargs.c
index 8065bff2..19cd9149 100644
--- a/sysdeps/stub/procargs.c
+++ b/sysdeps/stub/procargs.c
@@ -42,10 +42,9 @@ glibtop_init_proc_args_s (glibtop *server)
/* Provides detailed information about a process. */
-char *
-glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
- pid_t pid, unsigned max_len)
+char **
+glibtop_get_proc_args_s (glibtop *server, glibtop_array *array, pid_t pid)
{
- memset (buf, 0, sizeof (glibtop_proc_args));
+ memset (array, 0, sizeof (glibtop_array));
return NULL;
}