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:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected