First step of cleanup in the io land. Introduce io_buf_new() and
authorclaudio <claudio@openbsd.org>
Fri, 22 Oct 2021 11:13:06 +0000 (11:13 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 22 Oct 2021 11:13:06 +0000 (11:13 +0000)
commit2defcb5299830b400a0efca8c11e567f222723dd
tree5dbf9546aa46d86e516f168ac1a699cbff6efc2a
parente397242dc41a2d8e85bf0f7f936c033a1eb95f9e
First step of cleanup in the io land. Introduce io_buf_new() and
io_buf_close(). These function will inject a size of the the buffer
at the beginning of the buffer and will allow the read size to be
switched to proper async IO.
OK benno@
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/http.c
usr.sbin/rpki-client/io.c
usr.sbin/rpki-client/main.c
usr.sbin/rpki-client/parser.c
usr.sbin/rpki-client/rrdp.c
usr.sbin/rpki-client/rsync.c