On (Thu) Jan 13 2011 [15:02:37], Gerd Hoffmann wrote: > 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?
Yes, that's what I have in mind. Amit