vg4->hash->set()
Insert an entry into a hash.
SYNTAX
void
vg4->hash->set(struct VG_Hash *hsh,
const char *key,
const void *vval,
size_t sval)
FUNCTION PARAMETERS
hsh | Hash |
key | Key |
vval | Value (may be NULL) |
sval | Number of bytes in vval |
DESCRIPTION
Insert an entry into a hash.
The key must be a string,
the vval may be an arbitrary pointer (string, structure ...),
which will be copied into the hash-entry.
SEE ALSO