From 48029a3a0b854c50ef1b5e0b1cb27ba5f6220d9d Mon Sep 17 00:00:00 2001 From: dscho Date: Thu, 31 Jul 2003 16:48:23 +0000 Subject: rfbLog can be overridden; EINTR on read/write means just try again --- rfb/rfb.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rfb') 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); -- cgit v1.1