diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-08-27 18:46:48 -0300 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-08-28 19:06:20 -0300 |
commit | d4982955787817ad17aec6de9308c8f1d7ed0b92 (patch) | |
tree | 5f94c570ea28efdb3f6f050d12bae6a2ce214c5e /src/storage.h | |
parent | 8a68b5fe931db5a432f924b0de22ed3acee024ba (diff) |
Storage cleanup: avoid Bluetooth address to string conversions
Diffstat (limited to 'src/storage.h')
-rw-r--r-- | src/storage.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage.h b/src/storage.h index a9bda390..8a06d4e3 100644 --- a/src/storage.h +++ b/src/storage.h @@ -52,7 +52,7 @@ int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, uint8_t * int read_pin_length(bdaddr_t *local, bdaddr_t *peer); int read_pin_code(bdaddr_t *local, bdaddr_t *peer, char *pin); gboolean read_trust(const bdaddr_t *local, const char *addr, const char *service); -int write_trust(bdaddr_t *local, const char *addr, const char *service, gboolean trust); +int write_trust(const char *src, const char *addr, const char *service, gboolean trust); GSList *list_trusts(bdaddr_t *local, const char *service); int write_device_profiles(bdaddr_t *src, bdaddr_t *dst, const char *profiles); int delete_entry(bdaddr_t *src, const char *storage, const char *key); |