utils: add key-value offset support to get_cmdline_val()
authorINAGAKI Hiroshi <musashino.open@gmail.com>
Tue, 12 Mar 2024 04:05:46 +0000 (13:05 +0900)
committerRobert Marko <robimarko@gmail.com>
Mon, 25 Mar 2024 09:28:50 +0000 (10:28 +0100)
commit49ea930a862c8eeb4996170b34a930f5848895e9
tree31db2d98a140ea848f69d7a885e80fbc5fdfac4b
parent63058d1f81a5ef2688d0cde630d3a0814420242a
utils: add key-value offset support to get_cmdline_val()

Add offset support of key-value pairs to get_cmdline_val() for getting
multiple values of the same keys.

Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
utils/utils.c
utils/utils.h