summaryrefslogtreecommitdiff
path: root/src/libmbim-glib/mbim-proxy-helpers.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2018-11-04 23:04:37 +0100
committerAleksander Morgado <aleksander@aleksander.es>2018-11-07 10:20:15 +0100
commitaa5e4ee5666c9f22b71a0bbbed7475b665eab85b (patch)
tree1ef089de6d4e6a32b516e15d334ab908a351f08b /src/libmbim-glib/mbim-proxy-helpers.h
parent3eeaa4248b98e1c3265caa5efca0db00a00e8a56 (diff)
downloadlibmbim-aa5e4ee5666c9f22b71a0bbbed7475b665eab85b.tar.gz
libmbim-glib,proxy: also track standard servicesaleksander/proxy-notifications
The assumption that we could totally ignore enabling/disabling standard services seems to be wrong, as not all devices follow that logic. Looks like some do expect the FULL list of service/cids to subscribe to on every request, and we are not specifying the standard services, we would totally be losing the notifications they emit. So, track the full default list of CIDs of all standard services that emit notifications, and assume that all new clients have that list enabled by default. At device level we will NEVER disable the standard services, but clients may do so. This means that the list of service/cids that we pass down to the device must ALWAYS include all cids from all standard services. Fixes: 0073cbed59a270e1a8f18f591d31cbaf64a995ae
Diffstat (limited to 'src/libmbim-glib/mbim-proxy-helpers.h')
-rw-r--r--src/libmbim-glib/mbim-proxy-helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libmbim-glib/mbim-proxy-helpers.h b/src/libmbim-glib/mbim-proxy-helpers.h
index 3c5f6a6..3abbe84 100644
--- a/src/libmbim-glib/mbim-proxy-helpers.h
+++ b/src/libmbim-glib/mbim-proxy-helpers.h
@@ -50,6 +50,10 @@ MbimEventEntry **_mbim_proxy_helper_service_subscribe_list_merge (MbimEve
MbimEventEntry **merge,
gsize merge_size,
gsize *out_size);
+MbimEventEntry **_mbim_proxy_helper_service_subscribe_list_dup (MbimEventEntry **original,
+ gsize original_size,
+ gsize *out_size);
+MbimEventEntry **_mbim_proxy_helper_service_subscribe_list_new_standard (gsize *out_size);
G_END_DECLS