4 void do_coredump(void);
6 /* not really a wrapper, but useful and X related */
7 void PrintXErrorAndCoredump(Display
*dpy
, XErrorEvent
*error
, char *MyName
);
9 typedef int (*ferror_handler_t
)(Display
*, XErrorEvent
*);
10 void ferror_set_temp_error_handler(ferror_handler_t new_handler
);
11 void ferror_reset_temp_error_handler(void);
12 int ferror_call_next_error_handler(Display
*dpy
, XErrorEvent
*error
);