[mobile] Adding security warning, if default IMEI is not changed
[osmocom-bb.git] / include / osmocore / utils.h
1 #ifndef OSMOCORE_UTIL_H
2 #define OSMOCORE_UTIL_H
3
4 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
5
6 #include <stdint.h>
7
8 struct value_string {
9         unsigned int value;
10         const char *str;
11 };
12
13 const char *get_value_string(const struct value_string *vs, uint32_t val);
14 int get_string_value(const struct value_string *vs, const char *str);
15
16
17 #endif