uring-sys icon indicating copy to clipboard operation
uring-sys copied to clipboard

Make all fields of structs private, add accessors.

Open withoutboats opened this issue 5 years ago • 0 comments

As iouring evolves, the definition of structs might change. This has already happened, when the offset field of io_uring_sqe became a union of an offset and a second address, to support more IO operations.

To be forward compatible with future changes, we make all of the fields of structs private and users can only access them through methods.

withoutboats avatar Jan 22 '20 01:01 withoutboats