GUACAMOLE-623: Add missin includes. Remove unnecessary includes.

This commit is contained in:
Michael Jumper 2018-09-10 21:05:23 -07:00
parent 77a866129b
commit 371eed1f93
16 changed files with 18 additions and 49 deletions

View File

@ -17,22 +17,21 @@
* under the License.
*/
#include "config.h"
#include "client.h"
#include "common/recording.h"
#include "common/clipboard.h"
#include "kubernetes.h"
#include "settings.h"
#include "terminal/terminal.h"
#include "user.h"
#include <guacamole/client.h>
#include <libwebsockets.h>
#include <langinfo.h>
#include <locale.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
#include <guacamole/client.h>
/**
* Static reference to the guac_client associated with the active Kubernetes
* connection. As guacd guarantees that each main client connection is

View File

@ -20,11 +20,7 @@
#ifndef GUAC_KUBERNETES_CLIENT_H
#define GUAC_KUBERNETES_CLIENT_H
#include "config.h"
#include "terminal/terminal.h"
#include <pthread.h>
#include <sys/types.h>
#include <guacamole/client.h>
/**
* The maximum number of bytes to allow within the clipboard.

View File

@ -17,11 +17,9 @@
* under the License.
*/
#include "config.h"
#include "clipboard.h"
#include "common/clipboard.h"
#include "kubernetes.h"
#include "terminal/terminal.h"
#include <guacamole/client.h>
#include <guacamole/stream.h>

View File

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

View File

@ -17,18 +17,15 @@
* under the License.
*/
#include "config.h"
#include "common/recording.h"
#include "kubernetes.h"
#include "input.h"
#include "kubernetes.h"
#include "terminal/terminal.h"
#include <guacamole/client.h>
#include <guacamole/user.h>
#include <stdlib.h>
#include <sys/types.h>
#include <unistd.h>
int guac_kubernetes_user_mouse_handler(guac_user* user,
int x, int y, int mask) {

View File

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

View File

@ -18,8 +18,8 @@
*/
#include "config.h"
#include "common/recording.h"
#include "kubernetes.h"
#include "common/recording.h"
#include "terminal/terminal.h"
#include "url.h"
@ -27,16 +27,10 @@
#include <guacamole/protocol.h>
#include <libwebsockets.h>
#include <errno.h>
#include <netdb.h>
#include <netinet/in.h>
#include <poll.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <unistd.h>
/**
* Handles data received from Kubernetes over WebSocket, decoding the channel

View File

@ -20,13 +20,15 @@
#ifndef GUAC_KUBERNETES_H
#define GUAC_KUBERNETES_H
#include "config.h"
#include "common/clipboard.h"
#include "common/recording.h"
#include "settings.h"
#include "terminal/terminal.h"
#include <guacamole/client.h>
#include <libwebsockets.h>
#include <pthread.h>
#include <stdint.h>
/**

View File

@ -17,12 +17,13 @@
* under the License.
*/
#include "config.h"
#include "kubernetes.h"
#include "pipe.h"
#include "terminal/terminal.h"
#include "pipe.h"
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/stream-types.h>
#include <guacamole/socket.h>
#include <guacamole/user.h>

View File

@ -21,8 +21,6 @@
#ifndef GUAC_KUBERNETES_PIPE_H
#define GUAC_KUBERNETES_PIPE_H
#include "config.h"
#include <guacamole/user.h>
/**

View File

@ -17,16 +17,11 @@
* under the License.
*/
#include "config.h"
#include "settings.h"
#include <guacamole/user.h>
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
/* Client plugin arguments */
const char* GUAC_KUBERNETES_CLIENT_ARGS[] = {

View File

@ -20,11 +20,8 @@
#ifndef GUAC_KUBERNETES_SETTINGS_H
#define GUAC_KUBERNETES_SETTINGS_H
#include "config.h"
#include <guacamole/user.h>
#include <sys/types.h>
#include <stdbool.h>
/**

View File

@ -17,10 +17,10 @@
* under the License.
*/
#include "config.h"
#include "url.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
static int guac_kubernetes_is_url_safe(char c) {

View File

@ -20,8 +20,6 @@
#ifndef GUAC_KUBERNETES_URL_H
#define GUAC_KUBERNETES_URL_H
#include "config.h"
/**
* The maximum number of characters allowed in the full path for any Kubernetes
* endpoint.

View File

@ -17,9 +17,8 @@
* under the License.
*/
#include "config.h"
#include "clipboard.h"
#include "common/cursor.h"
#include "input.h"
#include "kubernetes.h"
#include "pipe.h"
@ -28,11 +27,12 @@
#include "user.h"
#include <guacamole/client.h>
#include <guacamole/protocol.h>
#include <guacamole/socket.h>
#include <guacamole/user.h>
#include <pthread.h>
#include <string.h>
#include <stdlib.h>
int guac_kubernetes_user_join_handler(guac_user* user, int argc, char** argv) {

View File

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