|
| amxc_var_t * | amxrt_get_config (void) |
| | Gets the htable variant containing the configuration options. More...
|
| |
| amxo_parser_t * | amxrt_get_parser (void) |
| | Gets runtime odl parser. More...
|
| |
| amxd_dm_t * | amxrt_get_dm (void) |
| | Gets the runtime data model storage. More...
|
| |
| void | amxrt_new (void) |
| | Create the ambiorix runtime. More...
|
| |
| int | amxrt (int argc, char *argv[], amxrt_arg_fn_t fn) |
| | This function can create full ambiorix application (data model provider or client). More...
|
| |
| int | amxrt_init (int argc, char *argv[], amxrt_arg_fn_t fn) |
| | Initializes the ambiorix runtime. More...
|
| |
| int | amxrt_register_or_wait (void) |
| | Register the data model or wait for required data model objects. More...
|
| |
| int | amxrt_run (void) |
| | Starts the event loop. More...
|
| |
| void | amxrt_stop (void) |
| | Stops the runtime. More...
|
| |
| void | amxrt_delete (void) |
| | Clean-up ambiorix runtime. More...
|
| |
| int | amxrt_load_odl_files (int argc, char *argv[], int index) |
| | Load odls files mentioned on the command line or the default odl file. More...
|
| |
| int | amxrt_connect (void) |
| | Connects to all bus sockets. More...
|
| |
| void | amxrt_enable_syssigs (amxc_var_t *syssigs) |
| | Enables system signals that should be monitored by the eventloop. More...
|
| |
| void | amxrt_cmd_line_options_reset (void) |
| | Removes all default options. More...
|
| |
| int | amxrt_cmd_line_add_option (int id, char short_option, const char *long_option, int has_args, const char *doc, const char *arg_doc) |
| | Adds a command line option definition. More...
|
| |
| void | amxrt_cmd_line_set_usage_doc (const char *usage) |
| | Set the overall usage documentation string. More...
|
| |
| int | amxrt_cmd_line_parse (int argc, char *argv[], amxrt_arg_fn_t fn) |
| | Starts parsing the command line options. More...
|
| |
| void | amxrt_cmd_line_parse_assignment (const char *option, bool force) |
| | Parses an command line option or an argument with an assignment. More...
|
| |
| void | amxrt_print_usage (void) |
| | Prints the usage information and all available options to stdout. More...
|
| |
| 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...
|
| |
| int | amxrt_el_create (void) |
| | Creates and initializes all needed event loop components. More...
|
| |
| int | amxrt_el_start (void) |
| | Starts the event loop. More...
|
| |
| int | amxrt_el_stop (void) |
| | Stops the event loop. More...
|
| |
| int | amxrt_el_destroy (void) |
| | Cleans-up the event loop components. More...
|
| |
| int | amxrt_dm_save_load_main (int reason, amxd_dm_t *dm, amxo_parser_t *parser) |
| | The data model auto load and save module. More...
|
| |
| int | amxrt_caps_apply (void) |
| | Apply the user, group and capabilities as defined in the configuration. More...
|
| |
| void | amxrt_caps_dump (void) |
| | Dumps the capabilities of the process. More...
|
| |