HomeSort by relevance Sort by last modified time
    Searched refs:rfbScreen (Results 1 - 17 of 17) sorted by null

  /external/libvncserver/libvncserver/
cutpaste.c 35 void rfbGotXCutText(rfbScreenInfoPtr rfbScreen, char *str, int len)
37 rfbSendServerCutText(rfbScreen, str, len);
httpd.c 104 rfbHttpInitSockets(rfbScreenInfoPtr rfbScreen)
106 if (rfbScreen->httpInitDone)
109 rfbScreen->httpInitDone = TRUE;
111 if (!rfbScreen->httpDir)
114 if (rfbScreen->httpPort == 0) {
115 rfbScreen->httpPort = rfbScreen->port-100;
118 if ((rfbScreen->httpListenSock =
119 rfbListenOnTCPPort(rfbScreen->httpPort, rfbScreen->listenInterface)) < 0)
    [all...]
sockets.c 131 rfbInitSockets(rfbScreenInfoPtr rfbScreen)
133 in_addr_t iface = rfbScreen->listenInterface;
135 if (rfbScreen->socketState == RFB_SOCKET_READY) {
139 rfbScreen->socketState = RFB_SOCKET_READY;
141 if (rfbScreen->inetdSock != -1) {
144 if(!rfbSetNonBlocking(rfbScreen->inetdSock))
147 if (setsockopt(rfbScreen->inetdSock, IPPROTO_TCP, TCP_NODELAY,
153 FD_ZERO(&(rfbScreen->allFds));
154 FD_SET(rfbScreen->inetdSock, &(rfbScreen->allFds))
    [all...]
cargs.c 77 rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[])
92 rfbScreen->port = atoi(argv[++i]);
99 rfbScreen->ipv6port = atoi(argv[++i]);
106 rfbScreen->maxClientWait = atoi(argv[++i]);
112 rfbScreen->authPasswdData = argv[++i];
115 rfbScreen->permitFileTransfer = TRUE;
121 sscanf(argv[++i],"%d.%d", &rfbScreen->protocolMajorVersion, &rfbScreen->protocolMinorVersion);
130 rfbScreen->authPasswdData = (void*)passwds;
131 rfbScreen->passwordCheck = rfbCheckPasswordByList
    [all...]
font.c 3 int rfbDrawChar(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
9 int rowstride=rfbScreen->paddedWidthInBytes;
10 int bpp=rfbScreen->serverFormat.bitsPerPixel/8;
27 if(d&0x80 && y+j >= 0 && y+j < rfbScreen->height &&
28 x+i >= 0 && x+i < rfbScreen->width)
29 memcpy(rfbScreen->frameBuffer+(y+j)*rowstride+(x+i)*bpp,colour,bpp);
37 void rfbDrawString(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
41 x+=rfbDrawChar(rfbScreen,font,x,y,*string,colour);
48 int rfbDrawCharWithClip(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
56 int rowstride=rfbScreen->paddedWidthInBytes
    [all...]
selbox.c 203 int rfbSelectBox(rfbScreenInfoPtr rfbScreen,rfbFontDataPtr font,
209 int bpp = rfbScreen->bitsPerPixel/8;
211 void* screenDataBackup = rfbScreen->screenData;
212 rfbKbdAddEventProcPtr kbdAddEventBackup = rfbScreen->kbdAddEvent;
213 rfbPtrAddEventProcPtr ptrAddEventBackup = rfbScreen->ptrAddEvent;
214 rfbGetCursorProcPtr getCursorPtrBackup = rfbScreen->getCursorPtr;
215 rfbDisplayHookPtr displayHookBackup = rfbScreen->displayHook;
250 selData.screen = rfbScreen;
262 rfbScreen->screenData = &selData;
263 rfbScreen->kbdAddEvent = selKbdAddEvent
    [all...]
cursor.c 370 void rfbMakeXCursorFromRichCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr cursor)
372 rfbPixelFormat* format=&rfbScreen->serverFormat;
440 void rfbMakeRichCursorFromXCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr cursor)
442 rfbPixelFormat* format=&rfbScreen->serverFormat;
726 void rfbSetCursor(rfbScreenInfoPtr rfbScreen,rfbCursorPtr c)
731 LOCK(rfbScreen->cursorMutex);
733 if(rfbScreen->cursor) {
734 iterator=rfbGetClientIterator(rfbScreen);
740 if(rfbScreen->cursor->cleanup)
741 rfbFreeCursor(rfbScreen->cursor)
    [all...]
rfbserver.c 161 rfbClientListInit(rfbScreenInfoPtr rfbScreen)
169 rfbScreen->clientHead = NULL;
174 rfbGetClientIterator(rfbScreenInfoPtr rfbScreen)
179 i->screen = rfbScreen;
185 rfbGetClientIteratorWithClosed(rfbScreenInfoPtr rfbScreen)
190 i->screen = rfbScreen;
248 rfbNewClientConnection(rfbScreenInfoPtr rfbScreen,
251 rfbNewClient(rfbScreen,sock);
261 rfbReverseConnection(rfbScreenInfoPtr rfbScreen,
268 if ((sock = rfbConnect(rfbScreen, host, port)) < 0
    [all...]
translate.c 448 rfbSetClientColourMaps(rfbScreenInfoPtr rfbScreen, int firstColour, int nColours)
453 i = rfbGetClientIterator(rfbScreen);
main.c 267 void rfbScheduleCopyRegion(rfbScreenInfoPtr rfbScreen,sraRegionPtr copyRegion,int dx,int dy)
272 iterator=rfbGetClientIterator(rfbScreen);
1099 rfbGetClientIteratorWithClosed(rfbScreenInfoPtr rfbScreen);
  /external/libvncserver/examples/
pnmshow24.c 27 rfbScreenInfoPtr rfbScreen;
62 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,3,3);
63 if(!rfbScreen)
66 rfbScreen->desktopName = argv[1];
68 rfbScreen->desktopName = "Picture";
69 rfbScreen->alwaysShared = TRUE;
70 rfbScreen->kbdAddEvent = HandleKey;
73 rfbScreen->httpDir = "../webclients";
76 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*3*height);
77 fread(rfbScreen->frameBuffer,width*3,height,in)
    [all...]
pnmshow.c 21 rfbScreenInfoPtr rfbScreen;
67 rfbScreen = rfbGetScreen(&argc,argv,paddedWidth,height,8,(bitsPerPixelInFile+7)/8,bytesPerPixel);
68 if(!rfbScreen)
71 rfbScreen->desktopName = argv[1];
73 rfbScreen->desktopName = "Picture";
74 rfbScreen->alwaysShared = TRUE;
75 rfbScreen->kbdAddEvent = HandleKey;
78 rfbScreen->httpDir = "../webclients";
81 rfbScreen->frameBuffer = (char*)malloc(paddedWidth*bytesPerPixel*height);
82 fread(rfbScreen->frameBuffer,width*bitsPerPixelInFile/8,height,in)
    [all...]
fontsel.c 13 static rfbScreenInfoPtr rfbScreen = NULL;
19 if(!rfbScreen) return;
28 rfbFillRect(rfbScreen,210,30-20,210+10*16,30-20+256*20/16,0xb77797);
33 rfbDrawCharWithClip(rfbScreen,curFont,210+10*i,30+j*20/16,j+i,
57 rfbScreen = s;
example.c 227 static void MakeRichCursor(rfbScreenInfoPtr rfbScreen)
230 rfbCursorPtr c = rfbScreen->cursor;
264 c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap);
283 rfbScreenInfoPtr rfbScreen = rfbGetScreen(&argc,argv,maxx,maxy,8,3,bpp);
284 if(!rfbScreen)
286 rfbScreen->desktopName = "LibVNCServer Example";
287 rfbScreen->frameBuffer = (char*)malloc(maxx*maxy*bpp);
288 rfbScreen->alwaysShared = TRUE;
289 rfbScreen->ptrAddEvent = doptr;
290 rfbScreen->kbdAddEvent = dokey
    [all...]
mac.c 206 rfbScreenInfoPtr rfbScreen;
453 rfbScreen = rfbGetScreen(&argc,argv,
458 if(!rfbScreen)
460 rfbScreen->serverFormat.redShift = bitsPerSample*2;
461 rfbScreen->serverFormat.greenShift = bitsPerSample*1;
462 rfbScreen->serverFormat.blueShift = 0;
464 gethostname(rfbScreen->thisHost, 255);
465 rfbScreen->paddedWidthInBytes = CGDisplayBytesPerRow(kCGDirectMainDisplay);
466 rfbScreen->frameBuffer =
470 rfbScreen->cursor = NULL
    [all...]
  /external/libvncserver/test/
cursortest.c 46 static void SetXCursor(rfbScreenInfoPtr rfbScreen)
78 rfbSetCursor(rfbScreen, c);
81 static void SetXCursor2(rfbScreenInfoPtr rfbScreen)
134 rfbSetCursor(rfbScreen, c);
139 static void SetRichCursor(rfbScreenInfoPtr rfbScreen)
143 /* rfbCursorPtr c = rfbScreen->cursor; */
191 rfbSetCursor(rfbScreen, c);
195 static void SetRichCursor2(rfbScreenInfoPtr rfbScreen)
198 /* rfbCursorPtr c = rfbScreen->cursor; */
217 /* c=rfbScreen->cursor = rfbMakeXCursor(w,h,bitmap,bitmap); *
    [all...]
  /external/libvncserver/rfb/
rfb.h 744 extern void rfbInitSockets(rfbScreenInfoPtr rfbScreen);
745 extern void rfbShutdownSockets(rfbScreenInfoPtr rfbScreen);
746 extern void rfbDisconnectUDPSock(rfbScreenInfoPtr rfbScreen);
752 extern int rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec);
753 extern int rfbConnect(rfbScreenInfoPtr rfbScreen, char* host, int port);
776 extern void rfbClientListInit(rfbScreenInfoPtr rfbScreen);
777 extern rfbClientIteratorPtr rfbGetClientIterator(rfbScreenInfoPtr rfbScreen);
783 extern void rfbNewClientConnection(rfbScreenInfoPtr rfbScreen,int sock);
784 extern rfbClientPtr rfbNewClient(rfbScreenInfoPtr rfbScreen,int sock);
785 extern rfbClientPtr rfbNewUDPClient(rfbScreenInfoPtr rfbScreen);
    [all...]

Completed in 343 milliseconds