summaryrefslogtreecommitdiffstats
path: root/src/lilv_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-29 04:05:08 +0000
committerDavid Robillard <d@drobilla.net>2011-04-29 04:05:08 +0000
commit94e46eab73854967d643b47a7140c2bcbccc0425 (patch)
treeb871e9b406c34ce23651082c44d9058737c84309 /src/lilv_internal.h
parent96e8b19074fd34896b3f6441bab391cdd5d3f1f3 (diff)
downloadlilv-94e46eab73854967d643b47a7140c2bcbccc0425.tar.gz
lilv-94e46eab73854967d643b47a7140c2bcbccc0425.tar.bz2
lilv-94e46eab73854967d643b47a7140c2bcbccc0425.zip
Move querying functions up to world level.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3232 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r--src/lilv_internal.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h
index ca553ca..6b118ee 100644
--- a/src/lilv_internal.h
+++ b/src/lilv_internal.h
@@ -344,10 +344,17 @@ void lilv_scale_point_free(LilvScalePoint* point);
/* ********* Query Results ********* */
-LilvMatches lilv_plugin_find_statements(const LilvPlugin* plugin,
- LilvNode subject,
- LilvNode predicate,
- LilvNode object);
+LilvMatches
+lilv_world_query(LilvWorld* world,
+ LilvNode subject,
+ LilvNode predicate,
+ LilvNode object);
+
+LilvValues*
+lilv_world_query_values(LilvWorld* world,
+ LilvNode subject,
+ LilvNode predicate,
+ LilvNode object);
static inline bool lilv_matches_next(LilvMatches matches) {
return sord_iter_next(matches);
@@ -357,8 +364,8 @@ static inline bool lilv_matches_end(LilvMatches matches) {
return sord_iter_end(matches);
}
-LilvValues* lilv_values_from_stream_objects(const LilvPlugin* p,
- LilvMatches stream);
+LilvValues* lilv_values_from_stream_objects(LilvWorld* w,
+ LilvMatches stream);
/* ********* Utilities ********* */