VgaGames 3 - Hashmap man-pages

[.. upper level ..]

VG3_hash_get()

Return value of a key-value-pair from a hashmap.
SYNTAX
void * VG3_hash_get(struct vg3_hash *hhash, const void *key, size_t keysize, size_t *valsize)

FUNCTION PARAMETERS
hhash Hashmap
key Key
keysize Size of the key in bytes
valsize For returning size of the value in bytes, (or NULL)

RETURN VALUE
Returns value, which could be NULL.

DESCRIPTION
Return value of a key-value-pair from a hashmap. If the return value is NULL, the key may exist in the hashmap but without a value. To check for an existing or non-existing key, use VG3_hash_isset().

SEE ALSO
VG3_hash_new() VG3_hash_free() VG3_hash_clone() VG3_hash_set() VG3_hash_setint() VG3_hash_del() VG3_hash_clear() VG3_hash_isset() VG3_hash_isnum() VG3_hash_getint() VG3_hash_list()