Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
cached_plugin_descriptors.h File Reference

Plugin descriptors. More...

Include dependency graph for cached_plugin_descriptors.h:

Go to the source code of this file.

Data Structures

struct  CachedPluginDescriptors
 Descriptors to be cached. More...
 

Macros

#define CACHED_PLUGIN_DESCRIPTORS_SCHEMA_VERSION   3
 

Functions

CachedPluginDescriptorscached_plugin_descriptors_new (void)
 Reads the file and fills up the object.
 
void cached_plugin_descriptors_serialize_to_file (CachedPluginDescriptors *self)
 
int cached_plugin_descriptors_is_blacklisted (CachedPluginDescriptors *self, const char *abs_path)
 Returns if the plugin at the given path is blacklisted or not.
 
const PluginDescriptorcached_plugin_descriptors_find (CachedPluginDescriptors *self, const PluginDescriptor *descr, bool check_valid, bool check_blacklisted)
 Finds a descriptor matching the given one's unique identifiers.
 
PluginDescriptor ** cached_plugin_descriptors_get (CachedPluginDescriptors *self, const char *abs_path)
 Returns the PluginDescriptor's corresponding to the .so/.dll file at the given path, if it exists and the MD5 hash matches.
 
void cached_plugin_descriptors_blacklist (CachedPluginDescriptors *self, const char *abs_path, int _serialize)
 Appends a descriptor to the cache.
 
void cached_plugin_descriptors_replace (CachedPluginDescriptors *self, const PluginDescriptor *_new_descr, bool _serialize)
 Replaces a descriptor in the cache.
 
void cached_plugin_descriptors_add (CachedPluginDescriptors *self, const PluginDescriptor *descr, int _serialize)
 Appends a descriptor to the cache.
 
void cached_plugin_descriptors_clear (CachedPluginDescriptors *self)
 Clears the descriptors and removes the cache file.
 
void cached_plugin_descriptors_free (CachedPluginDescriptors *self)
 

Detailed Description

Plugin descriptors.

Definition in file cached_plugin_descriptors.h.