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)  

server-fn.c File Reference
#include <sys/types.h>
#include <sys/wait.h>
#include <sys/uio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include "tmux.h"
Include dependency graph for server-fn.c:

Go to the source code of this file.

Functions

static struct sessionserver_next_session (struct session *)
 
static void server_destroy_session_group (struct session *)
 
void server_redraw_client (struct client *c)
 
void server_status_client (struct client *c)
 
void server_redraw_session (struct session *s)
 
void server_redraw_session_group (struct session *s)
 
void server_status_session (struct session *s)
 
void server_status_session_group (struct session *s)
 
void server_redraw_window (struct window *w)
 
void server_redraw_window_borders (struct window *w)
 
void server_status_window (struct window *w)
 
void server_lock (void)
 
void server_lock_session (struct session *s)
 
void server_lock_client (struct client *c)
 
void server_kill_pane (struct window_pane *wp)
 
void server_kill_window (struct window *w, int renumber)
 
void server_renumber_session (struct session *s)
 
void server_renumber_all (void)
 
int server_link_window (struct session *src, struct winlink *srcwl, struct session *dst, int dstidx, int killflag, int selectflag, char **cause)
 
void server_unlink_window (struct session *s, struct winlink *wl)
 
void server_destroy_pane (struct window_pane *wp, int notify)
 
static struct sessionserver_next_detached_session (struct session *s)
 
void server_destroy_session (struct session *s)
 
void server_check_unattached (void)
 
void server_unzoom_window (struct window *w)
 

Function Documentation

◆ server_check_unattached()

void server_check_unattached ( void  )

◆ server_destroy_pane()

◆ server_destroy_session()

◆ server_destroy_session_group()

static void server_destroy_session_group ( struct session s)
static

◆ server_kill_pane()

◆ server_kill_window()

◆ server_link_window()

int server_link_window ( struct session src,
struct winlink srcwl,
struct session dst,
int  dstidx,
int  killflag,
int  selectflag,
char **  cause 
)

◆ server_lock()

void server_lock ( void  )

Definition at line 133 of file server-fn.c.

References clients, server_lock_client(), and client::session.

◆ server_lock_client()

◆ server_lock_session()

void server_lock_session ( struct session s)

Definition at line 144 of file server-fn.c.

References clients, server_lock_client(), and client::session.

Referenced by session_lock_timer().

◆ server_next_detached_session()

static struct session* server_next_detached_session ( struct session s)
static

Definition at line 418 of file server-fn.c.

References session::activity_time, session::attached, sessions, and timercmp.

Referenced by server_destroy_session().

◆ server_next_session()

static struct session * server_next_session ( struct session s)
static

Definition at line 403 of file server-fn.c.

References session::activity_time, sessions, and timercmp.

Referenced by server_destroy_session().

◆ server_redraw_client()

◆ server_redraw_session()

void server_redraw_session ( struct session s)

Definition at line 46 of file server-fn.c.

References clients, server_redraw_client(), and client::session.

Referenced by server_redraw_session_group().

◆ server_redraw_session_group()

void server_redraw_session_group ( struct session s)

◆ server_redraw_window()

◆ server_redraw_window_borders()

◆ server_renumber_all()

void server_renumber_all ( void  )

◆ server_renumber_session()

void server_renumber_session ( struct session s)

◆ server_status_client()

void server_status_client ( struct client c)

◆ server_status_session()

◆ server_status_session_group()

void server_status_session_group ( struct session s)

Definition at line 81 of file server-fn.c.

References server_status_session(), and session_group_contains().

◆ server_status_window()

◆ server_unlink_window()

void server_unlink_window ( struct session s,
struct winlink wl 
)

◆ server_unzoom_window()

void server_unzoom_window ( struct window w)