]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/backend.h
ccan/io: make enum io_state namespace-safe.
[ccan] / ccan / io / backend.h
index 86db8c3d1de44983e3061bb33699a7783d69c88d..d75b516b763e85ef06278ff07271204b19f6c90d 100644 (file)
@@ -28,11 +28,10 @@ enum io_result {
 };
 
 enum io_state {
-       IO,
-       NEXT, /* eg starting, woken from idle, return from io_break. */
-       IDLE,
-       FINISHED,
-       PROCESSING /* We expect them to change this now. */
+       IO_IO,
+       IO_NEXT, /* eg starting, woken from idle, return from io_break. */
+       IO_IDLE,
+       IO_FINISHED
 };
 
 static inline enum io_state from_ioplan(struct io_plan *op)