diff options
author | dscho <dscho> | 2001-11-14 15:08:53 +0000 |
---|---|---|
committer | dscho <dscho> | 2001-11-14 15:08:53 +0000 |
commit | b2253e36574fed514fd2c256cc0cbc7b9729733e (patch) | |
tree | b43282afa3b49960092a6ceab9cdf1399d904bb7 /rfb.h | |
parent | 682027413c5f470b02ca8c168942c7c12c4f0d84 (diff) | |
download | libtdevnc-b2253e36574fed514fd2c256cc0cbc7b9729733e.tar.gz libtdevnc-b2253e36574fed514fd2c256cc0cbc7b9729733e.zip |
changes from Justin, zippy added
Diffstat (limited to 'rfb.h')
-rw-r--r-- | rfb.h | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -1,3 +1,6 @@ +#ifndef RFB_H +#define RFB_H + /* * rfb.h - header file for RFB DDX implementation. */ @@ -285,7 +288,9 @@ typedef struct Bool dontConvertRichCursorToXCursor; struct rfbCursor* cursor; - /* the following members have to be supplied by the serving process */ + /* the frameBufferhas to be supplied by the serving process. + * The buffer will not be freed by + */ char* frameBuffer; KbdAddEventProcPtr kbdAddEvent; KbdReleaseAllKeysProcPtr kbdReleaseAllKeys; @@ -720,6 +725,12 @@ extern int rfbSelectBox(rfbScreenInfoPtr rfbScreen, Pixel foreColour, Pixel backColour, int border,SelectionChangedHookPtr selChangedHook); +/* cargs.c */ + +extern void rfbUsage(); +extern void rfbProcessArguments(rfbScreenInfoPtr rfbScreen,int* argc, char *argv[]); +extern void rfbProcessSizeArguments(int* width,int* height,int* bpp,int* argc, char *argv[]); + /* main.c */ extern void rfbLog(char *format, ...); @@ -736,7 +747,7 @@ void rfbMarkRegionAsModified(rfbScreenInfoPtr rfbScreen,sraRegionPtr modRegion); void doNothingWithClient(rfbClientPtr cl); /* functions to make a vnc server */ -extern rfbScreenInfoPtr rfbGetScreen(int argc,char** argv, +extern rfbScreenInfoPtr rfbGetScreen(int* argc,char** argv, int width,int height,int bitsPerSample,int samplesPerPixel, int bytesPerPixel); extern void rfbInitServer(rfbScreenInfoPtr rfbScreen); @@ -749,3 +760,5 @@ extern void rfbScreenCleanup(rfbScreenInfoPtr screenInfo); extern void rfbRunEventLoop(rfbScreenInfoPtr screenInfo, long usec, Bool runInBackground); extern void rfbProcessEvents(rfbScreenInfoPtr screenInfo,long usec); + +#endif |