
Data Structures | |
struct | _E_Bluez_Element_Call_Data |
struct | _E_Bluez_Element_Listener |
struct | _E_Bluez_Element_Pending |
struct | _E_Bluez_Element_Property |
struct | e_bluez_elements_for_each_data |
struct | e_bluez_elements_get_all_str_data |
Typedefs | |
typedef struct _E_Bluez_Element_Call_Data | E_Bluez_Element_Call_Data |
typedef struct _E_Bluez_Element_Listener | E_Bluez_Element_Listener |
typedef struct _E_Bluez_Element_Pending | E_Bluez_Element_Pending |
typedef struct _E_Bluez_Element_Property | E_Bluez_Element_Property |
Functions | |
E_Bluez_Element_Dict_Entry * | e_bluez_element_array_dict_find_stringshared (const E_Bluez_Array *array, const char *key) |
void | e_bluez_element_array_free (E_Bluez_Array *array, E_Bluez_Array *new __UNUSED__) |
void | e_bluez_element_array_print (FILE *fp, E_Bluez_Array *array) |
unsigned char * | e_bluez_element_bytes_array_get_stringshared (const E_Bluez_Element *element, const char *property, unsigned int *count) |
Eina_Bool | e_bluez_element_call_full (E_Bluez_Element *element, const char *method_name, E_DBus_Method_Return_Cb cb, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
Eina_Bool | e_bluez_element_call_with_path (E_Bluez_Element *element, const char *method_name, const char *string, E_DBus_Method_Return_Cb cb, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
Eina_Bool | e_bluez_element_call_with_path_and_string (E_Bluez_Element *element, const char *method_name, const char *path, const char *string, E_DBus_Method_Return_Cb cb, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
Eina_Bool | e_bluez_element_call_with_string (E_Bluez_Element *element, const char *method_name, const char *string, E_DBus_Method_Return_Cb cb, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
void | e_bluez_element_event_add (int event_type, E_Bluez_Element *element) |
E_Bluez_Element * | e_bluez_element_get (const char *path) |
Eina_Bool | e_bluez_element_is_adapter (const E_Bluez_Element *element) |
Eina_Bool | e_bluez_element_is_device (const E_Bluez_Element *element) |
E_Bluez_Array * | e_bluez_element_iter_get_array (DBusMessageIter *itr, const char *key) |
void | e_bluez_element_list_properties (const E_Bluez_Element *element, Eina_Bool(*cb)(void *data, const E_Bluez_Element *element, const char *name, int type, const void *value), const void *data) |
void | e_bluez_element_listener_add (E_Bluez_Element *element, void(*cb)(void *data, const E_Bluez_Element *element), const void *data, void(*free_data)(void *data)) |
void | e_bluez_element_listener_del (E_Bluez_Element *element, void(*cb)(void *data, const E_Bluez_Element *element), const void *data) |
Eina_Bool | e_bluez_element_message_send (E_Bluez_Element *element, const char *method_name, E_DBus_Method_Return_Cb cb, DBusMessage *msg, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
Eina_Bool | e_bluez_element_objects_array_get_stringshared (const E_Bluez_Element *element, const char *property, unsigned int *count, E_Bluez_Element ***p_elements) |
void | e_bluez_element_print (FILE *fp, const E_Bluez_Element *element) |
void | e_bluez_element_properties_list (const E_Bluez_Element *element, Eina_Bool(*cb)(void *data, const E_Bluez_Element *element, const char *name, int type, const void *value), const void *data) |
Eina_Bool | e_bluez_element_properties_sync (E_Bluez_Element *element) |
Eina_Bool | e_bluez_element_properties_sync_full (E_Bluez_Element *element, E_DBus_Method_Return_Cb cb, const void *data) |
Eina_Bool | e_bluez_element_property_dict_get_stringshared (const E_Bluez_Element *element, const char *dict_name, const char *key, int *type, void *value) |
Eina_Bool | e_bluez_element_property_dict_set_full (E_Bluez_Element *element, const char *prop, const char *key, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data) |
Eina_Bool | e_bluez_element_property_get (const E_Bluez_Element *element, const char *name, int *type, void *value) |
Eina_Bool | e_bluez_element_property_get_stringshared (const E_Bluez_Element *element, const char *name, int *type, void *value) |
Eina_Bool | e_bluez_element_property_set (E_Bluez_Element *element, const char *prop, int type, const void *value) |
Eina_Bool | e_bluez_element_property_set_full (E_Bluez_Element *element, const char *prop, int type, const void *value, E_DBus_Method_Return_Cb cb, const void *data) |
Eina_Bool | e_bluez_element_property_type_get (const E_Bluez_Element *element, const char *name, int *type) |
Eina_Bool | e_bluez_element_property_type_get_stringshared (const E_Bluez_Element *element, const char *name, int *type) |
int | e_bluez_element_ref (E_Bluez_Element *element) |
E_Bluez_Element * | e_bluez_element_register (const char *path, const char *interface) |
Eina_Bool | e_bluez_element_strings_array_get_stringshared (const E_Bluez_Element *element, const char *property, unsigned int *count, const char ***strings) |
int | e_bluez_element_unref (E_Bluez_Element *element) |
void | e_bluez_element_unregister (E_Bluez_Element *element) |
void | e_bluez_elements_for_each (Eina_Hash_Foreach cb, const void *user_data) |
Eina_Bool | e_bluez_elements_get_all (unsigned int *count, E_Bluez_Element ***p_elements) |
Eina_Bool | e_bluez_elements_get_all_type (const char *type, unsigned int *count, E_Bluez_Element ***p_elements) |
void | e_bluez_elements_init (void) |
void | e_bluez_elements_shutdown (void) |
void | e_bluez_manager_clear_elements (void) |
Typedef Documentation
◆ E_Bluez_Element_Call_Data
typedef struct _E_Bluez_Element_Call_Data E_Bluez_Element_Call_Data |
◆ E_Bluez_Element_Listener
typedef struct _E_Bluez_Element_Listener E_Bluez_Element_Listener |
◆ E_Bluez_Element_Pending
typedef struct _E_Bluez_Element_Pending E_Bluez_Element_Pending |
◆ E_Bluez_Element_Property
typedef struct _E_Bluez_Element_Property E_Bluez_Element_Property |
Function Documentation
◆ e_bluez_element_array_dict_find_stringshared()
E_Bluez_Element_Dict_Entry * e_bluez_element_array_dict_find_stringshared | ( | const E_Bluez_Array * | array, |
const char * | key | ||
) |
References _E_Bluez_Array::array, and _E_Bluez_Element_Dict_Entry::name.
Referenced by e_bluez_devicefound_alias_get(), and e_bluez_element_property_dict_get_stringshared().
◆ e_bluez_element_array_free()
void e_bluez_element_array_free | ( | E_Bluez_Array * | array, |
E_Bluez_Array *new | __UNUSED__ | ||
) |
References _E_Bluez_Array::array, and _E_Bluez_Array::type.
Referenced by e_bluez_devicefound_free().
◆ e_bluez_element_bytes_array_get_stringshared()
unsigned char * e_bluez_element_bytes_array_get_stringshared | ( | const E_Bluez_Element * | element, |
const char * | property, | ||
unsigned int * | count | ||
) |
References _E_Bluez_Array::array, e_bluez_element_property_get_stringshared(), and ERR.
◆ e_bluez_element_call_full()
Eina_Bool e_bluez_element_call_full | ( | E_Bluez_Element * | element, |
const char * | method_name, | ||
E_DBus_Method_Return_Cb | cb, | ||
Eina_Inlist ** | pending, | ||
E_DBus_Method_Return_Cb | user_cb, | ||
const void * | user_data | ||
) |
◆ e_bluez_element_call_with_path()
Eina_Bool e_bluez_element_call_with_path | ( | E_Bluez_Element * | element, |
const char * | method_name, | ||
const char * | string, | ||
E_DBus_Method_Return_Cb | cb, | ||
Eina_Inlist ** | pending, | ||
E_DBus_Method_Return_Cb | user_cb, | ||
const void * | user_data | ||
) |
References e_bluez_element_message_send(), e_bluez_system_bus_name_get(), _E_Bluez_Element::interface, and _E_Bluez_Element::path.
Referenced by e_bluez_adapter_agent_unregister().
◆ e_bluez_element_call_with_path_and_string()
Eina_Bool e_bluez_element_call_with_path_and_string | ( | E_Bluez_Element * | element, |
const char * | method_name, | ||
const char * | path, | ||
const char * | string, | ||
E_DBus_Method_Return_Cb | cb, | ||
Eina_Inlist ** | pending, | ||
E_DBus_Method_Return_Cb | user_cb, | ||
const void * | user_data | ||
) |
References e_bluez_element_message_send(), e_bluez_system_bus_name_get(), _E_Bluez_Element::interface, and _E_Bluez_Element::path.
Referenced by e_bluez_adapter_agent_register().
◆ e_bluez_element_call_with_string()
Eina_Bool e_bluez_element_call_with_string | ( | E_Bluez_Element * | element, |
const char * | method_name, | ||
const char * | string, | ||
E_DBus_Method_Return_Cb | cb, | ||
Eina_Inlist ** | pending, | ||
E_DBus_Method_Return_Cb | user_cb, | ||
const void * | user_data | ||
) |
◆ e_bluez_element_event_add()
void e_bluez_element_event_add | ( | int | event_type, |
E_Bluez_Element * | element | ||
) |
References e_bluez_element_ref().
◆ e_bluez_element_iter_get_array()
E_Bluez_Array * e_bluez_element_iter_get_array | ( | DBusMessageIter * | itr, |
const char * | key | ||
) |
References _E_Bluez_Array::array, DBG, ERR, and _E_Bluez_Array::type.
◆ e_bluez_element_list_properties()
void e_bluez_element_list_properties | ( | const E_Bluez_Element * | element, |
Eina_Bool(*)(void *data, const E_Bluez_Element *element, const char *name, int type, const void *value) | cb, | ||
const void * | data | ||
) |
References e_bluez_element_properties_list().
◆ e_bluez_element_listener_add()
void e_bluez_element_listener_add | ( | E_Bluez_Element * | element, |
void(*)(void *data, const E_Bluez_Element *element) | cb, | ||
const void * | data, | ||
void(*)(void *data) | free_data | ||
) |
◆ e_bluez_element_listener_del()
void e_bluez_element_listener_del | ( | E_Bluez_Element * | element, |
void(*)(void *data, const E_Bluez_Element *element) | cb, | ||
const void * | data | ||
) |
◆ e_bluez_element_message_send()
Eina_Bool e_bluez_element_message_send | ( | E_Bluez_Element * | element, |
const char * | method_name, | ||
E_DBus_Method_Return_Cb | cb, | ||
DBusMessage * | msg, | ||
Eina_Inlist ** | pending, | ||
E_DBus_Method_Return_Cb | user_cb, | ||
const void * | user_data | ||
) |
Send message with callbacks set to work with bluez elements.
If this call fails (returns EINA_FALSE
), pending callbacks will not be called, not even with error messages.
- Returns
EINA_TRUE
on success,EINA_FALSE
on failure.
References _E_Bluez_Element_Call_Data::cb, _E_Bluez_Element_Pending::data, e_bluez_conn, e_dbus_message_send(), _E_Bluez_Element_Call_Data::element, ERR, _E_Bluez_Element_Call_Data::p_list, _E_Bluez_Element_Pending::pending, _E_Bluez_Element_Call_Data::pending, _E_Bluez_Element_Pending::user_cb, and _E_Bluez_Element_Pending::user_data.
Referenced by e_bluez_adapter_create_paired_device(), e_bluez_element_call_full(), e_bluez_element_call_with_path(), e_bluez_element_call_with_path_and_string(), e_bluez_element_call_with_string(), e_bluez_element_property_dict_set_full(), and e_bluez_element_property_set_full().
◆ e_bluez_element_objects_array_get_stringshared()
Eina_Bool e_bluez_element_objects_array_get_stringshared | ( | const E_Bluez_Element * | element, |
const char * | property, | ||
unsigned int * | count, | ||
E_Bluez_Element *** | p_elements | ||
) |
◆ e_bluez_element_print()
void e_bluez_element_print | ( | FILE * | fp, |
const E_Bluez_Element * | element | ||
) |
Print element to file descriptor.
References _E_Bluez_Element_Property::array, _E_Bluez_Element_Property::boolean, _E_Bluez_Element_Property::byte, e_bluez_element_array_print(), _E_Bluez_Element::interface, _E_Bluez_Element_Property::name, _E_Bluez_Element::path, _E_Bluez_Element_Property::path, _E_Bluez_Element::props, _E_Bluez_Element_Property::str, _E_Bluez_Element_Property::type, _E_Bluez_Element_Property::u16, _E_Bluez_Element_Property::u32, and _E_Bluez_Element_Property::value.
◆ e_bluez_element_properties_list()
void e_bluez_element_properties_list | ( | const E_Bluez_Element * | element, |
Eina_Bool(*)(void *data, const E_Bluez_Element *element, const char *name, int type, const void *value) | cb, | ||
const void * | data | ||
) |
References _E_Bluez_Element_Property::boolean, ERR, _E_Bluez_Element_Property::name, _E_Bluez_Element_Property::path, _E_Bluez_Element::props, _E_Bluez_Element_Property::str, _E_Bluez_Element_Property::type, _E_Bluez_Element_Property::u16, _E_Bluez_Element_Property::u32, and _E_Bluez_Element_Property::value.
Referenced by e_bluez_element_list_properties().
◆ e_bluez_element_property_dict_get_stringshared()
Eina_Bool e_bluez_element_property_dict_get_stringshared | ( | const E_Bluez_Element * | element, |
const char * | dict_name, | ||
const char * | key, | ||
int * | type, | ||
void * | value | ||
) |
Get dict value given its key inside a dict property.
This will look into properties for one of type dict that contains the given key, to find the property. If no property is found then EINA_FALSE
is returned.
If EINA_FALSE
is returned, then this call failed and parameter-returned values shall be considered invalid.
- Parameters
-
element which element to get the property dict_name property name, must be previously stringshared key key inside dict, must be previously stringshared type if provided it will contain the value type. value where to store the property value, must be a pointer to the exact type, (Eina_Bool *) for booleans, (char **) for strings, and so on.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References _E_Bluez_Element_Property::array, _E_Bluez_Element_Dict_Entry::boolean, _E_Bluez_Element_Dict_Entry::byte, e_bluez_element_array_dict_find_stringshared(), ERR, _E_Bluez_Element_Dict_Entry::i16, _E_Bluez_Element_Property::name, _E_Bluez_Element::path, _E_Bluez_Element_Dict_Entry::path, _E_Bluez_Element::props, _E_Bluez_Element_Dict_Entry::str, _E_Bluez_Array::type, _E_Bluez_Element_Property::type, _E_Bluez_Element_Dict_Entry::type, _E_Bluez_Element_Dict_Entry::u16, _E_Bluez_Element_Dict_Entry::u32, _E_Bluez_Element_Property::value, _E_Bluez_Element_Dict_Entry::value, and WRN.
◆ e_bluez_element_property_dict_set_full()
Eina_Bool e_bluez_element_property_dict_set_full | ( | E_Bluez_Element * | element, |
const char * | prop, | ||
const char * | key, | ||
int | type, | ||
const void * | value, | ||
E_DBus_Method_Return_Cb | cb, | ||
const void * | data | ||
) |
Call method SetProperty(prop, {key: value}) at the given element on server.
This is a server call, not local, so it may fail and in that case no property is updated locally. If the value was set the event E_BLUEZ_EVENT_ELEMENT_UPDATED will be added to main loop.
- Parameters
-
element to call method on server. prop property name. key dict key name. type DBus type to use for value. value pointer to value, just like regular DBus, see dbus_message_iter_append_basic(). cb function to call when server replies or some error happens. data data to give to cb when it is called.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References _E_Bluez_Element::_pending, e_bluez_element_message_send(), e_bluez_system_bus_name_get(), ERR, _E_Bluez_Element::interface, _E_Bluez_Element::path, and _E_Bluez_Element::property_set.
◆ e_bluez_element_property_get()
Eina_Bool e_bluez_element_property_get | ( | const E_Bluez_Element * | element, |
const char * | name, | ||
int * | type, | ||
void * | value | ||
) |
Get property value given its name.
This will look into properties, to find the property. If no property is found then EINA_FALSE
is returned.
If EINA_FALSE
is returned, then this call failed and parameter-returned values shall be considered invalid.
- Parameters
-
element which element to get the property name property name type if provided it will contain the value type. value where to store the property value, must be a pointer to the exact type, (Eina_Bool *) for booleans, (char **) for strings, and so on.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References e_bluez_element_property_get_stringshared().
◆ e_bluez_element_property_get_stringshared()
Eina_Bool e_bluez_element_property_get_stringshared | ( | const E_Bluez_Element * | element, |
const char * | name, | ||
int * | type, | ||
void * | value | ||
) |
Get property value given its name.
This will look into properties, to find the property. If no property is found then EINA_FALSE
is returned.
If EINA_FALSE
is returned, then this call failed and parameter-returned values shall be considered invalid.
- Parameters
-
element which element to get the property name property name, must be previously stringshared type if provided it will contain the value type. value where to store the property value, must be a pointer to the exact type, (Eina_Bool *) for booleans, (char **) for strings, and so on.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References _E_Bluez_Element_Property::array, _E_Bluez_Element_Property::boolean, _E_Bluez_Element_Property::byte, ERR, _E_Bluez_Element_Property::name, _E_Bluez_Element::path, _E_Bluez_Element_Property::path, _E_Bluez_Element::props, _E_Bluez_Element_Property::str, _E_Bluez_Element_Property::type, _E_Bluez_Element_Property::u16, _E_Bluez_Element_Property::u32, _E_Bluez_Element_Property::value, and WRN.
Referenced by e_bluez_element_bytes_array_get_stringshared(), e_bluez_element_objects_array_get_stringshared(), e_bluez_element_property_get(), and e_bluez_element_strings_array_get_stringshared().
◆ e_bluez_element_property_set()
Eina_Bool e_bluez_element_property_set | ( | E_Bluez_Element * | element, |
const char * | prop, | ||
int | type, | ||
const void * | value | ||
) |
Call method SetProperty(prop, value) at the given element on server.
This is the simple version and there is no check of server reply for errors.
- Parameters
-
element to call method on server. prop property name. type DBus type to use for value. value pointer to value, just like regular DBus, see dbus_message_iter_append_basic().
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References e_bluez_element_property_set_full().
◆ e_bluez_element_property_set_full()
Eina_Bool e_bluez_element_property_set_full | ( | E_Bluez_Element * | element, |
const char * | prop, | ||
int | type, | ||
const void * | value, | ||
E_DBus_Method_Return_Cb | cb, | ||
const void * | data | ||
) |
Call method SetProperty(prop, value) at the given element on server.
This is a server call, not local, so it may fail and in that case no property is updated locally. If the value was set the event E_BLUEZ_EVENT_ELEMENT_UPDATED will be added to main loop.
- Parameters
-
element to call method on server. prop property name. type DBus type to use for value. value pointer to value, just like regular DBus, see dbus_message_iter_append_basic(). cb function to call when server replies or some error happens. data data to give to cb when it is called.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References _E_Bluez_Element::_pending, e_bluez_element_message_send(), e_bluez_system_bus_name_get(), ERR, _E_Bluez_Element::interface, _E_Bluez_Element::path, and _E_Bluez_Element::property_set.
Referenced by e_bluez_element_property_set().
◆ e_bluez_element_property_type_get()
Eina_Bool e_bluez_element_property_type_get | ( | const E_Bluez_Element * | element, |
const char * | name, | ||
int * | type | ||
) |
Get property type.
If EINA_FALSE
is returned, then this call failed and parameter-returned values shall be considered invalid.
- Parameters
-
element which element to get the property name property name type will contain the value type.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References e_bluez_element_property_type_get_stringshared().
◆ e_bluez_element_property_type_get_stringshared()
Eina_Bool e_bluez_element_property_type_get_stringshared | ( | const E_Bluez_Element * | element, |
const char * | name, | ||
int * | type | ||
) |
Get property type.
If EINA_FALSE
is returned, then this call failed and parameter-returned values shall be considered invalid.
- Parameters
-
element which element to get the property name property name, must be previously stringshared type will contain the value type.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
References _E_Bluez_Element_Property::name, _E_Bluez_Element::path, _E_Bluez_Element::props, _E_Bluez_Element_Property::type, and WRN.
Referenced by e_bluez_element_property_type_get().
◆ e_bluez_element_register()
E_Bluez_Element * e_bluez_element_register | ( | const char * | path, |
const char * | interface | ||
) |
Register the given path, possible creating and element and return it.
This will check if path is already registered, in that case the exiting element is returned. If it was not registered yet, a new element is created, registered and returned.
This call will not add extra references to the object.
- Parameters
-
path the path to register the element
- Returns
- the registered object, no references are added.
◆ e_bluez_element_strings_array_get_stringshared()
Eina_Bool e_bluez_element_strings_array_get_stringshared | ( | const E_Bluez_Element * | element, |
const char * | property, | ||
unsigned int * | count, | ||
const char *** | strings | ||
) |
References _E_Bluez_Array::array, e_bluez_element_property_get_stringshared(), ERR, and _E_Bluez_Array::type.
◆ e_bluez_element_unregister()
void e_bluez_element_unregister | ( | E_Bluez_Element * | element | ) |
Forget about the given element.
This will remove the element from the pool of known objects, then add an E_BLUEZ_EVENT_ELEMENT_DEL and after that will unreference it, possible freeing it.
- Parameters
-
element element to forget about. Its reference will be removed.
◆ e_bluez_elements_for_each()
void e_bluez_elements_for_each | ( | Eina_Hash_Foreach | cb, |
const void * | user_data | ||
) |
Call the given function for each existing element.
- Parameters
-
cb function to call for each element. It will get as parameters, in order: the element pointer and the given user_data. user_data data to give to cb for each element.
References e_bluez_elements_for_each_data::cb, and e_bluez_elements_for_each_data::data.
◆ e_bluez_elements_get_all()
Eina_Bool e_bluez_elements_get_all | ( | unsigned int * | count, |
E_Bluez_Element *** | p_elements | ||
) |
Get all known elements.
No reference is added to these elements, since there are no threads in the system, you are free to add references yourself right after the return of this call without race condition, elements by the system (ie: elementRemoved signal)could only be touched on the next main loop iteration.
- Parameters
-
count return the number of elements in array. p_elements array with all elements, these are not referenced and in no particular order, just set if return is 1.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
◆ e_bluez_elements_get_all_type()
Eina_Bool e_bluez_elements_get_all_type | ( | const char * | type, |
unsigned int * | count, | ||
E_Bluez_Element *** | p_elements | ||
) |
Get all known elements of type.
No reference is added to these elements, since there are no threads in the system, you are free to add references yourself right after the return of this call without race condition, elements by the system (ie: ElementRemoved signal) could only be touched on the next main loop iteration.
- Parameters
-
type type to filter, or NULL to get all. count return the number of elements in array. p_elements array with all elements, these are not referenced and in no particular order, just set if return is 1.
- Returns
EINA_TRUE
on success,EINA_FALSE
otherwise.
- See also
- e_bluez_elements_get_all()
References e_bluez_elements_get_all_str_data::count.
◆ e_bluez_elements_init()
void e_bluez_elements_init | ( | void | ) |
Creates elements hash.
This has no init counter since its already guarded by other code.
Referenced by e_bluez_manager_clear_elements().
◆ e_bluez_elements_shutdown()
void e_bluez_elements_shutdown | ( | void | ) |
Referenced by e_bluez_manager_clear_elements().
◆ e_bluez_manager_clear_elements()
void e_bluez_manager_clear_elements | ( | void | ) |
Remove all known elements.
This will remove all known elements but will NOT add any E_BLUEZ_EVENT_ELEMENT_DEL to main loop.
This is just useful to make sure next e_bluez_manager_sync_elements() will not leave any stale elements. This is unlikely to happen, as E_Bluez is supposed to catch all required events to avoid stale elements.
References e_bluez_elements_init(), and e_bluez_elements_shutdown().