diff options
author | Thomas Haller <thaller@redhat.com> | 2018-10-11 10:54:17 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-10-17 13:03:50 +0200 |
commit | fadcc16b261d1dfa04f8c6c646057cea010d8e0c (patch) | |
tree | 704631bb1be530d2b39ec931dfca0f8bbc5c7594 /src/devices/bluetooth/nm-bluez5-dun.h | |
parent | bd21a63e2fa5fe8ec6a340ea1e70c0c68a5f4574 (diff) | |
download | NetworkManager-fadcc16b261d1dfa04f8c6c646057cea010d8e0c.tar.gz |
bluez: make connect operation (partially) cancellable and drop GAsyncResult pattern
All operations must be cancellable in a timely manner, otherwise, the objects
hang during shutdown.
Also, get rid of the GAsyncResult pattern. It is more cumbersome than
helpful.
There are still several issues, marked by FIXME comments.
Diffstat (limited to 'src/devices/bluetooth/nm-bluez5-dun.h')
-rw-r--r-- | src/devices/bluetooth/nm-bluez5-dun.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bluetooth/nm-bluez5-dun.h b/src/devices/bluetooth/nm-bluez5-dun.h index 124c1a05b0..b75e4399a7 100644 --- a/src/devices/bluetooth/nm-bluez5-dun.h +++ b/src/devices/bluetooth/nm-bluez5-dun.h @@ -32,7 +32,8 @@ NMBluez5DunContext *nm_bluez5_dun_new (const char *adapter, const char *remote); void nm_bluez5_dun_connect (NMBluez5DunContext *context, - NMBluez5DunFunc callback, gpointer user_data); + NMBluez5DunFunc callback, + gpointer user_data); /* Clean up connection resources */ void nm_bluez5_dun_cleanup (NMBluez5DunContext *context); |