mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-03 15:58:43 +00:00
Use new common demarshallers.h
Avoids mismatching duplicate declarations causing potentially ABI incompatibilities. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
3deedc3b6b
commit
c4e26a54d0
@ -94,7 +94,6 @@ libserver_la_SOURCES = \
|
||||
dcc.h \
|
||||
dcc-private.h \
|
||||
dcc-send.c \
|
||||
demarshallers.h \
|
||||
dispatcher.c \
|
||||
dispatcher.h \
|
||||
display-channel.c \
|
||||
|
||||
@ -1,30 +0,0 @@
|
||||
/*
|
||||
Copyright (C) 2010 Red Hat, Inc.
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef DEMARSHALLERS_H_
|
||||
#define DEMARSHALLERS_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
typedef void (*message_destructor_t)(uint8_t *message);
|
||||
typedef uint8_t * (*spice_parse_channel_func_t)(uint8_t *message_start, uint8_t *message_end, uint16_t message_type, int minor,
|
||||
size_t *size_out, message_destructor_t *free_message);
|
||||
|
||||
spice_parse_channel_func_t spice_get_client_channel_parser(uint32_t channel, unsigned int *max_message_type);
|
||||
|
||||
#endif /* DEMARSHALLERS_H_ */
|
||||
@ -30,7 +30,6 @@
|
||||
#include "memslot.h"
|
||||
#include "red-parse-qxl.h"
|
||||
#include "red-record-qxl.h"
|
||||
#include "demarshallers.h"
|
||||
#include "red-channel.h"
|
||||
#include "dispatcher.h"
|
||||
#include "main-channel.h"
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
#include <common/marshaller.h>
|
||||
#include <common/messages.h>
|
||||
#include <common/generated_server_marshallers.h>
|
||||
#include <common/demarshallers.h>
|
||||
|
||||
#include "demarshallers.h"
|
||||
#include "spice.h"
|
||||
#include "red-common.h"
|
||||
#include "reds.h"
|
||||
|
||||
@ -61,7 +61,6 @@ spice_server_sources = [
|
||||
'dcc.h',
|
||||
'dcc-private.h',
|
||||
'dcc-send.c',
|
||||
'demarshallers.h',
|
||||
'dispatcher.c',
|
||||
'dispatcher.h',
|
||||
'display-channel.c',
|
||||
|
||||
@ -27,8 +27,8 @@
|
||||
#include <glib-object.h>
|
||||
#include <common/ring.h>
|
||||
#include <common/marshaller.h>
|
||||
#include <common/demarshallers.h>
|
||||
|
||||
#include "demarshallers.h"
|
||||
#include "spice.h"
|
||||
#include "red-common.h"
|
||||
#include "red-stream.h"
|
||||
|
||||
@ -58,7 +58,6 @@
|
||||
#include "main-dispatcher.h"
|
||||
#include "sound.h"
|
||||
#include "stat.h"
|
||||
#include "demarshallers.h"
|
||||
#include "char-device.h"
|
||||
#include "migration-protocol.h"
|
||||
#ifdef USE_SMARTCARD
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit bb15d4815ab586b4c4a20f4a565970a44824c42c
|
||||
Subproject commit 2060672e8126ed9086dac6b70a4b138c106084a8
|
||||
Loading…
Reference in New Issue
Block a user