summaryrefslogtreecommitdiffstats
path: root/x11vnc/util.h
diff options
context:
space:
mode:
authorrunge <runge>2006-01-15 03:58:48 +0000
committerrunge <runge>2006-01-15 03:58:48 +0000
commit5993dd757e5af00af6565b3411ea10fd46eafbdf (patch)
tree7450fdde25310857c88221a719f026a1a09336f7 /x11vnc/util.h
parent60918e6664cd62ea3d71b48cdfda8b89ab82029c (diff)
downloadlibtdevnc-5993dd757e5af00af6565b3411ea10fd46eafbdf.tar.gz
libtdevnc-5993dd757e5af00af6565b3411ea10fd46eafbdf.zip
x11vnc: add -8to24 option for some multi-depth displays.
Diffstat (limited to 'x11vnc/util.h')
-rw-r--r--x11vnc/util.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11vnc/util.h b/x11vnc/util.h
index e919cf3..92e5e00 100644
--- a/x11vnc/util.h
+++ b/x11vnc/util.h
@@ -4,6 +4,8 @@
/* -- util.h -- */
extern int nfix(int i, int n);
+extern int nmin(int n, int m);
+extern int nmax(int n, int m);
extern int nabs(int n);
extern double dabs(double x);
extern void lowercase(char *str);
@@ -31,6 +33,8 @@ extern double rfac(void);
extern void rfbPE(long usec);
extern void rfbCFD(long usec);
+extern double rect_overlap(int x1, int y1, int x2, int y2, int X1, int Y1,
+ int X2, int Y2);
#define NONUL(x) ((x) ? (x) : "")