diff options
author | Damjan Marion <damarion@cisco.com> | 2023-11-13 21:43:17 +0000 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-11-14 21:32:22 +0000 |
commit | f6f21db2e30b83236464887df62f50a189bbb859 (patch) | |
tree | 51d326b79947e7672de598c0d00993150a2d2ae0 /src/vppinfra/format.h | |
parent | 1b86f0f477692731edaf4da99f3b639c63bbd8d0 (diff) |
vppinfra: add unformat_{single,double}_quoted_string function
Change-Id: I8ee90be1b772074c1130b98c71b3be48c973b2e2
Type: improvement
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/format.h')
-rw-r--r-- | src/vppinfra/format.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vppinfra/format.h b/src/vppinfra/format.h index cf5e1f6dcce..24511735a53 100644 --- a/src/vppinfra/format.h +++ b/src/vppinfra/format.h @@ -312,6 +312,10 @@ unformat_function_t unformat_memory_size; /* Unformat C string array, takes array length as 2nd argument */ unformat_function_t unformat_c_string_array; +/* Unformat sigle and double quoted string */ +unformat_function_t unformat_single_quoted_string; +unformat_function_t unformat_double_quoted_string; + /* Format base 10 e.g. 100, 100K, 100M, 100G */ u8 *format_base10 (u8 *s, va_list *va); |