aboutsummaryrefslogtreecommitdiffstats
path: root/src/storage.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2008-10-15 15:20:22 +0100
committerMarcel Holtmann <marcel@holtmann.org>2008-10-16 01:44:21 +0200
commitfe785852485ecaa8c162682cc4dfcb6dd22f2210 (patch)
treeaa69df8272ed3dac8f1fad2065aa024aec46ad47 /src/storage.h
parent02c29b28366c4afb3fe6206dd7421d8ccd6f46f3 (diff)
downloadbluez-fe785852485ecaa8c162682cc4dfcb6dd22f2210.tar.gz
bluez-fe785852485ecaa8c162682cc4dfcb6dd22f2210.tar.xz
bluez-fe785852485ecaa8c162682cc4dfcb6dd22f2210.zip
Export record_from_string() from the storage functions
Export record_from_string() from the storage functions, so it can be used to generate an sdp_record from a static string in sixpair.c
Diffstat (limited to 'src/storage.h')
-rw-r--r--src/storage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage.h b/src/storage.h
index bff36a7c..29f08d80 100644
--- a/src/storage.h
+++ b/src/storage.h
@@ -57,6 +57,7 @@ GSList *list_trusts(bdaddr_t *local, const char *service);
int write_device_profiles(bdaddr_t *src, bdaddr_t *dst, const char *profiles);
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 *record_from_string(const gchar *str);
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);
sdp_list_t *read_records(bdaddr_t *src, bdaddr_t *dst);