librdf_new_uri

Name

librdf_new_uri --  Constructor - create a new librdf_uri object from a URI string

Synopsis

librdf_uri* librdf_new_uri (librdf_world * world, const unsigned char * uri_string);

Arguments

world

redland world object

uri_string

URI in string form

Description

A new URI is constructed from a copy of the string. If the string is a NULL pointer or empty (0 length) then the result is NULL.

Return value

a new librdf_uri object or NULL on failure