libamxo
4.3.4
Object Definition Language (ODL) parsing
|
#include "amxo_parser_priv.h"
Go to the source code of this file.
Data Structures | |
struct | _amxo_import_lib |
union | _fn_caster |
Macros | |
#define | _GNU_SOURCE |
#define | GET_OPTION(parser, name) amxo_parser_get_config(parser, name) |
Typedefs | |
typedef struct _amxo_import_lib | amxo_import_lib_t |
typedef union _fn_caster | fn_caster_t |
Functions | |
static void | amxo_import_lib_free (UNUSED const char *key, amxc_htable_it_t *it) |
static void | amxo_resolver_import_defaults (amxo_parser_t *parser, UNUSED void *priv) |
static char * | amxo_resolver_import_get_symbol (amxo_parser_t *parser, const char *fn_name, bool prefix) |
static amxo_fn_ptr_t | amxo_resolver_try (amxo_parser_t *parser, const char *fn_name, const char *symbol, const char *lib_name, amxo_import_lib_t *lib, amxc_string_t *msg) |
static void | amxo_resolver_import_parse_data (const char *data, char **lib, char **symbol) |
static amxo_fn_ptr_t | amxo_resolver_import_data (amxo_parser_t *parser, amxc_htable_t *import_data, const char *fn_name, const char *data) |
static amxo_fn_ptr_t | amxo_resolver_import (amxo_parser_t *parser, const char *fn_name, UNUSED amxo_fn_type_t type, const char *data, UNUSED void *priv) |
static bool | amxo_resolver_import_alias_exists (amxc_htable_t *import_data, const char *alias) |
static bool | amxo_parser_no_import (amxo_parser_t *parser) |
static void * | amxo_resolver_import_lib (amxo_parser_t *parser, const char *so_name, const char *full_path, int flags) |
int | amxo_resolver_import_open (amxo_parser_t *parser, const char *so_name, const char *alias, int flags) |
Opens a shared object file (.so file) More... | |
void | amxo_resolver_import_clean (amxo_parser_t *parser, UNUSED void *priv) |
void | amxo_resolver_import_close_all (void) |
Unloads all loaded shared objects. More... | |
CONSTRUCTOR_LVL (110) | |
DESTRUCTOR_LVL (110) | |
Variables | |
static amxc_htable_t | import_libs |
static bool | dbg = false |
static amxo_resolver_t | import |
#define _GNU_SOURCE |
Definition at line 56 of file amxo_import_resolver.c.
#define GET_OPTION | ( | parser, | |
name | |||
) | amxo_parser_get_config(parser, name) |
Definition at line 61 of file amxo_import_resolver.c.
typedef struct _amxo_import_lib amxo_import_lib_t |
typedef union _fn_caster fn_caster_t |
|
static |
Definition at line 78 of file amxo_import_resolver.c.
|
static |
Definition at line 315 of file amxo_import_resolver.c.
|
static |
Definition at line 254 of file amxo_import_resolver.c.
|
static |
Definition at line 294 of file amxo_import_resolver.c.
void amxo_resolver_import_clean | ( | amxo_parser_t * | parser, |
UNUSED void * | priv | ||
) |
Definition at line 424 of file amxo_import_resolver.c.
|
static |
Definition at line 202 of file amxo_import_resolver.c.
|
static |
Definition at line 90 of file amxo_import_resolver.c.
|
static |
Definition at line 104 of file amxo_import_resolver.c.
|
static |
Definition at line 326 of file amxo_import_resolver.c.
|
static |
Definition at line 171 of file amxo_import_resolver.c.
|
static |
Definition at line 134 of file amxo_import_resolver.c.
CONSTRUCTOR_LVL | ( | 110 | ) |
Definition at line 464 of file amxo_import_resolver.c.
DESTRUCTOR_LVL | ( | 110 | ) |
Definition at line 469 of file amxo_import_resolver.c.
|
static |
Definition at line 76 of file amxo_import_resolver.c.
|
static |
Definition at line 456 of file amxo_import_resolver.c.
|
static |
Definition at line 75 of file amxo_import_resolver.c.