diff options
author | Damjan Marion <damarion@cisco.com> | 2023-08-07 01:07:09 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2023-08-07 18:00:10 +0000 |
commit | 40f481037ef98442b061e310a04ee5e110120f72 (patch) | |
tree | 20ecc6d1c7bcc701417b5bbbfd51cd2d1eadfa24 /src/vppinfra/file.h | |
parent | 993735913c6764d7a66c8fae4196a61206611186 (diff) |
vppinfra: add clib_file_get_resolved_basename
more generic version of clib_sysfs_link_to_name with support for
format strings...
Type: improvement
Change-Id: I0cb263748970378c661415196eb7e08450370677
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vppinfra/file.h')
-rw-r--r-- | src/vppinfra/file.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vppinfra/file.h b/src/vppinfra/file.h index 09dd2fd0496..71956137665 100644 --- a/src/vppinfra/file.h +++ b/src/vppinfra/file.h @@ -163,6 +163,8 @@ clib_file_write (clib_file_t * f) return f->write_function (f); } +u8 *clib_file_get_resolved_basename (char *fmt, ...); + #endif /* included_clib_file_h */ /* |