diff options
author | David Robillard <d@drobilla.net> | 2007-02-18 04:16:24 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-18 04:16:24 +0000 |
commit | a80e895b0b23d478807377360b85b4bb1d7073b7 (patch) | |
tree | e2ea19db66cd44bce0d84176c4c87a90d9b5d9e0 /slv2/types.h | |
parent | 07c3b4ce3ed385368147bd4f2e058f83d9064b0d (diff) | |
download | lilv-a80e895b0b23d478807377360b85b4bb1d7073b7.tar.gz lilv-a80e895b0b23d478807377360b85b4bb1d7073b7.tar.bz2 lilv-a80e895b0b23d478807377360b85b4bb1d7073b7.zip |
Implemented discovery of plugin extension bundles.
git-svn-id: http://svn.drobilla.net/lad/slv2@309 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/types.h')
-rw-r--r-- | slv2/types.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/slv2/types.h b/slv2/types.h index 7e366ba..4fb8cf4 100644 --- a/slv2/types.h +++ b/slv2/types.h @@ -22,6 +22,7 @@ #include <stddef.h> #include <stdbool.h> #include <stdint.h> +#include <slv2/private_types.h> #ifdef __cplusplus extern "C" { @@ -72,9 +73,29 @@ typedef enum _PortClass { } SLV2PortClass; +/** Get the number of elements in a URI list. + */ +int +slv2_uri_list_size(const SLV2URIList list); + + +/** Get a URI from a URI list at the given index. + * + * @return the element at @index, or NULL if index is out of range. + */ +char* +slv2_uri_list_get_at(const SLV2URIList list, int index); + + +/** Return whether @list contains @uri. + */ +bool +slv2_uri_list_contains(const SLV2URIList list, const char* uri); + #ifdef __cplusplus } #endif + #endif /* __SLV2_TYPES_H__ */ |