tmuxtmuxC source reference

Choose documentation 1

3.7c

tmux source version

Latest (3.7c) 3.7c 3.2a
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

tmux C API

function tmux 3.7c

proc_add_peer

proc_add_peer proc_add_peer

View as Markdown

Source
Source
proc.c
struct tmuxpeer * proc_add_peer(struct tmuxproc *tp, int fd, void(*dispatchcb)(struct imsg *, void *), void *arg)
function [source]
Parameters
  • tp ( struct tmuxproc * )

  • fd ( int )

  • dispatchcb ( void(*)(struct imsg *, void *) )

  • arg ( void * )

Call neighborhood#

Recorded direct calls in this source version. Callback references appear separately below.

Paths through the source#

Follow these functions to explore a task. Arrows show source relationships.

Start the server and create a client

  1. server_start
  2. calls → server_client_create
  3. calls → proc_add_peer

Called by#

Calls#

Other function references#

Referenced declarations#

Esc

Type to search.