function tmux latest
proc_add_peer
proc_add_peer
proc_add_peer Source
- Source
- proc.c
- struct tmuxpeer * proc
_add (struct tmuxproc *tp, int fd, void(*dispatchcb)(struct imsg *, void *), void *arg)_peer -
- 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
- server_start
- calls → server_client_create
- calls → proc_add_peer
Called by#
- client_main function Call site ↗
- server_client_create function Call site ↗
Calls#
- fatal function Call site ↗
- getpeereid function Call site ↗
- log_debug function Call site ↗
- proc_update_event function Call site ↗
- xcalloc function Call site ↗
Other function references#
- proc_event_cb function
Referenced declarations#
- tmuxpeer.arg attribute
- tmuxpeer.dispatchcb attribute
- tmuxpeer.entry attribute
- tmuxpeer.event attribute
- tmuxpeer.ibuf attribute
- tmuxpeer.parent attribute
- tmuxproc.peers attribute
- tmuxpeer struct
- tmuxproc struct
- tmuxpeer.uid attribute