add psize to the recno structure, to pass down to the btree
[unix-history] / usr / src / lib / libedit / sig.h
CommitLineData
bb117e7b
KB
1/*-
2 * Copyright (c) 1992 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Christos Zoulas of Cornell University.
7 *
8 * %sccs.include.redist.c%
9 *
b6dd18ed 10 * @(#)sig.h 5.3 (Berkeley) %G%
bb117e7b
KB
11 */
12
13/*
14 * el.sig.h: Signal handling functions
15 */
16#ifndef _h_el_sig
17#define _h_el_sig
18
19#include <signal.h>
20
25b839a8 21#include "histedit.h"
bb117e7b
KB
22
23/*
24 * Define here all the signals we are going to handle
25 * The _DO macro is used to iterate in the source code
26 */
27#define ALLSIGS \
28 _DO(SIGINT) \
29 _DO(SIGTSTP) \
30 _DO(SIGSTOP) \
31 _DO(SIGQUIT) \
32 _DO(SIGHUP) \
33 _DO(SIGTERM) \
34 _DO(SIGCONT) \
35 _DO(SIGWINCH)
36
37typedef sig_t *el_signal_t;
38
39protected void sig_end __P((EditLine*));
40protected int sig_init __P((EditLine*));
41protected void sig_set __P((EditLine*));
42protected void sig_clr __P((EditLine*));
43
44#endif /* _h_el_sig */