aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-01-18 13:27:16 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-01-18 13:27:16 +0200
commit4548e3a6b21bbc185dd8284e128751ce87d108ae (patch)
treef8623ea5c6f55c2603fdd2017f9c8337c133a080 /src/storage.h
parent26a2456f1f3a075b1a4b94454dcc6f13274b7c03 (diff)
downloadbluez-4548e3a6b21bbc185dd8284e128751ce87d108ae.tar.gz
bluez-4548e3a6b21bbc185dd8284e128751ce87d108ae.tar.xz
bluez-4548e3a6b21bbc185dd8284e128751ce87d108ae.zip
storage: Add variable-length EIR support to write_remote_eir
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/storage.h b/src/storage.h
index 51259f60..4046e99b 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -40,7 +40,8 @@ int write_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t class);
int read_remote_class(bdaddr_t *local, bdaddr_t *peer, uint32_t *class);
int write_device_name(bdaddr_t *local, bdaddr_t *peer, char *name);
int read_device_name(const char *src, const char *dst, char *name);
-int write_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data);
+int write_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data,
+ uint8_t data_len);
int read_remote_eir(bdaddr_t *local, bdaddr_t *peer, uint8_t *data);
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 *page1, unsigned char *page2);