5 #ifndef SPA_PLUGIN_LOADER_H
6 #define SPA_PLUGIN_LOADER_H
24 #define SPA_TYPE_INTERFACE_PluginLoader SPA_TYPE_INFO_INTERFACE_BASE "PluginLoader"
26 #define SPA_VERSION_PLUGIN_LOADER 0
30 #define SPA_VERSION_PLUGIN_LOADER_METHODS 0
40 struct spa_handle *(*load) (
void *object,
const char *factory_name,
const struct spa_dict *info);
58 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:235
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:60
static int spa_plugin_loader_unload(struct spa_plugin_loader *loader, struct spa_handle *handle)
Definition: plugin-loader.h:71
#define SPA_LIKELY(x)
Definition: defs.h:345
Definition: utils/dict.h:39
Definition: plugin-loader.h:36
int(* unload)(void *object, struct spa_handle *handle)
Unload a SPA plugin.
Definition: plugin-loader.h:56
uint32_t version
Definition: plugin-loader.h:39
Definition: plugin-loader.h:34
struct spa_interface iface
Definition: plugin-loader.h:34