|
|
|
@@ -16,8 +16,12 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
/** |
|
|
|
@file urid.h |
|
|
|
C header for the LV2 URID extension <http://lv2plug.in/ns/ext/urid> |
|
|
|
@defgroup urid URID |
|
|
|
|
|
|
|
Features for mapping URIs to and from integers, see |
|
|
|
<http://lv2plug.in/ns/ext/urid> for details. |
|
|
|
|
|
|
|
@{ |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef LV2_URID_H |
|
|
|
@@ -106,11 +110,11 @@ typedef struct _LV2_URID_Unmap { |
|
|
|
/** |
|
|
|
Get the URI for a previously mapped numeric ID. |
|
|
|
|
|
|
|
Returns NULL if @p urid is not yet mapped. Otherwise, the corresponding |
|
|
|
Returns NULL if `urid` is not yet mapped. Otherwise, the corresponding |
|
|
|
URI is returned in a canonical form. This MAY not be the exact same |
|
|
|
string that was originally passed to LV2_URID_Map::map(), but it MUST be |
|
|
|
an identical URI according to the URI syntax specification (RFC3986). A |
|
|
|
non-NULL return for a given @p urid will always be the same for the life |
|
|
|
non-NULL return for a given `urid` will always be the same for the life |
|
|
|
of the plugin. Plugins that intend to perform string comparison on |
|
|
|
unmapped URIs SHOULD first canonicalise URI strings with a call to |
|
|
|
map_uri() followed by a call to unmap_uri(). |
|
|
|
@@ -127,3 +131,7 @@ typedef struct _LV2_URID_Unmap { |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif /* LV2_URID_H */ |
|
|
|
|
|
|
|
/** |
|
|
|
@} |
|
|
|
*/ |