summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-02-10 21:19:34 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-02-10 21:19:34 +0000
commit15739ddd2345d227a16d18a3abfb740ae7c2ec0f (patch)
treebd608a8b9771d60c785a9cc84e297748960fe33d /mutt.h
parent25a768b966efe0f5570d6b6356b9752add6efb49 (diff)
patch.mutt-0.95.1i.ld.signals.1: A major redesign of how child
processes are invoked. From Liviu.
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/mutt.h b/mutt.h
index 44c61e51..190375b5 100644
--- a/mutt.h
+++ b/mutt.h
@@ -27,6 +27,7 @@
#include <time.h>
#include <limits.h>
#include <stdarg.h>
+#include <signal.h>
#ifndef _POSIX_PATH_MAX
#include <posix1_lim.h>
@@ -371,6 +372,7 @@ enum
OPTMSGERR, /* (pseudo) used by mutt_error/mutt_message */
OPTSEARCHINVALID, /* (pseudo) used to invalidate the search pat */
OPTSIGNALSBLOCKED, /* (pseudo) using by mutt_block_signals () */
+ OPTSYSSIGNALSBLOCKED, /* (pseudo) using by mutt_block_signals_system () */
OPTNEEDRESORT, /* (pseudo) used to force a re-sort */
OPTVIEWATTACH, /* (pseudo) signals that we are viewing attachments */
OPTFORCEREDRAWINDEX, /* (pseudo) used to force a redraw in the main index */
@@ -403,9 +405,13 @@ enum
#define option(x) mutt_bit_isset(Options,x)
/* Bit fields for ``Signals'' */
-#define S_INTERRUPT (1<<1)
-#define S_SIGWINCH (1<<2)
-#define S_ALARM (1<<3)
+#define S_INTERRUPT (1<<0)
+#define S_SIGWINCH (1<<1)
+#define S_ALARM (1<<2)
+
+/* Exit values used in send_msg() */
+#define S_ERR 127
+#define S_BKG 126
typedef struct list_t
{