Ecore_Data_Hash_ADT_Data_Group (3) - Linux Manuals
Ecore_Data_Hash_ADT_Data_Group: Functions that set, access and delete values from the hash tables.
NAME
Hash Data Functions - Functions that set, access and delete values from the hash tables.
Functions
EAPI int ecore_hash_set (Ecore_Hash *hash, void *key, void *value)
Sets a key-value pair in the given hash table.
EAPI int ecore_hash_hash_set (Ecore_Hash *hash, Ecore_Hash *set)
Sets all key-value pairs from set in the given hash table.
EAPI void * ecore_hash_get (Ecore_Hash *hash, const void *key)
Retrieves the value associated with the given key from the given hash table.
EAPI void * ecore_hash_remove (Ecore_Hash *hash, const void *key)
Removes the value associated with the given key in the given hash table.
EAPI void * ecore_hash_find (Ecore_Hash *hash, Ecore_Compare_Cb compare, const void *value)
Retrieves the first value that matches table.
Detailed Description
Functions that set, access and delete values from the hash tables.
Function Documentation
EAPI void* ecore_hash_find (Ecore_Hash * hash, Ecore_Compare_Cb compare, const void * value)
Retrieves the first value that matches table.
Parameters:
-
hash The given hash table.
key The key to search for.
Returns:
- The value corresponding to key on success, NULL otherwise.
EAPI void* ecore_hash_get (Ecore_Hash * hash, const void * key)
Retrieves the value associated with the given key from the given hash table.
Parameters:
-
hash The given hash table.
key The key to search for.
Returns:
- The value corresponding to key on success, NULL otherwise.
Referenced by ecore_plugin_available_get(), ecore_string_instance(), and ecore_string_release().
EAPI int ecore_hash_hash_set (Ecore_Hash * hash, Ecore_Hash * set)
Sets all key-value pairs from set in the given hash table.
Parameters:
-
hash The given hash table.
set The hash table to import.
Returns:
- TRUE if successful, FALSE if not.
EAPI void* ecore_hash_remove (Ecore_Hash * hash, const void * key)
Removes the value associated with the given key in the given hash table.
Parameters:
-
hash The given hash table.
key The key to search for.
Returns:
- The value corresponding to the key on success. NULL is returned if there is an error.
Referenced by ecore_string_release().
EAPI int ecore_hash_set (Ecore_Hash * hash, void * key, void * value)
Sets a key-value pair in the given hash table.
Parameters:
-
hash The given hash table.
key The key.
value The value.
Returns:
- TRUE if successful, FALSE if not.
Referenced by ecore_plugin_available_get(), and ecore_string_instance().
Author
Generated automatically by Doxygen for Ecore from the source code.