summaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-08-30 09:54:27 -0300
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-09-01 17:23:27 -0300
commit676f5e7dea3c6c160ffdf08d42bf83e72a5a6c3f (patch)
tree1eafa357750c5c25070d76b66b09cad19a50fd2c /src/storage.h
parent75c562d773e5fe37f4257631318d7f918edc5b53 (diff)
Adapter initialization cleanup
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/storage.h b/src/storage.h
index 8a06d4e3..7f89ef19 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -24,9 +24,9 @@
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(bdaddr_t *bdaddr, int *timeout);
+int read_discoverable_timeout(const char *src, int *timeout);
int write_device_mode(bdaddr_t *bdaddr, const char *mode);
-int read_device_mode(bdaddr_t *bdaddr, char *mode, int length);
+int read_device_mode(const char *src, char *mode, int length);
int read_on_mode(const char *src, char *mode, int length);
int write_local_name(bdaddr_t *bdaddr, char *name);
int read_local_name(bdaddr_t *bdaddr, char *name);