summaryrefslogtreecommitdiffstats
path: root/rfb
diff options
context:
space:
mode:
authordscho <dscho>2003-07-31 16:48:23 +0000
committerdscho <dscho>2003-07-31 16:48:23 +0000
commit48029a3a0b854c50ef1b5e0b1cb27ba5f6220d9d (patch)
tree849e6c47158118d479544dd1cbcc1b4d47199060 /rfb
parentae5142bdbd98f8a196d166331fa193ea20599cd9 (diff)
downloadlibvncserver-48029a3a0b854c50ef1b5e0b1cb27ba5f6220d9d.zip
libvncserver-48029a3a0b854c50ef1b5e0b1cb27ba5f6220d9d.tar.gz
rfbLog can be overridden; EINTR on read/write means just try again
Diffstat (limited to 'rfb')
-rw-r--r--rfb/rfb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rfb/rfb.h b/rfb/rfb.h
index 171b076..8c22ce1 100644
--- a/rfb/rfb.h
+++ b/rfb/rfb.h
@@ -729,7 +729,8 @@ extern rfbBool rfbProcessSizeArguments(int* width,int* height,int* bpp,int* argc
/* main.c */
extern void rfbLogEnable(int enabled);
-extern void rfbLog(const char *format, ...);
+typedef void (*rfbLogProc)(const char *format, ...);
+extern rfbLogProc rfbLog;
extern void rfbLogPerror(const char *str);
void rfbScheduleCopyRect(rfbScreenInfoPtr rfbScreen,int x1,int y1,int x2,int y2,int dx,int dy);
OpenPOWER on IntegriCloud