Remove rfb/ include prefix

This avoids accidentally including libvncclient's public API.
pull/12/head
Andri Yngvason 2022-07-06 21:16:58 +00:00
parent f1bba8e9bb
commit 81c9d8452c
18 changed files with 19 additions and 19 deletions

View File

@ -18,7 +18,7 @@
#define OPEN_H264_MAX_CONTEXTS 64 #define OPEN_H264_MAX_CONTEXTS 64
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include <stdbool.h> #include <stdbool.h>

View File

@ -32,9 +32,9 @@
* @file rfbclient.h * @file rfbclient.h
*/ */
#include "rfb/rfbproto.h" #include "rfbproto.h"
#include "rfb/keysym.h" #include "keysym.h"
#include "rfb/threading.h" #include "threading.h"
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
@ -569,7 +569,7 @@ extern rfbBool SendExtDesktopSize(rfbClient* client, uint16_t width, uint16_t he
* viewer (i.e. it controls the server), you'll want to send the keys that the * viewer (i.e. it controls the server), you'll want to send the keys that the
* user presses to the server. Use this function to do that. * user presses to the server. Use this function to do that.
* @param client The client through which to send the key event * @param client The client through which to send the key event
* @param key An rfbKeySym defined in rfb/keysym.h * @param key An rfbKeySym defined in keysym.h
* @param down true if this was a key down event, false otherwise * @param down true if this was a key down event, false otherwise
* @return true if the key event was send successfully, false otherwise * @return true if the key event was send successfully, false otherwise
*/ */
@ -578,7 +578,7 @@ extern rfbBool SendKeyEvent(rfbClient* client,uint32_t key, rfbBool down);
* The same as SendKeyEvent, except a key code will be sent along with the * The same as SendKeyEvent, except a key code will be sent along with the
* symbol if the server supports extended key events. * symbol if the server supports extended key events.
* @param client The client through which to send the key event * @param client The client through which to send the key event
* @param keysym An rfbKeySym defined in rfb/keysym.h * @param keysym An rfbKeySym defined in keysym.h
* @param keycode An XT key code * @param keycode An XT key code
* @param down true if this was a key down event, false otherwise * @param down true if this was a key down event, false otherwise
* @return true if the extended key event is supported and was sent * @return true if the extended key event is supported and was sent

View File

@ -22,7 +22,7 @@
#ifdef LIBVNCSERVER_HAVE_SASL #ifdef LIBVNCSERVER_HAVE_SASL
#include "rfb/rfbclient.h" #include "rfbclient.h"
/* /*
* Perform the SASL authentication process * Perform the SASL authentication process

View File

@ -16,7 +16,7 @@
#pragma once #pragma once
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include <stdbool.h> #include <stdbool.h>
#include <unistd.h> #include <unistd.h>

View File

@ -22,7 +22,7 @@
* RichCursor preudo-encodings). * RichCursor preudo-encodings).
*/ */
#include "rfb/rfbclient.h" #include "rfbclient.h"
#define OPER_SAVE 0 #define OPER_SAVE 0
#define OPER_RESTORE 1 #define OPER_RESTORE 1

View File

@ -21,7 +21,7 @@
* vncauth.c - Functions for VNC password management and authentication. * vncauth.c - Functions for VNC password management and authentication.
*/ */
#include "rfb/rfbproto.h" #include "rfbproto.h"
#include <sys/types.h> #include <sys/types.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>

View File

@ -15,7 +15,7 @@
*/ */
#include "open-h264.h" #include "open-h264.h"
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>

View File

@ -31,7 +31,7 @@
#include <errno.h> #include <errno.h>
#include <assert.h> #include <assert.h>
#include "rfb/rfbclient.h" #include "rfbclient.h"
#ifdef LIBVNCSERVER_HAVE_LIBZ #ifdef LIBVNCSERVER_HAVE_LIBZ
#include <zlib.h> #include <zlib.h>
#ifdef __CHECKER__ #ifdef __CHECKER__

View File

@ -30,7 +30,7 @@
*/ */
#include <errno.h> #include <errno.h>
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include "sockets.h" #include "sockets.h"

View File

@ -29,7 +29,7 @@
#include <assert.h> #include <assert.h>
#include <sys/param.h> #include <sys/param.h>
#include <poll.h> #include <poll.h>
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include "sockets.h" #include "sockets.h"
#include "tls.h" #include "tls.h"
#include "sasl.h" #include "sasl.h"

View File

@ -17,7 +17,7 @@
* USA. * USA.
*/ */
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include "tls.h" #include "tls.h"
#include <stdio.h> #include <stdio.h>

View File

@ -17,7 +17,7 @@
* USA. * USA.
*/ */
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include "tls.h" #include "tls.h"
#include <errno.h> #include <errno.h>

View File

@ -18,7 +18,7 @@
* USA. * USA.
*/ */
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include <stdio.h> #include <stdio.h>
#include <errno.h> #include <errno.h>

View File

@ -24,7 +24,7 @@
#include <libdrm/drm_fourcc.h> #include <libdrm/drm_fourcc.h>
#include <libavutil/frame.h> #include <libavutil/frame.h>
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include "vnc.h" #include "vnc.h"
#include "open-h264.h" #include "open-h264.h"
#include "usdt.h" #include "usdt.h"

View File

@ -24,7 +24,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#include "rfb/rfbclient.h" #include "rfbclient.h"
#include "tls.h" #include "tls.h"
static void Dummy(rfbClient* client) { static void Dummy(rfbClient* client) {