]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-07-break.c
ccan/io: rename io_op to io_plan.
[ccan] / ccan / io / test / run-07-break.c
index cf3d251a7f25e3f871648743f2d5326cb8b71afa..7e9824d5a8ef0185611043dffcd07b52da7484c6 100644 (file)
@@ -11,14 +11,14 @@ struct data {
        char buf[4];
 };
 
-static struct io_op *do_read(struct io_conn *conn, struct data *d)
+static struct io_plan *do_read(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 1);
        d->state++;
        return io_read(d->buf, sizeof(d->buf), io_next(conn, io_close, d));
 }
 
-static struct io_op *start_break(struct io_conn *conn, struct data *d)
+static struct io_plan *start_break(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 0);
        d->state++;