Hi,
+ ioh->ops.fd_read_poll = ops->fd_read_poll; + ioh->ops.fd_read = ops->fd_read; + ioh->ops.fd_write = ops->fd_write;
You can write this as "ioh->ops = *ops" btw.I guess the long-term plan (to be committed after killing the last user of the old interface) is to store a pointer to the ops struct instead of copying it?
cheers, Gerd