aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-09-13 20:12:32 -0700
committerDavid Woodhouse <David.Woodhouse@intel.com>2008-09-13 20:12:32 -0700
commitdca79443166a7b2e28bd59a756cc9ad4ddcca270 (patch)
tree7fd2a500721dcd4acce8e0a24729cf8cfc9588fc /src/storage.h
parent653b7bfee4d6b5e39f2693c4354bfbf1bc4ddce0 (diff)
downloadbluez-dca79443166a7b2e28bd59a756cc9ad4ddcca270.tar.gz
bluez-dca79443166a7b2e28bd59a756cc9ad4ddcca270.tar.xz
bluez-dca79443166a7b2e28bd59a756cc9ad4ddcca270.zip
Add storage for pnp info, which can come from PNP record or EIR
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index 7f89ef19..a4eb82da 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -59,3 +59,8 @@ int delete_entry(bdaddr_t *src, const char *storage, const char *key);
int store_record(const gchar *src, const gchar *dst, sdp_record_t *rec);
sdp_record_t *fetch_record(const gchar *src, const gchar *dst, const uint32_t handle);
int delete_record(const gchar *src, const gchar *dst, const uint32_t handle);
+
+int store_pnp(const gchar *src, const gchar *dst, const uint16_t vendor,
+ const uint16_t product, const uint16_t version);
+int read_pnp(const gchar *src, const gchar *dst, uint32_t *vendor,
+ uint16_t *product, uint16_t *version);