mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
protocol-native: move to separate file
Move protocol-native to separate client and server file
This commit is contained in:
parent
b9a0b067be
commit
842d73ca4b
10 changed files with 1196 additions and 1061 deletions
34
pinos/server/protocol-native.h
Normal file
34
pinos/server/protocol-native.h
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
/* Pinos
|
||||
* Copyright (C) 2017 Wim Taymans <wim.taymans@gmail.com>
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Library General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Library General Public
|
||||
* License along with this library; if not, write to the
|
||||
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||
* Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "pinos/client/pinos.h"
|
||||
|
||||
typedef void (*PinosMarshallFunc) (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 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[];
|
||||
Loading…
Add table
Add a link
Reference in a new issue