VG3_hash_get()
Return value of a key-value-pair from a hash.SYNTAX
const void *
VG3_hash_get(struct vg3_hash *hhash,
const void *key,
size_t keysize,
size_t *valsize)
FUNCTION PARAMETERS
hhash | Hash |
key | Key |
keysize | Size of the key in bytes |
valsize | For returning size of the value in bytes |
RETURN VALUE
Returns value, which could be NULL.
DESCRIPTION
Return value of a key-value-pair from a hash.
If the return value is NULL the key may be exist in the hash
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_set()
VG3_hash_del()
VG3_hash_clear()
VG3_hash_isset()
VG3_hash_list()