|
PipeWire
0.1.7
|
Go to the source code of this file.
Data Structures | |
| struct | pw_protocol_client |
| struct | pw_protocol_server |
| struct | pw_protocol_marshal |
| struct | pw_protocol_implementaton |
| struct | pw_protocol_events |
Macros | |
| #define | PW_TYPE__Protocol "PipeWire:Protocol" |
| #define | PW_TYPE_PROTOCOL_BASE PW_TYPE__Protocol ":" |
| #define | pw_protocol_client_connect(c) ((c)->connect(c)) |
| #define | pw_protocol_client_connect_fd(c, fd) ((c)->connect_fd(c,fd)) |
| #define | pw_protocol_client_disconnect(c) ((c)->disconnect(c)) |
| #define | pw_protocol_client_destroy(c) ((c)->destroy(c)) |
| #define | pw_protocol_server_destroy(l) ((l)->destroy(l)) |
| #define | PW_VERSION_PROTOCOL_IMPLEMENTATION 0 |
| #define | PW_VERSION_PROTOCOL_EVENTS 0 |
| #define | pw_protocol_new_client(p, ...) (pw_protocol_get_implementation(p)->new_client(p,__VA_ARGS__)) |
| #define | pw_protocol_add_server(p, ...) (pw_protocol_get_implementation(p)->add_server(p,__VA_ARGS__)) |
| #define | pw_protocol_ext(p, type, method, ...) (((type*)pw_protocol_get_extension(p))->method( __VA_ARGS__)) |
Functions | |
| struct pw_protocol * | pw_protocol_new (struct pw_core *core, const char *name, size_t user_data_size) |
| void | pw_protocol_destroy (struct pw_protocol *protocol) |
| void * | pw_protocol_get_user_data (struct pw_protocol *protocol) |
| const struct pw_protocol_implementaton * | pw_protocol_get_implementation (struct pw_protocol *protocol) |
| const void * | pw_protocol_get_extension (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) |
| void | pw_protocol_add_marshal (struct pw_protocol *protocol, const struct pw_protocol_marshal *marshal) |
| const struct pw_protocol_marshal * | pw_protocol_get_marshal (struct pw_protocol *protocol, uint32_t type) |
| struct pw_protocol * | pw_core_find_protocol (struct pw_core *core, const char *name) |
| #define pw_protocol_add_server | ( | p, | |
| ... | |||
| ) | (pw_protocol_get_implementation(p)->add_server(p,__VA_ARGS__)) |
| #define pw_protocol_client_connect | ( | c | ) | ((c)->connect(c)) |
Referenced by pw_remote_connect().
| #define pw_protocol_client_connect_fd | ( | c, | |
| fd | |||
| ) | ((c)->connect_fd(c,fd)) |
Referenced by pw_remote_connect_fd().
| #define pw_protocol_client_destroy | ( | c | ) | ((c)->destroy(c)) |
Referenced by pw_protocol_destroy(), and pw_remote_destroy().
| #define pw_protocol_client_disconnect | ( | c | ) | ((c)->disconnect(c)) |
Referenced by pw_remote_disconnect().
| #define pw_protocol_ext | ( | p, | |
| type, | |||
| method, | |||
| ... | |||
| ) | (((type*)pw_protocol_get_extension(p))->method( __VA_ARGS__)) |
| #define pw_protocol_new_client | ( | p, | |
| ... | |||
| ) | (pw_protocol_get_implementation(p)->new_client(p,__VA_ARGS__)) |
Referenced by pw_remote_new().
| #define pw_protocol_server_destroy | ( | l | ) | ((l)->destroy(l)) |
Referenced by pw_protocol_destroy().
| #define PW_TYPE__Protocol "PipeWire:Protocol" |
| #define PW_TYPE_PROTOCOL_BASE PW_TYPE__Protocol ":" |
| #define PW_VERSION_PROTOCOL_EVENTS 0 |
| #define PW_VERSION_PROTOCOL_IMPLEMENTATION 0 |
| struct pw_protocol* pw_core_find_protocol | ( | struct pw_core * | core, |
| const char * | name | ||
| ) |
Referenced by pw_remote_new().
| void pw_protocol_add_listener | ( | struct pw_protocol * | protocol, |
| struct spa_hook * | listener, | ||
| const struct pw_protocol_events * | events, | ||
| void * | data | ||
| ) |
| void pw_protocol_add_marshal | ( | struct pw_protocol * | protocol, |
| const struct pw_protocol_marshal * | marshal | ||
| ) |
References pw_protocol_marshal::type, and pw_protocol_marshal::version.
| void pw_protocol_destroy | ( | struct pw_protocol * | protocol | ) |
| const void* pw_protocol_get_extension | ( | struct pw_protocol * | protocol | ) |
| const struct pw_protocol_implementaton* pw_protocol_get_implementation | ( | struct pw_protocol * | protocol | ) |
| const struct pw_protocol_marshal* pw_protocol_get_marshal | ( | struct pw_protocol * | protocol, |
| uint32_t | type | ||
| ) |
Referenced by pw_proxy::pw_proxy_new(), and pw_resource_new().
| void* pw_protocol_get_user_data | ( | struct pw_protocol * | protocol | ) |
| struct pw_protocol* pw_protocol_new | ( | struct pw_core * | core, |
| const char * | name, | ||
| size_t | user_data_size | ||
| ) |