aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2012-05-11 18:30:51 -0300
committerPaulo Alcantara <paulo.alcantara@openbossa.org>2012-05-22 01:14:03 -0300
commit0b17ce57481014d292f3c070f612c1a3731929a1 (patch)
treeb47b87928cc10f93f4344467f13c83ec364af495 /src/storage.h
parentbb0534e1da02812665174ab0a345bf4fd128c253 (diff)
downloadbluez-0b17ce57481014d292f3c070f612c1a3731929a1.tar.gz
bluez-0b17ce57481014d292f3c070f612c1a3731929a1.tar.xz
bluez-0b17ce57481014d292f3c070f612c1a3731929a1.zip
storage: Store address type in blocked file
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/storage.h b/src/storage.h
index 666fad00..53491d9c 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -78,9 +78,10 @@ int read_device_id(const gchar *src, const gchar *dst,
uint16_t *product, uint16_t *version);
int write_device_pairable(bdaddr_t *local, gboolean mode);
int read_device_pairable(bdaddr_t *local, gboolean *mode);
-gboolean read_blocked(const bdaddr_t *local, const bdaddr_t *remote);
+gboolean read_blocked(const bdaddr_t *local, const bdaddr_t *remote,
+ uint8_t bdaddr_type);
int write_blocked(const bdaddr_t *local, const bdaddr_t *remote,
- gboolean blocked);
+ uint8_t bdaddr_type, gboolean blocked);
int write_device_services(const bdaddr_t *sba, const bdaddr_t *dba,
uint8_t bdaddr_type, const char *services);
int delete_device_service(const bdaddr_t *sba, const bdaddr_t *dba);