MySQL 9.1.0
Source Code Documentation
|
Service for listing all Components by iterator. More...
#include <dynamic_loader.h>
Public Attributes | |
mysql_service_status_t(* | create )(my_h_component_iterator *out_iterator) |
Creates iterator that iterates through all loaded components. More... | |
mysql_service_status_t(* | get )(my_h_component_iterator iter, const char **out_name, const char **out_urn) |
Gets name and URN of Service pointed to by iterator. More... | |
mysql_service_status_t(* | next )(my_h_component_iterator iter) |
Advances specified iterator to next element. More... | |
mysql_service_status_t(* | is_valid )(my_h_component_iterator iter) |
Checks if specified iterator is valid, i.e. More... | |
void(* | release )(my_h_component_iterator iter) |
Releases component iterator. More... | |
Service for listing all Components by iterator.
mysql_service_status_t(* s_mysql_dynamic_loader_query::create) (my_h_component_iterator *out_iterator) |
Creates iterator that iterates through all loaded components.
If successful it leaves read lock on dynamic loader until iterator is released.
[out] | out_iterator | Pointer to component iterator handle. |
false | success |
true | failure |
mysql_service_status_t(* s_mysql_dynamic_loader_query::get) (my_h_component_iterator iter, const char **out_name, const char **out_urn) |
Gets name and URN of Service pointed to by iterator.
iterator | Component iterator handle. | |
[out] | out_name | Pointer to string with component name to set result pointer to. |
[out] | out_urn | Pointer to string with URN from which the component was loaded from, to set result pointer to. |
false | success |
true | Failure, may be caused when called on iterator that went through all values already. |
mysql_service_status_t(* s_mysql_dynamic_loader_query::is_valid) (my_h_component_iterator iter) |
Checks if specified iterator is valid, i.e.
have not reached one-past-last element.
iterator | Component iterator handle. |
false | Valid |
true | Invalid or reached one-past-last element. |
mysql_service_status_t(* s_mysql_dynamic_loader_query::next) (my_h_component_iterator iter) |
Advances specified iterator to next element.
Will succeed but return true if it reaches one-past-last element.
iterator | Component iterator handle. |
false | success |
true | Failure or called on iterator that was on last element. |
void(* s_mysql_dynamic_loader_query::release) (my_h_component_iterator iter) |
Releases component iterator.
Releases read lock on dynamic loader.
iterator | Component iterator handle. |
false | success |
true | failure |