Fixed headers, removed unused.

This commit is contained in:
Michael Jumper 2011-12-21 18:54:38 -08:00
parent cda03dc6db
commit 6741c3c92f
6 changed files with 5 additions and 31 deletions

View File

@ -48,7 +48,7 @@ AC_CHECK_LIB([cairo], [cairo_create],, AC_MSG_ERROR("cairo is required for drawi
AC_CHECK_LIB([vncclient], [rfbInitClient],, AC_MSG_ERROR("libvncclient is required")) AC_CHECK_LIB([vncclient], [rfbInitClient],, AC_MSG_ERROR("libvncclient is required"))
# Checks for header files. # Checks for header files.
AC_CHECK_HEADERS([stdlib.h string.h syslog.h guacamole/client.h guacamole/guacio.h guacamole/protocol.h]) AC_CHECK_HEADERS([stdlib.h string.h syslog.h guacamole/client.h guacamole/socket.h guacamole/protocol.h])
# Checks for library functions. # Checks for library functions.
AC_FUNC_MALLOC AC_FUNC_MALLOC

View File

@ -38,16 +38,6 @@
#ifndef __GUAC_VNC_GUAC_HANDLERS_H #ifndef __GUAC_VNC_GUAC_HANDLERS_H
#define __GUAC_VNC_GUAC_HANDLERS_H #define __GUAC_VNC_GUAC_HANDLERS_H
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
#include <syslog.h>
#include <rfb/rfbclient.h>
#include <guacamole/socket.h>
#include <guacamole/protocol.h>
#include <guacamole/client.h> #include <guacamole/client.h>
int vnc_guac_client_handle_messages(guac_client* client); int vnc_guac_client_handle_messages(guac_client* client);

View File

@ -35,20 +35,11 @@
* *
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include <stdlib.h> #ifndef __GUAC_VNC_VNC_HANDLERS_H
#include <stdio.h> #define __GUAC_VNC_VNC_HANDLERS_H
#include <string.h>
#include <time.h>
#include <syslog.h>
#include <cairo/cairo.h>
#include <rfb/rfbclient.h> #include <rfb/rfbclient.h>
#include <guacamole/socket.h>
#include <guacamole/protocol.h>
#include <guacamole/client.h>
void guac_vnc_cursor(rfbClient* client, int x, int y, int w, int h, int bpp); void guac_vnc_cursor(rfbClient* client, int x, int y, int w, int h, int bpp);
void guac_vnc_update(rfbClient* client, int x, int y, int w, int h); void guac_vnc_update(rfbClient* client, int x, int y, int w, int h);
void guac_vnc_copyrect(rfbClient* client, int src_x, int src_y, int w, int h, int dest_x, int dest_y); void guac_vnc_copyrect(rfbClient* client, int src_x, int src_y, int w, int h, int dest_x, int dest_y);
@ -58,3 +49,5 @@ void guac_vnc_cut_text(rfbClient* client, const char* text, int textlen);
void guac_vnc_client_log_info(const char* format, ...); void guac_vnc_client_log_info(const char* format, ...);
void guac_vnc_client_log_error(const char* format, ...); void guac_vnc_client_log_error(const char* format, ...);
#endif

View File

@ -36,10 +36,7 @@
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h>
#include <syslog.h>
#include <rfb/rfbclient.h> #include <rfb/rfbclient.h>

View File

@ -36,15 +36,11 @@
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include <syslog.h>
#include <rfb/rfbclient.h> #include <rfb/rfbclient.h>
#include <guacamole/socket.h>
#include <guacamole/protocol.h>
#include <guacamole/client.h> #include <guacamole/client.h>
#include "client.h" #include "client.h"

View File

@ -36,8 +36,6 @@
* ***** END LICENSE BLOCK ***** */ * ***** END LICENSE BLOCK ***** */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <time.h> #include <time.h>
#include <syslog.h> #include <syslog.h>