diff options
author | Damjan Marion <damarion@cisco.com> | 2023-07-31 20:07:31 +0200 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2023-07-31 20:10:57 +0200 |
commit | f566524a210dcf55a667e54bdaae2a833a9b13a5 (patch) | |
tree | 507da518e5f23499457692cc778332c79bbf9443 /src/vppinfra/format.h | |
parent | 83ca6e66d090b91c84637d7a5ed6a91fa41f8359 (diff) |
vppinfra: add unformat_c_string_array
Type: improvement
Change-Id: Iea5ecca5d4cbc6c7aea69104830afcfe78c708ee
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/format.h')
-rw-r--r-- | src/vppinfra/format.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vppinfra/format.h b/src/vppinfra/format.h index 935b57f2c4b..7254031a0ea 100644 --- a/src/vppinfra/format.h +++ b/src/vppinfra/format.h @@ -304,6 +304,9 @@ unformat_function_t unformat_eof; /* Parse memory size e.g. 100, 100k, 100m, 100g. */ unformat_function_t unformat_memory_size; +/* Unformat C string array, takes array length as 2nd argument */ +unformat_function_t unformat_c_string_array; + /* Format base 10 e.g. 100, 100K, 100M, 100G */ u8 *format_base10 (u8 *s, va_list *va); |