summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2003-07-30 14:58:32 +0000
committerdscho <dscho>2003-07-30 14:58:32 +0000
commitae5142bdbd98f8a196d166331fa193ea20599cd9 (patch)
treef075d64691f0137edc27f67fd49f0dc7f21e2337 /rfb
parenteeb2061dfb03ea11ba028b33037fa0805d22e6a4 (diff)
downloadlibvncserver-ae5142bdbd98f8a196d166331fa193ea20599cd9.zip
libvncserver-ae5142bdbd98f8a196d166331fa193ea20599cd9.tar.gz
add rfbclient.h to distribution; avoid C++ style comments
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h3
-rw-r--r--rfb/rfbclient.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 0d3944e..171b076 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -424,7 +424,6 @@ typedef struct _rfbClientRec {
#ifdef LIBVNCSERVER_HAVE_LIBJPEG
/* tight encoding -- preserve zlib streams' state for each client */
- //#ifdef LIBVNCSERVER_HAVE_LIBJPEG
z_stream zsStruct[4];
rfbBool zsActive[4];
int zsLevel[4];
@@ -713,7 +712,7 @@ void rfbDrawLine(rfbScreenInfoPtr s,int x1,int y1,int x2,int y2,rfbPixel col);
with a NULL.
It returns the index in the list or -1 if cancelled or something else
wasn't kosher. */
-typedef void (*SelectionChangedHookPtr)(int index);
+typedef void (*SelectionChangedHookPtr)(int _index);
extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen,
rfbFontDataPtr font, char** list,
int x1, int y1, int x2, int y2,
diff --git a/rfb/rfbclient.h b/rfb/rfbclient.h
index b53d36e..c738409 100644
--- a/rfb/rfbclient.h
+++ b/rfb/rfbclient.h
@@ -145,8 +145,6 @@ typedef struct _rfbClient {
/* cursor.c */
-// TODO: make callback
-
extern rfbBool HandleCursorShape(rfbClient* client,int xhot, int yhot, int width, int height, uint32_t enc);
/* listen.c */
OpenPOWER on IntegriCloud