aboutsummaryrefslogtreecommitdiffstats
path: root/include/strutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/strutils.h')
-rw-r--r--include/strutils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/strutils.h b/include/strutils.h
index aa8c002d59..b7a03c1482 100644
--- a/include/strutils.h
+++ b/include/strutils.h
@@ -14,6 +14,7 @@
#include <stdio.h>
#include <errno.h>
#include <time.h>
+#include <stdbool.h>
#include "c.h"
@@ -58,6 +59,8 @@ extern void strtotimespec_or_err(const char *str, struct timespec *ts,
const char *errmesg);
extern time_t strtotime_or_err(const char *str, const char *errmesg);
+extern bool hyperlinkwanted_or_err(const char *mode, const char *errmesg);
+
extern int isdigit_strend(const char *str, const char **end);
#define isdigit_string(_s) isdigit_strend(_s, NULL)