aboutsummaryrefslogtreecommitdiff
path: root/src/manager.h
diff options
context:
space:
mode:
authorAlok Barsode <alok.barsode@azingo.com>2009-08-14 21:30:20 +0530
committerJohan Hedberg <johan.hedberg@nokia.com>2009-08-15 03:03:56 +0300
commitd2a6bf00afbaeef82f9210639150e1f93cb44589 (patch)
tree264a8786243d22eeb77356badfbf6899eb389bc9 /src/manager.h
parent6277974c440ae027131e62458f49f3e24ecbade3 (diff)
downloadbluez-d2a6bf00afbaeef82f9210639150e1f93cb44589.tar.gz
Implement Class of Device cache for async behaviour.
In order to avoid race conditions for setting the Class of Device asynchronously a queuing mechanism is needed. This patch implements that by having the following variables in the adapter struct: adapter->current_cod The currently set CoD adapter->pending_cod CoD of a hci_write_cod command which didn't complete yet. adapter->wanted_cod The CoD value that is ultimately desired but might not have been set yet.
Diffstat (limited to 'src/manager.h')
-rw-r--r--src/manager.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/manager.h b/src/manager.h
index 94635740..93dffa6f 100644
--- a/src/manager.h
+++ b/src/manager.h
@@ -44,5 +44,4 @@ void manager_add_adapter(const char *path);
int manager_get_default_adapter();
void manager_set_default_adapter(int id);
void manager_update_svc(const bdaddr_t *bdaddr, uint8_t svc);
-int manager_get_adapter_class(uint16_t dev_id, uint8_t *cls);
void btd_manager_set_offline(gboolean offline);