mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-03 02:39:28 +01:00
daemon_conn: don't expose daemon_conn_write_next.
No external callers. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
689d51cba5
commit
88da956531
2 changed files with 2 additions and 11 deletions
|
@ -13,8 +13,8 @@ struct io_plan *daemon_conn_read_next(struct io_conn *conn,
|
|||
dc);
|
||||
}
|
||||
|
||||
struct io_plan *daemon_conn_write_next(struct io_conn *conn,
|
||||
struct daemon_conn *dc)
|
||||
static struct io_plan *daemon_conn_write_next(struct io_conn *conn,
|
||||
struct daemon_conn *dc)
|
||||
{
|
||||
const u8 *msg;
|
||||
|
||||
|
|
|
@ -65,15 +65,6 @@ void daemon_conn_wake(struct daemon_conn *dc);
|
|||
*/
|
||||
void daemon_conn_send_fd(struct daemon_conn *dc, int fd);
|
||||
|
||||
/**
|
||||
* daemon_conn_write_next - Continue writing from the msg-queue
|
||||
*
|
||||
* Exposed here so that, if `msg_queue_cleared_cb` is used to break
|
||||
* out of the write-loop, we can get back in.
|
||||
*/
|
||||
struct io_plan *daemon_conn_write_next(struct io_conn *conn,
|
||||
struct daemon_conn *dc);
|
||||
|
||||
/**
|
||||
* daemon_conn_read_next - Read the next message
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue