2020-01-07 01:23:16 +00:00
|
|
|
#ifndef CONTROLLER_CONFIG_H
|
|
|
|
#define CONTROLLER_CONFIG_H
|
|
|
|
|
2020-02-08 12:50:54 +00:00
|
|
|
#include <log_levels.h>
|
|
|
|
|
2020-02-09 23:58:17 +00:00
|
|
|
/**
|
|
|
|
* @brief Limit the maximum length of a controller name
|
|
|
|
*
|
|
|
|
* The NULL terminator is not included. Arrays of length #CONTROLLER_NAME_LENGTH + 1 are required.
|
|
|
|
*/
|
2020-01-07 01:23:16 +00:00
|
|
|
#define CONTROLLER_NAME_LENGTH 128
|
|
|
|
|
2020-02-09 23:58:17 +00:00
|
|
|
/**
|
|
|
|
* @brief Maximum number of dbs for the databases for the MDB_env
|
|
|
|
*
|
|
|
|
* Used when calling mdb_env_set_maxdbs() in database_setup()
|
|
|
|
*/
|
2020-01-07 01:23:16 +00:00
|
|
|
#define MDB_MAXDBS 8
|
|
|
|
|
2020-02-09 23:58:17 +00:00
|
|
|
/**
|
|
|
|
* @brief Indicates to which level to log
|
|
|
|
*
|
|
|
|
* @see include/log_levels.h
|
|
|
|
*/
|
2020-02-08 12:50:54 +00:00
|
|
|
#define LOG_LEVEL LOG_LEVEL_TRACE
|
|
|
|
|
2020-01-07 01:23:16 +00:00
|
|
|
#endif //CONTROLLER_CONFIG_H
|