1 /* 2 netrik -- The ANTRIK Internet Viewer 3 Copyright (C) Olaf D. Buddenhagen AKA antrik, et al (see AUTHORS) 4 Published under the GNU GPL; see LICENSE for details. 5 */ 6 /* 7 * interrupt.h -- declarations for interrupt.c 8 * 9 * (C) 2002 antrik 10 */ 11 #include <setjmp.h> 12 13 extern jmp_buf label_int; /* return position after SIGINT received */ 14 15 void init_int(void); /* prepare constants for _int functions */ 16 17 void hold_int(void); /* put SIGINT on hold */ 18 void enable_int(void); /* allow SIGINT delivery */ 19 void disable_int(void); /* ignore SIGINT */ 20