5 #ifndef SPA_PLUGIN_LOADER_H
6 #define SPA_PLUGIN_LOADER_H
15 #ifndef SPA_API_PLUGIN_LOADER
17 #define SPA_API_PLUGIN_LOADER SPA_API_IMPL
19 #define SPA_API_PLUGIN_LOADER static inline
32 #define SPA_TYPE_INTERFACE_PluginLoader SPA_TYPE_INFO_INTERFACE_BASE "PluginLoader"
34 #define SPA_VERSION_PLUGIN_LOADER 0
38 #define SPA_VERSION_PLUGIN_LOADER_METHODS 0
48 struct spa_handle *(*load) (
void *object,
const char *factory_name,
const struct spa_dict *info);
63 load, 0, factory_name, info);
#define spa_api_method_null_r(rtype, def, type, co, o, method, version,...)
Definition: hook.h:308
SPA_API_PLUGIN_LOADER int spa_plugin_loader_unload(struct spa_plugin_loader *loader, struct spa_handle *handle)
Definition: plugin-loader.h:77
SPA_API_PLUGIN_LOADER struct spa_handle * spa_plugin_loader_load(struct spa_plugin_loader *loader, const char *factory_name, const struct spa_dict *info)
Definition: plugin-loader.h:70
#define SPA_API_PLUGIN_LOADER
Definition: plugin-loader.h:26
Definition: plugin-loader.h:46
int(* unload)(void *object, struct spa_handle *handle)
Unload a SPA plugin.
Definition: plugin-loader.h:66
uint32_t version
Definition: plugin-loader.h:49
Definition: plugin-loader.h:44
struct spa_interface iface
Definition: plugin-loader.h:44