From fe785852485ecaa8c162682cc4dfcb6dd22f2210 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Wed, 15 Oct 2008 15:20:22 +0100 Subject: 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 --- src/storage.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/storage.h') 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); -- cgit