Re: smtpd: hide struct io

2016-11-28 Thread Gilles Chehade
On Mon, Nov 28, 2016 at 08:50:14PM +0100, Eric Faurot wrote: > Hi, > > After the recent series of cleanups, it is now possible to make > struct io opaque: > > - move struct io definition in ioev.c > - replace io_init/io_clear with io_new/io_free > - allocate an iobuf for each new io internally >

smtpd: hide struct io

2016-11-28 Thread Eric Faurot
Hi, After the recent series of cleanups, it is now possible to make struct io opaque: - move struct io definition in ioev.c - replace io_init/io_clear with io_new/io_free - allocate an iobuf for each new io internally - use struct io pointer in the rest of the code - remove remaining uses of iobu