mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
protocol: add flags to protocol marshal
Allows us to to select marshallers for implementation and binding.
This commit is contained in:
parent
d1e331e268
commit
8ddf579cc0
11 changed files with 150 additions and 92 deletions
|
|
@ -1042,6 +1042,7 @@ static const struct pw_protocol_marshal pw_protocol_native_core_marshal = {
|
|||
PW_VERSION_CORE_V0,
|
||||
PW_CORE_PROXY_V0_METHOD_NUM,
|
||||
PW_CORE_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL,
|
||||
pw_protocol_native_core_method_demarshal,
|
||||
&pw_protocol_native_core_event_marshal,
|
||||
|
|
@ -1063,6 +1064,7 @@ static const struct pw_protocol_marshal pw_protocol_native_registry_marshal = {
|
|||
PW_VERSION_REGISTRY_V0,
|
||||
PW_REGISTRY_PROXY_V0_METHOD_NUM,
|
||||
PW_REGISTRY_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL,
|
||||
pw_protocol_native_registry_method_demarshal,
|
||||
&pw_protocol_native_registry_event_marshal,
|
||||
|
|
@ -1079,6 +1081,7 @@ static const struct pw_protocol_marshal pw_protocol_native_module_marshal = {
|
|||
PW_VERSION_MODULE_V0,
|
||||
0,
|
||||
PW_MODULE_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL, NULL,
|
||||
&pw_protocol_native_module_event_marshal,
|
||||
NULL
|
||||
|
|
@ -1094,6 +1097,7 @@ static const struct pw_protocol_marshal pw_protocol_native_factory_marshal = {
|
|||
PW_VERSION_FACTORY_V0,
|
||||
0,
|
||||
PW_FACTORY_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL, NULL,
|
||||
&pw_protocol_native_factory_event_marshal,
|
||||
NULL,
|
||||
|
|
@ -1114,6 +1118,7 @@ static const struct pw_protocol_marshal pw_protocol_native_node_marshal = {
|
|||
PW_VERSION_NODE_V0,
|
||||
PW_NODE_PROXY_V0_METHOD_NUM,
|
||||
PW_NODE_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL,
|
||||
pw_protocol_native_node_method_demarshal,
|
||||
&pw_protocol_native_node_event_marshal,
|
||||
|
|
@ -1136,6 +1141,7 @@ static const struct pw_protocol_marshal pw_protocol_native_port_marshal = {
|
|||
PW_VERSION_PORT_V0,
|
||||
PW_PORT_PROXY_V0_METHOD_NUM,
|
||||
PW_PORT_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL,
|
||||
pw_protocol_native_port_method_demarshal,
|
||||
&pw_protocol_native_port_event_marshal,
|
||||
|
|
@ -1153,6 +1159,7 @@ static const struct pw_protocol_marshal pw_protocol_native_client_marshal = {
|
|||
PW_VERSION_CLIENT_V0,
|
||||
0,
|
||||
PW_CLIENT_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL, NULL,
|
||||
&pw_protocol_native_client_event_marshal,
|
||||
NULL,
|
||||
|
|
@ -1168,6 +1175,7 @@ static const struct pw_protocol_marshal pw_protocol_native_link_marshal = {
|
|||
PW_VERSION_LINK_V0,
|
||||
0,
|
||||
PW_LINK_PROXY_EVENT_NUM,
|
||||
0,
|
||||
NULL, NULL,
|
||||
&pw_protocol_native_link_event_marshal,
|
||||
NULL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue