1 /* 2 * pwm/signal.h 3 * 4 * Copyright (c) Tuomo Valkonen 1999-2001. 5 * 6 * You may distribute and modify this program under the terms of either 7 * the Clarified Artistic License or the GNU GPL, version 2 or later. 8 */ 9 10 #ifndef INCLUDED_SIGNAL_H 11 #define INCLUDED_SIGNAL_H 12 13 #include "common.h" 14 15 #define COMM_WIN DefaultRootWindow(wglobal.dpy) 16 17 extern void check_signals(); 18 extern void trap_signals(); 19 extern void set_timer(uint msecs, void (*handler)()); 20 extern void reset_timer(); 21 22 #endif /* INCLUDED_SIGNAL_H */ 23