summaryrefslogtreecommitdiffstats
path: root/binding/network-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding/network-common.h')
-rw-r--r--binding/network-common.h18
1 files changed, 9 insertions, 9 deletions
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 <json-c/json.h>
-#define AFB_BINDING_VERSION 2
+#define AFB_BINDING_VERSION 3
#include <afb/afb-binding.h>
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;
};