diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-21 16:29:28 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2023-06-21 16:29:45 +0200 |
commit | a1246757bcaa058144b335ff64a6a250e63effbd (patch) | |
tree | 45c34bd604ddea00493567a8174ae2d41f794a8d /include/util | |
parent | 12727806af641970a651b8f969cba33677ae7395 (diff) |
Make trim() helpers from get_line available outside
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'include/util')
-rw-r--r-- | include/util/parse.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 * |