mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-27 07:29:32 +00:00
server: misc header cleanups
Signed-off-by: Marc-André Lureau <marcandre.lureau@gmail.com> Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
24da6bcd37
commit
febaed3529
@ -117,6 +117,8 @@ libspice_server_la_SOURCES = \
|
|||||||
sw-canvas.h \
|
sw-canvas.h \
|
||||||
sound.c \
|
sound.c \
|
||||||
sound.h \
|
sound.h \
|
||||||
|
spice-experimental.h \
|
||||||
|
spice.h \
|
||||||
stat.h \
|
stat.h \
|
||||||
spicevmc.c \
|
spicevmc.c \
|
||||||
spice_timer_queue.c \
|
spice_timer_queue.c \
|
||||||
|
|||||||
@ -18,8 +18,7 @@
|
|||||||
#ifndef DISPATCHER_H
|
#ifndef DISPATCHER_H
|
||||||
#define DISPATCHER_H
|
#define DISPATCHER_H
|
||||||
|
|
||||||
#include <spice.h>
|
#include "red-common.h"
|
||||||
#include "utils.h"
|
|
||||||
|
|
||||||
typedef struct Dispatcher Dispatcher;
|
typedef struct Dispatcher Dispatcher;
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,8 @@
|
|||||||
#ifndef GLZ_ENCODER_PRIV_H_
|
#ifndef GLZ_ENCODER_PRIV_H_
|
||||||
#define GLZ_ENCODER_PRIV_H_
|
#define GLZ_ENCODER_PRIV_H_
|
||||||
|
|
||||||
|
#include "red-common.h"
|
||||||
|
|
||||||
/* Interface for using the dictionary for encoding.
|
/* Interface for using the dictionary for encoding.
|
||||||
Data structures are exposed for the encoder for efficiency
|
Data structures are exposed for the encoder for efficiency
|
||||||
purposes. */
|
purposes. */
|
||||||
|
|||||||
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
/* Manging the lz encoding using a dictionary that is shared among encoders */
|
/* Manging the lz encoding using a dictionary that is shared among encoders */
|
||||||
|
|
||||||
#include <stdint.h>
|
#include "red-common.h"
|
||||||
#include "common/lz_common.h"
|
#include "common/lz_common.h"
|
||||||
#include "glz-encoder-dict.h"
|
#include "glz-encoder-dict.h"
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,6 @@
|
|||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include "red-common.h"
|
|
||||||
#include "memslot.h"
|
#include "memslot.h"
|
||||||
|
|
||||||
static unsigned long __get_clean_virt(RedMemSlotInfo *info, QXLPHYSICAL addr)
|
static unsigned long __get_clean_virt(RedMemSlotInfo *info, QXLPHYSICAL addr)
|
||||||
|
|||||||
@ -18,16 +18,25 @@
|
|||||||
#ifndef _H_RED_COMMON
|
#ifndef _H_RED_COMMON
|
||||||
#define _H_RED_COMMON
|
#define _H_RED_COMMON
|
||||||
|
|
||||||
#include <spice/macros.h>
|
#include <glib.h>
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "common/mem.h"
|
#include <errno.h>
|
||||||
#include "common/spice_common.h"
|
#include <stdbool.h>
|
||||||
#include "common/messages.h"
|
#include <stdint.h>
|
||||||
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
|
#include <spice/macros.h>
|
||||||
|
#include "common/log.h"
|
||||||
#include "common/lz_common.h"
|
#include "common/lz_common.h"
|
||||||
|
#include "common/marshaller.h"
|
||||||
|
#include "common/mem.h"
|
||||||
|
#include "common/messages.h"
|
||||||
|
#include "common/ring.h"
|
||||||
|
#include "common/spice_common.h"
|
||||||
|
#include "common/draw.h"
|
||||||
|
|
||||||
#include "spice.h"
|
#include "spice.h"
|
||||||
|
#include "utils.h"
|
||||||
#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@ -18,8 +18,6 @@
|
|||||||
#ifndef _H_RED_DISPATCHER
|
#ifndef _H_RED_DISPATCHER
|
||||||
#define _H_RED_DISPATCHER
|
#define _H_RED_DISPATCHER
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include "red-channel.h"
|
#include "red-channel.h"
|
||||||
|
|
||||||
typedef struct RedDispatcher RedDispatcher;
|
typedef struct RedDispatcher RedDispatcher;
|
||||||
|
|||||||
@ -18,9 +18,6 @@
|
|||||||
#ifndef _H_REDWORKER
|
#ifndef _H_REDWORKER
|
||||||
#define _H_REDWORKER
|
#define _H_REDWORKER
|
||||||
|
|
||||||
#include <unistd.h>
|
|
||||||
#include <errno.h>
|
|
||||||
#include "utils.h"
|
|
||||||
#include "red-common.h"
|
#include "red-common.h"
|
||||||
#include "red-dispatcher.h"
|
#include "red-dispatcher.h"
|
||||||
#include "red-parse-qxl.h"
|
#include "red-parse-qxl.h"
|
||||||
|
|||||||
@ -58,7 +58,6 @@
|
|||||||
#include "agent-msg-filter.h"
|
#include "agent-msg-filter.h"
|
||||||
#include "inputs-channel.h"
|
#include "inputs-channel.h"
|
||||||
#include "main-channel.h"
|
#include "main-channel.h"
|
||||||
#include "red-common.h"
|
|
||||||
#include "red-dispatcher.h"
|
#include "red-dispatcher.h"
|
||||||
#include "main-dispatcher.h"
|
#include "main-dispatcher.h"
|
||||||
#include "sound.h"
|
#include "sound.h"
|
||||||
|
|||||||
@ -18,7 +18,6 @@
|
|||||||
#ifndef SPICE_BITMAP_UTILS_H_
|
#ifndef SPICE_BITMAP_UTILS_H_
|
||||||
#define SPICE_BITMAP_UTILS_H_
|
#define SPICE_BITMAP_UTILS_H_
|
||||||
|
|
||||||
#include <glib.h>
|
|
||||||
#include "red-common.h"
|
#include "red-common.h"
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|||||||
@ -17,9 +17,6 @@
|
|||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "common/spice_common.h"
|
|
||||||
|
|
||||||
#include "sw-canvas.h"
|
#include "sw-canvas.h"
|
||||||
#define SW_CANVAS_IMAGE_CACHE
|
#define SW_CANVAS_IMAGE_CACHE
|
||||||
#include "common/sw_canvas.c"
|
#include "common/sw_canvas.c"
|
||||||
|
|||||||
@ -18,11 +18,9 @@
|
|||||||
#ifndef UTILS_H_
|
#ifndef UTILS_H_
|
||||||
# define UTILS_H_
|
# define UTILS_H_
|
||||||
|
|
||||||
#include <glib.h>
|
#include "red-common.h"
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#include "common/ring.h"
|
#define SPICE_GNUC_VISIBLE __attribute__ ((visibility ("default")))
|
||||||
#include "common/log.h"
|
|
||||||
|
|
||||||
static inline void set_bit(int index, uint32_t *addr)
|
static inline void set_bit(int index, uint32_t *addr)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user