From 43d8cb57bce35be9c3bd316752d3cc63162af83a Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Fri, 10 Aug 2018 13:38:20 -0700 Subject: binding: network: upgrade to AFB v3 framework Upgrade the binding to use v3 datatypes, and function parameters. Bug-AGL: SPEC-1660 Change-Id: I50b88b8d87a7176917bfa639bc8cffc0bc2bed89 Signed-off-by: Matt Ranostay --- binding/network-common.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'binding/network-common.h') diff --git a/binding/network-common.h b/binding/network-common.h index 83c2e0f..b95350f 100644 --- a/binding/network-common.h +++ b/binding/network-common.h @@ -28,7 +28,7 @@ #include -#define AFB_BINDING_VERSION 2 +#define AFB_BINDING_VERSION 3 #include struct call_work; @@ -39,13 +39,13 @@ struct network_state { guint manager_sub; guint technology_sub; guint service_sub; - struct afb_event global_state_event; - struct afb_event technologies_event; - struct afb_event technology_properties_event; - struct afb_event services_event; - struct afb_event service_properties_event; - struct afb_event counter_event; - struct afb_event agent_event; + afb_event_t global_state_event; + afb_event_t technologies_event; + afb_event_t technology_properties_event; + afb_event_t services_event; + afb_event_t service_properties_event; + afb_event_t counter_event; + afb_event_t agent_event; int ping_counter; /* NOTE: single connection allowed for now */ @@ -71,7 +71,7 @@ struct call_work { gchar *method; gchar *connman_method; struct connman_pending_work *cpw; - struct afb_req request; + afb_req_t request; gchar *agent_method; GDBusMethodInvocation *invocation; }; -- cgit 1.2.3-korg