summaryrefslogtreecommitdiff
path: root/src/mm-utils.h
AgeCommit message (Collapse)AuthorFilesLines
2021-07-09utils: remove custom g_ptr_array_find_with_equal_func()Aleksander Morgado1-12/+0
This was required when building with GLib < 2.54, but we now require 2.56 as minimum, so it is no longer needed.
2021-03-01utils: import ptr array lookup with GEqualFunc from GLib 2.54Aleksander Morgado1-0/+14
This fixes the build when using GLib < 2.54.
2020-04-08utils: port to use object loggingAleksander Morgado1-6/+6
2020-01-30utils: fix warnings with -Wredundant-declsAleksander Morgado1-5/+3
In file included from mm-sleep-monitor.c:30: mm-utils.h:28:18: error: redundant redeclaration of ‘singleton_instance’ [-Werror=redundant-decls] e 28 | static TYPE *singleton_instance | ^~~~~~~~~~~~~~~~~~ mm-utils.h:31:5: note: in expansion of macro ‘MM_DEFINE_SINGLETON_INSTANCE’ 31 | MM_DEFINE_SINGLETON_INSTANCE (TYPE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mm-utils.h:65:5: note: in expansion of macro ‘MM_DEFINE_SINGLETON_WEAK_REF’ 65 | MM_DEFINE_SINGLETON_WEAK_REF (TYPE); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2015-02-07utils: imported singleton setup from NetworkManagerAleksander Morgado1-0/+83
2012-09-14libmm-common: added common utils from coreAleksander Morgado1-28/+0
Moved the utils to play with binary to hex strings into libmm-common.
2011-04-29utils: new utils_check_for_single_value() methodAleksander Morgado1-0/+2
It was being used in several places with different static implementations
2010-11-05core: add bin -> hex string converterDan Williams1-0/+2
2010-06-22gsm: add GetOperatorID methodTorgny Johansson1-0/+24
Returns the ID of the operator that issued the SIM card. Cleanups and get_mnc_length_done() by me (dcbw).