librdf_hash_get_one

Name

librdf_hash_get_one --  Retrieve one value from hash for a given key

Synopsis

librdf_hash_datum* librdf_hash_get_one (librdf_hash* hash, librdf_hash_datum * key);

Arguments

hash

hash object

key

pointer to key

Description

The value returned is from newly allocated memory which the caller must free.

Return value

the value or NULL on failure