PipeWire  0.2.0
protocol.c File Reference
Include dependency graph for protocol.c:

Functions

struct pw_protocolpw_protocol_new (struct pw_core *core, const char *name, size_t user_data_size)
 
void * pw_protocol_get_user_data (struct pw_protocol *protocol)
 
const struct pw_protocol_implementatonpw_protocol_get_implementation (struct pw_protocol *protocol)
 
const void * pw_protocol_get_extension (struct pw_protocol *protocol)
 
void pw_protocol_destroy (struct pw_protocol *protocol)
 
void pw_protocol_add_listener (struct pw_protocol *protocol, struct spa_hook *listener, const struct pw_protocol_events *events, void *data)
 
int pw_protocol_add_marshal (struct pw_protocol *protocol, const struct pw_protocol_marshal *marshal)
 
const struct pw_protocol_marshalpw_protocol_get_marshal (struct pw_protocol *protocol, uint32_t type)
 
struct pw_protocolpw_core_find_protocol (struct pw_core *core, const char *name)
 

Function Documentation

◆ pw_core_find_protocol()

struct pw_protocol* pw_core_find_protocol ( struct pw_core core,
const char *  name 
)

Referenced by pw_remote_new().

◆ pw_protocol_add_listener()

void pw_protocol_add_listener ( struct pw_protocol protocol,
struct spa_hook *  listener,
const struct pw_protocol_events events,
void *  data 
)

◆ pw_protocol_add_marshal()

int pw_protocol_add_marshal ( struct pw_protocol protocol,
const struct pw_protocol_marshal marshal 
)

◆ pw_protocol_destroy()

◆ pw_protocol_get_extension()

const void* pw_protocol_get_extension ( struct pw_protocol protocol)

◆ pw_protocol_get_implementation()

const struct pw_protocol_implementaton* pw_protocol_get_implementation ( struct pw_protocol protocol)

◆ pw_protocol_get_marshal()

const struct pw_protocol_marshal* pw_protocol_get_marshal ( struct pw_protocol protocol,
uint32_t  type 
)

◆ pw_protocol_get_user_data()

void* pw_protocol_get_user_data ( struct pw_protocol protocol)

◆ pw_protocol_new()

struct pw_protocol* pw_protocol_new ( struct pw_core core,
const char *  name,
size_t  user_data_size 
)