iobuf: Use a first-class enum.
authorNeal H. Walfield <neal@g10code.com>
Tue, 1 Sep 2015 20:17:23 +0000 (22:17 +0200)
committerNeal H. Walfield <neal@g10code.com>
Wed, 2 Sep 2015 08:07:40 +0000 (10:07 +0200)
commit24259d856b6cbdd679035512a8fb7c042de8f02e
tree634e6291107489e5b2e2b05d1bddb8766bc1059c
parent8522cdc2264804d0677b7c0a447a0b45cf4195e3
iobuf: Use a first-class enum.

* common/iobuf.h (enum iobuf_use): Name the IOBUF_OUTPUT, etc. enum.
(struct iobuf_struct): Change the field use's type to it.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
common/iobuf.h