e_ofono_network_reg.c File Reference
#include "e_ofono_private.h"
+ Include dependency graph for e_ofono_network_reg.c:

Functions

Eina_Bool e_ofono_netreg_mode_get (const E_Ofono_Element *element, const char **mode)
 
Eina_Bool e_ofono_netreg_operator_get (const E_Ofono_Element *element, const char **op)
 
Eina_Bool e_ofono_netreg_status_get (const E_Ofono_Element *element, const char **status)
 
Eina_Bool e_ofono_netreg_strength_get (const E_Ofono_Element *element, uint8_t *strength)
 

Function Documentation

◆ e_ofono_netreg_mode_get()

Eina_Bool e_ofono_netreg_mode_get ( const E_Ofono_Element element,
const char **  mode 
)

Get property "Mode" value.

If this property isn't found then 0 is returned. If zero is returned, then this call failed and parameter-returned values shall be considered invalid.

Parameters
modewhere to store the property value, must be a pointer to string (const char **), it will not be allocated or copied and references will be valid until element changes, so copy it if you want to use it later.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References e_ofono_element_property_get_stringshared(), and e_ofono_prop_mode.

◆ e_ofono_netreg_operator_get()

Eina_Bool e_ofono_netreg_operator_get ( const E_Ofono_Element element,
const char **  op 
)

Get property "Operator" value.

If this property isn't found then 0 is returned. If zero is returned, then this call failed and parameter-returned values shall be considered invalid.

Parameters
operatorwhere to store the property value, must be a pointer to string (const char **), it will not be allocated or copied and references will be valid until element changes, so copy it if you want to use it later.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References e_ofono_element_property_get_stringshared(), and e_ofono_prop_operator.

◆ e_ofono_netreg_status_get()

Eina_Bool e_ofono_netreg_status_get ( const E_Ofono_Element element,
const char **  status 
)

Get property "Status" value.

If this property isn't found then 0 is returned. If zero is returned, then this call failed and parameter-returned values shall be considered invalid.

Parameters
statuswhere to store the property value, must be a pointer to string (const char **), it will not be allocated or copied and references will be valid until element changes, so copy it if you want to use it later.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References e_ofono_element_property_get_stringshared(), and e_ofono_prop_status.

◆ e_ofono_netreg_strength_get()

Eina_Bool e_ofono_netreg_strength_get ( const E_Ofono_Element element,
uint8_t *  strength 
)

Get property "Strength" value.

Parameters
strengthwhere to store the property value, must be a pointer to char (char *), it will not be allocated or copied and references will be valid until element changes, so copy it if you want to use it later.
Returns
EINA_TRUE on success, EINA_FALSE otherwise.

References e_ofono_element_property_get_stringshared(), and e_ofono_prop_strength.