|
libosmocore 0.3.6
Osmocom core library
|
Go to the source code of this file.
Data Structures | |
| struct | value_string |
| A mapping between human-readable string and numeric value. More... | |
Functions | |
| const char * | get_value_string (const struct value_string *vs, uint32_t val) |
| get human-readable string for given value | |
| int | get_string_value (const struct value_string *vs, const char *str) |
| get numeric value for given human-readable string | |
| char | osmo_bcd2char (uint8_t bcd) |
| Convert BCD-encoded digit into printable character. | |
| uint8_t | osmo_char2bcd (char c) |
| int | osmo_hexparse (const char *str, uint8_t *b, int max_len) |
| char * | osmo_ubit_dump (const uint8_t *bits, unsigned int len) |
| Convert a sequence of unpacked bits to ASCII string. | |
| char * | osmo_hexdump (const unsigned char *buf, int len) |
| Convert binary sequence to hexadecimal ASCII string. | |
| char * | osmo_osmo_hexdump_nospc (const unsigned char *buf, int len) |
| Convert binary sequence to hexadecimal ASCII string. | |
| void | osmo_str2lower (char *out, const char *in) |
| Convert an entire string to lower case. | |
| void | osmo_str2upper (char *out, const char *in) |
| Convert an entire string to upper case. | |