mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
Rework serialization
Move serialization to the protocol, we now just send blocks of bytes over the connection and let the protocol deserialize them.
This commit is contained in:
parent
842d73ca4b
commit
41399b0b25
26 changed files with 1617 additions and 2501 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "pinos/client/pinos.h"
|
||||
|
||||
typedef void (*PinosMarshallFunc) (void *object, void *data, size_t size);
|
||||
typedef void (*PinosDemarshalFunc) (void *object, void *data, size_t size);
|
||||
|
||||
extern const PinosCoreEvent pinos_protocol_native_server_core_event;
|
||||
extern const PinosRegistryEvent pinos_protocol_native_server_registry_event;
|
||||
|
|
@ -29,6 +29,6 @@ extern const PinosClientEvent pinos_protocol_native_server_client_event;
|
|||
extern const PinosClientNodeEvent pinos_protocol_native_server_client_node_events;
|
||||
extern const PinosLinkEvent pinos_protocol_native_server_link_event;
|
||||
|
||||
extern const PinosMarshallFunc pinos_protocol_native_server_core_marshall[];
|
||||
extern const PinosMarshallFunc pinos_protocol_native_server_registry_marshall[];
|
||||
extern const PinosMarshallFunc pinos_protocol_native_server_client_node_marshall[];
|
||||
extern const PinosDemarshalFunc pinos_protocol_native_server_core_demarshal[];
|
||||
extern const PinosDemarshalFunc pinos_protocol_native_server_registry_demarshal[];
|
||||
extern const PinosDemarshalFunc pinos_protocol_native_server_client_node_demarshal[];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue