librdf_storage_add_statement

Name

librdf_storage_add_statement --  Add a statement to a storage

Synopsis

int librdf_storage_add_statement (librdf_storage* storage, librdf_statement* statement);

Arguments

storage

librdf_storage object

statement

librdf_statement statement to add

Description

The passed-in statement is copied when added to the store, not shared with the store.

If the statement already exists in the store, it is not added unless Redland contexts are being used.

Return value

non 0 on failure