/**************************************************************************//**
 *
 *
 *
 *****************************************************************************/
#include <x86_64_accton_as7112_54x/x86_64_accton_as7112_54x_config.h>

/* <auto.start.cdefs(x86_64_accton_as7112_54x_CONFIG_HEADER).source> */
#define __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(_x) #_x
#define __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(_x) __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(_x)
x86_64_accton_as7112_54x_config_settings_t x86_64_accton_as7112_54x_config_settings[] =
{
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_LOGGING
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_LOGGING), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_LOGGING) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_LOGGING(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_LOG_OPTIONS_DEFAULT
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_LOG_OPTIONS_DEFAULT), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_LOG_OPTIONS_DEFAULT) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_LOG_OPTIONS_DEFAULT(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_LOG_BITS_DEFAULT
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_LOG_BITS_DEFAULT), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_LOG_BITS_DEFAULT) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_LOG_BITS_DEFAULT(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_LOG_CUSTOM_BITS_DEFAULT
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_LOG_CUSTOM_BITS_DEFAULT), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_LOG_CUSTOM_BITS_DEFAULT) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_LOG_CUSTOM_BITS_DEFAULT(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_STDLIB
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_STDLIB), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_STDLIB) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_STDLIB(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_UCLI
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_UCLI), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_UCLI) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_UCLI(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
#ifdef X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION
    { __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME(X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION), __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE(X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION) },
#else
{ X86_64_ACCTON_AS7112_54X_CONFIG_INCLUDE_DEFAULT_FAN_DIRECTION(__X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME), "__undefined__" },
#endif
    { NULL, NULL }
};
#undef __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_VALUE
#undef __X86_64_ACCTON_AS7112_54X_CONFIG_STRINGIFY_NAME

const char*
x86_64_accton_as7112_54x_config_lookup(const char* setting)
{
    int i;
    for(i = 0; x86_64_accton_as7112_54x_config_settings[i].name; i++) {
        if(!strcmp(x86_64_accton_as7112_54x_config_settings[i].name, setting)) {
            return x86_64_accton_as7112_54x_config_settings[i].value;
        }
    }
    return NULL;
}

int
x86_64_accton_as7112_54x_config_show(struct aim_pvs_s* pvs)
{
    int i;
    for(i = 0; x86_64_accton_as7112_54x_config_settings[i].name; i++) {
        aim_printf(pvs, "%s = %s\n", x86_64_accton_as7112_54x_config_settings[i].name, x86_64_accton_as7112_54x_config_settings[i].value);
    }
    return i;
}

/* <auto.end.cdefs(x86_64_accton_as7112_54x_CONFIG_HEADER).source> */

