Added a reference to the GPL
authorarjen <arjen>
Sat, 9 Nov 2002 08:04:27 +0000 (08:04 +0000)
committerarjen <arjen>
Sat, 9 Nov 2002 08:04:27 +0000 (08:04 +0000)
14 files changed:
src/database/create.sql
src/database/destroy.sql
src/gcm_input/gcm_input.cpp
src/gcm_input/message.cpp
src/gcm_input/message.h
src/include/database.h
src/include/gnucomo_config.h
src/lib/database.cpp
src/lib/gnucomo_config.cpp
src/phpclasses/configuration.class.php
src/phpclasses/gnucomo_config.php
src/web/classes/configuration.class.php
src/web/classes/gnucomo_config.php
src/web/functions.php

index 9ade001..95ea41e 100644 (file)
@@ -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.
 --
index 68e9a11..51db156 100644 (file)
@@ -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.
 --
index 40c5520..d8bdb8a 100644 (file)
@@ -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
 
 /*****************************
    $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 <getopt.h>
 
index de8e676..0859655 100644 (file)
@@ -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
 **
 
 /*****************************
    $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"
 
index bfe5193..baba95d 100644 (file)
@@ -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
 **
 
 /*****************************
    $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 <iostream>
 #include <list>
index 8c3279a..1a4763d 100644 (file)
@@ -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.
 
 /*****************************
    $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 <libpq++/pgdatabase.h>
 #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);
index 4c854be..ade6ac3 100644 (file)
@@ -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      :  
 **
 
 /*****************************
    $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 <AXE/configuration.h>
 
index f35727a..c83f53e 100644 (file)
@@ -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
 **
 
 /*****************************
    $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"
 
index 0b9fbeb..4e45b82 100644 (file)
@@ -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.
 **
 
 /*****************************
    $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"
 
index 5d5968e..fa25a7d 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**************************************************************************
+**  (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.
+***************************************************************************/
 
 
 /*
index 7f250c5..8453adb 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**************************************************************************
+**  (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.
+***************************************************************************/
 
 require_once('configuration.class.php');
 
index 5d5968e..fa25a7d 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**************************************************************************
+**  (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.
+***************************************************************************/
 
 
 /*
index 7f250c5..8453adb 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+/**************************************************************************
+**  (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.
+***************************************************************************/
 
 require_once('configuration.class.php');
 
index 61e64a8..9dfa47e 100755 (executable)
@@ -1,4 +1,8 @@
 <? 
+/**************************************************************************
+** 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.
+***************************************************************************/
 /******************************************************************************************/
 /* global parameters                                                                      */
 /******************************************************************************************/