File: XError.h

package info (click to toggle)
fvwm 1:2.6.8-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 15,804 kB
  • sloc: ansic: 145,770; xml: 17,093; perl: 7,302; sh: 4,921; makefile: 1,094; yacc: 688; lex: 187; sed: 11
file content (14 lines) | stat: -rw-r--r-- 453 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef FERROR_H
#define FERROR_H

void do_coredump(void);

/* not really a wrapper, but useful and X related */
void PrintXErrorAndCoredump(Display *dpy, XErrorEvent *error, char *MyName);

typedef int (*ferror_handler_t)(Display *, XErrorEvent *);
void ferror_set_temp_error_handler(ferror_handler_t new_handler);
void ferror_reset_temp_error_handler(void);
int ferror_call_next_error_handler(Display *dpy, XErrorEvent *error);

#endif /* FERROR_H */