diff options
author | runge <runge> | 2006-01-09 01:54:38 +0000 |
---|---|---|
committer | runge <runge> | 2006-01-09 01:54:38 +0000 |
commit | 71f2ec79180185a6c3db0c87f9d53c491dc31e76 (patch) | |
tree | 67c341571cbeb1bd9a0744cc8eb03b30ef04f381 /x11vnc/cleanup.h | |
parent | def301266373e462f4a5e90eab443087ccfc7ccc (diff) | |
download | libtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.tar.gz libtdevnc-71f2ec79180185a6c3db0c87f9d53c491dc31e76.zip |
x11vnc: the big split.
Diffstat (limited to 'x11vnc/cleanup.h')
-rw-r--r-- | x11vnc/cleanup.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/x11vnc/cleanup.h b/x11vnc/cleanup.h new file mode 100644 index 0000000..c34b7e5 --- /dev/null +++ b/x11vnc/cleanup.h @@ -0,0 +1,25 @@ +#ifndef _X11VNC_CLEANUP_H +#define _X11VNC_CLEANUP_H + +/* -- cleanup.h -- */ + +extern int trapped_xerror; +extern int trapped_xioerror; +extern int trapped_getimage_xerror; +extern int trapped_record_xerror; +extern XErrorEvent *trapped_xerror_event; + +extern int crash_debug; + +extern void clean_shm(int quick); +extern void clean_up_exit (int ret); + +extern int trap_xerror(Display *d, XErrorEvent *error); +extern int trap_xioerror(Display *d); +extern int trap_getimage_xerror(Display *d, XErrorEvent *error); +extern char *xerror_string(XErrorEvent *error); +extern void initialize_crash_handler(void); +extern void initialize_signals(void); +extern int known_sigpipe_mode(char *s); + +#endif /* _X11VNC_CLEANUP_H */ |