mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-29 08:47:13 +00:00
Sort include order in source files
Sort based on coding style. Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma@redhat.com>
This commit is contained in:
parent
48e732e08b
commit
91668cdaab
@ -24,10 +24,10 @@
|
||||
#include <fcntl.h>
|
||||
#include <stddef.h> // NULL
|
||||
#include <errno.h>
|
||||
#include <stdbool.h>
|
||||
#include <spice/macros.h>
|
||||
#include <spice/vd_agent.h>
|
||||
#include <spice/protocol.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <common/marshaller.h>
|
||||
#include <common/messages.h>
|
||||
|
||||
@ -18,9 +18,11 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <jpeglib.h>
|
||||
|
||||
#include "red-common.h"
|
||||
#include "jpeg-encoder.h"
|
||||
#include <jpeglib.h>
|
||||
|
||||
typedef struct JpegEncoder {
|
||||
JpegEncoderUsrContext *usr;
|
||||
|
||||
@ -19,12 +19,14 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
#include <jerror.h>
|
||||
#include <jpeglib.h>
|
||||
|
||||
#include "red-common.h"
|
||||
#include "video-encoder.h"
|
||||
#include "utils.h"
|
||||
#include <jerror.h>
|
||||
#include <jpeglib.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#define MJPEG_MAX_FPS 25
|
||||
#define MJPEG_MIN_FPS 1
|
||||
|
||||
@ -19,12 +19,6 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include "main-dispatcher.h"
|
||||
#include "red-common.h"
|
||||
#include <common/log.h>
|
||||
#include "reds-stream.h"
|
||||
#include "reds.h"
|
||||
|
||||
#include <errno.h>
|
||||
#include <netdb.h>
|
||||
#include <unistd.h>
|
||||
@ -35,6 +29,13 @@
|
||||
|
||||
#include <openssl/err.h>
|
||||
|
||||
#include <common/log.h>
|
||||
|
||||
#include "main-dispatcher.h"
|
||||
#include "red-common.h"
|
||||
#include "reds-stream.h"
|
||||
#include "reds.h"
|
||||
|
||||
struct AsyncRead {
|
||||
RedsStream *stream;
|
||||
void *opaque;
|
||||
|
||||
@ -27,6 +27,9 @@
|
||||
#include <string.h>
|
||||
#include <netinet/in.h> // IPPROTO_TCP
|
||||
#include <netinet/tcp.h> // TCP_NODELAY
|
||||
#ifdef USE_LZ4
|
||||
#include <lz4.h>
|
||||
#endif
|
||||
|
||||
#include <common/generated_server_marshallers.h>
|
||||
|
||||
@ -35,9 +38,6 @@
|
||||
#include "red-channel-client.h"
|
||||
#include "reds.h"
|
||||
#include "migration-protocol.h"
|
||||
#ifdef USE_LZ4
|
||||
#include <lz4.h>
|
||||
#endif
|
||||
|
||||
/* todo: add flow control. i.e.,
|
||||
* (a) limit the tokens available for the client
|
||||
|
||||
@ -19,9 +19,9 @@
|
||||
#endif
|
||||
|
||||
#include <spice/qxl_dev.h>
|
||||
|
||||
#include "red-parse-qxl.h"
|
||||
#include "display-channel.h"
|
||||
|
||||
#include "tree.h"
|
||||
|
||||
static const char *draw_type_to_str(uint8_t type)
|
||||
|
||||
@ -19,9 +19,10 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <zlib.h>
|
||||
|
||||
#include "red-common.h"
|
||||
#include "zlib-encoder.h"
|
||||
#include <zlib.h>
|
||||
|
||||
struct ZlibEncoder {
|
||||
ZlibEncoderUsrContext *usr;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user