]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/test/run-15-timeout.c
ccan/io: rename io_op to io_plan.
[ccan] / ccan / io / test / run-15-timeout.c
index b5e0dc3f060b983f75d1cbca24b1e0b56ac4dbef..e8897c95759e3f3a58ce1905d321fd162d19776a 100644 (file)
@@ -15,14 +15,14 @@ struct data {
 };
 
 
-static struct io_op *no_timeout(struct io_conn *conn, struct data *d)
+static struct io_plan *no_timeout(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 1);
        d->state++;
        return io_close(conn, d);
 }
 
-static struct io_op *timeout(struct io_conn *conn, struct data *d)
+static struct io_plan *timeout(struct io_conn *conn, struct data *d)
 {
        ok1(d->state == 1);
        d->state++;
@@ -30,7 +30,7 @@ static struct io_op *timeout(struct io_conn *conn, struct data *d)
        return io_close(conn, 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++;