summaryrefslogtreecommitdiffstats
path: root/libvncclient/vncviewer.c
diff options
context:
space:
mode:
authordscho <dscho>2003-07-30 09:42:36 +0000
committerdscho <dscho>2003-07-30 09:42:36 +0000
commiteeb2061dfb03ea11ba028b33037fa0805d22e6a4 (patch)
treedce009b7b0b68b8660aa01ae543883a0e36bf287 /libvncclient/vncviewer.c
parent964aa1628f2cc4fac17c22dc89fc2439bd87b00e (diff)
downloadlibtdevnc-eeb2061dfb03ea11ba028b33037fa0805d22e6a4.tar.gz
libtdevnc-eeb2061dfb03ea11ba028b33037fa0805d22e6a4.zip
API change: Bool, KeySym, Pixel get prefix "rfb"; constants in rfbconfig.h get prefix "LIBVNCSERVER_"
Diffstat (limited to 'libvncclient/vncviewer.c')
-rw-r--r--libvncclient/vncviewer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c
index 54fcb51..6288485 100644
--- a/libvncclient/vncviewer.c
+++ b/libvncclient/vncviewer.c
@@ -28,7 +28,7 @@
static void Dummy(rfbClient* client) {
}
-static Bool DummyPoint(rfbClient* client, int x, int y) {
+static rfbBool DummyPoint(rfbClient* client, int x, int y) {
return TRUE;
}
static void DummyRect(rfbClient* client, int x, int y, int w, int h) {
@@ -36,7 +36,7 @@ static void DummyRect(rfbClient* client, int x, int y, int w, int h) {
static char* NoPassword(rfbClient* client) {
return "";
}
-static Bool MallocFrameBuffer(rfbClient* client) {
+static rfbBool MallocFrameBuffer(rfbClient* client) {
if(client->frameBuffer)
free(client->frameBuffer);
client->frameBuffer=malloc(client->width*client->height*client->format.bitsPerPixel/8);
@@ -94,7 +94,7 @@ rfbClient* rfbGetClient(int* argc,char** argv,
return client;
}
-Bool rfbInitClient(rfbClient* client,const char* vncServerHost,int vncServerPort)
+rfbBool rfbInitClient(rfbClient* client,const char* vncServerHost,int vncServerPort)
{
/* Unless we accepted an incoming connection, make a TCP connection to the
given VNC server */