diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/core/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/osmocom/core/utils.h b/include/osmocom/core/utils.h index 4b083f6c..c5cc138b 100644 --- a/include/osmocom/core/utils.h +++ b/include/osmocom/core/utils.h @@ -22,6 +22,7 @@ /*! Number of bytes necessary to store given BITS */ #define OSMO_BYTES_FOR_BITS(BITS) ((BITS + 8 - 1) / 8) +#include <stdbool.h> #include <stdint.h> #include <stdio.h> @@ -112,4 +113,6 @@ 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); +bool osmo_identifier_valid(const char *str); + /*! @} */ |