summaryrefslogtreecommitdiffstats
path: root/src/slv2_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-11-07 06:35:31 +0000
committerDavid Robillard <d@drobilla.net>2010-11-07 06:35:31 +0000
commit2e52630e15faf3cfbf06583fa66c82dcd172627f (patch)
treea3862dafca2bcd8f92d5d701643723755f8ece9a /src/slv2_internal.h
parent38416afb8e2d7fe432e0f8610a458e2429d17ece (diff)
downloadlilv-2e52630e15faf3cfbf06583fa66c82dcd172627f.tar.gz
lilv-2e52630e15faf3cfbf06583fa66c82dcd172627f.tar.bz2
lilv-2e52630e15faf3cfbf06583fa66c82dcd172627f.zip
Use librdf_model_find_statements instead of SPARQL for (most) simple 1-variable queries.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2667 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/slv2_internal.h')
-rw-r--r--src/slv2_internal.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/slv2_internal.h b/src/slv2_internal.h
index 8feafdd..1075703 100644
--- a/src/slv2_internal.h
+++ b/src/slv2_internal.h
@@ -80,9 +80,13 @@ void slv2_plugin_load_if_necessary(SLV2Plugin p);
void slv2_plugin_load_ports_if_necessary(SLV2Plugin p);
void slv2_plugin_free(SLV2Plugin plugin);
void slv2_plugin_get_port_float_values(SLV2Plugin p,
- const char* qname,
- float* values);
+ const char* qname,
+ float* values);
+librdf_stream* slv2_plugin_find_statements(SLV2Plugin plugin,
+ librdf_node* subject,
+ librdf_node* predicate,
+ librdf_node* object);
/* ********* Plugins ********* */
@@ -147,6 +151,7 @@ struct _SLV2World {
SLV2Plugins plugins;
librdf_node* lv2_specification_node;
librdf_node* lv2_plugin_node;
+ librdf_node* lv2_binary_node;
librdf_node* rdf_a_node;
librdf_node* xsd_integer_node;
librdf_node* xsd_decimal_node;