|
#define | SPA_CALLBACK_CHECK(c, m, v) ((c) && ((v) == 0 || (c)->version > (v)-1) && (c)->m) |
| Check if a callback c has method m of version v. More...
|
|
#define | SPA_CALLBACKS_INIT(_funcs, _data) (struct spa_callbacks){ _funcs, _data, } |
|
#define | SPA_INTERFACE_INIT(_type, _version, _funcs, _data) (struct spa_interface){ _type, _version, SPA_CALLBACKS_INIT(_funcs,_data), } |
|
#define | spa_callbacks_call(callbacks, type, method, vers, ...) |
|
#define | spa_callbacks_call_res(callbacks, type, res, method, vers, ...) |
|
#define | spa_interface_call(iface, type, method, vers, ...) spa_callbacks_call(&(iface)->cb,type,method,vers,##__VA_ARGS__) |
|
#define | spa_interface_call_res(iface, type, res, method, vers, ...) spa_callbacks_call_res(&(iface)->cb,type,res,method,vers,##__VA_ARGS__) |
|
#define | spa_hook_list_call_simple(l, type, method, vers, ...) |
|
#define | spa_hook_list_do_call(l, start, type, method, vers, once, ...) |
| Call all hooks in a list, starting from the given one and optionally stopping after calling the first non-NULL function, returns the number of methods called. More...
|
|
#define | spa_hook_list_call(l, t, m, v, ...) spa_hook_list_do_call(l,NULL,t,m,v,false,##__VA_ARGS__) |
|
#define | spa_hook_list_call_once(l, t, m, v, ...) spa_hook_list_do_call(l,NULL,t,m,v,true,##__VA_ARGS__) |
|
#define | spa_hook_list_call_start(l, s, t, m, v, ...) spa_hook_list_do_call(l,s,t,m,v,false,##__VA_ARGS__) |
|
#define | spa_hook_list_call_once_start(l, s, t, m, v, ...) spa_hook_list_do_call(l,s,t,m,v,true,##__VA_ARGS__) |
|