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

Function msg_enqueue

common/msg_queue.c:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void msg_enqueue(struct msg_queue *q, const u8 *add)
34{
35 if (q->fd_passing)
36 assert(fromwire_peektype(add) != MSG_PASS_FD);
37 do_enqueue(q, add);
38}
39
40void msg_enqueue_fd(struct msg_queue *q, int fd)
41{

Callers 7

inject_peer_msgFunction · 0.85
read_from_subd_doneFunction · 0.85
read_body_from_peer_doneFunction · 0.85
master_wait_sync_replyFunction · 0.85
subd_send_msgFunction · 0.85
daemon_conn_sendFunction · 0.85

Calls 2

do_enqueueFunction · 0.85
fromwire_peektypeFunction · 0.50

Tested by

no test coverage detected