librdf_stream_get_context

Name

librdf_stream_get_context --  Get the context of the current object on the stream

Synopsis

void* librdf_stream_get_context (librdf_stream* stream);

Arguments

stream

the librdf_stream object

Description

This method returns a SHARED pointer to the current context node object which should be copied by the caller to preserve it if the stream is moved on librdf_stream_next or if it should last after the stream is closed.

Return value

The context node or NULL if the stream has finished.