summaryrefslogtreecommitdiffstats
path: root/rfb.h
diff options
context:
space:
mode:
authordscho <dscho>2001-09-26 21:20:27 +0000
committerdscho <dscho>2001-09-26 21:20:27 +0000
commit5c3eae92371309d94a5edd4e35caa71a2e481ab9 (patch)
treefa4389c90f5c4fcade0554568a458c087f5c13e8 /rfb.h
parentd6082b694129df97fcbe027d30655d2f0225fdca (diff)
downloadlibvncserver-5c3eae92371309d94a5edd4e35caa71a2e481ab9.zip
libvncserver-5c3eae92371309d94a5edd4e35caa71a2e481ab9.tar.gz
API corrections
Diffstat (limited to 'rfb.h')
-rw-r--r--rfb.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/rfb.h b/rfb.h
index 8c03a22..225e0b9 100644
--- a/rfb.h
+++ b/rfb.h
@@ -182,11 +182,14 @@ typedef struct
Bool inetdInitDone;
fd_set allFds;
int rfbMaxClientWait;
+ /* http stuff */
+ Bool httpInitDone;
int httpPort;
char* httpDir;
int httpListenSock;
int httpSock;
FILE* httpFP;
+
char* rfbAuthPasswdFile;
int rfbDeferUpdateTime;
char* rfbScreen;
@@ -601,12 +604,15 @@ void rfbMarkRegionAsModified(rfbScreenInfoPtr rfbScreen,RegionPtr modRegion);
void doNothingWithClient(rfbClientPtr cl);
/* functions to make a vnc server */
-extern rfbScreenInfoPtr rfbDefaultScreenInit(int argc,char** argv,int width,int height,int bitsPerSample,int samplesPerPixel,int bytesPerPixel);
+extern rfbScreenInfoPtr rfbGetScreen(int argc,char** argv,
+ int width,int height,int bitsPerSample,int samplesPerPixel,
+ int bytesPerPixel);
+extern void rfbInitServer(rfbScreenInfoPtr rfbScreen);
extern void rfbScreenCleanup(rfbScreenInfoPtr screenInfo);
/* call one of these two functions to service the vnc clients.
usec are the microseconds the select on the fds waits.
if you are using the event loop, set this to some value > 0. */
-extern void runEventLoop(rfbScreenInfoPtr screenInfo, long usec, Bool runInBackground);
-extern void processEvents(rfbScreenInfoPtr screenInfo,long usec);
+extern void rfbRunEventLoop(rfbScreenInfoPtr screenInfo, long usec, Bool runInBackground);
+extern void rfbProcessEvents(rfbScreenInfoPtr screenInfo,long usec);
OpenPOWER on IntegriCloud