* Fix an error in compilation when Alpine is not built with S/MIME
[alpine.git] / alpine / signal.h
blob0abf69243c1fd62d435cbd9d6f44d122c5b9dd71
1 /*
2 * $Id: signal.h 761 2007-10-23 22:35:18Z hubert@u.washington.edu $
4 * ========================================================================
5 * Copyright 2006 University of Washington
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * ========================================================================
16 #ifndef PINE_SIGNAL_INCLUDED
17 #define PINE_SIGNAL_INCLUDED
20 #include <general.h>
22 #include "../pith/osdep/pipe.h" /* for PIPE_S */
24 #include "../pith/state.h"
25 #include "../pith/signal.h"
27 #define MAX_BM 150 /* max length of busy message */
30 /* exported protoypes */
31 RETSIGTYPE hup_signal(void);
32 RETSIGTYPE child_signal(int);
33 void user_input_timeout_exit(int);
34 void init_signals(void);
35 void init_sigwinch(void);
36 void end_signals(int);
37 int ttyfix(int);
38 UCS do_suspend(void);
39 void winch_cleanup(void);
40 void pipe_callback(PIPE_S *, int, void *);
41 void fix_windsize(struct pine *);
44 #endif /* PINE_SIGNAL_INCLUDED */