mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 16:48:06 +00:00
unify header include order
Use this style for include headers inside headers: #include <system_headers.h> #include <no_spice_no_system_libraries.h> #include <spice_protocol.h> #include <spice_common.h> #include "spice_server.h" Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
This commit is contained in:
parent
c79c37b3c2
commit
4585fa9cbd
@ -18,9 +18,10 @@
|
||||
#ifndef CACHE_ITEM_H_
|
||||
# define CACHE_ITEM_H_
|
||||
|
||||
#include "red-channel.h"
|
||||
#include <common/ring.h>
|
||||
|
||||
#include "red-channel.h"
|
||||
|
||||
typedef struct RedCacheItem RedCacheItem;
|
||||
|
||||
struct RedCacheItem {
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include <setjmp.h>
|
||||
#include <common/marshaller.h>
|
||||
#include <common/quic.h>
|
||||
|
||||
#include "red-channel.h"
|
||||
#include "red-parse-qxl.h"
|
||||
#include "image-cache.h"
|
||||
|
||||
@ -19,6 +19,7 @@
|
||||
#define DISPATCHER_H
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "red-common.h"
|
||||
|
||||
#define TYPE_DISPATCHER dispatcher_get_type()
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
# define DISPLAY_CHANNEL_H_
|
||||
|
||||
#include <setjmp.h>
|
||||
|
||||
#include <common/rect.h>
|
||||
#include <common/sw_canvas.h>
|
||||
|
||||
|
||||
@ -20,8 +20,9 @@
|
||||
|
||||
/* Manging the lz encoding using a dictionary that is shared among encoders */
|
||||
|
||||
#include "red-common.h"
|
||||
#include <common/lz_common.h>
|
||||
|
||||
#include "red-common.h"
|
||||
#include "glz-encoder-dict.h"
|
||||
|
||||
struct GlzEncoderUsrContext {
|
||||
|
||||
@ -19,7 +19,6 @@
|
||||
#define IMAGE_CACHE_H_
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <common/pixman_utils.h>
|
||||
#include <common/canvas_base.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include <stdint.h>
|
||||
#include <spice/vd_agent.h>
|
||||
#include <common/marshaller.h>
|
||||
|
||||
#include "red-channel.h"
|
||||
|
||||
// TODO: Defines used to calculate receive buffer size, and also by reds.c
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
#ifndef MAIN_DISPATCHER_H
|
||||
#define MAIN_DISPATCHER_H
|
||||
|
||||
#include <spice.h>
|
||||
#include "spice.h"
|
||||
#include "dispatcher.h"
|
||||
#include "red-channel.h"
|
||||
|
||||
|
||||
@ -19,10 +19,10 @@
|
||||
#ifndef MEMSLOT_H_
|
||||
#define MEMSLOT_H_
|
||||
|
||||
#include "red-common.h"
|
||||
|
||||
#include <spice/qxl_dev.h>
|
||||
|
||||
#include "red-common.h"
|
||||
|
||||
typedef struct MemSlot {
|
||||
int generation;
|
||||
unsigned long virt_start_addr;
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
|
||||
#include <spice/macros.h>
|
||||
#include <spice/vd_agent.h>
|
||||
|
||||
#include "glz-encoder-dict.h"
|
||||
|
||||
/* ************************************************
|
||||
|
||||
@ -24,7 +24,6 @@
|
||||
|
||||
#include <pthread.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include <common/ring.h>
|
||||
#include <common/marshaller.h>
|
||||
|
||||
|
||||
@ -18,14 +18,12 @@
|
||||
#ifndef _H_RED_COMMON
|
||||
#define _H_RED_COMMON
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <glib.h>
|
||||
#include <spice/macros.h>
|
||||
#include <common/log.h>
|
||||
#include <common/lz_common.h>
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
#define RED_ABI_TRANSLATE_H
|
||||
|
||||
#include <spice/qxl_dev.h>
|
||||
|
||||
#include "red-common.h"
|
||||
#include "memslot.h"
|
||||
|
||||
|
||||
@ -20,6 +20,7 @@
|
||||
#define RED_ABI_RECORD_H
|
||||
|
||||
#include <spice/qxl_dev.h>
|
||||
|
||||
#include "red-common.h"
|
||||
#include "memslot.h"
|
||||
|
||||
|
||||
@ -20,7 +20,8 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <spice/qxl_dev.h>
|
||||
#include <spice.h>
|
||||
|
||||
#include "spice.h"
|
||||
|
||||
typedef struct SpiceReplay SpiceReplay;
|
||||
|
||||
|
||||
@ -18,13 +18,12 @@
|
||||
#ifndef _H_REDS_STREAM
|
||||
#define _H_REDS_STREAM
|
||||
|
||||
#include "spice.h"
|
||||
#include <common/mem.h>
|
||||
#include "red-common.h"
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <openssl/ssl.h>
|
||||
#include <common/mem.h>
|
||||
|
||||
#include "spice.h"
|
||||
#include "red-common.h"
|
||||
|
||||
typedef void (*AsyncReadDone)(void *opaque);
|
||||
typedef void (*AsyncReadError)(void *opaque, int err);
|
||||
|
||||
@ -21,11 +21,9 @@
|
||||
#include <stdint.h>
|
||||
#include <sys/uio.h>
|
||||
#include <spice/vd_agent.h>
|
||||
#include <config.h>
|
||||
|
||||
|
||||
#include <common/marshaller.h>
|
||||
#include <common/messages.h>
|
||||
|
||||
#include "char-device.h"
|
||||
#include "spice.h"
|
||||
#include "red-channel.h"
|
||||
|
||||
@ -19,9 +19,10 @@
|
||||
#define STREAM_H_
|
||||
|
||||
#include <glib.h>
|
||||
#include <common/region.h>
|
||||
|
||||
#include "utils.h"
|
||||
#include "video-encoder.h"
|
||||
#include <common/region.h>
|
||||
#include "red-channel.h"
|
||||
#include "image-cache.h"
|
||||
|
||||
|
||||
@ -21,6 +21,7 @@
|
||||
#include <stdint.h>
|
||||
#include <common/region.h>
|
||||
#include <common/ring.h>
|
||||
|
||||
#include "spice-bitmap-utils.h"
|
||||
|
||||
enum {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user