diff options
author | Szymon Janc <szymon.janc@gmail.com> | 2013-11-12 23:48:20 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-11-14 14:58:16 +0200 |
commit | 9ad9540f7d8f1d8d485905ff00b10d3f2e4a6379 (patch) | |
tree | df8fda8c8510d81723cbec3dd6c7450511676f6a /android/bluetooth.h | |
parent | c060fc6976586d349506952ee6694451fa7ecd5b (diff) | |
download | bluez-9ad9540f7d8f1d8d485905ff00b10d3f2e4a6379.tar.gz |
android: Rename bluetooth service functions to match service name
Make public functions match service name.
Diffstat (limited to 'android/bluetooth.h')
-rw-r--r-- | android/bluetooth.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/android/bluetooth.h b/android/bluetooth.h index 99bd85fef..44b8e9e85 100644 --- a/android/bluetooth.h +++ b/android/bluetooth.h @@ -21,18 +21,18 @@ * */ -typedef void (*bt_adapter_ready)(int err, const bdaddr_t *addr); -bool bt_adapter_start(int index, bt_adapter_ready cb); +typedef void (*bt_bluetooth_ready)(int err, const bdaddr_t *addr); +bool bt_bluetooth_start(int index, bt_bluetooth_ready cb); -typedef void (*bt_adapter_stopped)(void); -bool bt_adapter_stop(bt_adapter_stopped cb); +typedef void (*bt_bluetooth_stopped)(void); +bool bt_bluetooth_stop(bt_bluetooth_stopped cb); -void bt_adapter_cleanup(void); +void bt_bluetooth_cleanup(void); -void bt_adapter_handle_cmd(int sk, uint8_t opcode, void *buf, uint16_t len); +void bt_bluetooth_handle_cmd(int sk, uint8_t opcode, void *buf, uint16_t len); -bool bt_adapter_register(int sk); -void bt_adapter_unregister(void); +bool bt_bluetooth_register(int sk); +void bt_bluetooth_unregister(void); int bt_adapter_add_record(sdp_record_t *rec, uint8_t svc_hint); void bt_adapter_remove_record(uint32_t handle); |