librdf_hash_get

Name

librdf_hash_get --  Retrieve one value from hash for a given key as string

Synopsis

char* librdf_hash_get (librdf_hash* hash, const char * 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