Added dummy glibtop_get_netlist.

* netlist.c:
	* Makefile.am: Added dummy glibtop_get_netlist.
This commit is contained in:
Benoît Dejean
2004-12-23 15:43:35 +00:00
parent 2ca1905547
commit 3e06f95c84
3 changed files with 47 additions and 2 deletions

View File

@@ -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):

View File

@@ -7,7 +7,7 @@ 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)

40
sysdeps/aix/netlist.c Normal file
View File

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