rpki-client: remove the remaining struct parse
authortb <tb@openbsd.org>
Wed, 21 Feb 2024 09:17:06 +0000 (09:17 +0000)
committertb <tb@openbsd.org>
Wed, 21 Feb 2024 09:17:06 +0000 (09:17 +0000)
commitbe6e5ad57fd4d55e60a9c4c443d95557da338552
tree31f91bfd83eae47ef46a1e106ea21d01b5f4d4b5
parentd612f8a7c125fa416d91eeafccdbe1e095bc8f7b
rpki-client: remove the remaining struct parse

With the exception of mft.c where there is an additional boolean, this
struct carries a file name and a result. This means functions having
struct parse in the signature can't be shared between files, which has
been annoying. Simply pass file name and necessary info directly as a
function parameter and add a small dance to handle the boolean in mft.c.

ok job
usr.sbin/rpki-client/aspa.c
usr.sbin/rpki-client/gbr.c
usr.sbin/rpki-client/geofeed.c
usr.sbin/rpki-client/mft.c
usr.sbin/rpki-client/roa.c
usr.sbin/rpki-client/rsc.c
usr.sbin/rpki-client/tak.c