MCPcopy Create free account
hub / github.com/ElementsProject/lightning / per_peer_state_set_fd

Function per_peer_state_set_fd

common/per_peer_state.c:26–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26void per_peer_state_set_fd(struct per_peer_state *pps, int peer_fd)
27{
28 assert(pps->peer_fd == -1);
29 pps->peer_fd = peer_fd;
30}
31
32void per_peer_state_fdpass_send(int fd, const struct per_peer_state *pps)
33{

Callers 4

mainFunction · 0.85
init_channelFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected