List Traversal Functions
Functions that can be used to traverse an Ecore_List. More...Functions | |
| EAPI void * | ecore_list_index_goto (Ecore_List *list, int index) |
| Make the current item the item with the given index number. | |
| EAPI void * | ecore_list_goto (Ecore_List *list, const void *data) |
Make the current item the node that contains data. | |
| EAPI void * | ecore_list_first_goto (Ecore_List *list) |
| Make the current item the first item in the list. | |
| EAPI void * | ecore_list_last_goto (Ecore_List *list) |
| Make the current item the last item in the list. | |
| EAPI int | ecore_list_for_each (Ecore_List *list, Ecore_For_Each function, void *user_data) |
Execute function for each node in list. | |
Detailed Description
Functions that can be used to traverse an Ecore_List.
Function Documentation
| EAPI void* ecore_list_first_goto | ( | Ecore_List * | list | ) | [inline] |
Make the current item the first item in the list.
- Parameters:
-
list The list.
- Returns:
- A pointer to the first item on success,
NULLon failure
Referenced by ecore_file_app_installed(), ecore_file_app_list(), ecore_file_ls(), ecore_file_path_dir_exists(), ecore_hash_keys(), ecore_path_group_available(), ecore_path_group_find(), ecore_path_group_remove(), and ecore_plugin_available_get().
| EAPI int ecore_list_for_each | ( | Ecore_List * | list, | |
| Ecore_For_Each | function, | |||
| void * | user_data | |||
| ) |
Execute function for each node in list.
- Parameters:
-
list The list. function The function to pass each node from listto.
- Returns:
- Returns
TRUEon success,FALSEon failure.
| EAPI void* ecore_list_goto | ( | Ecore_List * | list, | |
| const void * | data | |||
| ) | [inline] |
Make the current item the node that contains data.
- Parameters:
-
list The list. data The data to find.
- Returns:
- A pointer to
dataon success,NULLon failure.
Referenced by ecore_con_client_del(), ecore_con_server_del(), and ecore_plugin_unload().
| EAPI void* ecore_list_index_goto | ( | Ecore_List * | list, | |
| int | index | |||
| ) | [inline] |
Make the current item the item with the given index number.
- Parameters:
-
list The list. index The position to move the current item.
- Returns:
- A pointer to new current item on success,
NULLon failure.
| EAPI void* ecore_list_last_goto | ( | Ecore_List * | list | ) | [inline] |
Make the current item the last item in the list.
- Parameters:
-
list The list.
- Returns:
- A pointer to the last item on success,
NULLon failure.