diff options
author | David Robillard <d@drobilla.net> | 2011-12-16 04:59:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-12-16 04:59:14 +0000 |
commit | b8eb516e97042ca9559aaa506becf504180df0a8 (patch) | |
tree | 26fdb669e20b70b9927c1bd62723c48b6947dddc /src/lilv_internal.h | |
parent | 3af74220b27e5b5b2bfa7061eb773d0a563d2600 (diff) | |
download | lilv-b8eb516e97042ca9559aaa506becf504180df0a8.tar.gz lilv-b8eb516e97042ca9559aaa506becf504180df0a8.tar.bz2 lilv-b8eb516e97042ca9559aaa506becf504180df0a8.zip |
Fix lilv_world_find_nodes to work with wildcard subjects.
Add lilv_plugin_get_related to get resources related to plugins that
are not directly rdfs:seeAlso linked (e.g. presets).
Add lilv_world_load_resource for related resources (e.g. presets).
Print presets in lv2info.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3877 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/lilv_internal.h')
-rw-r--r-- | src/lilv_internal.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lilv_internal.h b/src/lilv_internal.h index 710d00f..a700d6f 100644 --- a/src/lilv_internal.h +++ b/src/lilv_internal.h @@ -129,6 +129,7 @@ struct LilvWorldImpl { LilvPluginClasses* plugin_classes; LilvSpec* specs; LilvPlugins* plugins; + LilvNodes* loaded_files; SordNode* dc_replaces_node; SordNode* dyn_manifest_node; SordNode* lv2_binary_node; @@ -153,6 +154,7 @@ struct LilvWorldImpl { SordNode* xsd_double_node; SordNode* xsd_integer_node; LilvNode* doap_name_val; + LilvNode* lv2_applies_to_val; LilvNode* lv2_extensionData_val; LilvNode* lv2_name_val; LilvNode* lv2_optionalFeature_val; @@ -256,6 +258,9 @@ int lilv_header_compare_by_uri(const void* a, const void* b, void* user_data); int lilv_ptr_cmp(const void* a, const void* b, void* user_data); +int +lilv_resource_node_cmp(const void* a, const void* b, void* user_data); + struct LilvHeader* lilv_collection_get_by_uri(const ZixTree* seq, const LilvNode* uri); @@ -306,7 +311,8 @@ static inline bool lilv_matches_end(SordIter* matches) { } LilvNodes* lilv_nodes_from_stream_objects(LilvWorld* w, - SordIter* stream); + SordIter* stream, + bool object); char* lilv_strjoin(const char* first, ...); char* lilv_strdup(const char* str); |