From 38a4f74c1ac8452af9e64cb28d425972567ea34b Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Fri, 19 Feb 1999 21:32:52 +0000 Subject: Copied from stub_suid. 1999-02-19 Martin Baulig * procmap.c, procargs.c, netload.c: Copied from stub_suid. * proclist.c, procsegment.c: Make them compile again. --- sysdeps/osf1/netload.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 sysdeps/osf1/netload.c (limited to 'sysdeps/osf1/netload.c') diff --git a/sysdeps/osf1/netload.c b/sysdeps/osf1/netload.c new file mode 100644 index 00000000..e8ecaa3c --- /dev/null +++ b/sysdeps/osf1/netload.c @@ -0,0 +1,43 @@ +/* $Id$ */ + +/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc. + This file is part of the Gnome Top Library. + Contributed by Martin Baulig , October 1998. + + The Gnome Top Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public License as + published by the Free Software Foundation; either version 2 of the + License, or (at your option) any later version. + + The Gnome Top Library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with the GNU C Library; see the file COPYING.LIB. If not, + write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. */ + +#include +#include +#include + +static const unsigned long _glibtop_sysdeps_netload = 0; + +/* Init function. */ + +void +glibtop_init_netload_p (glibtop *server) +{ + server->sysdeps.netload = _glibtop_sysdeps_netload; +} + +/* Provides Network statistics. */ + +void +glibtop_get_netload_p (glibtop *server, glibtop_netload *buf, + const char *interface) +{ + memset (buf, 0, sizeof (glibtop_netload)); +} -- cgit v1.2.1