#include <stddef.h>
#include <stdio.h>
#include <Eina.h>
#include <eina_safety_checks.h>
#include "E_Ofono.h"
Go to the source code of this file.
|
void * | alloca (size_t) |
|
Eina_Bool | e_ofono_element_call_full (E_Ofono_Element *element, const char *method_name, const char *interface, E_DBus_Method_Return_Cb cb, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
|
Eina_Bool | e_ofono_element_call_with_path (E_Ofono_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_ofono_element_call_with_path_and_string (E_Ofono_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_ofono_element_call_with_string (E_Ofono_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_ofono_element_message_send (E_Ofono_Element *element, const char *method_name, const char *interface, E_DBus_Method_Return_Cb cb, DBusMessage *msg, Eina_Inlist **pending, E_DBus_Method_Return_Cb user_cb, const void *user_data) |
|
E_Ofono_Element * | e_ofono_element_register (const char *path, const char *interface) |
|
void | e_ofono_element_unregister (E_Ofono_Element *element) |
|
void | e_ofono_elements_init (void) |
|
void | e_ofono_elements_shutdown (void) |
|
void | e_ofono_manager_clear_elements (void) |
|
const char * | e_ofono_system_bus_name_get (void) |
|
◆ _dbus_iter_type_check
#define _dbus_iter_type_check |
( |
|
t, |
|
|
|
e |
|
) |
| __dbus_iter_type_check(t, e, # e) |
◆ DBG
◆ EINA_LOG_DEFAULT_COLOR
#define EINA_LOG_DEFAULT_COLOR EINA_COLOR_CYAN |
◆ ERR
◆ INF
◆ WRN
◆ E_Ofono_Array
◆ alloca()
◆ e_ofono_element_call_full()
◆ e_ofono_element_call_with_path()
◆ e_ofono_element_call_with_path_and_string()
◆ e_ofono_element_call_with_string()
◆ e_ofono_element_message_send()
Send message with callbacks set to work with ofono elements.
If this call fails (returns 0), pending callbacks will not be called, not even with error messages.
- Returns
EINA_TRUE
on success, EINA_FALSE
otherwise.
References _E_Ofono_Element_Call_Data::cb, _E_Ofono_Element_Pending::data, e_dbus_message_send(), e_ofono_conn, _E_Ofono_Element_Call_Data::element, ERR, _E_Ofono_Element_Call_Data::p_list, _E_Ofono_Element_Pending::pending, _E_Ofono_Element_Call_Data::pending, _E_Ofono_Element_Pending::user_cb, and _E_Ofono_Element_Pending::user_data.
Referenced by e_ofono_element_call_full(), e_ofono_element_call_with_path(), e_ofono_element_call_with_path_and_string(), e_ofono_element_call_with_string(), e_ofono_element_property_dict_set_full(), e_ofono_element_property_set_full(), and e_ofono_sms_send_message().
◆ e_ofono_element_register()
E_Ofono_Element * e_ofono_element_register |
( |
const char * |
path, |
|
|
const char * |
interface |
|
) |
| |
Register the given pair (path, interface), possibly creating an element and return it.
This will check if (path, interface) 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.
References MAX_KEY_SIZE.
◆ e_ofono_element_unregister()
Forget about the given element.
This will remove the element from the pool of known objects, then add an E_OFONO_EVENT_ELEMENT_DEL and after that will unreference it, possible freeing it.
- Parameters
-
element | element to forget about. Its reference will be removed. |
References _E_Ofono_Element::interface, MAX_KEY_SIZE, and _E_Ofono_Element::path.
◆ e_ofono_elements_init()
void e_ofono_elements_init |
( |
void |
| ) |
|
◆ e_ofono_elements_shutdown()
void e_ofono_elements_shutdown |
( |
void |
| ) |
|
◆ e_ofono_manager_clear_elements()
void e_ofono_manager_clear_elements |
( |
void |
| ) |
|
◆ e_ofono_system_bus_name_get()
const char * e_ofono_system_bus_name_get |
( |
void |
| ) |
|
◆ _e_dbus_ofono_log_dom
int _e_dbus_ofono_log_dom |
|
extern |
◆ e_ofono_conn
◆ e_ofono_iface_manager
const char* e_ofono_iface_manager |
|
extern |
◆ e_ofono_iface_modem
const char* e_ofono_iface_modem |
|
extern |
◆ e_ofono_iface_netreg
const char* e_ofono_iface_netreg |
|
extern |
◆ e_ofono_iface_sms
const char* e_ofono_iface_sms |
|
extern |
◆ e_ofono_method_send_sms
const char* e_ofono_method_send_sms |
|
extern |
◆ e_ofono_prop_interfaces
const char* e_ofono_prop_interfaces |
|
extern |
◆ e_ofono_prop_mode
const char* e_ofono_prop_mode |
|
extern |
◆ e_ofono_prop_modems
const char* e_ofono_prop_modems |
|
extern |
◆ e_ofono_prop_name
const char* e_ofono_prop_name |
|
extern |
◆ e_ofono_prop_operator
const char* e_ofono_prop_operator |
|
extern |
◆ e_ofono_prop_powered
const char* e_ofono_prop_powered |
|
extern |
◆ e_ofono_prop_sca
const char* e_ofono_prop_sca |
|
extern |
◆ e_ofono_prop_status
const char* e_ofono_prop_status |
|
extern |
◆ e_ofono_prop_strength
const char* e_ofono_prop_strength |
|
extern |