public static extern byte rfbProcessEvents(RfbScreenInfoPtr screenInfo, long usec);
public static extern byte rfbIsActive(RfbScreenInfoPtr screenInfo);
public static extern void rfbRunEventLoop(RfbScreenInfoPtr screenInfo, long usec, byte runInBackground);
public static extern void rfbMarkRectAsModified(RfbScreenInfoPtr rfbScreen, int x1, int y1, int x2, int y2);
public static extern void rfbNewFramebuffer(RfbScreenInfoPtr rfbScreen, void *framebuffer, int width, int height, int bitsPerSample, int samplesPerPixel, int bytesPerPixel);
public static extern void rfbInitServerWithPthreadsAndZRLE(RfbScreenInfoPtr rfbScreen);
public static extern void rfbInitServerWithoutPthreadsButWithZRLE(RfbScreenInfoPtr rfbScreen);