aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/utils.h
AgeCommit message (Expand)AuthorFilesLines
2019-04-12add identifier sanitation for setting FSM instance idsNeels Hofmeyr1-0/+1
2019-04-12add osmo_{escape,quote}_str_buf2() for standard args orderingNeels Hofmeyr1-2/+6
2019-04-11tweak OSMO_STRBUF_APPEND(), add OSMO_STRBUF_APPEND_NOLEN()Neels Hofmeyr1-7/+30
2019-04-11add osmo_str_startswith()Neels Hofmeyr1-0/+2
2019-04-10Add _c versions of functions that otherwise return static buffersHarald Welte1-0/+6
2019-04-03Add _buf() functions to bypass static string buffersHarald Welte1-1/+2
2019-03-29osmo_escape_str_buf: Always copy, don't return input string pointerHarald Welte1-1/+1
2019-02-17add OSMO_STRBUF_PRINTF()Neels Hofmeyr1-0/+85
2019-01-28add osmo_hexdump_buf() and testNeels Hofmeyr1-0/+3
2019-01-14gsm23003: add osmo_imei_str_valid()Oliver Smith1-0/+2
2018-12-10add osmo_bcd2str()Neels Hofmeyr1-0/+2
2018-09-07add osmo_str_tolower() and _toupper() with testNeels Hofmeyr1-2/+13
2018-09-05core/utils.h: move includes to the topVadim Yanitskiy1-3/+2
2018-09-05core/utils.h: drop duplicate '<stdbool.h>' includeVadim Yanitskiy1-1/+0
2018-08-20use __FILE__, not __BASE_FILE__Neels Hofmeyr1-1/+1
2018-06-28Don't call abort() directly, always use osmo_panic()Harald Welte1-3/+2
2018-06-06Add osmo_isqrt32() to compute 32bit integer square rootHarald Welte1-0/+2
2018-04-09add osmo_quote_str(),osmo_quote_str_buf() and testNeels Hofmeyr1-0/+2
2018-02-05utils: add helper wrapper for osmo_strlcpy()Max1-0/+3
2017-12-18utils: add osmo_escape_str()Neels Hofmeyr1-0/+3
2017-12-17utils: add osmo_separated_identifiers_valid()Neels Hofmeyr1-0/+1
2017-12-12logging vty: describe 'logging set-log-mask' command, add OSMO_STRINGIFY_VAL()Neels Hofmeyr1-0/+2
2017-12-10comment: utils: more accurately describe OSMO_STRINGIFY macroNeels Hofmeyr1-1/+3
2017-10-24Introduce osmo_identifier_valid() function to check validity of identifierHarald Welte1-0/+3
2017-10-24add osmo_talloc_asprintf() and ctrl_cmd_reply_printf()Neels Hofmeyr1-0/+18
2017-10-09utils: add osmo_is_hexstr(), add unit testNeels Hofmeyr1-0/+5
2017-06-23doxygen: unify use of \file across the boardNeels Hofmeyr1-3/+1
2017-06-23doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr1-9/+9
2017-06-19Move NUM_BYTES macro to core libraryMax1-0/+2
2017-03-15fix OSMO_VALUE_STRING macro: don't use OSMO_STRINGIFY()Neels Hofmeyr1-1/+1
2017-01-23utils.h: #include <stdio.h> as we use fprintf()Harald Welte1-0/+1
2016-12-21utils.h: add OSMO_STRINGIFY and OSMO_VALUE_STRING macrosNeels Hofmeyr1-0/+4
2016-11-26Introduce osmo_strlcpy() function so we can stop using strncpy()Harald Welte1-0/+2
2016-07-28Mark input string to osmo_talloc_replace_string() as constHarald Welte1-1/+1
2016-06-13add get_value_string_or_null() to handle unknown itemsNeels Hofmeyr1-0/+2
2016-05-12logging: Use __BASE_FILE__ instead of __FILE__Harald Welte1-1/+1
2016-05-05Import osmo_{encode,decode}_big_endian() from openbscHarald Welte1-0/+4
2016-05-05Update doxygen annotations in libosmocoreHarald Welte1-0/+9
2015-04-13osmo_static_assert: Put back the typedef in the codeHolger Hans Peter Freyther1-1/+1
2014-08-21libctrl: remove reference to bsc_replace_string()Harald Welte1-0/+7
2014-06-16include: Switch to #pragma once patternSylvain Munaut1-4/+1
2013-07-06utils.h: we need to include utils.h for osmo_generate_backtrace()Harald Welte1-0/+2
2013-07-01misc: Fix compiler warnings about the static_assert macro with gcc 4.8Holger Hans Peter Freyther1-1/+1
2013-03-25utils: Use fprintf to print the assertion and generate a backtraceKaterina Barone-Adesi1-1/+2
2013-03-09utils: Introduce OSMO_ASSERT in the utils and use it in the unit testsKaterina Barone-Adesi1-0/+7
2012-08-15utils: Change semantic of OSMO_MAX/OSMO_MIN to match semantic of a functionHolger Hans Peter Freyther1-2/+2
2012-04-18doc: Fix the Doxygen section endingsSylvain Munaut1-1/+1
2011-11-13utils: Add declaration back for osmo_osmo_hexdump_nospcSylvain Munaut1-0/+1
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-54/+7