PipeWire  0.1.4
core.c File Reference
Include dependency graph for core.c:

Functions

const struct pw_core_infopw_core_get_info (struct pw_core *core)
 
struct pw_globalpw_core_get_global (struct pw_core *core)
 
void pw_core_add_listener (struct pw_core *core, struct spa_hook *listener, const struct pw_core_events *events, void *data)
 
void pw_core_set_permission_callback (struct pw_core *core, pw_permission_func_t callback, void *data)
 
struct pw_typepw_core_get_type (struct pw_core *core)
 
const struct spa_support * pw_core_get_support (struct pw_core *core, uint32_t *n_support)
 
struct pw_looppw_core_get_main_loop (struct pw_core *core)
 
const struct pw_propertiespw_core_get_properties (struct pw_core *core)
 
bool pw_core_for_each_global (struct pw_core *core, bool(*callback)(void *data, struct pw_global *global), void *data)
 iterate the globals More...
 
struct pw_globalpw_core_find_global (struct pw_core *core, uint32_t id)
 

Function Documentation

◆ pw_core_add_listener()

void pw_core_add_listener ( struct pw_core core,
struct spa_hook *  listener,
const struct pw_core_events events,
void *  data 
)

◆ pw_core_find_global()

struct pw_global* pw_core_find_global ( struct pw_core core,
uint32_t  id 
)

References pw_core::globals.

◆ pw_core_for_each_global()

bool pw_core_for_each_global ( struct pw_core core,
bool(*)(void *data, struct pw_global *global)  callback,
void *  data 
)

iterate the globals

References pw_core::global_list, and pw_global::link.

◆ pw_core_get_global()

struct pw_global* pw_core_get_global ( struct pw_core core)

References pw_core::global.

◆ pw_core_get_info()

const struct pw_core_info* pw_core_get_info ( struct pw_core core)

References pw_core::info.

◆ pw_core_get_main_loop()

struct pw_loop* pw_core_get_main_loop ( struct pw_core core)

References pw_core::main_loop.

◆ pw_core_get_properties()

const struct pw_properties* pw_core_get_properties ( struct pw_core core)

References pw_core::properties.

◆ pw_core_get_support()

const struct spa_support* pw_core_get_support ( struct pw_core core,
uint32_t *  n_support 
)

◆ pw_core_get_type()

struct pw_type* pw_core_get_type ( struct pw_core core)

References pw_core::type.

◆ pw_core_set_permission_callback()

void pw_core_set_permission_callback ( struct pw_core core,
pw_permission_func_t  callback,
void *  data 
)