| 66 | } |
| 67 | |
| 68 | void status_setup_async(struct daemon_conn *master) |
| 69 | { |
| 70 | assert(status_fd == -1); |
| 71 | assert(!status_conn); |
| 72 | status_conn = master; |
| 73 | |
| 74 | tal_add_destructor(master, destroy_daemon_conn); |
| 75 | |
| 76 | setup_logging_sighandler(); |
| 77 | |
| 78 | /* Send version now. */ |
| 79 | status_send(take(towire_status_version(NULL, version()))); |
| 80 | } |
| 81 | |
| 82 | void status_send(const u8 *msg TAKES) |
| 83 | { |
no test coverage detected