diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2006-04-09 00:12:36 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2006-04-09 00:12:36 +0000 |
commit | e0d05942e436393256b61f111d5924add57840c7 (patch) | |
tree | 3657026fe793e6e051022d90728369578a7bec9b /hcid/hcid.h | |
parent | 8fa8629fa44075dfa41b1bff96a7951dd40cfb0a (diff) |
* Add D-Bus methods for getting remote device class information
* Fix a couple of memory leaks where result of textfile_get wasn't free'd
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r-- | hcid/hcid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h index 1bd64130..2f5d74c1 100644 --- a/hcid/hcid.h +++ b/hcid/hcid.h @@ -158,6 +158,8 @@ int write_local_name(bdaddr_t *bdaddr, char *name); int read_local_name(bdaddr_t *bdaddr, char *name); int write_local_class(bdaddr_t *bdaddr, uint8_t *class); int read_local_class(bdaddr_t *bdaddr, uint8_t *class); +int write_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class); +int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class); int write_device_name(bdaddr_t *local, bdaddr_t *peer, char *name); int read_device_name(bdaddr_t *local, bdaddr_t *peer, char *name); int write_version_info(bdaddr_t *local, bdaddr_t *peer, uint16_t manufacturer, uint8_t lmp_ver, uint16_t lmp_subver); |