From a1246757bcaa058144b335ff64a6a250e63effbd Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Wed, 21 Jun 2023 16:29:28 +0200 Subject: Make trim() helpers from get_line available outside Signed-off-by: David Oberhollenzer --- include/util/parse.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/util/parse.h b/include/util/parse.h index 8da07b1..e132d6b 100644 --- a/include/util/parse.h +++ b/include/util/parse.h @@ -31,6 +31,12 @@ typedef struct { extern "C" { #endif +SQFS_INTERNAL void ltrim(char *buffer); + +SQFS_INTERNAL void rtrim(char *buffer); + +SQFS_INTERNAL void trim(char *buffer); + /** * @brief Read a line of text from an input stream * -- cgit v1.2.3