summaryrefslogtreecommitdiffstats
path: root/src/utils.c
Commit message (Expand)AuthorAgeFilesLines
* utils: add osmo_strnchr()Neels Hofmeyr2019-11-241-0/+22
* utils_test: add osmo_print_n_test()Neels Hofmeyr2019-11-241-0/+2
* fix osmo_escape_str_c() and osmo_quote_str_c()Neels Hofmeyr2019-11-231-30/+48
* utils.c: fix various inaccurate API doc about return valuesNeels Hofmeyr2019-11-211-4/+3
* utils: share static buffer in osmo_str_to{lower,upper}()Pau Espin Pedrol2019-08-021-8/+8
* fix isdigit taking unsigned as inputKévin Redon2019-06-131-1/+1
* core/utils: drop meaningless const from return value of osmo_luhn()Vadim Yanitskiy2019-06-121-1/+1
* make all library-internal static buffers thread-localHarald Welte2019-06-041-5/+5
* Fix osmo_quote_str_c() for strings larger than 32 bytesHarald Welte2019-05-101-2/+13
* Fix incorrect buffer size calculationVadim Yanitskiy2019-04-121-8/+12
* add identifier sanitation for setting FSM instance idsNeels Hofmeyr2019-04-121-2/+22
* add osmo_{escape,quote}_str_buf2() for standard args orderingNeels Hofmeyr2019-04-121-39/+95
* add osmo_str_startswith()Neels Hofmeyr2019-04-111-0/+14
* Add _c versions of functions that otherwise return static buffersHarald Welte2019-04-101-0/+100
* Add _buf() functions to bypass static string buffersHarald Welte2019-04-031-9/+22
* osmo_escape_str_buf: Always copy, don't return input string pointerHarald Welte2019-03-291-19/+8
* get_value_string(): guard against NULLNeels Hofmeyr2019-02-151-0/+3
* add osmo_hexdump_buf() and testNeels Hofmeyr2019-01-281-11/+38
* gsm23003: add osmo_imei_str_valid()Oliver Smith2019-01-141-0/+31
* fix api doc for osmo_bcd2str()Neels Hofmeyr2018-12-111-1/+1
* add osmo_bcd2str()Neels Hofmeyr2018-12-101-0/+41
* add osmo_str_tolower() and _toupper() with testNeels Hofmeyr2018-09-071-0/+86
* api doc: fix osmo_quote_str_*Neels Hofmeyr2018-09-071-2/+8
* Add osmo_isqrt32() to compute 32bit integer square rootHarald Welte2018-06-061-0/+40
* add osmo_quote_str(),osmo_quote_str_buf() and testNeels Hofmeyr2018-04-091-0/+38
* utils: add osmo_escape_str()Neels Hofmeyr2017-12-181-0/+87
* utils: add osmo_separated_identifiers_valid()Neels Hofmeyr2017-12-171-4/+17
* fix osmo_identifier_valid(): only allow printable charactersNeels Hofmeyr2017-12-171-0/+2
* osmo_strlcpy: sanitize: don't memcpy from NULL src even if len is 0Neels Hofmeyr2017-11-211-1/+2
* Fix/Update copyright notices; Add SPDX annotationHarald Welte2017-11-131-0/+2
* osmo_char2bcd(): Implment hex digits a-f and A-FHarald Welte2017-10-271-1/+8
* utils: avoid segfault when calling osmo_strlcpy(src=NULL)Neels Hofmeyr2017-10-251-1/+1
* Introduce osmo_identifier_valid() function to check validity of identifierHarald Welte2017-10-241-0/+28
* [doc] Doxygen documentation on osmo_hexdump print buffer sizeHarald Welte2017-10-161-0/+6
* utils: add osmo_is_hexstr(), add unit testNeels Hofmeyr2017-10-091-0/+33
* Fix warnings: tolower() and similar require ucharPau Espin Pedrol2017-06-231-2/+2
* Fix compilation warnings: use correct log type for uint32_tPau Espin Pedrol2017-06-231-1/+2
* doxygen: unify use of \file across the boardNeels Hofmeyr2017-06-231-3/+2
* doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr2017-06-231-16/+16
* update/extend doxygen documentationHarald Welte2017-06-121-0/+1
* osmo_hexparse: allow whitespace in parsed string, add ws testNeels Hofmeyr2017-02-141-9/+22
* doc: fix doxygen 'utils' group closing braceNeels Hofmeyr2017-01-181-1/+2
* doc: clarify osmo_strlcpy() docNeels Hofmeyr2017-01-151-5/+5
* doc: fix typo for osmo_hexparseNeels Hofmeyr2016-12-211-1/+1
* Introduce osmo_strlcpy() function so we can stop using strncpy()Harald Welte2016-11-261-0/+22
* add get_value_string_or_null() to handle unknown itemsNeels Hofmeyr2016-06-131-3/+18
* api doc: get_value_string(): mention composition in static bufferNeels Hofmeyr2016-06-131-0/+4
* Import osmo_{encode,decode}_big_endian() from openbscHarald Welte2016-05-051-0/+62
* utils: add 'returns' doc to osmo_hexparse().Neels Hofmeyr2015-09-231-0/+1
* utils: Disable the weak symbol for darwinHolger Hans Peter Freyther2015-04-111-1/+5