2
* $Id: signal.h 147 2006-09-28 02:25:13Z mikes@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
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);
39
void winch_cleanup(void);
40
void pipe_callback(PIPE_S *, int, void *);
41
void fix_windsize(struct pine *);
44
#endif /* PINE_SIGNAL_INCLUDED */