mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
improve interfaces
Make an interface structure to hold methods and events. Move interface setup to protocol
This commit is contained in:
parent
905743dac6
commit
7ad02f553a
13 changed files with 341 additions and 255 deletions
|
|
@ -19,16 +19,4 @@
|
|||
|
||||
#include "pinos/client/pinos.h"
|
||||
|
||||
typedef bool (*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;
|
||||
extern const PinosModuleEvent pinos_protocol_native_server_module_event;
|
||||
extern const PinosNodeEvent pinos_protocol_native_server_node_event;
|
||||
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 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[];
|
||||
bool pinos_protocol_native_server_setup (PinosResource *resource);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue