diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-05-03 02:43:24 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-05-06 23:29:12 -0700 |
commit | 4fd90fb81a9ab329800c41473ba948af16bbda8e (patch) | |
tree | 1360aa53882536fe92bceb126a1211ab3910792a /binding/bluetooth-map-common.h | |
parent | 2ebcd4022682f10f1084f0cf1abe77f19cdcd575 (diff) |
binding: bluetooth-map: add message composition support
Add message composition suppport for sending SMS/MMS messages in
bMessage format.
Bug-AGL: SPEC-2351
Change-Id: I5709c6619f44863e949ae61363f7d5fe54adcbfc
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/bluetooth-map-common.h')
-rw-r--r-- | binding/bluetooth-map-common.h | 13 |
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; |