[−][src]Crate lilv_sys
Structs
Constants
Functions
lilv_file_uri_parse⚠ | Convert a file URI string to a local path string.
For example, "file://foo/bar%20one/baz.ttl" returns "/foo/bar one/baz.ttl".
Return value must be freed by caller with lilv_free().
@param uri The file URI to parse.
@param hostname If non-NULL, set to the hostname in the URI, if any.
@return |
lilv_free⚠ | Free memory allocated by Lilv. |
lilv_instance_activate⚠ | Activate a plugin instance. This resets all state information in the plugin, except for port data locations (as set by lilv_instance_connect_port()). This MUST be called before calling lilv_instance_run(). |
lilv_instance_connect_port⚠ | Connect a port to a data location. This may be called regardless of whether the plugin is activated, activation and deactivation does not destroy port connections. |
lilv_instance_deactivate⚠ | Deactivate a plugin instance. Note that to run the plugin after this you must activate it, which will reset all state information (except port connections). |
lilv_instance_free⚠ | Free a plugin instance.
It is safe to call this function on NULL.
|
lilv_instance_get_descriptor⚠ | Get the LV2_Descriptor of the plugin instance. Normally hosts should not need to access the LV2_Descriptor directly, use the lilv_instance_* functions. |
lilv_instance_get_extension_data⚠ | Get extension data from the plugin instance. The type and semantics of the data returned is specific to the particular extension, though in all cases it is shared and must not be deleted. |
lilv_instance_get_handle⚠ | Get the LV2_Handle of the plugin instance. Normally hosts should not need to access the LV2_Handle directly, use the lilv_instance_* functions. |
lilv_instance_get_uri⚠ | Connect a port to a data location. This may be called regardless of whether the plugin is activated, activation and deactivation does not destroy port connections. |
lilv_instance_run⚠ | Run |
lilv_new_bool⚠ | Create a new boolean value. Returned value must be freed by caller with lilv_node_free(). |
lilv_new_file_uri⚠ | Create a new file URI value. @param world The world. @param host Host name, or NULL. @param path Path on host. @return A new node that must be freed by caller. |
lilv_new_float⚠ | Create a new floating point value. Returned value must be freed by caller with lilv_node_free(). |
lilv_new_int⚠ | Create a new integer value. Returned value must be freed by caller with lilv_node_free(). |
lilv_new_string⚠ | Create a new string value (with no language). Returned value must be freed by caller with lilv_node_free(). |
lilv_new_uri⚠ | Create a new URI value. Returned value must be freed by caller with lilv_node_free(). |
lilv_node_as_blank⚠ | Return this value as a blank node identifier, e.g. "genid03".
Valid to call only if |
lilv_node_as_bool⚠ | Return |
lilv_node_as_float⚠ | Return |
lilv_node_as_int⚠ | Return |
lilv_node_as_string⚠ | Return |
lilv_node_as_uri⚠ | Return this value as a URI string, e.g. "http://example.org/foo".
Valid to call only if |
lilv_node_duplicate⚠ | Duplicate a LilvNode. |
lilv_node_equals⚠ | Return whether two values are equivalent. |
lilv_node_free⚠ | Free a LilvNode. It is safe to call this function on NULL. |
lilv_node_get_path⚠ | Return the path of a file URI node.
Returns NULL if |
lilv_node_get_turtle_token⚠ | Return this value as a Turtle/SPARQL token. Returned value must be freed by caller with lilv_free(). |
lilv_node_is_blank⚠ | Return whether the value is a blank node (resource with no URI). |
lilv_node_is_bool⚠ | Return whether this value is a boolean. |
lilv_node_is_float⚠ | Return whether this value is a decimal literal. |
lilv_node_is_int⚠ | Return whether this value is an integer literal. |
lilv_node_is_literal⚠ | Return whether this value is a literal (i.e. not a URI).
Returns true if |
lilv_node_is_string⚠ | Return whether this value is a string literal.
Returns true if |
lilv_node_is_uri⚠ | Return whether the value is a URI (resource). |
lilv_nodes_begin⚠ | |
lilv_nodes_contains⚠ | Return whether |
lilv_nodes_free⚠ | |
lilv_nodes_get⚠ | |
lilv_nodes_get_first⚠ | |
lilv_nodes_is_end⚠ | |
lilv_nodes_merge⚠ | Return a new LilvNodes that contains all nodes from both |
lilv_nodes_next⚠ | |
lilv_nodes_size⚠ | |
lilv_plugin_class_get_children⚠ | Get the subclasses of this plugin class. Returned value must be freed by caller with lilv_plugin_classes_free(). |
lilv_plugin_class_get_label⚠ | Get the label of this plugin class, ie "Oscillators".
Returned value is owned by |
lilv_plugin_class_get_parent_uri⚠ | Get the URI of this class' superclass.
Returned value is owned by |
lilv_plugin_class_get_uri⚠ | Get the URI of this plugin class.
Returned value is owned by |
lilv_plugin_classes_begin⚠ | |
lilv_plugin_classes_free⚠ | |
lilv_plugin_classes_get⚠ | |
lilv_plugin_classes_get_by_uri⚠ | Get a plugin class from |
lilv_plugin_classes_is_end⚠ | |
lilv_plugin_classes_next⚠ | |
lilv_plugin_classes_size⚠ | |
lilv_plugin_get_author_email⚠ | Get the email address of the plugin's author. Returns NULL if author email address is not present. Returned value must be freed by caller. |
lilv_plugin_get_author_homepage⚠ | Get the address of the plugin author's home page. Returns NULL if author homepage is not present. Returned value must be freed by caller. |
lilv_plugin_get_author_name⚠ | Get the full name of the plugin's author. Returns NULL if author name is not present. Returned value must be freed by caller. |
lilv_plugin_get_bundle_uri⚠ | Get the (resolvable) URI of the plugin's "main" bundle. This returns the URI of the bundle where the plugin itself was found. Note that the data for a plugin may be spread over many bundles, that is, lilv_plugin_get_data_uris() may return URIs which are not within this bundle. |
lilv_plugin_get_class⚠ | Get the class this plugin belongs to (e.g. Filters). |
lilv_plugin_get_data_uris⚠ | Get the (resolvable) URIs of the RDF data files that define a plugin. Typical hosts should not need to use this function. Note this always returns fully qualified URIs. If you want local filesystem paths, use lilv_file_uri_parse(). @return a list of complete URLs eg. "file:///foo/ABundle.lv2/aplug.ttl", which is shared and must not be modified or freed. |
lilv_plugin_get_extension_data⚠ | Get a sequence of all extension data provided by a plugin. This can be used to find which URIs lilv_instance_get_extension_data() will return a value for without instantiating the plugin. |
lilv_plugin_get_latency_port_index⚠ | Return the index of the plugin's latency port. It is a fatal error to call this on a plugin without checking if the port exists by first calling lilv_plugin_has_latency(). |
lilv_plugin_get_library_uri⚠ | Get the (resolvable) URI of the shared library for |
lilv_plugin_get_name⚠ | Get the name of |
lilv_plugin_get_num_ports⚠ | Get the number of ports on this plugin. |
lilv_plugin_get_num_ports_of_class⚠ | Get the number of ports on this plugin that are members of some class(es). Note that this is a varargs function so ports fitting any type 'profile' desired can be found quickly. REMEMBER TO TERMINATE THE PARAMETER LIST OF THIS FUNCTION WITH NULL OR VERY NASTY THINGS WILL HAPPEN. |
lilv_plugin_get_num_ports_of_class_va⚠ | Variant of lilv_plugin_get_num_ports_of_class() that takes a va_list. |
lilv_plugin_get_optional_features⚠ | Get the LV2 Features optionally supported by a plugin. Hosts MAY ignore optional plugin features for whatever reasons. Plugins MUST operate (at least somewhat) if they are instantiated without being passed optional features. |
lilv_plugin_get_port_by_designation⚠ | Get a port on |
lilv_plugin_get_port_by_index⚠ | Get a port on |
lilv_plugin_get_port_by_symbol⚠ | Get a port on |
lilv_plugin_get_port_ranges_float⚠ | Get the port ranges (minimum, maximum and default values) for all ports.
|
lilv_plugin_get_project⚠ | Get the project the plugin is a part of. |
lilv_plugin_get_related⚠ | Get the resources related to |
lilv_plugin_get_required_features⚠ | Get the LV2 Features required by a plugin. If a feature is required by a plugin, hosts MUST NOT use the plugin if they do not understand (or are unable to support) that feature. |
lilv_plugin_get_supported_features⚠ | Get the LV2 Features supported (required or optionally) by a plugin. A feature is "supported" by a plugin if it is required OR optional. |
lilv_plugin_get_uis⚠ | Get all UIs for |
lilv_plugin_get_uri⚠ | Get the URI of |
lilv_plugin_get_value⚠ | Get a value associated with the plugin in a plugin's data files.
|
lilv_plugin_has_extension_data⚠ | Return whether or not a plugin provides a specific extension data. |
lilv_plugin_has_feature⚠ | Return whether a feature is supported by a plugin. This will return true if the feature is an optional or required feature of the plugin. |
lilv_plugin_has_latency⚠ | Return whether or not the plugin introduces (and reports) latency. The index of the latency port can be found with lilv_plugin_get_latency_port() ONLY if this function returns true. |
lilv_plugin_instantiate⚠ | Instantiate a plugin.
The returned value is a lightweight handle for an LV2 plugin instance,
it does not refer to |
lilv_plugin_is_replaced⚠ | Return true iff |
lilv_plugin_verify⚠ | Check if |
lilv_plugin_write_description⚠ | Write the Turtle description of |
lilv_plugin_write_manifest_entry⚠ | Write a manifest entry for |
lilv_plugins_begin⚠ | |
lilv_plugins_get⚠ | |
lilv_plugins_get_by_uri⚠ | Get a plugin from |
lilv_plugins_is_end⚠ | |
lilv_plugins_next⚠ | |
lilv_plugins_size⚠ | |
lilv_port_get⚠ | Get a single property value of a port. |
lilv_port_get_classes⚠ | Get all the classes of a port. This can be used to determine if a port is an input, output, audio, control, midi, etc, etc, though it's simpler to use lilv_port_is_a(). The returned list does not include lv2:Port, which is implied. Returned value is shared and must not be destroyed by caller. |
lilv_port_get_index⚠ | Get the index of a port. The index is only valid for the life of the plugin and may change between versions. For a stable identifier, use the symbol. |
lilv_port_get_name⚠ | Get the name of a port. This is guaranteed to return the untranslated name (the doap:name in the data file without a language tag). Returned value must be freed by the caller. |
lilv_port_get_node⚠ | Get the RDF node of |
lilv_port_get_properties⚠ | Return the LV2 port properties of a port. |
lilv_port_get_range⚠ | Get the default, minimum, and maximum values of a port. |
lilv_port_get_scale_points⚠ | Get the scale points (enumeration values) of a port.
This returns a collection of 'interesting' named values of a port
(e.g. appropriate entries for a UI selector associated with this port).
Returned value may be NULL if |
lilv_port_get_symbol⚠ | Get the symbol of a port.
The 'symbol' is a short string, a valid C identifier.
Returned value is owned by |
lilv_port_get_value⚠ | Port analog of lilv_plugin_get_value(). |
lilv_port_has_property⚠ | Return whether a port has a certain property. |
lilv_port_is_a⚠ | Determine if a port is of a given class (input, output, audio, etc). For convenience/performance/extensibility reasons, hosts are expected to create a LilvNode for each port class they "care about". Well-known type URI strings are defined (e.g. LILV_URI_INPUT_PORT) for convenience, but this function is designed so that Lilv is usable with any port types without requiring explicit support in Lilv. |
lilv_port_supports_event⚠ | Return whether a port supports a certain event type. |
lilv_scale_point_get_label⚠ | Get the label of this scale point (enumeration value)
Returned value is owned by |
lilv_scale_point_get_value⚠ | Get the value of this scale point (enumeration value)
Returned value is owned by |
lilv_scale_points_begin⚠ | |
lilv_scale_points_free⚠ | |
lilv_scale_points_get⚠ | |
lilv_scale_points_is_end⚠ | |
lilv_scale_points_next⚠ | |
lilv_scale_points_size⚠ | |
lilv_state_delete⚠ | Unload a state from the world and delete all associated files. @param world The world. @param state State to remove from the system. |
lilv_state_emit_port_values⚠ | Enumerate the port values in a state snapshot.
@param state The state to retrieve port values from.
@param set_value A function to receive port values.
@param user_data User data to pass to |
lilv_state_equals⚠ | Return true iff |
lilv_state_free⚠ | Free |
lilv_state_get_label⚠ | Get the label of |
lilv_state_get_num_properties⚠ | Return the number of properties in |
lilv_state_get_plugin_uri⚠ | Get the URI of the plugin |
lilv_state_get_uri⚠ | Get the URI of |
lilv_state_new_from_file⚠ | Load a state snapshot from a file. @param world The world. @param map URID mapper. @param subject The subject of the state description (e.g. a preset URI). @param path The path of the file containing the state description. @return A new LilvState which must be freed with lilv_state_free(). |
lilv_state_new_from_instance⚠ | Create a new state snapshot from a plugin instance. |
lilv_state_new_from_string⚠ | Load a state snapshot from a string made by lilv_state_to_string(). |
lilv_state_new_from_world⚠ | Load a state snapshot from the world RDF model.
This function can be used to load the default state of a plugin by passing
the plugin URI as the |
lilv_state_restore⚠ | Restore a plugin instance from a state snapshot.
@param state The state to restore, which must apply to the correct plugin.
@param instance An instance of the plugin |
lilv_state_save⚠ | Save state to a file.
@param world The world.
@param map URID mapper.
@param unmap URID unmapper.
@param state State to save.
@param uri URI of state, may be NULL.
@param dir Path of the bundle directory to save into.
@param filename Path of the state file relative to |
lilv_state_set_label⚠ | Set the label of |
lilv_state_set_metadata⚠ | Set a metadata property on |
lilv_state_to_string⚠ | Save state to a string. This function does not use the filesystem. |
lilv_ui_get_binary_uri⚠ | Get the URI for a Plugin UI's shared library. @param ui The Plugin UI @return a shared value which must not be modified or freed. |
lilv_ui_get_bundle_uri⚠ | Get the URI for a Plugin UI's bundle. @param ui The Plugin UI @return a shared value which must not be modified or freed. |
lilv_ui_get_classes⚠ | Get the types (URIs of RDF classes) of a Plugin UI. @param ui The Plugin UI @return a shared value which must not be modified or freed. |
lilv_ui_get_uri⚠ | Get the URI of a Plugin UI. @param ui The Plugin UI @return a shared value which must not be modified or freed. |
lilv_ui_is_a⚠ | Check whether a plugin UI has a given type. @param ui The Plugin UI @param class_uri The URI of the LV2 UI type to check this UI against |
lilv_ui_is_supported⚠ | Return true iff a Plugin UI is supported as a given widget type.
@param ui The Plugin UI
@param supported_func User provided supported predicate.
@param container_type The widget type to host the UI within.
@param ui_type (Output) If non-NULL, set to the native type of the UI
which is owned by |
lilv_uis_begin⚠ | |
lilv_uis_free⚠ | |
lilv_uis_get⚠ | |
lilv_uis_get_by_uri⚠ | Get a UI from |
lilv_uis_is_end⚠ | |
lilv_uis_next⚠ | |
lilv_uis_size⚠ | |
lilv_uri_to_path⚠ | Convert a file URI string to a local path string.
For example, "file://foo/bar/baz.ttl" returns "/foo/bar/baz.ttl".
Return value is shared and must not be deleted by caller.
This function does not handle escaping correctly and should not be used for
general file URIs. Use lilv_file_uri_parse() instead.
@return |
lilv_world_ask⚠ | Return true iff a statement matching a certain pattern exists. |
lilv_world_find_nodes⚠ | Find nodes matching a triple pattern.
Either |
lilv_world_free⚠ | Destroy the world, mwahaha.
It is safe to call this function on NULL.
Note that destroying |
lilv_world_get⚠ | Find a single node that matches a pattern.
Exactly one of |
lilv_world_get_all_plugins⚠ | Return a list of all found plugins. The returned list contains just enough references to query or instantiate plugins. The data for a particular plugin will not be loaded into memory until a call to an lilv_plugin_* function results in a query (at which time the data is cached with the LilvPlugin so future queries are very fast). |
lilv_world_get_plugin_class⚠ | Get the parent of all other plugin classes, lv2:Plugin. |
lilv_world_get_plugin_classes⚠ | Return a list of all found plugin classes. Returned list is owned by world and must not be freed by the caller. |
lilv_world_get_symbol⚠ | Get an LV2 symbol for some subject. |
lilv_world_load_all⚠ | Load all installed LV2 bundles on the system. This is the recommended way for hosts to load LV2 data. It implements the established/standard best practice for discovering all LV2 data on the system. The environment variable LV2_PATH may be used to control where this function will look for bundles. |
lilv_world_load_bundle⚠ | Load a specific bundle.
|
lilv_world_load_plugin_classes⚠ | Load all plugin classes from currently loaded specifications. |
lilv_world_load_resource⚠ | Load all the data associated with the given |
lilv_world_load_specifications⚠ | Load all specifications from currently loaded bundles. |
lilv_world_new⚠ | Initialize a new, empty world. If initialization fails, NULL is returned. |
lilv_world_set_option⚠ | Set an option option for |
lilv_world_unload_bundle⚠ | Unload a specific bundle. |
lilv_world_unload_resource⚠ | Unload all the data associated with the given |
Type Definitions
FILE | |
LilvGetPortValueFunc | Function to get a port value. @param port_symbol The symbol of the port. @param user_data The user_data passed to lilv_state_new_from_instance(). @param size (Output) The size of the returned value. @param type (Output) The URID of the type of the returned value. @return A pointer to the port value. |
LilvInstance | |
LilvIter | |
LilvNode | |
LilvNodes | |
LilvPlugin | |
LilvPluginClass | |
LilvPluginClasses | |
LilvPlugins | |
LilvPort | |
LilvScalePoint | |
LilvScalePoints | |
LilvSetPortValueFunc | Function to set a port value.
@param port_symbol The symbol of the port.
@param user_data The user_data passed to lilv_state_restore().
@param size The size of |
LilvState | |
LilvUI | |
LilvUISupportedFunc | Function to determine whether a UI type is supported. |
LilvUIs | |
LilvWorld | |
_IO_lock_t | |
__builtin_va_list | |
__off64_t | |
__off_t | |
__uint32_t | |
va_list |