aboutsummaryrefslogtreecommitdiffstats
path: root/binding/bluetooth-map-common.h
diff options
context:
space:
mode:
Diffstat (limited to 'binding/bluetooth-map-common.h')
-rw-r--r--binding/bluetooth-map-common.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/binding/bluetooth-map-common.h b/binding/bluetooth-map-common.h
index 4b43c7e..12fe35a 100644
--- a/binding/bluetooth-map-common.h
+++ b/binding/bluetooth-map-common.h
@@ -57,6 +57,16 @@ struct map_state {
GHashTable *xfer_queue;
};
+enum xfer_types {
+ XFER_NOTIFICATION,
+ XFER_SENTMSG,
+};
+
+struct xfer_tuple {
+ enum xfer_types type;
+ gpointer value;
+};
+
struct init_data {
GCond cond;
GMutex mutex;
@@ -67,11 +77,12 @@ struct init_data {
};
struct call_work {
- struct bluetooth_state *ns;
+ struct map_state *ns;
int id;
gchar *access_type;
gchar *type_arg;
gchar *method;
+ gchar *bluez_method;
struct bluez_pending_work *cpw;
afb_req_t request;
GDBusMethodInvocation *invocation;