29 #ifndef __ONLP_CONFIG_H__ 30 #define __ONLP_CONFIG_H__ 32 #ifdef GLOBAL_INCLUDE_CUSTOM_CONFIG 33 #include <global_custom_config.h> 35 #ifdef ONLP_INCLUDE_CUSTOM_CONFIG 36 #include <onlp_custom_config.h> 47 #ifndef ONLP_CONFIG_INCLUDE_LOGGING 48 #define ONLP_CONFIG_INCLUDE_LOGGING 1 57 #ifndef ONLP_CONFIG_LOG_OPTIONS_DEFAULT 58 #define ONLP_CONFIG_LOG_OPTIONS_DEFAULT AIM_LOG_OPTIONS_DEFAULT 67 #ifndef ONLP_CONFIG_LOG_BITS_DEFAULT 68 #define ONLP_CONFIG_LOG_BITS_DEFAULT AIM_LOG_BITS_DEFAULT 77 #ifndef ONLP_CONFIG_LOG_CUSTOM_BITS_DEFAULT 78 #define ONLP_CONFIG_LOG_CUSTOM_BITS_DEFAULT 0 87 #ifndef ONLP_CONFIG_PORTING_STDLIB 88 #define ONLP_CONFIG_PORTING_STDLIB 1 97 #ifndef ONLP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS 98 #define ONLP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS ONLP_CONFIG_PORTING_STDLIB 107 #ifndef ONLP_CONFIG_INCLUDE_UCLI 108 #define ONLP_CONFIG_INCLUDE_UCLI 0 117 #ifndef ONLP_CONFIG_INCLUDE_PLATFORM_ERROR_CHECK 118 #define ONLP_CONFIG_INCLUDE_PLATFORM_ERROR_CHECK 1 127 #ifndef ONLP_CONFIG_INCLUDE_SHLOCK_GLOBAL_INIT 128 #define ONLP_CONFIG_INCLUDE_SHLOCK_GLOBAL_INIT 0 137 #ifndef ONLP_CONFIG_PLATFORM_NAME 138 #define ONLP_CONFIG_PLATFORM_NAME NULL 147 #ifndef ONLP_CONFIG_PLATFORM_FILENAME 148 #define ONLP_CONFIG_PLATFORM_FILENAME "/etc/onl/platform" 157 #ifndef ONLP_CONFIG_INCLUDE_PLATFORM_OVERRIDES 158 #define ONLP_CONFIG_INCLUDE_PLATFORM_OVERRIDES 1 167 #ifndef ONLP_CONFIG_CONFIGURATION_FILENAME 168 #define ONLP_CONFIG_CONFIGURATION_FILENAME "/etc/onlp.conf" 177 #ifndef ONLP_CONFIG_CONFIGURATION_ENV 178 #define ONLP_CONFIG_CONFIGURATION_ENV "ONLP_CONF" 187 #ifndef ONLP_CONFIG_INCLUDE_API_LOCK 188 #define ONLP_CONFIG_INCLUDE_API_LOCK 1 197 #ifndef ONLP_CONFIG_API_LOCK_GLOBAL_SHARED 198 #define ONLP_CONFIG_API_LOCK_GLOBAL_SHARED 1 207 #ifndef ONLP_CONFIG_API_LOCK_TIMEOUT 208 #define ONLP_CONFIG_API_LOCK_TIMEOUT 60000000 217 #ifndef ONLP_CONFIG_INFO_STR_MAX 218 #define ONLP_CONFIG_INFO_STR_MAX 64 227 #ifndef ONLP_CONFIG_INCLUDE_THERMAL_THRESHOLDS 228 #define ONLP_CONFIG_INCLUDE_THERMAL_THRESHOLDS 0 237 #ifndef ONLP_CONFIG_INCLUDE_API_PROFILING 238 #define ONLP_CONFIG_INCLUDE_API_PROFILING 0 const char * name
Definition: onlp_config.h:250
struct onlp_config_settings_s onlp_config_settings_t
onlp_config_settings_t onlp_config_settings[]
const char * onlp_config_lookup(const char *setting)
Lookup a configuration setting.
Definition: onlp_config.h:248
const char * value
Definition: onlp_config.h:252
int onlp_config_show(struct aim_pvs_s *pvs)
Show the compile-time configuration.