From b660c7a0f71bd2bf8370f3629ccb9e28582faa24 Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Wed, 12 Jan 2000 23:33:51 +0000 Subject: [PATCH] New file. New file. New file. New file. New file. New file. 2000-01-12 Martin Baulig * lib/sysdeps-init-freebsd.c: New file. * lib/sysdeps-init-kernel.c: New file. * lib/sysdeps-init-linux.c: New file. * lib/sysdeps-init-solaris.c: New file. * lib/sysdeps-init-stub-suid.c: New file. * lib/sysdeps-init-stub.c: New file. --- ChangeLog | 7 +++++++ lib/sysdeps-init-freebsd.c | 33 +++++++++++++++++++++++++++++++++ lib/sysdeps-init-kernel.c | 33 +++++++++++++++++++++++++++++++++ lib/sysdeps-init-linux.c | 33 +++++++++++++++++++++++++++++++++ lib/sysdeps-init-solaris.c | 33 +++++++++++++++++++++++++++++++++ lib/sysdeps-init-stub-suid.c | 33 +++++++++++++++++++++++++++++++++ lib/sysdeps-init-stub.c | 33 +++++++++++++++++++++++++++++++++ 7 files changed, 205 insertions(+) create mode 100644 lib/sysdeps-init-freebsd.c create mode 100644 lib/sysdeps-init-kernel.c create mode 100644 lib/sysdeps-init-linux.c create mode 100644 lib/sysdeps-init-solaris.c create mode 100644 lib/sysdeps-init-stub-suid.c create mode 100644 lib/sysdeps-init-stub.c diff --git a/ChangeLog b/ChangeLog index 2676da0f..e359ed06 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2000-01-12 Martin Baulig + * lib/sysdeps-init-freebsd.c: New file. + * lib/sysdeps-init-kernel.c: New file. + * lib/sysdeps-init-linux.c: New file. + * lib/sysdeps-init-solaris.c: New file. + * lib/sysdeps-init-stub-suid.c: New file. + * lib/sysdeps-init-stub.c: New file. + * lib/init.c (glibtop_init_s): Call `_glibtop_open_sysdeps'. * include/glibtop/open.h (_glibtop_open_sysdeps): Declare this diff --git a/lib/sysdeps-init-freebsd.c b/lib/sysdeps-init-freebsd.c new file mode 100644 index 00000000..e492d5e8 --- /dev/null +++ b/lib/sysdeps-init-freebsd.c @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* $Id$ */ + +/* Copyright (C) 1998-99 Martin Baulig + This file is part of LibGTop 1.0. + + Contributed by Martin Baulig , 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 +#include + +void +_glibtop_open_sysdeps (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) +{ +} diff --git a/lib/sysdeps-init-kernel.c b/lib/sysdeps-init-kernel.c new file mode 100644 index 00000000..e492d5e8 --- /dev/null +++ b/lib/sysdeps-init-kernel.c @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* $Id$ */ + +/* Copyright (C) 1998-99 Martin Baulig + This file is part of LibGTop 1.0. + + Contributed by Martin Baulig , 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 +#include + +void +_glibtop_open_sysdeps (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) +{ +} diff --git a/lib/sysdeps-init-linux.c b/lib/sysdeps-init-linux.c new file mode 100644 index 00000000..e492d5e8 --- /dev/null +++ b/lib/sysdeps-init-linux.c @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* $Id$ */ + +/* Copyright (C) 1998-99 Martin Baulig + This file is part of LibGTop 1.0. + + Contributed by Martin Baulig , 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 +#include + +void +_glibtop_open_sysdeps (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) +{ +} diff --git a/lib/sysdeps-init-solaris.c b/lib/sysdeps-init-solaris.c new file mode 100644 index 00000000..e492d5e8 --- /dev/null +++ b/lib/sysdeps-init-solaris.c @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* $Id$ */ + +/* Copyright (C) 1998-99 Martin Baulig + This file is part of LibGTop 1.0. + + Contributed by Martin Baulig , 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 +#include + +void +_glibtop_open_sysdeps (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) +{ +} diff --git a/lib/sysdeps-init-stub-suid.c b/lib/sysdeps-init-stub-suid.c new file mode 100644 index 00000000..e492d5e8 --- /dev/null +++ b/lib/sysdeps-init-stub-suid.c @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* $Id$ */ + +/* Copyright (C) 1998-99 Martin Baulig + This file is part of LibGTop 1.0. + + Contributed by Martin Baulig , 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 +#include + +void +_glibtop_open_sysdeps (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) +{ +} diff --git a/lib/sysdeps-init-stub.c b/lib/sysdeps-init-stub.c new file mode 100644 index 00000000..e492d5e8 --- /dev/null +++ b/lib/sysdeps-init-stub.c @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */ + +/* $Id$ */ + +/* Copyright (C) 1998-99 Martin Baulig + This file is part of LibGTop 1.0. + + Contributed by Martin Baulig , 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 +#include + +void +_glibtop_open_sysdeps (glibtop *server, const char *program_name, + const unsigned long features, const unsigned flags) +{ +}