dcdbglobals.h 1.76 KB
Newer Older
1
2
3
4
//================================================================================
// Name        : dcdbglobals.h
// Author      : Axel Auweter
// Copyright   : Leibniz Supercomputing Centre
Michael Ott's avatar
Michael Ott committed
5
// Description : Internal global settings for libdcdb
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//================================================================================

//================================================================================
// 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
//================================================================================
26
27
28
29

/**
 * @file
 * @brief This file contains some global definitions and names
Michael Ott's avatar
Michael Ott committed
30
 * use by the libdcdb library.
31
32
33
34
35
36
37
 */

#ifndef DCDB_GLOBALS_H
#define DCDB_GLOBALS_H

#define KEYSPACE_NAME        "dcdb"
#define CF_SENSORDATA        "sensordata"
Axel Auweter's avatar
Axel Auweter committed
38
#define SENSORDATA_GC_GRACE_SECONDS "600"
39
40
41
42
43
44

#define CONFIG_KEYSPACE_NAME KEYSPACE_NAME "_config"
#define CF_PUBLISHEDSENSORS  "publishedsensors"
#define CF_VIRTUALSENSORS    "virtualsensors"

#endif /* DCDB_GLOBALS_H */