]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-12-bidir.c
ccan/io: rename io_op to io_plan.
[ccan] / ccan / io / test / run-12-bidir.c
index f9cf4e591148fe9e66e2defacf86457f2728cfa2..3e769beb19920f0b3ae61cfdf1880d56f9a2bba1 100644 (file)
@@ -18,13 +18,13 @@ static void finish_ok(struct io_conn *conn, struct data *d)
        d->state++;
 }
 
-static struct io_op *write_out(struct io_conn *conn, struct data *d)
+static struct io_plan *write_out(struct io_conn *conn, struct data *d)
 {
        d->state++;
        return io_write(d->wbuf, sizeof(d->wbuf), io_next(conn, io_close, d));
 }
 
-static struct io_op *start_ok(struct io_conn *conn, struct data *d)
+static struct io_plan *start_ok(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 0);
        d->state++;