lib/ofono/e_ofono_network_reg.c File Reference
#include "e_ofono_private.h"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
| 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:
-
mode where 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_TRUEon success,EINA_FALSEotherwise.
References e_ofono_element_property_get_stringshared(), and e_ofono_prop_mode.
| 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:
-
operator where 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_TRUEon success,EINA_FALSEotherwise.
References e_ofono_element_property_get_stringshared(), and e_ofono_prop_operator.
| 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:
-
status where 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_TRUEon success,EINA_FALSEotherwise.
References e_ofono_element_property_get_stringshared(), and e_ofono_prop_status.
| Eina_Bool e_ofono_netreg_strength_get | ( | const E_Ofono_Element * | element, | |
| uint8_t * | strength | |||
| ) |
Get property "Strength" value.
- Parameters:
-
strength where 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_TRUEon success,EINA_FALSEotherwise.
References e_ofono_element_property_get_stringshared(), and e_ofono_prop_strength.
