summaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/utils.h
Commit message (Expand)AuthorAgeFilesLines
* (minor) fix typo in commentsKévin Redon2019-06-131-3/+3
* minor: don't redefine macrosKévin Redon2019-06-131-0/+2
* core/utils: drop meaningless const from return value of osmo_luhn()Vadim Yanitskiy2019-06-121-1/+1
* add identifier sanitation for setting FSM instance idsNeels Hofmeyr2019-04-121-0/+1
* add osmo_{escape,quote}_str_buf2() for standard args orderingNeels Hofmeyr2019-04-121-2/+6
* tweak OSMO_STRBUF_APPEND(), add OSMO_STRBUF_APPEND_NOLEN()Neels Hofmeyr2019-04-111-7/+30
* add osmo_str_startswith()Neels Hofmeyr2019-04-111-0/+2
* Add _c versions of functions that otherwise return static buffersHarald Welte2019-04-101-0/+6
* Add _buf() functions to bypass static string buffersHarald Welte2019-04-031-1/+2
* osmo_escape_str_buf: Always copy, don't return input string pointerHarald Welte2019-03-291-1/+1
* add OSMO_STRBUF_PRINTF()Neels Hofmeyr2019-02-171-0/+85
* add osmo_hexdump_buf() and testNeels Hofmeyr2019-01-281-0/+3
* gsm23003: add osmo_imei_str_valid()Oliver Smith2019-01-141-0/+2
* add osmo_bcd2str()Neels Hofmeyr2018-12-101-0/+2
* add osmo_str_tolower() and _toupper() with testNeels Hofmeyr2018-09-071-2/+13
* core/utils.h: move includes to the topVadim Yanitskiy2018-09-051-3/+2
* core/utils.h: drop duplicate '<stdbool.h>' includeVadim Yanitskiy2018-09-051-1/+0
* use __FILE__, not __BASE_FILE__Neels Hofmeyr2018-08-201-1/+1
* Don't call abort() directly, always use osmo_panic()Harald Welte2018-06-281-3/+2
* Add osmo_isqrt32() to compute 32bit integer square rootHarald Welte2018-06-061-0/+2
* add osmo_quote_str(),osmo_quote_str_buf() and testNeels Hofmeyr2018-04-091-0/+2
* utils: add helper wrapper for osmo_strlcpy()Max2018-02-051-0/+3
* utils: add osmo_escape_str()Neels Hofmeyr2017-12-181-0/+3
* utils: add osmo_separated_identifiers_valid()Neels Hofmeyr2017-12-171-0/+1
* logging vty: describe 'logging set-log-mask' command, add OSMO_STRINGIFY_VAL()Neels Hofmeyr2017-12-121-0/+2
* comment: utils: more accurately describe OSMO_STRINGIFY macroNeels Hofmeyr2017-12-101-1/+3
* Introduce osmo_identifier_valid() function to check validity of identifierHarald Welte2017-10-241-0/+3
* add osmo_talloc_asprintf() and ctrl_cmd_reply_printf()Neels Hofmeyr2017-10-241-0/+18
* utils: add osmo_is_hexstr(), add unit testNeels Hofmeyr2017-10-091-0/+5
* doxygen: unify use of \file across the boardNeels Hofmeyr2017-06-231-3/+1
* doxygen: enable AUTOBRIEF, drop \briefNeels Hofmeyr2017-06-231-9/+9
* Move NUM_BYTES macro to core libraryMax2017-06-191-0/+2
* fix OSMO_VALUE_STRING macro: don't use OSMO_STRINGIFY()Neels Hofmeyr2017-03-151-1/+1
* utils.h: #include <stdio.h> as we use fprintf()Harald Welte2017-01-231-0/+1
* utils.h: add OSMO_STRINGIFY and OSMO_VALUE_STRING macrosNeels Hofmeyr2016-12-211-0/+4
* Introduce osmo_strlcpy() function so we can stop using strncpy()Harald Welte2016-11-261-0/+2
* Mark input string to osmo_talloc_replace_string() as constHarald Welte2016-07-281-1/+1
* add get_value_string_or_null() to handle unknown itemsNeels Hofmeyr2016-06-131-0/+2
* logging: Use __BASE_FILE__ instead of __FILE__Harald Welte2016-05-121-1/+1
* Import osmo_{encode,decode}_big_endian() from openbscHarald Welte2016-05-051-0/+4
* Update doxygen annotations in libosmocoreHarald Welte2016-05-051-0/+9
* osmo_static_assert: Put back the typedef in the codeHolger Hans Peter Freyther2015-04-131-1/+1
* libctrl: remove reference to bsc_replace_string()Harald Welte2014-08-211-0/+7
* include: Switch to #pragma once patternSylvain Munaut2014-06-161-4/+1
* utils.h: we need to include utils.h for osmo_generate_backtrace()Harald Welte2013-07-061-0/+2
* misc: Fix compiler warnings about the static_assert macro with gcc 4.8Holger Hans Peter Freyther2013-07-011-1/+1
* utils: Use fprintf to print the assertion and generate a backtraceKaterina Barone-Adesi2013-03-251-1/+2
* utils: Introduce OSMO_ASSERT in the utils and use it in the unit testsKaterina Barone-Adesi2013-03-091-0/+7
* utils: Change semantic of OSMO_MAX/OSMO_MIN to match semantic of a functionHolger Hans Peter Freyther2012-08-151-2/+2
* doc: Fix the Doxygen section endingsSylvain Munaut2012-04-181-1/+1