From 62e25e5ccbfba86ce29ac2484770ff4ab2e24ff5 Mon Sep 17 00:00:00 2001 From: arjen Date: Sat, 9 Nov 2002 08:04:27 +0000 Subject: [PATCH] Added a reference to the GPL --- src/database/create.sql | 5 +++++ src/database/destroy.sql | 5 +++++ src/gcm_input/gcm_input.cpp | 12 ++++++++---- src/gcm_input/message.cpp | 11 ++++++++--- src/gcm_input/message.h | 11 ++++++++--- src/include/database.h | 16 +++++++++++++--- src/include/gnucomo_config.h | 11 ++++++++--- src/lib/database.cpp | 11 ++++++++--- src/lib/gnucomo_config.cpp | 11 ++++++++--- src/phpclasses/configuration.class.php | 5 +++++ src/phpclasses/gnucomo_config.php | 5 +++++ src/web/classes/configuration.class.php | 5 +++++ src/web/classes/gnucomo_config.php | 5 +++++ src/web/functions.php | 4 ++++ 14 files changed, 95 insertions(+), 22 deletions(-) diff --git a/src/database/create.sql b/src/database/create.sql index 9ade001..95ea41e 100644 --- a/src/database/create.sql +++ b/src/database/create.sql @@ -1,3 +1,8 @@ +--************************************************************************* +-- (c) Copyright 2002, De Winter Information Solutions +-- This is free software; you can redistribute it and/or modify it under the +-- terms of the GNU General Public License, see the file COPYING. +--*************************************************************************/ -- -- Gnucomo database creation script. -- diff --git a/src/database/destroy.sql b/src/database/destroy.sql index 68e9a11..51db156 100644 --- a/src/database/destroy.sql +++ b/src/database/destroy.sql @@ -1,3 +1,8 @@ +--************************************************************************* +-- (c) Copyright 2002, Andromeda Technology & Automation +-- This is free software; you can redistribute it and/or modify it under the +-- terms of the GNU General Public License, see the file COPYING. +--*************************************************************************/ -- -- Gnucomo database destruction script. -- diff --git a/src/gcm_input/gcm_input.cpp b/src/gcm_input/gcm_input.cpp index 40c5520..d8bdb8a 100644 --- a/src/gcm_input/gcm_input.cpp +++ b/src/gcm_input/gcm_input.cpp @@ -1,12 +1,13 @@ - /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : gcm_input.cpp ** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring -** VERSION NUMBER : $Revision: 1.2 $ +** VERSION NUMBER : $Revision: 1.3 $ ** ** DESCRIPTION : Application to store client messages into the database ** The client message contains a log file from one of the @@ -52,7 +53,10 @@ /***************************** $Log: gcm_input.cpp,v $ - Revision 1.2 2002-11-04 10:13:36 arjen + Revision 1.3 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.2 2002/11/04 10:13:36 arjen Use proper namespace for iostream classes Revision 1.1 2002/10/05 10:25:49 arjen @@ -60,7 +64,7 @@ *****************************/ -static const char *RCSID = "$Id: gcm_input.cpp,v 1.2 2002-11-04 10:13:36 arjen Exp $"; +static const char *RCSID = "$Id: gcm_input.cpp,v 1.3 2002-11-09 08:04:27 arjen Exp $"; #include diff --git a/src/gcm_input/message.cpp b/src/gcm_input/message.cpp index de8e676..0859655 100644 --- a/src/gcm_input/message.cpp +++ b/src/gcm_input/message.cpp @@ -1,12 +1,14 @@ /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : message.cpp ** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring -** VERSION NUMBER : $Revision: 1.2 $ +** VERSION NUMBER : $Revision: 1.3 $ ** ** DESCRIPTION : Implementation of the message handling classes ** @@ -24,7 +26,10 @@ /***************************** $Log: message.cpp,v $ - Revision 1.2 2002-11-04 10:13:36 arjen + Revision 1.3 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.2 2002/11/04 10:13:36 arjen Use proper namespace for iostream classes Revision 1.1 2002/10/05 10:25:49 arjen @@ -32,7 +37,7 @@ *****************************/ -static const char *RCSID = "$Id: message.cpp,v 1.2 2002-11-04 10:13:36 arjen Exp $"; +static const char *RCSID = "$Id: message.cpp,v 1.3 2002-11-09 08:04:27 arjen Exp $"; #include "message.h" diff --git a/src/gcm_input/message.h b/src/gcm_input/message.h index bfe5193..baba95d 100644 --- a/src/gcm_input/message.h +++ b/src/gcm_input/message.h @@ -1,12 +1,14 @@ /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : message.h ** SYSTEM NAME : -** VERSION NUMBER : $Revision: 1.2 $ +** VERSION NUMBER : $Revision: 1.3 $ ** ** DESCRIPTION : Classes to for handling client messages ** @@ -24,7 +26,10 @@ /***************************** $Log: message.h,v $ - Revision 1.2 2002-11-04 10:13:36 arjen + Revision 1.3 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.2 2002/11/04 10:13:36 arjen Use proper namespace for iostream classes Revision 1.1 2002/10/05 10:25:49 arjen @@ -32,7 +37,7 @@ *****************************/ -/* static const char *RCSID = "$Id: message.h,v 1.2 2002-11-04 10:13:36 arjen Exp $"; */ +/* static const char *RCSID = "$Id: message.h,v 1.3 2002-11-09 08:04:27 arjen Exp $"; */ #include #include diff --git a/src/include/database.h b/src/include/database.h index 8c3279a..1a4763d 100644 --- a/src/include/database.h +++ b/src/include/database.h @@ -1,12 +1,14 @@ /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : database.h ** SYSTEM NAME : -** VERSION NUMBER : $Revision: 1.2 $ +** VERSION NUMBER : $Revision: 1.3 $ ** ** DESCRIPTION : Classes to provide an abstract layer on the Gnucomo ** database. @@ -25,7 +27,10 @@ /***************************** $Log: database.h,v $ - Revision 1.2 2002-11-04 10:13:36 arjen + Revision 1.3 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.2 2002/11/04 10:13:36 arjen Use proper namespace for iostream classes Revision 1.1 2002/10/05 10:25:49 arjen @@ -33,7 +38,7 @@ *****************************/ -/* static const char *RCSID = "$Id: database.h,v 1.2 2002-11-04 10:13:36 arjen Exp $"; */ +/* static const char *RCSID = "$Id: database.h,v 1.3 2002-11-09 08:04:27 arjen Exp $"; */ #include #include "gnucomo_config.h" @@ -87,6 +92,11 @@ public: } } + String Field(int tuple, const char *fieldname) + { + return String(db->GetValue(tuple, fieldname)); + } + // Return the objectid of the host given its name. String find_host(const String hostname); diff --git a/src/include/gnucomo_config.h b/src/include/gnucomo_config.h index 4c854be..ade6ac3 100644 --- a/src/include/gnucomo_config.h +++ b/src/include/gnucomo_config.h @@ -1,12 +1,14 @@ /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : gnucomo.h ** SYSTEM NAME : -** VERSION NUMBER : $Revision: 1.1 $ +** VERSION NUMBER : $Revision: 1.2 $ ** ** DESCRIPTION : ** @@ -24,12 +26,15 @@ /***************************** $Log: gnucomo_config.h,v $ - Revision 1.1 2002-10-05 10:25:49 arjen + Revision 1.2 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.1 2002/10/05 10:25:49 arjen Creation of gcm_input and a first approach to a web interface *****************************/ -/* static const char *RCSID = "$Id: gnucomo_config.h,v 1.1 2002-10-05 10:25:49 arjen Exp $"; */ +/* static const char *RCSID = "$Id: gnucomo_config.h,v 1.2 2002-11-09 08:04:27 arjen Exp $"; */ #include diff --git a/src/lib/database.cpp b/src/lib/database.cpp index f35727a..c83f53e 100644 --- a/src/lib/database.cpp +++ b/src/lib/database.cpp @@ -1,12 +1,14 @@ /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : database.cpp ** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring -** VERSION NUMBER : $Revision: 1.2 $ +** VERSION NUMBER : $Revision: 1.3 $ ** ** DESCRIPTION : Implementation of the gnucomo database classes ** @@ -24,7 +26,10 @@ /***************************** $Log: database.cpp,v $ - Revision 1.2 2002-11-04 10:13:36 arjen + Revision 1.3 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.2 2002/11/04 10:13:36 arjen Use proper namespace for iostream classes Revision 1.1 2002/10/05 10:25:49 arjen @@ -32,7 +37,7 @@ *****************************/ -static const char *RCSID = "$Id: database.cpp,v 1.2 2002-11-04 10:13:36 arjen Exp $"; +static const char *RCSID = "$Id: database.cpp,v 1.3 2002-11-09 08:04:27 arjen Exp $"; #include "database.h" diff --git a/src/lib/gnucomo_config.cpp b/src/lib/gnucomo_config.cpp index 0b9fbeb..4e45b82 100644 --- a/src/lib/gnucomo_config.cpp +++ b/src/lib/gnucomo_config.cpp @@ -1,12 +1,14 @@ /************************************************************************** ** (c) Copyright 2002, Andromeda Technology & Automation +** This is free software; you can redistribute it and/or modify it under the +** terms of the GNU General Public License, see the file COPYING. *************************************************************************** ** MODULE INFORMATION * *********************** ** FILE NAME : gnucomo_config.cpp ** SYSTEM NAME : Gnucomo - Gnu Computer Monitoring -** VERSION NUMBER : $Revision: 1.2 $ +** VERSION NUMBER : $Revision: 1.3 $ ** ** DESCRIPTION : Implementation of the gnucomo_config class. ** @@ -24,7 +26,10 @@ /***************************** $Log: gnucomo_config.cpp,v $ - Revision 1.2 2002-11-04 10:13:36 arjen + Revision 1.3 2002-11-09 08:04:27 arjen + Added a reference to the GPL + + Revision 1.2 2002/11/04 10:13:36 arjen Use proper namespace for iostream classes Revision 1.1 2002/10/05 10:25:49 arjen @@ -32,7 +37,7 @@ *****************************/ -static const char *RCSID = "$Id: gnucomo_config.cpp,v 1.2 2002-11-04 10:13:36 arjen Exp $"; +static const char *RCSID = "$Id: gnucomo_config.cpp,v 1.3 2002-11-09 08:04:27 arjen Exp $"; #include "gnucomo_config.h" diff --git a/src/phpclasses/configuration.class.php b/src/phpclasses/configuration.class.php index 5d5968e..fa25a7d 100644 --- a/src/phpclasses/configuration.class.php +++ b/src/phpclasses/configuration.class.php @@ -1,4 +1,9 @@