diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2025-01-07 13:21:37 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2025-01-07 13:21:37 +0100 |
| commit | 459f8dc51ab25e823390e15cbf1c3718b4239aa3 (patch) | |
| tree | 35f3b8af610894513e2ea0ae7321b1c631708bc9 /include/stringop.h | |
| parent | a01424fccdecc751a7e87c206a84abe6aad7d269 (diff) | |
stringop: move over has_prefix()
Diffstat (limited to 'include/stringop.h')
| -rw-r--r-- | include/stringop.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/stringop.h b/include/stringop.h index 19a50f23..ffc355cf 100644 --- a/include/stringop.h +++ b/include/stringop.h @@ -40,4 +40,6 @@ bool expand_path(char **path); char *vformat_str(const char *fmt, va_list args) _SWAY_ATTRIB_PRINTF(1, 0); char *format_str(const char *fmt, ...) _SWAY_ATTRIB_PRINTF(1, 2); +bool has_prefix(const char *str, const char *prefix); + #endif |
