path: root/src/utils.c
AgeCommit message (Expand)AuthorFilesLines
2019-04-12Fix incorrect buffer size calculationVadim Yanitskiy1-8/+12
2019-04-12add identifier sanitation for setting FSM instance idsNeels Hofmeyr1-2/+22
2019-04-12add osmo_{escape,quote}_str_buf2() for standard args orderingNeels Hofmeyr1-39/+95
2019-04-11add osmo_str_startswith()Neels Hofmeyr1-0/+14
2019-04-10Add _c versions of functions that otherwise return static buffersHarald Welte1-0/+100
2019-04-03Add _buf() functions to bypass static string buffersHarald Welte1-9/+22
2019-03-29osmo_escape_str_buf: Always copy, don't return input string pointerHarald Welte1-19/+8
2019-02-15get_value_string(): guard against NULLNeels Hofmeyr1-0/+3
2019-01-28add osmo_hexdump_buf() and testNeels Hofmeyr1-11/+38
2019-01-14gsm23003: add osmo_imei_str_valid()Oliver Smith1-0/+31
2018-12-11fix api doc for osmo_bcd2str()Neels Hofmeyr1-1/+1
2018-12-10add osmo_bcd2str()Neels Hofmeyr1-0/+41
2018-09-07add osmo_str_tolower() and _toupper() with testNeels Hofmeyr1-0/+86
2018-09-07api doc: fix osmo_quote_str_*Neels Hofmeyr1-2/+8
2018-06-06Add osmo_isqrt32() to compute 32bit integer square rootHarald Welte1-0/+40
2018-04-09add osmo_quote_str(),osmo_quote_str_buf() and testNeels Hofmeyr1-0/+38
2017-12-18utils: add osmo_escape_str()Neels Hofmeyr1-0/+87
2017-12-17utils: add osmo_separated_identifiers_valid()Neels Hofmeyr1-4/+17
2017-12-17fix osmo_identifier_valid(): only allow printable charactersNeels Hofmeyr1-0/+2
2017-11-21osmo_strlcpy: sanitize: don't memcpy from NULL src even if len is 0Neels Hofmeyr1-1/+2
2017-11-13Fix/Update copyright notices; Add SPDX annotationHarald Welte1-0/+2
2017-10-27osmo_char2bcd(): Implment hex digits a-f and A-FHarald Welte1-1/+8
2017-10-25utils: avoid segfault when calling osmo_strlcpy(src=NULL)Neels Hofmeyr1-1/+1
2017-10-24Introduce osmo_identifier_valid() function to check validity of identifierHarald Welte1-0/+28
2017-10-16[doc] Doxygen documentation on osmo_hexdump print buffer sizeHarald Welte1-0/+6
2017-10-09utils: add osmo_is_hexstr(), add unit testNeels Hofmeyr1-0/+33
2017-06-23Fix warnings: tolower() and similar require ucharPau Espin Pedrol1-2/+2
2017-06-23Fix compilation warnings: use correct log type for uint32_tPau Espin Pedrol1-1/+2
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-3/+2
2017-06-23doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr1-16/+16
2017-06-12update/extend doxygen documentationHarald Welte1-0/+1
2017-02-14osmo_hexparse: allow whitespace in parsed string, add ws testNeels Hofmeyr1-9/+22
2017-01-18doc: fix doxygen 'utils' group closing braceNeels Hofmeyr1-1/+2
2017-01-15doc: clarify osmo_strlcpy() docNeels Hofmeyr1-5/+5
2016-12-21doc: fix typo for osmo_hexparseNeels Hofmeyr1-1/+1
2016-11-26Introduce osmo_strlcpy() function so we can stop using strncpy()Harald Welte1-0/+22
2016-06-13add get_value_string_or_null() to handle unknown itemsNeels Hofmeyr1-3/+18
2016-06-13api doc: get_value_string(): mention composition in static bufferNeels Hofmeyr1-0/+4
2016-05-05Import osmo_{encode,decode}_big_endian() from openbscHarald Welte1-0/+62
2015-09-23utils: add 'returns' doc to osmo_hexparse().Neels Hofmeyr1-0/+1
2015-04-11utils: Disable the weak symbol for darwinHolger Hans Peter Freyther1-1/+5
2014-09-11add missing copyright statements to source code filesHarald Welte1-0/+23
2014-01-02utils: Greatly improve performance of osmo_hexdump routinesNils O. SelÄsdal1-5/+13
2013-07-04get_value_string: Null terminate after the call to snprintfHolger Hans Peter Freyther1-0/+1
2013-01-11add some missing doxygen annotation for libosmocore functionsHarald Welte1-1/+9
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut1-1/+1
2011-11-19utils: Fix alias to weak alias to allow OSX compilationSylvain Munaut1-1/+1
2011-11-11core/utils: Add a symbol alias for a previous typo for compatibilitySylvain Munaut1-0/+4
2011-11-10utils: Fix a bad double osmo_ prefix for osmo_hexdump_nospcSylvain Munaut1-1/+1
2011-08-17doxygen: add doxygen module 'utils'Harald Welte1-0/+51