summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-11 03:22:14 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-11 03:22:14 +0000
commit130ec73e48a959f397856808fdd64d3b0084a3d2 (patch)
treed2482962f80c6924cba7353102b9b93027bc04e2 /hcid/hcid.h
parentd4dc948acace9ab535c78b15d3fc04b11a0e3751 (diff)
Retrieve link key type together with the key itself
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index 099357f0..8a4c0f48 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -202,8 +202,8 @@ int write_version_info(bdaddr_t *local, bdaddr_t *peer, uint16_t manufacturer, u
int write_features_info(bdaddr_t *local, bdaddr_t *peer, unsigned char *features);
int write_lastseen_info(bdaddr_t *local, bdaddr_t *peer, struct tm *tm);
int write_lastused_info(bdaddr_t *local, bdaddr_t *peer, struct tm *tm);
-int write_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, int type, int length);
-int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key);
+int write_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, uint8_t type, int length);
+int read_link_key(bdaddr_t *local, bdaddr_t *peer, unsigned char *key, uint8_t *type);
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);