libamxo  4.3.4
Object Definition Language (ODL) parsing
amxo_mibs.h File Reference
#include <amxp/amxp.h>

Go to the source code of this file.

Typedefs

typedef bool(* amxo_evaluate_expr_fn_t) (amxd_object_t *object, amxp_expr_t *expr)
 

Functions

int amxo_parser_scan_mib_dir (amxo_parser_t *parser, const char *path)
 Scans a directory for MIB odl files. More...
 
int amxo_parser_scan_mib_dirs (amxo_parser_t *parser, amxc_var_t *dirs)
 Scans multiple directories for MIB odl files. More...
 
const char * amxo_parser_get_mib_file (amxo_parser_t *parser, const char *mib_name)
 Get full path and file name of odl file describing a mib. More...
 
int amxo_parser_load_mib (amxo_parser_t *parser, amxd_dm_t *dm, const char *mib_name)
 Loads the mib definition. More...
 
int amxo_parser_apply_mib (amxo_parser_t *parser, amxd_object_t *object, const char *mib_name)
 Unconditionally applies a MIB to a data model object. More...
 
int amxo_parser_add_mibs (amxo_parser_t *parser, amxd_object_t *object, amxo_evaluate_expr_fn_t fn)
 Adds zero, one or more MIBs to a data model object. More...
 
int amxo_parser_remove_mibs (amxo_parser_t *parser, amxd_object_t *object, amxo_evaluate_expr_fn_t fn)
 Removes zero, one or more MIBs from a data model object. More...
 
int amxo_parser_apply_mibs (amxo_parser_t *parser, amxd_object_t *object, amxo_evaluate_expr_fn_t fn)
 Applies zero, one or more MIBs to a data model object. More...
 

Typedef Documentation

◆ amxo_evaluate_expr_fn_t

typedef bool(* amxo_evaluate_expr_fn_t) (amxd_object_t *object, amxp_expr_t *expr)

Definition at line 65 of file amxo_mibs.h.