|
ED247 Library
VA2.3.0
Implementation of ED247-A standard
|
Functions | |
| LIBED247_EXPORT ed247_status_t | ed247_load_file (const char *ecic_file_path, ed247_context_t *context) |
| Loading function: the entry point of the library. More... | |
| LIBED247_EXPORT ed247_status_t | ed247_load_content (const char *ecic_file_content, ed247_context_t *context) |
| Loading function: the entry point of the library. More... | |
| LIBED247_EXPORT ed247_status_t | ed247_unload (ed247_context_t context) |
| Unload resources linked to the given context. More... | |
| LIBED247_EXPORT ed247_status_t | ed247_component_set_user_data (ed247_context_t context, void *user_data) |
| Assign user data to the context. More... | |
| LIBED247_EXPORT ed247_status_t | ed247_component_get_user_data (ed247_context_t context, void **user_data) |
| Retrieve user data pointer form the context. More... | |
| LIBED247_EXPORT ed247_status_t ed247_load_file | ( | const char * | ecic_file_path, |
| ed247_context_t * | context | ||
| ) |
Loading function: the entry point of the library.
| [in] | ecic_file_path | The path to the ECIC configuration file |
| [out] | context | The loaded context identifier |
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE | An error occurred during the load phase (xml parsing or internal loading) |

| LIBED247_EXPORT ed247_status_t ed247_load_content | ( | const char * | ecic_file_content, |
| ed247_context_t * | context | ||
| ) |
Loading function: the entry point of the library.
| [in] | ecic_file_content | The content of the ECIC configuration file |
| [out] | context | The loaded context identifier |
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE | An error occurred during the load phase (xml parsing or internal loading) |
| LIBED247_EXPORT ed247_status_t ed247_unload | ( | ed247_context_t | context | ) |
Unload resources linked to the given context.
| [in] | context | Context identifier |
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE |
| LIBED247_EXPORT ed247_status_t ed247_component_set_user_data | ( | ed247_context_t | context, |
| void * | user_data | ||
| ) |
Assign user data to the context.
When unloading the component, there is no memory free on this item. Free it yourself.
| [in] | context | The context identifier |
| [in] | user_data | A pointer to user data |
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE |
| LIBED247_EXPORT ed247_status_t ed247_component_get_user_data | ( | ed247_context_t | context, |
| void ** | user_data | ||
| ) |
Retrieve user data pointer form the context.
| [in] | context | The context identifier |
| [out] | user_data | A pointer to host pointer to user data |
| ED247_STATUS_SUCCESS | |
| ED247_STATUS_FAILURE |