diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-26 20:57:42 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-26 20:57:42 +0000 |
commit | 04a18d65207a17e4005c0c7d71c7aa01be1659fb (patch) | |
tree | 73c90b366976515b9ae9d0931795c56e69251a08 /hcid/hcid.h | |
parent | d9aa4a2058eace37d5c2d15508b4c4d9962c2bb5 (diff) |
Implement the trust methods properly
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r-- | hcid/hcid.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h index aeba6bb6..41a22983 100644 --- a/hcid/hcid.h +++ b/hcid/hcid.h @@ -26,6 +26,8 @@ #include <time.h> #include <sys/types.h> +#include <glib.h> + #include <bluetooth/bluetooth.h> #include <bluetooth/hci.h> @@ -189,3 +191,5 @@ int write_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, int type int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key); 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 char *addr, const char *service); +int write_trust(const char *addr, const char *service, gboolean trust); |