summaryrefslogtreecommitdiff
path: root/sysdeps/aix
diff options
context:
space:
mode:
authorBenoît Dejean <bdejean@src.gnome.org>2004-12-23 15:43:35 +0000
committerBenoît Dejean <bdejean@src.gnome.org>2004-12-23 15:43:35 +0000
commit3e06f95c8400591a9578e9a4c16cf8f1ab4875c3 (patch)
tree96f929d691e60889ae6a676dea93214b7c2b4853 /sysdeps/aix
parent2ca19055471cc2b39f5a731f71244c571acf8b56 (diff)
downloadlibgtop-3e06f95c8400591a9578e9a4c16cf8f1ab4875c3.tar.gz
Added dummy glibtop_get_netlist.
* netlist.c: * Makefile.am: Added dummy glibtop_get_netlist.
Diffstat (limited to 'sysdeps/aix')
-rw-r--r--sysdeps/aix/ChangeLog5
-rw-r--r--sysdeps/aix/Makefile.am4
-rw-r--r--sysdeps/aix/netlist.c40
3 files changed, 47 insertions, 2 deletions
diff --git a/sysdeps/aix/ChangeLog b/sysdeps/aix/ChangeLog
index 996b0ac6..18c6e7d0 100644
--- a/sysdeps/aix/ChangeLog
+++ b/sysdeps/aix/ChangeLog
@@ -1,3 +1,8 @@
+2004-12-23 Benoît Dejean <tazforever@dlfp.org>
+
+ * netlist.c:
+ * Makefile.am: Added dummy glibtop_get_netlist.
+
2004-10-22 Benoît Dejean <tazforever@dlfp.org>
* procargs.c: (glibtop_get_proc_args_s):
diff --git a/sysdeps/aix/Makefile.am b/sysdeps/aix/Makefile.am
index 71d1e356..a135bdae 100644
--- a/sysdeps/aix/Makefile.am
+++ b/sysdeps/aix/Makefile.am
@@ -7,8 +7,8 @@ libgtop_sysdeps_2_0_la_SOURCES = siglist.c nosuid.c mem.c swap.c uptime.c \
procargs.c prockernel.c proclist.c procmap.c \
procmem.c procsegment.c procsignal.c \
proctime.c procuid.c procmem.c utils.c \
- procstate.c sysinfo.c
-
+ procstate.c sysinfo.c netlist.c
+
libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
diff --git a/sysdeps/aix/netlist.c b/sysdeps/aix/netlist.c
new file mode 100644
index 00000000..0f1fe569
--- /dev/null
+++ b/sysdeps/aix/netlist.c
@@ -0,0 +1,40 @@
+/* $Id$ */
+
+/* This file is part of LibGTop 2.0.
+
+ LibGTop is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License,
+ or (at your option) any later version.
+
+ LibGTop is distributed in the hope that it will be useful, but WITHOUT
+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with LibGTop; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA.
+*/
+
+#include <glibtop.h>
+#include <glibtop/netlist.h>
+
+static const unsigned long _glibtop_sysdeps_netlist = 0;
+
+/* Init function. */
+
+void
+glibtop_init_netlist_s (glibtop *server)
+{
+ server->sysdeps.netlist = _glibtop_sysdeps_netlist;
+}
+
+char**
+glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf)
+{
+ memset (buf, 0, sizeof (glibtop_netlist));
+
+ return NULL;
+}