aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/core/utils.h
AgeCommit message (Expand)AuthorFilesLines
2020-06-16add osmo_mobile_identity APINeels Hofmeyr1-0/+1
2020-06-16Revert "add osmo_mobile_identity API"Harald Welte1-1/+0
2020-06-12add osmo_mobile_identity APINeels Hofmeyr1-0/+1
2020-05-26api doc: clarify OSMO_NAME_C_IMPL() required FUNC_BUF signatureNeels Hofmeyr1-1/+3
2020-02-04value_string: Switch val from unsigned to intPau Espin Pedrol1-1/+1
2019-11-24add osmo_escape_cstr and osmo_quote_cstrNeels Hofmeyr1-0/+5
2019-11-24utils: add osmo_strnchr()Neels Hofmeyr1-0/+1
2019-11-23utils.h: add OSMO_NAME_C_IMPL() macroNeels Hofmeyr1-0/+56
2019-11-21add osmo_sockaddr_str_cmp()Neels Hofmeyr1-0/+2
2019-07-09Revert "utils.h: require a semi colon after OSMO_ASSERT"Vadim Yanitskiy1-2/+2
2019-07-08utils.h: require a semi colon after OSMO_ASSERTAlexander Couzens1-2/+2
2019-06-13(minor) fix typo in commentsKévin Redon1-3/+3
2019-06-13minor: don't redefine macrosKévin Redon1-0/+2
2019-06-12core/utils: drop meaningless const from return value of osmo_luhn()Vadim Yanitskiy1-1/+1
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