Ecore_Data_Hash_ADT_Creation_Group (3) - Linux Manuals

Ecore_Data_Hash_ADT_Creation_Group: Functions that create hash tables.

NAME

Hash Creation Functions - Functions that create hash tables.

Functions


EAPI Ecore_Hash * ecore_hash_new (Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare)
Creates and initializes a new hash.
EAPI int ecore_hash_init (Ecore_Hash *hash, Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare)
Initializes the given hash.

Detailed Description

Functions that create hash tables.

Function Documentation

EAPI int ecore_hash_init (Ecore_Hash * hash, Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare)

Initializes the given hash.

Parameters:

hash The given hash.
hash_func The function used for hashing node keys.
compare The function used for comparing node keys.

Returns:

TRUE on success, FALSE on an error.

Referenced by ecore_hash_hash_set(), and ecore_hash_new().

EAPI Ecore_Hash* ecore_hash_new (Ecore_Hash_Cb hash_func, Ecore_Compare_Cb compare)

Creates and initializes a new hash.

Parameters:

hash_func The function for determining hash position.
compare The function for comparing node keys.

Returns:

NULL on error, a new hash on success.

References ecore_hash_init().

Referenced by ecore_plugin_available_get(), ecore_string_init(), and ecore_x_netwm_init().

Author

Generated automatically by Doxygen for Ecore from the source code.