Commit Graph
8 Commits
Author SHA1 Message Date
Aleksander Morgado a9611c6279 utils: import ptr array lookup with GEqualFunc from GLib 2.54
This fixes the build when using GLib < 2.54.
2021-03-01 15:55:22 +01:00
Aleksander Morgado 4b0c83b9ed utils: port to use object logging 2020-04-08 16:35:09 +02:00
Aleksander Morgado de3a2f5d2e utils: fix warnings with -Wredundant-decls
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);                                \
        |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-01-30 11:59:14 +01:00
Aleksander Morgado c6ba09403a utils: imported singleton setup from NetworkManager 2015-02-07 12:57:48 +01:00
Aleksander Morgado a66f971a7c libmm-common: added common utils from core
Moved the utils to play with binary to hex strings into libmm-common.
2012-09-14 07:05:26 +02:00
Aleksander Morgado db7c11768a utils: new utils_check_for_single_value() method
It was being used in several places with different static implementations
2011-04-29 12:31:10 +02:00
Dan Williams 2a98b2ae2d core: add bin -> hex string converter 2010-11-05 14:44:20 -05:00
Torgny Johansson 8873c0a7dc gsm: add GetOperatorID method
Returns the ID of the operator that issued the SIM card.

Cleanups and get_mnc_length_done() by me (dcbw).
2010-06-22 16:50:21 -07:00