CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/01/21 11:49:44

Modified files:
        usr.sbin/rpki-client: extern.h main.c mft.c parser.c validate.c 

Log message:
Add function to determine the file type from the file name extension

rpki-client uses the same idiom to determine the file type in too many
places. Use one function that determines the appropriate RTYPE from the
file name. Add that type to struct mftfile and use this new member to
simplify queue_add_from_mft*().

input/ok claudio

Reply via email to