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

Function msg_queue_new

common/msg_queue.c:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10};
11
12struct msg_queue *msg_queue_new(const tal_t *ctx, bool fd_passing)
13{
14 struct msg_queue *q = tal(ctx, struct msg_queue);
15 q->fd_passing = fd_passing;
16 q->q = tal_arr(q, const u8 *, 0);
17 return q;
18}
19
20static void do_enqueue(struct msg_queue *q, const u8 *add TAKES)
21{

Callers 5

new_subdFunction · 0.85
new_peerFunction · 0.85
mainFunction · 0.85
new_subdFunction · 0.85
daemon_conn_new_Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected