GUACAMOLE-249: Add/remove headers as necessary based on run through Include What You Use (IWYU) tool.

This commit is contained in:
Michael Jumper 2020-01-04 13:07:28 -08:00
parent 9855d875c7
commit e325dbc672
75 changed files with 157 additions and 230 deletions

View File

@ -17,21 +17,15 @@
* under the License.
*/
#include "config.h"
#include "bitmap.h"
#include "client.h"
#include "common/display.h"
#include "common/surface.h"
#include "rdp.h"
#include "settings.h"
#include <cairo/cairo.h>
#include <freerdp/codec/bitmap.h>
#include <freerdp/codec/color.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <guacamole/client.h>
#include <guacamole/socket.h>
#include <winpr/crt.h>
#include <winpr/wtypes.h>
#include <stdio.h>

View File

@ -24,6 +24,7 @@
#include "common/display.h"
#include <freerdp/freerdp.h>
#include <freerdp/graphics.h>
#include <guacamole/layer.h>
#include <winpr/wtypes.h>

View File

@ -17,14 +17,13 @@
* under the License.
*/
#include "config.h"
#include "channels/audio-input.h"
#include "plugins/channels.h"
#include "plugins/ptr-string.h"
#include "rdp.h"
#include <freerdp/freerdp.h>
#include <freerdp/channels/channels.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
@ -32,8 +31,10 @@
#include <assert.h>
#include <errno.h>
#include <stdlib.h>
#include <pthread.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
/**
* Parses the given raw audio mimetype, producing the corresponding rate,

View File

@ -20,12 +20,9 @@
#ifndef GUAC_RDP_CHANNELS_AUDIO_INPUT_H
#define GUAC_RDP_CHANNELS_AUDIO_INPUT_H
#include "config.h"
#include <freerdp/freerdp.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <pthread.h>
/**

View File

@ -17,8 +17,6 @@
* under the License.
*/
#include "config.h"
#include "channels/cliprdr.h"
#include "client.h"
#include "common/clipboard.h"
@ -26,10 +24,13 @@
#include "plugins/channels.h"
#include "rdp.h"
#include <freerdp/channels/channels.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/event.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <winpr/wtsapi.h>
#include <winpr/wtypes.h>
#include <assert.h>

View File

@ -20,12 +20,14 @@
#ifndef GUAC_RDP_CHANNELS_CLIPRDR_H
#define GUAC_RDP_CHANNELS_CLIPRDR_H
#include "config.h"
#include "common/clipboard.h"
#include <guacamole/client.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/user.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
/**
* RDP clipboard, leveraging the "CLIPRDR" channel.

View File

@ -17,19 +17,19 @@
* under the License.
*/
#include "config.h"
#include "channels/common-svc.h"
#include "plugins/channels.h"
#include "rdp.h"
#include <freerdp/svc.h>
#include <freerdp/settings.h>
#include <guacamole/client.h>
#include <guacamole/stream.h>
#include <guacamole/string.h>
#include <winpr/stream.h>
#include <winpr/wtsapi.h>
#include <winpr/wtypes.h>
#include <stdlib.h>
int guac_rdp_common_svc_load_plugin(rdpContext* context,
char* name, ULONG channel_options,
guac_rdp_common_svc_connect_handler* connect_handler,

View File

@ -20,8 +20,7 @@
#ifndef GUAC_RDP_CHANNELS_COMMON_SVC_H
#define GUAC_RDP_CHANNELS_COMMON_SVC_H
#include "config.h"
#include <freerdp/freerdp.h>
#include <freerdp/svc.h>
#include <guacamole/client.h>
#include <guacamole/stream.h>
@ -29,6 +28,8 @@
#include <winpr/wtsapi.h>
#include <winpr/wtypes.h>
struct guac_rdp_common_svc;
/**
* The maximum number of bytes to allow within each channel name, including
* null terminator.

View File

@ -17,18 +17,19 @@
* under the License.
*/
#include "config.h"
#include "channels/disp.h"
#include "client.h"
#include "plugins/channels.h"
#include "rdp.h"
#include "settings.h"
#include <freerdp/client/disp.h>
#include <freerdp/freerdp.h>
#include <freerdp/event.h>
#include <guacamole/client.h>
#include <guacamole/timestamp.h>
#include <winpr/wtypes.h>
#include <stdlib.h>
#include <string.h>
guac_rdp_disp* guac_rdp_disp_alloc() {

View File

@ -17,21 +17,21 @@
* under the License.
*/
#include "config.h"
#include "channels/common-svc.h"
#include "channels/pipe-svc.h"
#include "client.h"
#include "common/list.h"
#include "plugins/channels.h"
#include "rdp.h"
#include <freerdp/svc.h>
#include <freerdp/settings.h>
#include <guacamole/client.h>
#include <guacamole/string.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <winpr/stream.h>
#include <winpr/wtsapi.h>
#include <stdlib.h>
#include <string.h>
void guac_rdp_pipe_svc_send_pipe(guac_socket* socket, guac_rdp_pipe_svc* pipe_svc) {

View File

@ -20,12 +20,14 @@
#ifndef GUAC_RDP_CHANNELS_PIPE_SVC_H
#define GUAC_RDP_CHANNELS_PIPE_SVC_H
#include "config.h"
#include "channels/common-svc.h"
#include <freerdp/freerdp.h>
#include <freerdp/svc.h>
#include <guacamole/client.h>
#include <guacamole/stream.h>
#include <guacamole/socket.h>
#include <guacamole/user.h>
#include <winpr/wtsapi.h>
/**

View File

@ -17,19 +17,21 @@
* under the License.
*/
#include "config.h"
#include "channels/rail.h"
#include "client.h"
#include "plugins/channels.h"
#include "rdp.h"
#include "settings.h"
#include <freerdp/client/rail.h>
#include <freerdp/event.h>
#include <freerdp/freerdp.h>
#include <freerdp/rail.h>
#include <guacamole/client.h>
#include <winpr/wtypes.h>
#include <winpr/wtsapi.h>
#include <stddef.h>
#include <string.h>
/**
* Completes initialization of the RemoteApp session, sending client system

View File

@ -20,8 +20,6 @@
#ifndef GUAC_RDP_CHANNELS_RAIL_H
#define GUAC_RDP_CHANNELS_RAIL_H
#include "config.h"
#include <freerdp/freerdp.h>
/**

View File

@ -17,16 +17,17 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr-fs-messages-dir-info.h"
#include "channels/rdpdr/rdpdr.h"
#include "fs.h"
#include "unicode.h"
#include <guacamole/client.h>
#include <guacamole/unicode.h>
#include <winpr/file.h>
#include <winpr/nt.h>
#include <winpr/stream.h>
#include <stddef.h>
#include <stddef.h>
void guac_rdpdr_fs_process_query_directory_info(guac_rdp_common_svc* svc,

View File

@ -28,7 +28,6 @@
* @file rdpdr-fs-messages-dir-info.h
*/
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr.h"

View File

@ -17,18 +17,18 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr-fs-messages-file-info.h"
#include "channels/rdpdr/rdpdr.h"
#include "download.h"
#include "fs.h"
#include "unicode.h"
#include <guacamole/client.h>
#include <winpr/file.h>
#include <winpr/nt.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
#include <inttypes.h>
#include <stdint.h>
#include <string.h>

View File

@ -27,7 +27,6 @@
* @file rdpdr-fs-messages-file-info.h
*/
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr.h"

View File

@ -17,15 +17,17 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr-messages.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr-fs-messages-vol-info.h"
#include "channels/rdpdr/rdpdr-fs.h"
#include "channels/rdpdr/rdpdr.h"
#include "fs.h"
#include <guacamole/client.h>
#include <guacamole/unicode.h>
#include <winpr/file.h>
#include <winpr/io.h>
#include <winpr/nt.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>

View File

@ -28,7 +28,6 @@
* @file rdpdr-fs-messages-vol-info.h
*/
#include "config.h"
#include "channels/rdpdr/rdpdr.h"
#include <winpr/stream.h>

View File

@ -17,12 +17,11 @@
* under the License.
*/
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr-fs-messages-dir-info.h"
#include "channels/rdpdr/rdpdr-fs-messages-file-info.h"
#include "channels/rdpdr/rdpdr-fs-messages-vol-info.h"
#include "channels/rdpdr/rdpdr-fs-messages.h"
#include "channels/rdpdr/rdpdr-messages.h"
#include "channels/rdpdr/rdpdr.h"
#include "download.h"
#include "fs.h"
@ -30,11 +29,10 @@
#include <freerdp/channels/rdpdr.h>
#include <guacamole/client.h>
#include <winpr/file.h>
#include <winpr/nt.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>

View File

@ -28,7 +28,6 @@
* @file rdpdr-fs-messages.h
*/
#include "config.h"
#include "channels/rdpdr/rdpdr.h"
#include <winpr/stream.h>

View File

@ -17,20 +17,19 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr-fs-messages.h"
#include "channels/rdpdr/rdpdr-fs.h"
#include "channels/rdpdr/rdpdr-messages.h"
#include "channels/rdpdr/rdpdr-fs-messages.h"
#include "channels/rdpdr/rdpdr.h"
#include "rdp.h"
#include <freerdp/channels/rdpdr.h>
#include <freerdp/settings.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/unicode.h>
#include <winpr/stream.h>
#include <stddef.h>
void guac_rdpdr_device_fs_iorequest_handler(guac_rdp_common_svc* svc,
guac_rdpdr_device* device, guac_rdpdr_iorequest* iorequest,
wStream* input_stream) {

View File

@ -31,7 +31,7 @@
* @file rdpdr-fs.h
*/
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr.h"
#include <guacamole/pool.h>

View File

@ -17,15 +17,13 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr-messages.h"
#include "channels/rdpdr/rdpdr.h"
#include "rdp.h"
#include "unicode.h"
#include "settings.h"
#include <freerdp/channels/rdpdr.h>
#include <guacamole/client.h>
#include <guacamole/unicode.h>
#include <winpr/stream.h>
#include <stdlib.h>

View File

@ -20,7 +20,7 @@
#ifndef GUAC_RDP_CHANNELS_RDPDR_MESSAGES_H
#define GUAC_RDP_CHANNELS_RDPDR_MESSAGES_H
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr.h"
#include <winpr/stream.h>

View File

@ -17,8 +17,6 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr-messages.h"
#include "channels/rdpdr/rdpdr-printer.h"
#include "channels/rdpdr/rdpdr.h"
#include "print-job.h"
@ -26,21 +24,13 @@
#include "unicode.h"
#include <freerdp/channels/rdpdr.h>
#include <freerdp/settings.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <guacamole/unicode.h>
#include <guacamole/user.h>
#include <winpr/file.h>
#include <winpr/nt.h>
#include <winpr/stream.h>
#include <errno.h>
#include <pthread.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
void guac_rdpdr_process_print_job_create(guac_rdp_common_svc* svc,
guac_rdpdr_device* device, guac_rdpdr_iorequest* iorequest,

View File

@ -20,7 +20,7 @@
#ifndef GUAC_RDP_CHANNELS_RDPDR_PRINTER_H
#define GUAC_RDP_CHANNELS_RDPDR_PRINTER_H
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpdr/rdpdr.h"
#include <winpr/stream.h>

View File

@ -17,26 +17,20 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpdr/rdpdr.h"
#include "channels/rdpdr/rdpdr-fs.h"
#include "channels/rdpdr/rdpdr-messages.h"
#include "channels/rdpdr/rdpdr-printer.h"
#include "channels/rdpdr/rdpdr.h"
#include "fs.h"
#include "plugins/channels.h"
#include "rdp.h"
#include "settings.h"
#include <freerdp/channels/rdpdr.h>
#include <freerdp/freerdp.h>
#include <freerdp/settings.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <winpr/stream.h>
#include <stdlib.h>
#include <string.h>
void guac_rdpdr_process_receive(guac_rdp_common_svc* svc,
wStream* input_stream) {

View File

@ -20,11 +20,15 @@
#ifndef GUAC_RDP_CHANNELS_RDPDR_H
#define GUAC_RDP_CHANNELS_RDPDR_H
#include "config.h"
#include "channels/common-svc.h"
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <winpr/stream.h>
#include <stdint.h>
struct guac_rdpdr_device;
/**
* The maximum number of bytes to allow for a device read.

View File

@ -17,8 +17,6 @@
* under the License.
*/
#include "config.h"
#include "channels/rdpsnd/rdpsnd-messages.h"
#include "channels/rdpsnd/rdpsnd.h"
#include "rdp.h"
@ -29,8 +27,8 @@
#include <winpr/stream.h>
#include <winpr/wtypes.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
void guac_rdpsnd_formats_handler(guac_rdp_common_svc* svc,
wStream* input_stream, guac_rdpsnd_pdu_header* header) {

View File

@ -20,7 +20,6 @@
#ifndef GUAC_RDP_CHANNELS_RDPSND_MESSAGES_H
#define GUAC_RDP_CHANNELS_RDPSND_MESSAGES_H
#include "config.h"
#include "channels/common-svc.h"
#include <winpr/stream.h>

View File

@ -17,16 +17,14 @@
* under the License.
*/
#include "config.h"
#include "channels/common-svc.h"
#include "channels/rdpsnd/rdpsnd-messages.h"
#include "channels/rdpsnd/rdpsnd.h"
#include "channels/rdpsnd/rdpsnd-messages.h"
#include "rdp.h"
#include <freerdp/codec/audio.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/client.h>
#include <winpr/stream.h>
#include <stdlib.h>

View File

@ -20,9 +20,9 @@
#ifndef GUAC_RDP_CHANNELS_RDPSND_H
#define GUAC_RDP_CHANNELS_RDPSND_H
#include "config.h"
#include "channels/common-svc.h"
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
/**

View File

@ -17,14 +17,16 @@
* under the License.
*/
#include "config.h"
#include "channels/audio-input.h"
#include "channels/disp.h"
#include "client.h"
#include "channels/audio-input.h"
#include "channels/cliprdr.h"
#include "channels/disp.h"
#include "common/recording.h"
#include "config.h"
#include "fs.h"
#include "log.h"
#include "rdp.h"
#include "settings.h"
#include "user.h"
#ifdef ENABLE_COMMON_SSH
@ -33,19 +35,11 @@
#include "common-ssh/user.h"
#endif
#include <freerdp/cache/cache.h>
#include <freerdp/channels/channels.h>
#include <freerdp/client/channels.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/freerdp.h>
#include <guacamole/audio.h>
#include <guacamole/client.h>
#include <guacamole/socket.h>
#include <winpr/wlog.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
int guac_client_init(guac_client* client, int argc, char** argv) {

View File

@ -20,8 +20,6 @@
#ifndef GUAC_RDP_CLIENT_H
#define GUAC_RDP_CLIENT_H
#include "config.h"
#include <guacamole/client.h>
/**

View File

@ -17,10 +17,6 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "rdp.h"
#include "settings.h"
#include <freerdp/codec/color.h>
@ -28,6 +24,8 @@
#include <freerdp/gdi/gdi.h>
#include <winpr/wtypes.h>
#include <stdint.h>
UINT32 guac_rdp_get_native_pixel_format(BOOL alpha) {
uint8_t color[] = { 0x0A, 0x0B, 0x0C, 0x0D };

View File

@ -17,7 +17,6 @@
* under the License.
*/
#include "config.h"
#include "keyboard.h"
/**

View File

@ -17,23 +17,21 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "common/json.h"
#include "download.h"
#include "fs.h"
#include "ls.h"
#include "rdp.h"
#include <freerdp/channels/channels.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/object.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <guacamole/string.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
#include <guacamole/user.h>
#include <winpr/nt.h>
#include <winpr/shell.h>
#include <stdlib.h>

View File

@ -20,12 +20,11 @@
#ifndef GUAC_RDP_DOWNLOAD_H
#define GUAC_RDP_DOWNLOAD_H
#include "config.h"
#include "common/json.h"
#include <guacamole/user.h>
#include <guacamole/protocol.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <stdint.h>

View File

@ -17,7 +17,6 @@
* under the License.
*/
#include "config.h"
#include "error.h"
#include "rdp.h"

View File

@ -17,19 +17,19 @@
* under the License.
*/
#include "config.h"
#include "download.h"
#include "fs.h"
#include "download.h"
#include "upload.h"
#include <guacamole/client.h>
#include <guacamole/object.h>
#include <guacamole/pool.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/string.h>
#include <guacamole/user.h>
#include <winpr/file.h>
#include <winpr/nt.h>
#include <dirent.h>
#include <errno.h>
@ -40,7 +40,6 @@
#include <string.h>
#include <sys/stat.h>
#include <sys/statvfs.h>
#include <sys/types.h>
#include <unistd.h>
guac_rdp_fs* guac_rdp_fs_alloc(guac_client* client, const char* drive_path,

View File

@ -31,10 +31,10 @@
* @file fs.h
*/
#include "config.h"
#include <guacamole/client.h>
#include <guacamole/object.h>
#include <guacamole/pool.h>
#include <guacamole/user.h>
#include <dirent.h>
#include <stdint.h>

View File

@ -17,20 +17,21 @@
* under the License.
*/
#include "config.h"
#include "bitmap.h"
#include "client.h"
#include "color.h"
#include "common/display.h"
#include "common/surface.h"
#include "rdp.h"
#include "settings.h"
#include <cairo/cairo.h>
#include <freerdp/freerdp.h>
#include <freerdp/graphics.h>
#include <freerdp/primary.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <winpr/wtypes.h>
#include <stddef.h>
#include <stddef.h>
guac_transfer_function guac_rdp_rop3_transfer_function(guac_client* client,

View File

@ -17,19 +17,16 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "color.h"
#include "common/surface.h"
#include "config.h"
#include "glyph.h"
#include "rdp.h"
#include "settings.h"
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <winpr/wtypes.h>
#include <pthread.h>
#include <stdint.h>
#include <stdlib.h>

View File

@ -20,10 +20,9 @@
#ifndef GUAC_RDP_GLYPH_H
#define GUAC_RDP_GLYPH_H
#include "config.h"
#include <cairo/cairo.h>
#include <freerdp/freerdp.h>
#include <freerdp/graphics.h>
#include <winpr/wtypes.h>
/**

View File

@ -17,19 +17,20 @@
* under the License.
*/
#include "config.h"
#include "channels/disp.h"
#include "client.h"
#include "common/cursor.h"
#include "common/display.h"
#include "common/recording.h"
#include "input.h"
#include "keyboard.h"
#include "rdp.h"
#include "settings.h"
#include <freerdp/freerdp.h>
#include <freerdp/input.h>
#include <guacamole/client.h>
#include <guacamole/user.h>
#include <pthread.h>
#include <stdlib.h>
int guac_rdp_user_mouse_handler(guac_user* user, int x, int y, int mask) {

View File

@ -17,8 +17,6 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "decompose.h"
#include "keyboard.h"
#include "keymap.h"
@ -28,7 +26,6 @@
#include <freerdp/input.h>
#include <guacamole/client.h>
#include <pthread.h>
#include <stdlib.h>
/**

View File

@ -17,8 +17,6 @@
* under the License.
*/
#include "config.h"
#include "keymap.h"
#include <string.h>

View File

@ -20,10 +20,10 @@
#ifndef GUAC_RDP_KEYMAP_H
#define GUAC_RDP_KEYMAP_H
#include "config.h"
#include <winpr/wtypes.h>
struct guac_rdp_keymap;
/**
* Represents a keysym-to-scancode mapping for RDP, with extra information
* about the state of prerequisite keysyms.

View File

@ -19,6 +19,9 @@
#include <guacamole/client.h>
#include <winpr/wlog.h>
#include <winpr/wtypes.h>
#include <stddef.h>
/**
* The guac_client that should be used within this process for FreeRDP log

View File

@ -17,24 +17,19 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "fs.h"
#include "ls.h"
#include "rdp.h"
#include <freerdp/channels/channels.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <guacamole/string.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
#include <guacamole/user.h>
#include <winpr/nt.h>
#include <winpr/shell.h>
#include <stdlib.h>
#include <string.h>
int guac_rdp_ls_ack_handler(guac_user* user, guac_stream* stream,
char* message, guac_protocol_status status) {

View File

@ -20,12 +20,12 @@
#ifndef GUAC_RDP_LS_H
#define GUAC_RDP_LS_H
#include "config.h"
#include "common/json.h"
#include "fs.h"
#include <guacamole/user.h>
#include <guacamole/protocol.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <stdint.h>

View File

@ -17,13 +17,16 @@
* under the License.
*/
#include "config.h"
#include "plugins/channels.h"
#include "rdp.h"
#include <freerdp/channels/channels.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <freerdp/addin.h>
#include <winpr/wtypes.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
int guac_rdp_wrapped_entry_ex_count = 0;

View File

@ -20,10 +20,10 @@
#ifndef GUAC_RDP_PLUGINS_CHANNELS_H
#define GUAC_RDP_PLUGINS_CHANNELS_H
#include "config.h"
#include <freerdp/channels/channels.h>
#include <freerdp/freerdp.h>
#include <freerdp/settings.h>
#include <winpr/wtsapi.h>
/**
* The maximum number of static channels supported by Guacamole's RDP support.

View File

@ -17,19 +17,15 @@
* under the License.
*/
#include "config.h"
#include "channels/common-svc.h"
#include <freerdp/constants.h>
#include <freerdp/svc.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/string.h>
#include <winpr/stream.h>
#include <winpr/wtsapi.h>
#include <winpr/wtypes.h>
#include <stdlib.h>
#include <string.h>
/**
* Event handler for events which deal with data transmitted over an open SVC.

View File

@ -17,14 +17,11 @@
* under the License.
*/
#include "config.h"
#include "channels/audio-input.h"
#include "plugins/guacai/guacai-messages.h"
#include "rdp.h"
#include <freerdp/constants.h>
#include <freerdp/dvc.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <winpr/stream.h>

View File

@ -20,11 +20,12 @@
#ifndef GUAC_RDP_PLUGINS_GUACAI_MESSAGES_H
#define GUAC_RDP_PLUGINS_GUACAI_MESSAGES_H
#include "config.h"
#include "channels/audio-input.h"
#include <freerdp/dvc.h>
#include <guacamole/client.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
/**
* The format tag associated with raw wave audio (WAVE_FORMAT_PCM). This format

View File

@ -17,21 +17,20 @@
* under the License.
*/
#include "config.h"
#include "channels/audio-input.h"
#include "plugins/guacai/guacai-messages.h"
#include "plugins/guacai/guacai.h"
#include "plugins/guacai/guacai-messages.h"
#include "plugins/ptr-string.h"
#include "rdp.h"
#include <freerdp/constants.h>
#include <freerdp/dvc.h>
#include <freerdp/freerdp.h>
#include <freerdp/settings.h>
#include <guacamole/client.h>
#include <winpr/stream.h>
#include <winpr/wtsapi.h>
#include <winpr/wtypes.h>
#include <stdlib.h>
#include <string.h>
/**
* Handles the given data received along the AUDIO_INPUT channel of the RDP

View File

@ -20,8 +20,6 @@
#ifndef GUAC_RDP_PLUGINS_GUACAI_H
#define GUAC_RDP_PLUGINS_GUACAI_H
#include "config.h"
#include <freerdp/constants.h>
#include <freerdp/dvc.h>
#include <freerdp/freerdp.h>

View File

@ -17,13 +17,9 @@
* under the License.
*/
#include "config.h"
#include "plugins/ptr-string.h"
#include <guacamole/client.h>
#include <stdio.h>
#include <stdlib.h>
void guac_rdp_ptr_to_string(void* data, char* str) {

View File

@ -20,8 +20,6 @@
#ifndef GUAC_RDP_PLUGINS_PTR_STRING_H
#define GUAC_RDP_PLUGINS_PTR_STRING_H
#include "config.h"
#include <guacamole/client.h>
/**

View File

@ -17,20 +17,19 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "color.h"
#include "common/cursor.h"
#include "common/display.h"
#include "common/surface.h"
#include "pointer.h"
#include "rdp.h"
#include <cairo/cairo.h>
#include <freerdp/codec/color.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <guacamole/client.h>
#include <stdlib.h>
#include <winpr/crt.h>
BOOL guac_rdp_pointer_new(rdpContext* context, rdpPointer* pointer) {

View File

@ -20,10 +20,11 @@
#ifndef GUAC_RDP_POINTER_H
#define GUAC_RDP_POINTER_H
#include "config.h"
#include "common/display.h"
#include <freerdp/freerdp.h>
#include <freerdp/graphics.h>
#include <winpr/wtypes.h>
/**
* Guacamole-specific rdpPointer data.

View File

@ -17,7 +17,6 @@
* under the License.
*/
#include "config.h"
#include "print-job.h"
#include <guacamole/client.h>

View File

@ -20,8 +20,6 @@
#ifndef GUAC_RDP_PRINT_JOB_H
#define GUAC_RDP_PRINT_JOB_H
#include "config.h"
#include <guacamole/client.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>

View File

@ -17,7 +17,6 @@
* under the License.
*/
#include "config.h"
#include "bitmap.h"
#include "channels/audio-input.h"
#include "channels/cliprdr.h"
@ -31,6 +30,7 @@
#include "common/cursor.h"
#include "common/display.h"
#include "common/recording.h"
#include "config.h"
#include "error.h"
#include "fs.h"
#include "gdi.h"
@ -56,26 +56,22 @@
#include <freerdp/cache/pointer.h>
#include <freerdp/channels/channels.h>
#include <freerdp/client/channels.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/client/disp.h>
#include <freerdp/event.h>
#include <freerdp/freerdp.h>
#include <freerdp/gdi/gdi.h>
#include <freerdp/rail.h>
#include <freerdp/version.h>
#include <freerdp/graphics.h>
#include <freerdp/primary.h>
#include <freerdp/settings.h>
#include <freerdp/update.h>
#include <guacamole/audio.h>
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/timestamp.h>
#include <winpr/error.h>
#include <winpr/synch.h>
#include <winpr/wtypes.h>
#include <errno.h>
#include <poll.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <sys/time.h>
#include <time.h>
BOOL rdp_freerdp_pre_connect(freerdp* instance) {

View File

@ -20,7 +20,6 @@
#ifndef GUAC_RDP_H
#define GUAC_RDP_H
#include "config.h"
#include "channels/audio-input.h"
#include "channels/cliprdr.h"
#include "channels/disp.h"
@ -29,22 +28,24 @@
#include "common/list.h"
#include "common/recording.h"
#include "common/surface.h"
#include "config.h"
#include "fs.h"
#include "keyboard.h"
#include "print-job.h"
#include "settings.h"
#include <freerdp/freerdp.h>
#include <freerdp/codec/color.h>
#include <guacamole/audio.h>
#include <guacamole/client.h>
#ifdef ENABLE_COMMON_SSH
#include "common-ssh/sftp.h"
#include "common-ssh/ssh.h"
#include "common-ssh/user.h"
#endif
#include <freerdp/codec/color.h>
#include <freerdp/freerdp.h>
#include <guacamole/audio.h>
#include <guacamole/client.h>
#include <winpr/wtypes.h>
#include <pthread.h>
#include <stdint.h>

View File

@ -17,21 +17,23 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "common/string.h"
#include "rdp.h"
#include "config.h"
#include "resolution.h"
#include "settings.h"
#include <freerdp/constants.h>
#include <freerdp/settings.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/string.h>
#include <guacamole/user.h>
#include <winpr/crt.h>
#include <winpr/wtypes.h>
#include <errno.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
/* Client plugin arguments */

View File

@ -21,10 +21,10 @@
#define GUAC_RDP_SETTINGS_H
#include "config.h"
#include "keymap.h"
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/user.h>
/**

View File

@ -17,14 +17,11 @@
* under the License.
*/
#include "config.h"
#include "common-ssh/sftp.h"
#include "rdp.h"
#include "sftp.h"
#include <guacamole/client.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
int guac_rdp_sftp_file_handler(guac_user* user, guac_stream* stream,

View File

@ -20,8 +20,6 @@
#ifndef GUAC_RDP_SFTP_H
#define GUAC_RDP_SFTP_H
#include "config.h"
#include <guacamole/stream.h>
#include <guacamole/user.h>

View File

@ -17,8 +17,6 @@
* under the License.
*/
#include "config.h"
#include <guacamole/unicode.h>
#include <stdint.h>

View File

@ -17,22 +17,17 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "fs.h"
#include "rdp.h"
#include "upload.h"
#include <freerdp/channels/channels.h>
#include <freerdp/client/cliprdr.h>
#include <freerdp/freerdp.h>
#include <guacamole/client.h>
#include <guacamole/object.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <guacamole/string.h>
#include <winpr/stream.h>
#include <winpr/wtypes.h>
#include <guacamole/user.h>
#include <winpr/nt.h>
#include <stdlib.h>

View File

@ -20,12 +20,11 @@
#ifndef GUAC_RDP_UPLOAD_H
#define GUAC_RDP_UPLOAD_H
#include "config.h"
#include "common/json.h"
#include <guacamole/user.h>
#include <guacamole/protocol.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <stdint.h>

View File

@ -17,10 +17,12 @@
* under the License.
*/
#include "config.h"
#include "channels/audio-input.h"
#include "channels/cliprdr.h"
#include "channels/pipe-svc.h"
#include "common/cursor.h"
#include "common/display.h"
#include "config.h"
#include "input.h"
#include "rdp.h"
#include "settings.h"
@ -35,9 +37,11 @@
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/stream.h>
#include <guacamole/user.h>
#include <pthread.h>
#include <stddef.h>
int guac_rdp_user_join_handler(guac_user* user, int argc, char** argv) {