Defines | Functions | Variables

libvncserver/main.c File Reference

#include <rfb/rfb.h>
#include <rfb/rfbregion.h>
#include "private.h"
#include <stdarg.h>
#include <errno.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <unistd.h>
#include <signal.h>
#include <time.h>
#include <fcntl.h>
#include <conio.h>
#include <sys/timeb.h>
Include dependency graph for main.c:

Go to the source code of this file.

Defines

#define false   0
#define true   -1
#define FREE_IF(x)   if(screen->x) free(screen->x)

Functions

void rfbRegisterProtocolExtension (rfbProtocolExtension *extension)
void rfbUnregisterProtocolExtension (rfbProtocolExtension *extension)
rfbProtocolExtensionrfbGetExtensionIterator ()
void rfbReleaseExtensionIterator ()
rfbBool rfbEnableExtension (rfbClientPtr cl, rfbProtocolExtension *extension, void *data)
rfbBool rfbDisableExtension (rfbClientPtr cl, rfbProtocolExtension *extension)
void * rfbGetExtensionClientData (rfbClientPtr cl, rfbProtocolExtension *extension)
void rfbLogEnable (int enabled)
void rfbLogPerror (const char *str)
void rfbScheduleCopyRegion (rfbScreenInfoPtr rfbScreen, sraRegionPtr copyRegion, int dx, int dy)
void rfbDoCopyRegion (rfbScreenInfoPtr screen, sraRegionPtr copyRegion, int dx, int dy)
void rfbDoCopyRect (rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2, int dx, int dy)
void rfbScheduleCopyRect (rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2, int dx, int dy)
void rfbMarkRegionAsModified (rfbScreenInfoPtr screen, sraRegionPtr modRegion)
void rfbScaledScreenUpdate (rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2)
void rfbMarkRectAsModified (rfbScreenInfoPtr screen, int x1, int y1, int x2, int y2)
void rfbStartOnHoldClient (rfbClientPtr cl)
void rfbRefuseOnHoldClient (rfbClientPtr cl)
void rfbDefaultPtrAddEvent (int buttonMask, int x, int y, rfbClientPtr cl)
 cursor handling for the pointer
rfbBool rfbCheckPasswordByList (rfbClientPtr cl, const char *response, int len)
 to check against plain passwords
void rfbDoNothingWithClient (rfbClientPtr cl)
rfbScreenInfoPtr rfbGetScreen (int *argc, char **argv, int width, int height, int bitsPerSample, int samplesPerPixel, int bytesPerPixel)
void rfbNewFramebuffer (rfbScreenInfoPtr screen, char *framebuffer, int width, int height, int bitsPerSample, int samplesPerPixel, int bytesPerPixel)
void rfbScreenCleanup (rfbScreenInfoPtr screen)
void rfbInitServer (rfbScreenInfoPtr screen)
void rfbShutdownServer (rfbScreenInfoPtr screen, rfbBool disconnectClients)
void gettimeofday (struct timeval *tv, char *dummy)
rfbBool rfbProcessEvents (rfbScreenInfoPtr screen, long usec)
rfbBool rfbUpdateClient (rfbClientPtr cl)
rfbBool rfbIsActive (rfbScreenInfoPtr screenInfo)
void rfbRunEventLoop (rfbScreenInfoPtr screen, long usec, rfbBool runInBackground)

Variables

char rfbEndianTest = (1==1)
rfbLogProc rfbLog = rfbDefaultLog
rfbLogProc rfbErr = rfbDefaultLog

Define Documentation

#define false   0

Definition at line 24 of file main.c.

#define FREE_IF (   x  )     if(screen->x) free(screen->x)
#define true   -1

Definition at line 25 of file main.c.


Function Documentation

void gettimeofday ( struct timeval *  tv,
char *  dummy 
)
Examples:
camera.c.

Definition at line 1080 of file main.c.

Here is the caller graph for this function:

void rfbScaledScreenUpdate ( rfbScreenInfoPtr  screen,
int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 257 of file scale.c.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines