40#if defined(USE_DEBUG_GRAPHVIZ) || defined(USE_DEBUG_BACKTRACE)
53 int save_errno = errno;
111#ifdef USE_DEBUG_BACKTRACE
114#ifdef USE_DEBUG_GRAPHVIZ
118 struct sigaction act = { 0 };
119 sigemptyset(&act.sa_mask);
121 act.sa_handler = SIG_DFL;
122 sigaction(sig, &act, NULL);
GUI display the mailboxes in a side panel.
void show_backtrace(void)
Log the program's call stack.
bool cs_subset_bool(const struct ConfigSubset *sub, const char *name)
Get a boolean config item by name.
Convenience wrapper for the config headers.
Convenience wrapper for the core headers.
Convenience wrapper for the debug headers.
void dump_graphviz(const char *title, struct MailboxView *mv)
static void curses_signal_handler(int sig)
Catch signals and relay the info to the main program - Implements sig_handler_t -.
static void curses_segv_handler(int sig)
Catch a segfault and print a backtrace - Implements sig_handler_t -.
static void curses_exit_handler(int sig)
Notify the user and shutdown gracefully - Implements sig_handler_t -.
Convenience wrapper for the gui headers.
Convenience wrapper for the library headers.
void mutt_temp_attachments_cleanup(void)
Delete all temporary attachments.
enum MuttCursorState mutt_curses_set_cursor(enum MuttCursorState state)
Set the cursor state.
MuttCursorState
Cursor states for mutt_curses_set_cursor()
@ MUTT_CURSOR_VISIBLE
Display a normal cursor.
static int IsEndwin
Ncurses function isendwin() has been called.
void mutt_signal_init(void)
Initialise the signal handling.
Prototypes for many functions.
void mutt_sig_init(sig_handler_t sig_fn, sig_handler_t exit_fn, sig_handler_t segv_fn)
Initialise the signal handling.
volatile sig_atomic_t SigWinch
true after SIGWINCH is received
volatile sig_atomic_t SigInt
true after SIGINT is received
void mutt_sig_exit_handler(int sig)
Notify the user and shutdown gracefully.
Container for Accounts, Notifications.
struct ConfigSubset * sub
Inherited config items.