iolib struct