libamxo
4.3.4
Object Definition Language (ODL) parsing
|
The ODL parser structure. More...
#include <amxo_types.h>
Data Fields | |
void * | scanner |
int | fd |
amxc_var_t | config |
amxc_llist_t | global_config |
amxc_rbuffer_t | rbuffer |
amxo_reader_t | reader |
amxd_status_t | status |
amxc_string_t | msg |
amxc_astack_t | object_stack |
amxd_object_t * | object |
amxd_param_t * | param |
amxd_function_t * | func |
amxc_var_t * | data |
amxo_fn_ptr_t | resolved_fn |
amxc_string_t * | resolved_fn_name |
amxc_llist_t | function_names |
amxc_htable_t * | resolvers |
amxc_llist_t * | _unused_1 |
amxc_llist_t * | _unused_2 |
amxc_llist_t * | entry_points |
amxc_llist_t * | hooks |
amxc_var_t * | post_includes |
amxc_var_t * | include_stack |
const char * | file |
uint32_t | line |
amxc_htable_t | mibs |
amxc_lstack_t | event_list |
amxo_parser_t * | parent |
char | buffer [128] |
size_t | buffer_len |
amxc_llist_t * | sync_contexts |
The ODL parser structure.
The structure can be allocated and initialize on the heap using amxo_parser_new or initialized on the stack using amxo_parser_init
It is not the intention to access the members of this structure directly, an amxo_parser_t pointer should be handled as an opaque handle.
Use the API functions to work with the amxo_parser_t instance.
Definition at line 245 of file amxo_types.h.
amxc_llist_t* _amxo_parser::_unused_1 |
NOT USED - deprecated
Definition at line 271 of file amxo_types.h.
amxc_llist_t* _amxo_parser::_unused_2 |
NOT USED - deprecated
Definition at line 272 of file amxo_types.h.
char _amxo_parser::buffer[128] |
Definition at line 287 of file amxo_types.h.
size_t _amxo_parser::buffer_len |
Definition at line 288 of file amxo_types.h.
amxc_var_t _amxo_parser::config |
Definition at line 250 of file amxo_types.h.
amxc_var_t* _amxo_parser::data |
Not used anymore, must be removed but will introduce binary incompatibility
Definition at line 265 of file amxo_types.h.
amxc_llist_t* _amxo_parser::entry_points |
List of entry points that needs to be called
Definition at line 273 of file amxo_types.h.
amxc_lstack_t _amxo_parser::event_list |
Definition at line 283 of file amxo_types.h.
int _amxo_parser::fd |
The file descriptor, used to read from the odl file amxo_parser_parse_file or amxo_parser_parse_fd
Definition at line 247 of file amxo_types.h.
const char* _amxo_parser::file |
Definition at line 279 of file amxo_types.h.
amxd_function_t* _amxo_parser::func |
Data model current function, internally used by odl parser
Definition at line 264 of file amxo_types.h.
amxc_llist_t _amxo_parser::function_names |
Resolved function names, internally used by function resolver
Definition at line 268 of file amxo_types.h.
amxc_llist_t _amxo_parser::global_config |
An variant containing a htable with configuration options Can be used by resolvers or the parser itself. List of global config settings, contains the names of the global config options
Definition at line 253 of file amxo_types.h.
amxc_llist_t* _amxo_parser::hooks |
List of parser hooks
Definition at line 274 of file amxo_types.h.
amxc_var_t* _amxo_parser::include_stack |
Used for recursive include tracking
Definition at line 277 of file amxo_types.h.
uint32_t _amxo_parser::line |
Definition at line 280 of file amxo_types.h.
amxc_htable_t _amxo_parser::mibs |
Definition at line 282 of file amxo_types.h.
amxc_string_t _amxo_parser::msg |
Parser message, amxo_parser_get_message
Definition at line 259 of file amxo_types.h.
amxd_object_t* _amxo_parser::object |
Data model current object, internally used by odl parser
Definition at line 262 of file amxo_types.h.
amxc_astack_t _amxo_parser::object_stack |
Data model object stack, internally used by odl parser
Definition at line 261 of file amxo_types.h.
amxd_param_t* _amxo_parser::param |
Data model current parameter, internally used by odl parser
Definition at line 263 of file amxo_types.h.
amxo_parser_t* _amxo_parser::parent |
Definition at line 285 of file amxo_types.h.
amxc_var_t* _amxo_parser::post_includes |
List of include files that needs to be loaded after entry-points are called
Definition at line 275 of file amxo_types.h.
amxc_rbuffer_t _amxo_parser::rbuffer |
Ring buffer, used to parse text
Definition at line 256 of file amxo_types.h.
amxo_reader_t _amxo_parser::reader |
Reader function
Definition at line 257 of file amxo_types.h.
amxo_fn_ptr_t _amxo_parser::resolved_fn |
Filled with function pointer, internally used by function resolver
Definition at line 266 of file amxo_types.h.
amxc_string_t* _amxo_parser::resolved_fn_name |
Current resolved function name, internally used by function resolver
Definition at line 267 of file amxo_types.h.
amxc_htable_t* _amxo_parser::resolvers |
Resolvers data, internally used by function resolver
Definition at line 269 of file amxo_types.h.
void* _amxo_parser::scanner |
Flex scanner
Definition at line 246 of file amxo_types.h.
amxd_status_t _amxo_parser::status |
Parser status, amxo_parser_get_status
Definition at line 258 of file amxo_types.h.
amxc_llist_t* _amxo_parser::sync_contexts |
Definition at line 290 of file amxo_types.h.