[][src]Function lilv_sys::lilv_plugin_get_uri

pub unsafe extern "C" fn lilv_plugin_get_uri(
    plugin: *const LilvPlugin
) -> *const LilvNode

Get the URI of plugin. Any serialization that refers to plugins should refer to them by this. Hosts SHOULD NOT save any filesystem paths, plugin indexes, etc. in saved files; save only the URI.

The URI is a globally unique identifier for one specific plugin. Two plugins with the same URI are compatible in port signature, and should be guaranteed to work in a compatible and consistent way. If a plugin is upgraded in an incompatible way (eg if it has different ports), it MUST have a different URI than it's predecessor.

@return A shared URI value which must not be modified or freed.