From 3ee81cab2ed66b7f3d4fbd6ba6676d5d9448d6dc Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 27 Nov 2008 16:46:45 -0300 Subject: Introduce PairableTimeout Property and fix use of g_timeout_add. PairableTimeout work similarly to DiscoverableTimeout where the user application can set the amount of time to stay in Pairable. It also fixes the use of g_timeout_add to g_timeout_add_seconds for both PairableTimeout and DiscoverableTimeout. --- src/storage.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/storage.h') diff --git a/src/storage.h b/src/storage.h index b6bedbed..ce3a22e5 100644 --- a/src/storage.h +++ b/src/storage.h @@ -25,6 +25,8 @@ int read_device_alias(const char *src, const char *dst, char *alias, size_t size int write_device_alias(const char *src, const char *dst, const char *alias); int write_discoverable_timeout(bdaddr_t *bdaddr, int timeout); int read_discoverable_timeout(const char *src, int *timeout); +int write_pairable_timeout(bdaddr_t *bdaddr, int timeout); +int read_pairable_timeout(const char *src, int *timeout); int write_device_mode(bdaddr_t *bdaddr, const char *mode); int read_device_mode(const char *src, char *mode, int length); int read_on_mode(const char *src, char *mode, int length); -- cgit