* Remove unnecesary escape character in question to user when creating
[alpine.git] / alpine / signal.h
blob6aef5d986012342317dd0ffe0159c0263dc45573
1 /*
2 * $Id: signal.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2013-2017 Eduardo Chappa
6 * Copyright 2006 University of Washington
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * ========================================================================
17 #ifndef PINE_SIGNAL_INCLUDED
18 #define PINE_SIGNAL_INCLUDED
21 #include <general.h>
23 #include "../pith/osdep/pipe.h" /* for PIPE_S */
25 #include "../pith/state.h"
26 #include "../pith/signal.h"
28 #define MAX_BM 150 /* max length of busy message */
31 /* exported protoypes */
32 RETSIGTYPE hup_signal(void);
33 RETSIGTYPE child_signal(int);
34 void user_input_timeout_exit(int);
35 void init_signals(void);
36 void init_sigwinch(void);
37 void end_signals(int);
38 int ttyfix(int);
39 UCS do_suspend(void);
40 void winch_cleanup(void);
41 void pipe_callback(PIPE_S *, int, void *);
42 void fix_windsize(struct pine *);
45 #endif /* PINE_SIGNAL_INCLUDED */