tmux  3.2a
About: tmux is a terminal multiplexer that lets you switch easily between several programs in one terminal.
  Fossies Dox: tmux-3.2a.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

alerts.c File Reference
#include <sys/types.h>
#include <stdlib.h>
#include "tmux.h"
Include dependency graph for alerts.c:

Go to the source code of this file.


static void alerts_timer (int, short, void *)
static int alerts_enabled (struct window *, int)
static void alerts_callback (int, short, void *)
static void alerts_reset (struct window *)
static int alerts_action_applies (struct winlink *, const char *)
static int alerts_check_all (struct window *)
static int alerts_check_bell (struct window *)
static int alerts_check_activity (struct window *)
static int alerts_check_silence (struct window *)
static void alerts_set_message (struct winlink *, const char *, const char *)
static TAILQ_HEAD (window)
void alerts_check_session (struct session *s)
void alerts_reset_all (void)
void alerts_queue (struct window *w, int flags)


static int alerts_fired

Function Documentation

◆ alerts_action_applies()

static int alerts_action_applies ( struct winlink wl,
const char *  name 

◆ alerts_callback()

static void alerts_callback ( int  fd,
short  events,
void *  arg 

◆ alerts_check_activity()

◆ alerts_check_all()

static int alerts_check_all ( struct window w)

◆ alerts_check_bell()

◆ alerts_check_session()

void alerts_check_session ( struct session s)

Definition at line 103 of file alerts.c.

References alerts_check_all(), winlink::window, and session::windows.

Referenced by server_destroy_session().

◆ alerts_check_silence()

◆ alerts_enabled()

static int alerts_enabled ( struct window w,
int  flags 

◆ alerts_queue()

void alerts_queue ( struct window w,
int  flags 

◆ alerts_reset()

static void alerts_reset ( struct window w)

◆ alerts_reset_all()

void alerts_reset_all ( void  )

Definition at line 130 of file alerts.c.

References alerts_reset(), and windows.

Referenced by options_push_changes().

◆ alerts_set_message()

static void alerts_set_message ( struct winlink wl,
const char *  type,
const char *  option 

◆ alerts_timer()

static void alerts_timer ( int  ,
short  ,
void *   

Referenced by alerts_reset().


static TAILQ_HEAD ( window  )

Definition at line 40 of file alerts.c.

Variable Documentation

◆ alerts_fired

int alerts_fired

Definition at line 25 of file alerts.c.

Referenced by alerts_callback(), and alerts_queue().