summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/osmocom/core/utils.h')
-rw-r--r--include/osmocom/core/utils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h
index 855e6539..5f412139 100644
--- a/include/osmocom/core/utils.h
+++ b/include/osmocom/core/utils.h
@@ -1,5 +1,7 @@
#pragma once
+#include <stdbool.h>
+
#include <osmocom/core/backtrace.h>
#include <osmocom/core/talloc.h>
@@ -89,4 +91,7 @@ uint8_t *osmo_encode_big_endian(uint64_t value, size_t data_len);
size_t osmo_strlcpy(char *dst, const char *src, size_t siz);
+bool osmo_is_hexstr(const char *str, int min_digits, int max_digits,
+ bool require_even);
+
/*! @} */