Jitterbug no more.
[fvwm.git] / modules / FvwmDebug / FvwmOldDebug.h
blob722a9e87d970c829ac524dfd49ff51d97477cf1a
1 /* -*-c-*- */
2 #include "config.h"
3 #include "libs/fvwmlib.h"
5 /*
7 * Subroutine Prototypes
9 */
10 void Loop(const int *fd);
11 RETSIGTYPE DeadPipe(int nonsense) __attribute__((noreturn));
12 void process_message(unsigned long type, const unsigned long *body);
14 void list_old_configure(const unsigned long *body);
15 void list_new_page(const unsigned long *body);
16 void list_new_desk(const unsigned long *body);
17 void list_focus(const unsigned long *body);
18 void list_winid(const unsigned long *body);
19 void list_unknown(const unsigned long *body);
20 void list_icon(const unsigned long *body);
21 void list_window_name(const unsigned long *body);
22 void list_restack(const unsigned long *body);
23 void list_error(const unsigned long *body);
24 void list_configure(const unsigned long *body);
27 #ifdef HAVE_WAITPID
28 # define ReapChildrenPid(pid) waitpid(pid, NULL, WNOHANG)
29 #elif HAVE_WAIT4
30 # define ReapChildrenPid(pid) wait4(pid, NULL, WNOHANG, NULL)
31 #else
32 # error One of waitpid or wait4 is needed.
33 #endif
35 #if HAVE_SETVBUF
36 # if SETVBUF_REVERSED
37 # define setvbuf(stream,buf,mode,size) setvbuf(stream,mode,buf,size)
38 # endif
39 #else
40 # define setvbuf(a,b,c,d) setlinebuf(a)
41 #endif