aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2012-05-11 17:05:18 -0300
committerPaulo Alcantara <paulo.alcantara@openbossa.org>2012-05-22 00:53:35 -0300
commitbb0534e1da02812665174ab0a345bf4fd128c253 (patch)
tree5a7d96bbc9876e29b6ad8c2d577430be5ef23f36 /src/storage.h
parent00c9d1cd4ca1e3e8eaf0c1226c0c8fc48fa0dabe (diff)
downloadbluez-bb0534e1da02812665174ab0a345bf4fd128c253.tar.gz
bluez-bb0534e1da02812665174ab0a345bf4fd128c253.tar.xz
bluez-bb0534e1da02812665174ab0a345bf4fd128c253.zip
storage: Store address type in alias file
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/storage.h b/src/storage.h
index 52b44dc7..666fad00 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -23,8 +23,10 @@
#include "textfile.h"
-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 read_device_alias(const char *src, const char *dst, uint8_t bdaddr_type,
+ char *alias, size_t size);
+int write_device_alias(const char *src, const char *dst, uint8_t bdaddr_type,
+ 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);