aboutsummaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-11-05 21:09:53 +0100
committerThomas Voss <mail@thomasvoss.com> 2024-11-05 21:09:53 +0100
commite251c6463913bcd7c9c40b4dc168010f6de68b5a (patch)
treea8d2cfcfa09de64d86b10f1a6137373b553f078b /src/util.h
parent436557eca3da4492def86d5ef8c2d84c5d1c3e71 (diff)
Check for whitespace after regex using islbrk()
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 705d0ee..ab3e6d6 100644
--- a/src/util.h
+++ b/src/util.h
@@ -1,7 +1,10 @@
#ifndef GRAB_UTIL_H
#define GRAB_UTIL_H
+#include <mbstring.h>
+
int getenv_posnum(const char *ev, int fallback);
void pcre2_bitch_and_die(int ec, const char *fmt, ...);
+bool islbrk(u8view_t g);
#endif /* !GRAB_UTIL_H */ \ No newline at end of file