"Fossies" - the Fresh Open Source Software archive

Member "redland/docs/api/r9456.html" of archive amaya-fullsrc-11.4.4.tgz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.

librdf_new_storage_from_storage

Name

librdf_new_storage_from_storage --  Copy constructor - create a new librdf_storage object from an existing one

Synopsis

librdf_storage* librdf_new_storage_from_storage (librdf_storage* old_storage);

Arguments

old_storage

the existing storage librdf_storage to use

Description

Should create a new storage in the same context as the existing one as appropriate for the storage. For example, in a RDBMS storage it would be a new database, or in on disk it would be a new set of files. This will mean automatically generating a new identifier for the storage, maybe based on the existing storage identifier.

Return value

a new librdf_storage object or NULL on failure