summaryrefslogtreecommitdiffstats
path: root/libvncserver/main.c
diff options
context:
space:
mode:
authordscho <dscho>2005-10-06 19:07:01 +0000
committerdscho <dscho>2005-10-06 19:07:01 +0000
commitd15e35586baac59e5fe585a86d26cb606bd87969 (patch)
tree2a671865dfa9065f7a0ffee7da9d7f659a57163c /libvncserver/main.c
parent60f1770e1081e81502dc2ba000c27f730f5c1e7c (diff)
downloadlibtdevnc-d15e35586baac59e5fe585a86d26cb606bd87969.tar.gz
libtdevnc-d15e35586baac59e5fe585a86d26cb606bd87969.zip
kill BackChannel and CustomClientMessage: the new extension technique makes these hooks obsolete
Diffstat (limited to 'libvncserver/main.c')
-rw-r--r--libvncserver/main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libvncserver/main.c b/libvncserver/main.c
index 240d50d..e6908e1 100644
--- a/libvncserver/main.c
+++ b/libvncserver/main.c
@@ -596,11 +596,6 @@ static enum rfbNewClientAction rfbDefaultNewClientHook(rfbClientPtr cl)
return RFB_CLIENT_ACCEPT;
}
-static rfbBool rfbDefaultProcessCustomClientMessage(rfbClientPtr cl,uint8_t type)
-{
- return FALSE;
-}
-
/*
* Update server's pixel format in screenInfo structure. This
* function is called from rfbGetScreen() and rfbNewFramebuffer().
@@ -745,7 +740,6 @@ rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv,
screen->setTranslateFunction = rfbSetTranslateFunction;
screen->newClientHook = rfbDefaultNewClientHook;
screen->displayHook = NULL;
- screen->processCustomClientMessage = rfbDefaultProcessCustomClientMessage;
/* initialize client list and iterator mutex */
rfbClientListInit(screen);