VG3_hash_set()
Insert a key-value-pair into a hash.SYNTAX
void
VG3_hash_set(struct vg3_hash *hhash,
const void *key,
size_t keysize,
const void *val,
size_t valsize)
FUNCTION PARAMETERS
hhash | Hash |
key | Key: a string or a structure |
keysize | Size of the key in bytes |
val | Value: a string or a structure, or NULL = no value |
valsize | Size of the value in bytes |
DESCRIPTION
Insert a key-value-pair into a hash.
The key may be a string or a structure.
The value may also be a string or a structure or NULL.
SEE ALSO
VG3_hash_new()
VG3_hash_free()
VG3_hash_del()
VG3_hash_clear()
VG3_hash_isset()
VG3_hash_get()
VG3_hash_list()