summaryrefslogtreecommitdiffstats
path: root/hcid/hcid.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-02-08 03:20:03 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-02-08 03:20:03 +0000
commitc5f81f1139c33eccc59146d45893c8037d63e94f (patch)
treed7ea60cae20cdc918a959a72f2808199426a7c31 /hcid/hcid.h
parenta1018ae90706783c45c1c3814af3354b4b5504c8 (diff)
Add support for last seen information
Diffstat (limited to 'hcid/hcid.h')
-rw-r--r--hcid/hcid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hcid/hcid.h b/hcid/hcid.h
index 482cf589..a09c5198 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -23,6 +23,7 @@
*
*/
+#include <time.h>
#include <syslog.h>
#include <sys/types.h>
#include <sys/ioctl.h>
@@ -150,6 +151,7 @@ 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);
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_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_code(bdaddr_t *local, bdaddr_t *peer, char *pin);