25 #ifndef SPA_PLUGIN_LOADER_H
26 #define SPA_PLUGIN_LOADER_H
44 #define SPA_TYPE_INTERFACE_PluginLoader SPA_TYPE_INFO_INTERFACE_BASE "PluginLoader"
46 #define SPA_VERSION_PLUGIN_LOADER 0
50 #define SPA_VERSION_PLUGIN_LOADER_METHODS 0
60 struct spa_handle *(*load) (
void *object,
const char *factory_name,
const struct spa_dict *info);
78 load, 0, factory_name, info);
#define spa_interface_call_res(iface, method_type, res, method, vers,...)
Invoke method named method in the callbacks on the given interface object.
Definition: hook.h:255
static 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:80
static int spa_plugin_loader_unload(struct spa_plugin_loader *loader, struct spa_handle *handle)
Definition: plugin-loader.h:91
#define SPA_LIKELY(x)
Definition: defs.h:313
Definition: plugin-loader.h:56
int(* unload)(void *object, struct spa_handle *handle)
Unload a SPA plugin.
Definition: plugin-loader.h:76
uint32_t version
Definition: plugin-loader.h:59
Definition: plugin-loader.h:54
struct spa_interface iface
Definition: plugin-loader.h:54