Commit abd22ad9 authored by Axel Auweter's avatar Axel Auweter
Browse files

Add LGPL headers to generic includes.

parent cc6af147
/*
* abrt.h
*
* Created on: Mar 24, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : abrt.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Generic function for handling application crashes with backtrace
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================================
#include <stdio.h>
#include <execinfo.h>
......
/*
* endian.h
*
* Created on: May 17, 2015
* Author: Axel Auweter
*/
//================================================================================
// Name : dcdbdaemon.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Generic function for daemonizing an application
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================================
#ifndef DCDBDAEMON_H
#define DCDBDAEMON_H
......
/*
* endian.h
*
* Created on: Apr 6, 2014
* Author: Axel Auweter
*/
//================================================================================
// Name : dcdbendian.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Generic functions for handling endianess in DCDB
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================================
#ifndef DCDBENDIAN_H
#define DCDBENDIAN_H
......
/*
* messaging.h
*
* Created on: Mar 20, 2014
* Author: Daniele Tafani
*/
#include <boost/thread/mutex.hpp>
//================================================================================
// Name : messaging.h
// Author : Daniele Tafani
// Copyright : Leibniz Supercomputing Centre
// Description : Generic functions and types for DCDB MQTT messages
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================================
#include <boost/date_time/posix_time/posix_time.hpp>
#ifndef MESSAGING_H_
#define MESSAGING_H_
......@@ -17,10 +36,9 @@ typedef struct {
class Messaging
{
public:
public:
static uint64_t calculateTimestamp() {
boost::posix_time::ptime epoch(boost::gregorian::date(1970,1,1));
boost::posix_time::ptime now = boost::posix_time::microsec_clock::universal_time();
boost::posix_time::time_duration diff = now - epoch;
......
/*
* pusherpqueue.h
*
* Created on: Aug 29, 2013
* Author: Axel Auweter
*/
//================================================================================
// Name : pusherpqeue.h
// Author : Axel Auweter
// Copyright : Leibniz Supercomputing Centre
// Description : Template class for priority queues used by various DCDB pushers
//================================================================================
//================================================================================
// This file is part of DCDB (DataCenter DataBase)
// Copyright (C) 2011-2016 Leibniz Supercomputing Centre
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
// version 2.1 of the License, or (at your option) any later version.
//
// This 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
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this library; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
//================================================================================
#include <list>
#include <boost/date_time/posix_time/posix_time.hpp>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment