ONLP
Open Network Linux Platform APIs
Data Structures | Macros | Typedefs | Functions | Variables
onlp_config.h File Reference

onlp Configuration Header More...

#include <AIM/aim.h>
#include "onlp_porting.h"

Go to the source code of this file.

Data Structures

struct  onlp_config_settings_s
 

Macros

#define ONLP_CONFIG_INCLUDE_LOGGING   1
 
#define ONLP_CONFIG_LOG_OPTIONS_DEFAULT   AIM_LOG_OPTIONS_DEFAULT
 
#define ONLP_CONFIG_LOG_BITS_DEFAULT   AIM_LOG_BITS_DEFAULT
 
#define ONLP_CONFIG_LOG_CUSTOM_BITS_DEFAULT   0
 
#define ONLP_CONFIG_PORTING_STDLIB   1
 
#define ONLP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS   ONLP_CONFIG_PORTING_STDLIB
 
#define ONLP_CONFIG_INCLUDE_UCLI   0
 
#define ONLP_CONFIG_INCLUDE_PLATFORM_ERROR_CHECK   1
 
#define ONLP_CONFIG_INCLUDE_SHLOCK_GLOBAL_INIT   0
 
#define ONLP_CONFIG_PLATFORM_NAME   NULL
 
#define ONLP_CONFIG_PLATFORM_FILENAME   "/etc/onl/platform"
 
#define ONLP_CONFIG_INCLUDE_PLATFORM_OVERRIDES   1
 
#define ONLP_CONFIG_CONFIGURATION_FILENAME   "/etc/onlp.conf"
 
#define ONLP_CONFIG_CONFIGURATION_ENV   "ONLP_CONF"
 
#define ONLP_CONFIG_INCLUDE_API_LOCK   1
 
#define ONLP_CONFIG_API_LOCK_GLOBAL_SHARED   1
 
#define ONLP_CONFIG_API_LOCK_TIMEOUT   60000000
 
#define ONLP_CONFIG_INFO_STR_MAX   64
 
#define ONLP_CONFIG_INCLUDE_THERMAL_THRESHOLDS   0
 
#define ONLP_CONFIG_INCLUDE_API_PROFILING   0
 

Typedefs

typedef struct onlp_config_settings_s onlp_config_settings_t
 

Functions

const char * onlp_config_lookup (const char *setting)
 Lookup a configuration setting. More...
 
int onlp_config_show (struct aim_pvs_s *pvs)
 Show the compile-time configuration. More...
 

Variables

onlp_config_settings_t onlp_config_settings []
 

Detailed Description

onlp Configuration Header