mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-01-11 16:55:33 +00:00
use #include<> style for spice-common header inclusions.
The include directory is specified with the -I which is the directory used directly by #include<>. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Pavel Grunt <pgrunt@redhat.com>
This commit is contained in:
parent
945834b460
commit
1e4800507b
@ -19,7 +19,7 @@
|
||||
# define CACHE_ITEM_H_
|
||||
|
||||
#include "red-channel.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/ring.h>
|
||||
|
||||
typedef struct RedCacheItem RedCacheItem;
|
||||
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
#endif
|
||||
|
||||
#include <glib.h>
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include <common/generated_server_marshallers.h>
|
||||
#include "cursor-channel.h"
|
||||
#include "cache-item.h"
|
||||
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
#define DCC_ENCODERS_H_
|
||||
|
||||
#include <setjmp.h>
|
||||
#include "common/marshaller.h"
|
||||
#include "common/quic.h"
|
||||
#include <common/marshaller.h>
|
||||
#include <common/quic.h>
|
||||
#include "red-channel.h"
|
||||
#include "red-parse-qxl.h"
|
||||
#include "image-cache.h"
|
||||
|
||||
@ -22,8 +22,8 @@
|
||||
#include "dcc.h"
|
||||
#include "display-channel.h"
|
||||
|
||||
#include "common/marshaller.h"
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include <common/marshaller.h>
|
||||
#include <common/generated_server_marshallers.h>
|
||||
|
||||
typedef enum {
|
||||
FILL_BITS_TYPE_INVALID,
|
||||
|
||||
@ -28,8 +28,8 @@
|
||||
|
||||
#define SPICE_LOG_DOMAIN "SpiceDispatcher"
|
||||
|
||||
#include "common/mem.h"
|
||||
#include "common/spice_common.h"
|
||||
#include <common/mem.h>
|
||||
#include <common/spice_common.h>
|
||||
#include "dispatcher.h"
|
||||
|
||||
//#define DEBUG_DISPATCHER
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
#include "common/rect.h"
|
||||
#include <common/rect.h>
|
||||
#include "red-worker.h"
|
||||
#include "reds-stream.h"
|
||||
#include "cache-item.h"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
/* Manging the lz encoding using a dictionary that is shared among encoders */
|
||||
|
||||
#include "red-common.h"
|
||||
#include "common/lz_common.h"
|
||||
#include <common/lz_common.h>
|
||||
#include "glz-encoder-dict.h"
|
||||
|
||||
struct GlzEncoderUsrContext {
|
||||
|
||||
@ -20,9 +20,9 @@
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "common/pixman_utils.h"
|
||||
#include "common/canvas_base.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/pixman_utils.h>
|
||||
#include <common/canvas_base.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
/* FIXME: move back to display-channel.h (once structs are private) */
|
||||
typedef struct Drawable Drawable;
|
||||
|
||||
@ -29,9 +29,9 @@
|
||||
#include <spice/protocol.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "common/marshaller.h"
|
||||
#include "common/messages.h"
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include <common/marshaller.h>
|
||||
#include <common/messages.h>
|
||||
#include <common/generated_server_marshallers.h>
|
||||
|
||||
#include "demarshallers.h"
|
||||
#include "spice.h"
|
||||
|
||||
@ -35,9 +35,9 @@
|
||||
#include <errno.h>
|
||||
#include <ctype.h>
|
||||
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include "common/messages.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/generated_server_marshallers.h>
|
||||
#include <common/messages.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
#include "demarshallers.h"
|
||||
#include "main-channel.h"
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <spice/vd_agent.h>
|
||||
#include "common/marshaller.h"
|
||||
#include <common/marshaller.h>
|
||||
#include "red-channel.h"
|
||||
|
||||
// TODO: Defines used to calculate receive buffer size, and also by reds.c
|
||||
|
||||
@ -35,8 +35,8 @@
|
||||
#include <linux/sockios.h> /* SIOCOUTQ */
|
||||
#endif
|
||||
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/generated_server_marshallers.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
#include "red-channel.h"
|
||||
#include "reds.h"
|
||||
|
||||
@ -25,8 +25,8 @@
|
||||
#include <pthread.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "common/ring.h"
|
||||
#include "common/marshaller.h"
|
||||
#include <common/ring.h>
|
||||
#include <common/marshaller.h>
|
||||
|
||||
#include "spice.h"
|
||||
#include "red-common.h"
|
||||
|
||||
@ -27,14 +27,14 @@
|
||||
#include <unistd.h>
|
||||
|
||||
#include <spice/macros.h>
|
||||
#include "common/log.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 <common/log.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 "utils.h"
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <inttypes.h>
|
||||
#include <glib.h>
|
||||
#include "common/lz_common.h"
|
||||
#include <common/lz_common.h>
|
||||
#include "spice-bitmap-utils.h"
|
||||
#include "red-common.h"
|
||||
#include "memslot.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <spice/qxl_dev.h>
|
||||
#include "common/quic.h"
|
||||
#include <common/quic.h>
|
||||
|
||||
#include "spice.h"
|
||||
#include "red-worker.h"
|
||||
|
||||
@ -39,10 +39,10 @@
|
||||
|
||||
#include <spice/protocol.h>
|
||||
#include <spice/qxl_dev.h>
|
||||
#include "common/lz.h"
|
||||
#include "common/rect.h"
|
||||
#include "common/region.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/lz.h>
|
||||
#include <common/rect.h>
|
||||
#include <common/region.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
#include "display-channel.h"
|
||||
#include "stream.h"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
|
||||
#include "main-dispatcher.h"
|
||||
#include "red-common.h"
|
||||
#include "common/log.h"
|
||||
#include <common/log.h>
|
||||
#include "reds-stream.h"
|
||||
#include "reds.h"
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@
|
||||
#define _H_REDS_STREAM
|
||||
|
||||
#include "spice.h"
|
||||
#include "common/mem.h"
|
||||
#include <common/mem.h>
|
||||
#include "red-common.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
@ -49,8 +49,8 @@
|
||||
#include <spice/vd_agent.h>
|
||||
#include <spice/stats.h>
|
||||
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/generated_server_marshallers.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
#include "spice.h"
|
||||
#include "reds.h"
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include "common/marshaller.h"
|
||||
#include "common/messages.h"
|
||||
#include <common/marshaller.h>
|
||||
#include <common/messages.h>
|
||||
#include "char-device.h"
|
||||
#include "spice.h"
|
||||
#include "red-channel.h"
|
||||
|
||||
@ -26,8 +26,8 @@
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
#include "common/marshaller.h"
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include <common/marshaller.h>
|
||||
#include <common/generated_server_marshallers.h>
|
||||
|
||||
#include "spice.h"
|
||||
#include "red-common.h"
|
||||
@ -35,7 +35,7 @@
|
||||
#include "reds.h"
|
||||
#include "red-qxl.h"
|
||||
#include "sound.h"
|
||||
#include "common/snd_codec.h"
|
||||
#include <common/snd_codec.h>
|
||||
#include "demarshallers.h"
|
||||
|
||||
#ifndef IOV_MAX
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include <netinet/in.h> // IPPROTO_TCP
|
||||
#include <netinet/tcp.h> // TCP_NODELAY
|
||||
|
||||
#include "common/generated_server_marshallers.h"
|
||||
#include <common/generated_server_marshallers.h>
|
||||
|
||||
#include "char-device.h"
|
||||
#include "red-channel.h"
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#include <glib.h>
|
||||
#include "utils.h"
|
||||
#include "video-encoder.h"
|
||||
#include "common/region.h"
|
||||
#include <common/region.h>
|
||||
#include "red-channel.h"
|
||||
#include "image-cache.h"
|
||||
|
||||
|
||||
@ -18,4 +18,4 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
#include "sw-canvas.h"
|
||||
#include "common/sw_canvas.c"
|
||||
#include <common/sw_canvas.c>
|
||||
|
||||
@ -17,6 +17,6 @@
|
||||
#ifndef SW_CANVAS_H_
|
||||
#define SW_CANVAS_H_
|
||||
|
||||
#include "common/sw_canvas.h"
|
||||
#include <common/sw_canvas.h>
|
||||
|
||||
#endif /* SW_CANVAS_H_ */
|
||||
|
||||
@ -24,8 +24,8 @@
|
||||
|
||||
#include "red-common.h"
|
||||
#include "spice/macros.h"
|
||||
#include "common/ring.h"
|
||||
#include "common/mem.h"
|
||||
#include <common/ring.h>
|
||||
#include <common/mem.h>
|
||||
#include "basic_event_loop.h"
|
||||
|
||||
int debug = 0;
|
||||
|
||||
@ -38,7 +38,7 @@
|
||||
#include <spice/macros.h>
|
||||
#include "red-replay-qxl.h"
|
||||
#include "test_display_base.h"
|
||||
#include "common/log.h"
|
||||
#include <common/log.h>
|
||||
|
||||
static SpiceCoreInterface *core;
|
||||
static SpiceServer *server;
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "common/log.h"
|
||||
#include <common/log.h>
|
||||
#include "reds-stream.h"
|
||||
#include "basic_event_loop.h"
|
||||
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
# define TREE_H_
|
||||
|
||||
#include <stdint.h>
|
||||
#include "common/region.h"
|
||||
#include "common/ring.h"
|
||||
#include <common/region.h>
|
||||
#include <common/ring.h>
|
||||
#include "spice-bitmap-utils.h"
|
||||
|
||||
enum {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user