]> git.ozlabs.org Git - ccan/blobdiff - ccan/io/io_plan.h
ccan/io: eliminate dir argument from io_wait and io_always.
[ccan] / ccan / io / io_plan.h
index 0b3c27b1a5a137f223f953bf163c3034945761d8..21a1921734f41e83d2ed836e157e4849496fb8ad 100644 (file)
@@ -27,6 +27,11 @@ enum io_plan_status {
        IO_CLOSING
 };
 
+enum io_direction {
+       IO_IN,
+       IO_OUT
+};
+
 /**
  * struct io_plan - one half of I/O to do
  * @status: the status of this plan.