libamxrt
0.4.2
Ambiorix Run Time Library
|
#include <stdlib.h>
#include <string.h>
#include <amxrt/amxrt.h>
#include <amxp/amxp_dir.h>
#include "amxrt_priv.h"
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
Functions | |
static void | amxrt_config_read_env_vars (void) |
static void | amxrt_config_add_dir (amxc_var_t *var_dirs, const char *dir) |
static void | amxrt_config_set_default_dirs (amxo_parser_t *parser) |
static int | amxrt_config_add_backend (const char *name, void *priv) |
static void | amxrt_config_include_end (amxo_parser_t *parser, UNUSED const char *file) |
static void | amxrt_config_section_end (amxo_parser_t *parser, int section_id) |
static void | amxrt_config_option_changed (amxo_parser_t *parser, UNUSED const char *option, UNUSED amxc_var_t *value) |
void | amxrt_config_add_options (amxo_parser_t *parser) |
int | amxrt_config_init (int argc, char *argv[], int *index, amxrt_arg_fn_t fn) |
Initializes the default runtime configuration. More... | |
void | amxrt_config_scan_backend_dirs (void) |
Scan backend directories for available backends. More... | |
void | amxrt_config_read_env_var (const char *var_name, const char *config_name, int32_t var_type) |
Helper function to read an environment variable and add it's value to the runtime configuration. More... | |
Variables | |
static amxo_hooks_t | amxrt_config_hooks |
#define _GNU_SOURCE |
Definition at line 56 of file amxrt_config.c.
|
static |
Definition at line 122 of file amxrt_config.c.
|
static |
Definition at line 85 of file amxrt_config.c.
void amxrt_config_add_options | ( | amxo_parser_t * | parser | ) |
Definition at line 183 of file amxrt_config.c.
|
static |
Definition at line 131 of file amxrt_config.c.
|
static |
Definition at line 148 of file amxrt_config.c.
|
static |
Definition at line 67 of file amxrt_config.c.
|
static |
Definition at line 139 of file amxrt_config.c.
|
static |
Definition at line 103 of file amxrt_config.c.
|
static |
Definition at line 158 of file amxrt_config.c.