summaryrefslogtreecommitdiffstats
path: root/src/lilv_internal.h
diff options
context:
space:
mode:
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 ********* */