Added stub for glibtop_get_netlist.
* Makefile.am: * netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): Added stub for glibtop_get_netlist.
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
2004-11-13 Benoît Dejean <tazforever@dlfp.org>
|
||||||
|
|
||||||
|
* Makefile.am:
|
||||||
|
* netlist.c: (glibtop_init_netlist_s), (glibtop_get_netlist_s): Added
|
||||||
|
stub for glibtop_get_netlist.
|
||||||
|
|
||||||
2003-10-21 Bastien Nocera <hadess@hadess.net>
|
2003-10-21 Bastien Nocera <hadess@hadess.net>
|
||||||
|
|
||||||
* Makefile.am: install only one library, libgtop-2.0
|
* Makefile.am: install only one library, libgtop-2.0
|
||||||
|
@@ -8,7 +8,7 @@ libgtop_sysdeps_2_0_la_SOURCES = open.c close.c siglist.c cpu.c mem.c swap.c \
|
|||||||
sem_limits.c proclist.c procstate.c procuid.c \
|
sem_limits.c proclist.c procstate.c procuid.c \
|
||||||
proctime.c procmem.c procsignal.c prockernel.c \
|
proctime.c procmem.c procsignal.c prockernel.c \
|
||||||
procsegment.c procargs.c procmap.c netload.c \
|
procsegment.c procargs.c procmap.c netload.c \
|
||||||
ppp.c
|
ppp.c netlist.c
|
||||||
|
|
||||||
libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||||
|
|
||||||
|
43
sysdeps/stub/netlist.c
Normal file
43
sysdeps/stub/netlist.c
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
/* $Id$ */
|
||||||
|
|
||||||
|
/* Copyright (C) 1998-99 Martin Baulig
|
||||||
|
This file is part of LibGTop 1.0.
|
||||||
|
|
||||||
|
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
||||||
|
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Provides load averange. */
|
||||||
|
|
||||||
|
void
|
||||||
|
glibtop_get_netlist_s (glibtop *server, glibtop_netlist *buf)
|
||||||
|
{
|
||||||
|
memset (buf, 0, sizeof (glibtop_netlist));
|
||||||
|
}
|
Reference in New Issue
Block a user