summaryrefslogtreecommitdiff
path: root/sysdeps/stub
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub')
-rw-r--r--sysdeps/stub/ChangeLog47
-rw-r--r--sysdeps/stub/Makefile.am16
-rw-r--r--sysdeps/stub/close.c29
-rw-r--r--sysdeps/stub/cpu.c42
-rw-r--r--sysdeps/stub/glibtop_server.h51
-rw-r--r--sysdeps/stub/loadavg.c42
-rw-r--r--sysdeps/stub/mem.c42
-rw-r--r--sysdeps/stub/msg_limits.c42
-rw-r--r--sysdeps/stub/netlist.c39
-rw-r--r--sysdeps/stub/netload.c44
-rw-r--r--sysdeps/stub/open.c32
-rw-r--r--sysdeps/stub/ppp.c43
-rw-r--r--sysdeps/stub/procargs.c45
-rw-r--r--sysdeps/stub/prockernel.c43
-rw-r--r--sysdeps/stub/proclist.c51
-rw-r--r--sysdeps/stub/procmap.c48
-rw-r--r--sysdeps/stub/procmem.c43
-rw-r--r--sysdeps/stub/procopenfiles.c47
-rw-r--r--sysdeps/stub/procsegment.c43
-rw-r--r--sysdeps/stub/procsignal.c43
-rw-r--r--sysdeps/stub/procstate.c43
-rw-r--r--sysdeps/stub/proctime.c43
-rw-r--r--sysdeps/stub/procuid.c43
-rw-r--r--sysdeps/stub/sem_limits.c42
-rw-r--r--sysdeps/stub/shm_limits.c42
-rw-r--r--sysdeps/stub/siglist.c27
-rw-r--r--sysdeps/stub/swap.c42
-rw-r--r--sysdeps/stub/uptime.c42
28 files changed, 0 insertions, 1156 deletions
diff --git a/sysdeps/stub/ChangeLog b/sysdeps/stub/ChangeLog
deleted file mode 100644
index fef8b03f..00000000
--- a/sysdeps/stub/ChangeLog
+++ /dev/null
@@ -1,47 +0,0 @@
-2005-02-02 Benoît Dejean <TazForEver@dlfp.org>
-
- * procopenfiles.c: Fixed typo. Closes #166090
-
-2004-12-23 Benoît Dejean <tazforever@dlfp.org>
-
- * netlist.c: (glibtop_get_netlist_s): Fixed.
-
-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>
-
- * Makefile.am: install only one library, libgtop-2.0
- Fix build-time warnings due to the redefinition of guint64
-
-2003-10-20 Bastien Nocera <hadess@hadess.net>
-
- * glibtop_server.h:
- * procargs.c:
- * procmap.c: fixed compilation
-
-2001-10-17 Abel Cheung <maddog@linux.org.hk>
-
- * Makefile.am: move header to $(includedir)/libgtop-1.0/glibtop.
-
-1998-10-26 Martin Baulig <martin@home-of-linux.org>
-
- * netload.c: New file.
-
-1998-10-26 Martin Baulig <martin@home-of-linux.org>
-
- * procargs.c: New file.
-
-1998-10-25 Martin Baulig <martin@home-of-linux.org>
-
- * ppp.c: New file.
-
-1998-08-24 Martin Baulig <martin@home-of-linux.org>
-
- * *.c: Added initialization functions `glibtop_init_<feature>_s'.
-
- * ChangeLog: New file.
-
diff --git a/sysdeps/stub/Makefile.am b/sysdeps/stub/Makefile.am
deleted file mode 100644
index 24fa7412..00000000
--- a/sysdeps/stub/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-
-INCLUDES = @INCLUDES@
-
-noinst_LTLIBRARIES = libgtop_sysdeps-2.0.la
-
-libgtop_sysdeps_2_0_la_SOURCES = open.c close.c siglist.c cpu.c mem.c swap.c \
- uptime.c loadavg.c shm_limits.c msg_limits.c \
- sem_limits.c proclist.c procstate.c procuid.c \
- proctime.c procmem.c procsignal.c prockernel.c \
- procsegment.c procargs.c procmap.c netload.c \
- ppp.c netlist.c procopenfiles.c
-
-libgtop_sysdeps_2_0_la_LDFLAGS = $(LT_VERSION_INFO)
-
-libgtopinclude_HEADERS = glibtop_server.h
-libgtopincludedir = $(includedir)/libgtop-2.0
diff --git a/sysdeps/stub/close.c b/sysdeps/stub/close.c
deleted file mode 100644
index 03057967..00000000
--- a/sysdeps/stub/close.c
+++ /dev/null
@@ -1,29 +0,0 @@
-/* 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 <config.h>
-#include <glibtop/close.h>
-
-/* Closes pipe to gtop server. */
-
-void
-glibtop_close_s (glibtop *server)
-{ }
diff --git a/sysdeps/stub/cpu.c b/sysdeps/stub/cpu.c
deleted file mode 100644
index 7384124c..00000000
--- a/sysdeps/stub/cpu.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/cpu.h>
-
-static const unsigned long _glibtop_sysdeps_cpu = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_cpu_s (glibtop *server)
-{
- server->sysdeps.cpu = _glibtop_sysdeps_cpu;
-}
-
-/* Provides information about cpu usage. */
-
-void
-glibtop_get_cpu_s (glibtop *server, glibtop_cpu *buf)
-{
- memset (buf, 0, sizeof (glibtop_cpu));
-}
diff --git a/sysdeps/stub/glibtop_server.h b/sysdeps/stub/glibtop_server.h
deleted file mode 100644
index 6f4b6576..00000000
--- a/sysdeps/stub/glibtop_server.h
+++ /dev/null
@@ -1,51 +0,0 @@
-/* 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.
-*/
-
-#ifndef __GLIBTOP_SERVER_H__
-#define __GLIBTOP_SERVER_H__
-
-G_BEGIN_DECLS
-
-#define GLIBTOP_SUID_CPU 0
-#define GLIBTOP_SUID_MEM 0
-#define GLIBTOP_SUID_SWAP 0
-#define GLIBTOP_SUID_UPTIME 0
-#define GLIBTOP_SUID_LOADAVG 0
-#define GLIBTOP_SUID_SHM_LIMITS 0
-#define GLIBTOP_SUID_MSG_LIMITS 0
-#define GLIBTOP_SUID_SEM_LIMITS 0
-#define GLIBTOP_SUID_PROCLIST 0
-#define GLIBTOP_SUID_PROC_STATE 0
-#define GLIBTOP_SUID_PROC_UID 0
-#define GLIBTOP_SUID_PROC_MEM 0
-#define GLIBTOP_SUID_PROC_TIME 0
-#define GLIBTOP_SUID_PROC_SIGNAL 0
-#define GLIBTOP_SUID_PROC_KERNEL 0
-#define GLIBTOP_SUID_PROC_SEGMENT 0
-#define GLIBTOP_SUID_PROC_ARGS 0
-#define GLIBTOP_SUID_PROC_MAP 0
-#define GLIBTOP_SUID_NETLOAD 0
-#define GLIBTOP_SUID_NETLIST 0
-#define GLIBTOP_SUID_PPP 0
-
-G_END_DECLS
-
-#endif
diff --git a/sysdeps/stub/loadavg.c b/sysdeps/stub/loadavg.c
deleted file mode 100644
index 4037c7d5..00000000
--- a/sysdeps/stub/loadavg.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/loadavg.h>
-
-static const unsigned long _glibtop_sysdeps_loadavg = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_loadavg_s (glibtop *server)
-{
- server->sysdeps.loadavg = _glibtop_sysdeps_loadavg;
-}
-
-/* Provides load averange. */
-
-void
-glibtop_get_loadavg_s (glibtop *server, glibtop_loadavg *buf)
-{
- memset (buf, 0, sizeof (glibtop_loadavg));
-}
diff --git a/sysdeps/stub/mem.c b/sysdeps/stub/mem.c
deleted file mode 100644
index 764b0cc3..00000000
--- a/sysdeps/stub/mem.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/mem.h>
-
-static const unsigned long _glibtop_sysdeps_mem = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_mem_s (glibtop *server)
-{
- server->sysdeps.mem = _glibtop_sysdeps_mem;
-}
-
-/* Provides information about memory usage. */
-
-void
-glibtop_get_mem_s (glibtop *server, glibtop_mem *buf)
-{
- memset (buf, 0, sizeof (glibtop_mem));
-}
diff --git a/sysdeps/stub/msg_limits.c b/sysdeps/stub/msg_limits.c
deleted file mode 100644
index 08e051ca..00000000
--- a/sysdeps/stub/msg_limits.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/msg_limits.h>
-
-static const unsigned long _glibtop_sysdeps_msg_limits = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_msg_limits_s (glibtop *server)
-{
- server->sysdeps.msg_limits = _glibtop_sysdeps_msg_limits;
-}
-
-/* Provides information about sysv ipc limits. */
-
-void
-glibtop_get_msg_limits_s (glibtop *server, glibtop_msg_limits *buf)
-{
- memset (buf, 0, sizeof (glibtop_msg_limits));
-}
diff --git a/sysdeps/stub/netlist.c b/sysdeps/stub/netlist.c
deleted file mode 100644
index fce76fd4..00000000
--- a/sysdeps/stub/netlist.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/* 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 <config.h>
-#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;
-}
diff --git a/sysdeps/stub/netload.c b/sysdeps/stub/netload.c
deleted file mode 100644
index 0bdf7ade..00000000
--- a/sysdeps/stub/netload.c
+++ /dev/null
@@ -1,44 +0,0 @@
-/* Copyright (C) 1998-99 Martin Baulig
- This file is part of LibGTop 1.0.
-
- Contributed by Martin Baulig <martin@home-of-linux.org>, October 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/error.h>
-#include <glibtop/netload.h>
-
-static const unsigned long _glibtop_sysdeps_netload = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_netload_s (glibtop *server)
-{
- server->sysdeps.netload = _glibtop_sysdeps_netload;
-}
-
-/* Provides network statistics. */
-
-void
-glibtop_get_netload_s (glibtop *server, glibtop_netload *buf,
- const char *interface)
-{
- memset (buf, 0, sizeof (glibtop_netload));
-}
diff --git a/sysdeps/stub/open.c b/sysdeps/stub/open.c
deleted file mode 100644
index 27bff3dc..00000000
--- a/sysdeps/stub/open.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/* 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 <config.h>
-#include <glibtop/open.h>
-
-/* Opens pipe to gtop server. Returns 0 on success and -1 on error. */
-
-void
-glibtop_open_s (glibtop *server, const char *program_name,
- const unsigned long features, const unsigned flags)
-{
- server->name = program_name;
-}
diff --git a/sysdeps/stub/ppp.c b/sysdeps/stub/ppp.c
deleted file mode 100644
index d7b510ef..00000000
--- a/sysdeps/stub/ppp.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* Copyright (C) 1998-99 Martin Baulig
- This file is part of LibGTop 1.0.
-
- Contributed by Martin Baulig <martin@home-of-linux.org>, October 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/error.h>
-#include <glibtop/ppp.h>
-
-static const unsigned long _glibtop_sysdeps_ppp = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_ppp_s (glibtop *server)
-{
- server->sysdeps.ppp = _glibtop_sysdeps_ppp;
-}
-
-/* Provides PPP/ISDN information. */
-
-void
-glibtop_get_ppp_s (glibtop *server, glibtop_ppp *buf, unsigned short device)
-{
- memset (buf, 0, sizeof (glibtop_ppp));
-}
diff --git a/sysdeps/stub/procargs.c b/sysdeps/stub/procargs.c
deleted file mode 100644
index f408bbfa..00000000
--- a/sysdeps/stub/procargs.c
+++ /dev/null
@@ -1,45 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/error.h>
-#include <glibtop/procargs.h>
-
-static const unsigned long _glibtop_sysdeps_proc_args = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_args_s (glibtop *server)
-{
- server->sysdeps.proc_args = _glibtop_sysdeps_proc_args;
-}
-
-/* Provides detailed information about a process. */
-
-char *
-glibtop_get_proc_args_s (glibtop *server, glibtop_proc_args *buf,
- pid_t pid, unsigned max_len)
-{
- memset (buf, 0, sizeof (glibtop_proc_args));
- return NULL;
-}
diff --git a/sysdeps/stub/prockernel.c b/sysdeps/stub/prockernel.c
deleted file mode 100644
index f37d8923..00000000
--- a/sysdeps/stub/prockernel.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/prockernel.h>
-
-static const unsigned long _glibtop_sysdeps_proc_kernel = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_kernel_s (glibtop *server)
-{
- server->sysdeps.proc_kernel = _glibtop_sysdeps_proc_kernel;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_kernel_s (glibtop *server, glibtop_proc_kernel *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_kernel));
-}
diff --git a/sysdeps/stub/proclist.c b/sysdeps/stub/proclist.c
deleted file mode 100644
index 663d8a5f..00000000
--- a/sysdeps/stub/proclist.c
+++ /dev/null
@@ -1,51 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/proclist.h>
-
-#define GLIBTOP_PROCLIST_FLAGS 3
-
-static const unsigned long _glibtop_sysdeps_proclist = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proclist_s (glibtop *server)
-{
- server->sysdeps.proclist = _glibtop_sysdeps_proclist;
-}
-
-/* Fetch list of currently running processes.
- *
- * IMPORTANT NOTE:
- * On error, this function MUST return NULL and set buf->flags to zero !
- * On success, it returnes a pointer to a list of buf->number elements
- * each buf->size big. The total size is stored in buf->total. */
-
-unsigned *
-glibtop_get_proclist_s (glibtop *server, glibtop_proclist *buf,
- gint64 which, gint64 arg)
-{
- memset (buf, 0, sizeof (glibtop_proclist));
- return NULL;
-}
diff --git a/sysdeps/stub/procmap.c b/sysdeps/stub/procmap.c
deleted file mode 100644
index 9da252f9..00000000
--- a/sysdeps/stub/procmap.c
+++ /dev/null
@@ -1,48 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/error.h>
-#include <glibtop/procmap.h>
-
-static const unsigned long _glibtop_sysdeps_proc_map = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_map_s (glibtop *server)
-{
- server->sysdeps.proc_map = _glibtop_sysdeps_proc_map;
-}
-
-/* Provides detailed information about a process. */
-
-glibtop_map_entry *
-glibtop_get_proc_map_s (glibtop *server, glibtop_proc_map *buf, pid_t pid)
-{
- glibtop_init_s (&server, GLIBTOP_SYSDEPS_PROC_MAP, 0);
-
- memset (buf, 0, sizeof (glibtop_proc_map));
-
- return NULL;
-}
diff --git a/sysdeps/stub/procmem.c b/sysdeps/stub/procmem.c
deleted file mode 100644
index e2bd59df..00000000
--- a/sysdeps/stub/procmem.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/procmem.h>
-
-static const unsigned long _glibtop_sysdeps_proc_mem = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_mem_s (glibtop *server)
-{
- server->sysdeps.proc_mem = _glibtop_sysdeps_proc_mem;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_mem_s (glibtop *server, glibtop_proc_mem *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_mem));
-}
diff --git a/sysdeps/stub/procopenfiles.c b/sysdeps/stub/procopenfiles.c
deleted file mode 100644
index deb87c0d..00000000
--- a/sysdeps/stub/procopenfiles.c
+++ /dev/null
@@ -1,47 +0,0 @@
-/* Copyright (C) 1998-99 Martin Baulig
- Copyright (C) 2004 Nicolás Lichtmaier
- 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/error.h>
-#include <glibtop/procopenfiles.h>
-
-/* Init function. */
-
-void
-_glibtop_init_proc_open_files_s (glibtop *server)
-{
- server->sysdeps.proc_open_files = 0;
-}
-
-/* Provides detailed information about a process. */
-
-glibtop_open_files_entry *
-glibtop_get_proc_open_files_s (glibtop *server, glibtop_proc_open_files *buf, pid_t pid)
-{
- glibtop_init_s (&server, GLIBTOP_SYSDEPS_PROC_MAP, 0);
-
- memset (buf, 0, sizeof (glibtop_proc_open_files));
-
- return NULL;
-}
diff --git a/sysdeps/stub/procsegment.c b/sysdeps/stub/procsegment.c
deleted file mode 100644
index 72e3b45c..00000000
--- a/sysdeps/stub/procsegment.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/procsegment.h>
-
-static const unsigned long _glibtop_sysdeps_proc_segment = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_segment_s (glibtop *server)
-{
- server->sysdeps.proc_segment = _glibtop_sysdeps_proc_segment;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_segment_s (glibtop *server, glibtop_proc_segment *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_segment));
-}
diff --git a/sysdeps/stub/procsignal.c b/sysdeps/stub/procsignal.c
deleted file mode 100644
index 98d2b07e..00000000
--- a/sysdeps/stub/procsignal.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/procsignal.h>
-
-static const unsigned long _glibtop_sysdeps_proc_signal = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_signal_s (glibtop *server)
-{
- server->sysdeps.proc_signal = _glibtop_sysdeps_proc_signal;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_signal_s (glibtop *server, glibtop_proc_signal *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_signal));
-}
diff --git a/sysdeps/stub/procstate.c b/sysdeps/stub/procstate.c
deleted file mode 100644
index 2abd4a13..00000000
--- a/sysdeps/stub/procstate.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/procstate.h>
-
-static const unsigned long _glibtop_sysdeps_proc_state = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_state_s (glibtop *server)
-{
- server->sysdeps.proc_state = _glibtop_sysdeps_proc_state;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_state_s (glibtop *server, glibtop_proc_state *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_state));
-}
diff --git a/sysdeps/stub/proctime.c b/sysdeps/stub/proctime.c
deleted file mode 100644
index 15821a02..00000000
--- a/sysdeps/stub/proctime.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/proctime.h>
-
-static const unsigned long _glibtop_sysdeps_proc_time = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_time_s (glibtop *server)
-{
- server->sysdeps.proc_time = _glibtop_sysdeps_proc_time;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_time_s (glibtop *server, glibtop_proc_time *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_time));
-}
diff --git a/sysdeps/stub/procuid.c b/sysdeps/stub/procuid.c
deleted file mode 100644
index 5f883a28..00000000
--- a/sysdeps/stub/procuid.c
+++ /dev/null
@@ -1,43 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/procuid.h>
-
-static const unsigned long _glibtop_sysdeps_proc_uid = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_proc_uid_s (glibtop *server)
-{
- server->sysdeps.proc_uid = _glibtop_sysdeps_proc_uid;
-}
-
-/* Provides detailed information about a process. */
-
-void
-glibtop_get_proc_uid_s (glibtop *server, glibtop_proc_uid *buf,
- pid_t pid)
-{
- memset (buf, 0, sizeof (glibtop_proc_uid));
-}
diff --git a/sysdeps/stub/sem_limits.c b/sysdeps/stub/sem_limits.c
deleted file mode 100644
index 1b06e31d..00000000
--- a/sysdeps/stub/sem_limits.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/sem_limits.h>
-
-static const unsigned long _glibtop_sysdeps_sem_limits = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_sem_limits_s (glibtop *server)
-{
- server->sysdeps.sem_limits = _glibtop_sysdeps_sem_limits;
-}
-
-/* Provides information about sysv sem limits. */
-
-void
-glibtop_get_sem_limits_s (glibtop *server, glibtop_sem_limits *buf)
-{
- memset (buf, 0, sizeof (glibtop_sem_limits));
-}
diff --git a/sysdeps/stub/shm_limits.c b/sysdeps/stub/shm_limits.c
deleted file mode 100644
index 53984022..00000000
--- a/sysdeps/stub/shm_limits.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/shm_limits.h>
-
-static const unsigned long _glibtop_sysdeps_shm_limits = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_shm_limits_s (glibtop *server)
-{
- server->sysdeps.shm_limits = _glibtop_sysdeps_shm_limits;
-}
-
-/* Provides information about sysv ipc limits. */
-
-void
-glibtop_get_shm_limits_s (glibtop *server, glibtop_shm_limits *buf)
-{
- memset (buf, 0, sizeof (glibtop_shm_limits));
-}
diff --git a/sysdeps/stub/siglist.c b/sysdeps/stub/siglist.c
deleted file mode 100644
index 4fbe84b2..00000000
--- a/sysdeps/stub/siglist.c
+++ /dev/null
@@ -1,27 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/signal.h>
-
-const glibtop_signame glibtop_sys_siglist [] =
-{ { 0, NULL, NULL } };
diff --git a/sysdeps/stub/swap.c b/sysdeps/stub/swap.c
deleted file mode 100644
index e743a3e4..00000000
--- a/sysdeps/stub/swap.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/swap.h>
-
-static const unsigned long _glibtop_sysdeps_swap = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_swap_s (glibtop *server)
-{
- server->sysdeps.swap = _glibtop_sysdeps_swap;
-}
-
-/* Provides information about swap usage. */
-
-void
-glibtop_get_swap_s (glibtop *server, glibtop_swap *buf)
-{
- memset (buf, 0, sizeof (glibtop_swap));
-}
diff --git a/sysdeps/stub/uptime.c b/sysdeps/stub/uptime.c
deleted file mode 100644
index 2ca0ac58..00000000
--- a/sysdeps/stub/uptime.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/* 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 <config.h>
-#include <glibtop.h>
-#include <glibtop/uptime.h>
-
-static const unsigned long _glibtop_sysdeps_uptime = 0;
-
-/* Init function. */
-
-void
-_glibtop_init_uptime_s (glibtop *server)
-{
- server->sysdeps.uptime = _glibtop_sysdeps_uptime;
-}
-
-/* Provides uptime and idle time. */
-
-void
-glibtop_get_uptime_s (glibtop *server, glibtop_uptime *buf)
-{
- memset (buf, 0, sizeof (glibtop_uptime));
-}