| 10 | }; |
| 11 | |
| 12 | struct 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 | |
| 20 | static void do_enqueue(struct msg_queue *q, const u8 *add TAKES) |
| 21 | { |
no outgoing calls
no test coverage detected