aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
AgeCommit message (Expand)AuthorFilesLines
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
2011-07-15osmo_hexdump: Fix segfault when input is too long.Holger Hans Peter Freyther1-0/+2
2011-05-07utils: use namespace prefix osmo_*Pablo Neira Ayuso1-9/+9
2011-03-23include: reorganize headers file to include/osmocom/[gsm|core]0.2.0Pablo Neira Ayuso1-1/+1
2011-02-18LOGGING: configure logging from the vtyHarald Welte1-0/+22
2011-02-08[utils] introduce ubit_dump to dump buffers of unpacked bitsHarald Welte1-1/+1
2011-02-08[utils] add 'bitdump' function for bitfieldsHarald Welte1-0/+30
2010-11-19utils: Fix typo. It is ascii.Holger Hans Peter Freyther1-1/+1
2010-07-30add new hexdump_nospc() function0.1.15Harald Welte1-2/+12
2010-07-30move hexdump() from logging.c to utils.cHarald Welte1-0/+19
2010-07-30Import 'hexparse' function from OpenBSC0.1.14Harald Welte1-0/+27
2010-03-25get_value_string(): return "unknown 0x..." instead of "unknown"Harald Welte1-1/+5
2010-03-04import bcd2char() and char2bcd() from OpenBSCHarald Welte1-0/+14
2010-03-01Import value_string utilities and some RSL stuff from OpenBSCHarald Welte1-0/+32