pub type spa_handle_factory_enum_func_t = Option<unsafe extern "C" fn(factory: *mut *const spa_handle_factory, index: *mut u32) -> c_int>;
Expand description

The function signature of the entry point in a plugin.

\param factory a location to hold the factory result \param index index to keep track of the enumeration \return 1 on success 0 when there are no more factories -EINVAL when factory is NULL