|
Dynamic Load Balance 3.6.1+32-59d1
|
#include "support/options.h"#include "apis/dlb_types.h"#include "apis/dlb_errors.h"#include "support/types.h"#include "support/mask_utils.h"#include "support/debug.h"#include "LB_core/spd.h"#include <string.h>#include <stddef.h>#include <ctype.h>#include <stdint.h>#include <limits.h>
Data Structures | |
| struct | opts_dict_t |
Macros | |
| #define | OFFSET " " |
Enumerations | |
| enum | option_flags_t { OPT_CLEAR = 0 , OPT_READONLY = 1 << 0 , OPT_OPTIONAL = 1 << 1 , OPT_DEPRECATED = 1 << 2 , OPT_ADVANCED = 1 << 3 , OPT_HIDDEN = 1 << 4 , OPT_UNUSED = 1 << 5 } |
| enum | option_type_t { OPT_BOOL_T , OPT_NEG_BOOL_T , OPT_INT_T , OPT_STR_T , OPT_PTR_PATH_T , OPT_VB_T , OPT_VBFMT_T , OPT_INST_T , OPT_DBG_T , OPT_LEWI_AFF_T , OPT_MASK_T , OPT_MODE_T , OPT_MPISET_T , OPT_OMPTOPTS_T , OPT_TLPSUM_T , OPT_TLPMOD_T , OPT_TLPCOM_T , OPT_OMPTM_T } |
| enum | { NUM_OPTIONS = sizeof(options_dictionary)/sizeof(opts_dict_t) } |
Functions | |
| void | options_init (options_t *options, const char *dlb_args) |
| void | options_finalize (options_t *options) |
| void | options_parse_entry (const char *var_name, void *option) |
| int | options_set_variable (options_t *options, const char *var_name, const char *value) |
| int | options_get_variable (const options_t *options, const char *var_name, char *value) |
| void | options_print_variables (const options_t *options, bool print_extended) |
| void | options_print_lewi_flags (const options_t *options) |
| #define OFFSET " " |
| enum option_flags_t |
| enum option_type_t |
| void options_init | ( | options_t * | options, |
| const char * | dlb_args | ||
| ) |
| void options_finalize | ( | options_t * | options | ) |
| void options_parse_entry | ( | const char * | var_name, |
| void * | option | ||
| ) |
| int options_set_variable | ( | options_t * | options, |
| const char * | var_name, | ||
| const char * | value | ||
| ) |
| int options_get_variable | ( | const options_t * | options, |
| const char * | var_name, | ||
| char * | value | ||
| ) |
| void options_print_variables | ( | const options_t * | options, |
| bool | print_extended | ||
| ) |
| void options_print_lewi_flags | ( | const options_t * | options | ) |