Synopsis
#include <liblod.h>
LODCONTEXT *
lod_create
(void
);
Description
lod_create
allocates a new liblod
context. Typically, a context is created for a single discovery
session, with its own librdf_model
and
libcurl handle. One or more URIs can be resolved
(retrieving the data related to them from Linked Open Data web servers
and populating the model), the model interrogated, and the context
eventually destroyed to free the resources associated with it.
Notes
If your application needs to call curl_global_init
with any value other than CURL_GLOBAL_ALL
, you
should invoke it prior to calling lod_create
for
the first time.