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. |
EAPI void* ecore_hash_find | ( | Ecore_Hash * | hash, | |
Ecore_Compare_Cb | compare, | |||
const void * | value | |||
) |
Retrieves the first value that matches table.
hash | The given hash table. | |
key | The key to search for. |
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.
hash | The given hash table. | |
key | The key to search for. |
NULL
otherwise. EAPI int ecore_hash_hash_set | ( | Ecore_Hash * | hash, | |
Ecore_Hash * | set | |||
) |
Sets all key-value pairs from set in the given hash table.
hash | The given hash table. | |
set | The hash table to import. |
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.
hash | The given hash table. | |
key | The key to search for. |
NULL
is returned if there is an error. EAPI int ecore_hash_set | ( | Ecore_Hash * | hash, | |
void * | key, | |||
void * | value | |||
) |
Sets a key-value pair in the given hash table.
hash | The given hash table. | |
key | The key. | |
value | The value. |
TRUE
if successful, FALSE
if not.