summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-02-26 20:57:42 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-02-26 20:57:42 +0000
commit04a18d65207a17e4005c0c7d71c7aa01be1659fb (patch)
tree73c90b366976515b9ae9d0931795c56e69251a08 /hcid/hcid.h
parentd9aa4a2058eace37d5c2d15508b4c4d9962c2bb5 (diff)
Implement the trust methods properly
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h4
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);