summaryrefslogtreecommitdiffstats
path: root/include/sdp_lib.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2005-08-03 07:18:31 +0000
committerMarcel Holtmann <marcel@holtmann.org>2005-08-03 07:18:31 +0000
commita1454c0f12421da1849ca347f8a30d084778d679 (patch)
tree44ee61248c833540c894e37d73905604c16e186a /include/sdp_lib.h
parentb809fb039119546a8b5b4fbb4bcbfbad6666cf24 (diff)
Create per device SDP server functions
Diffstat (limited to 'include/sdp_lib.h')
-rw-r--r--include/sdp_lib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h
index b4e83fe3..b9fbf6f3 100644
--- a/include/sdp_lib.h
+++ b/include/sdp_lib.h
@@ -397,11 +397,13 @@ void sdp_record_free(sdp_record_t *rec);
* on success or -1 on failure (and sets errno).
*/
int sdp_record_register(sdp_session_t *sess, sdp_record_t *rec, uint8_t flags);
+int sdp_device_record_register(sdp_session_t *sess, bdaddr_t *device, sdp_record_t *rec, uint8_t flags);
/*
* Unregister a service record.
*/
int sdp_record_unregister(sdp_session_t *sess, sdp_record_t *rec);
+int sdp_device_record_unregister(sdp_session_t *sess, bdaddr_t *device, sdp_record_t *rec);
/*
* Update an existing service record. (Calling this function
@@ -409,6 +411,7 @@ int sdp_record_unregister(sdp_session_t *sess, sdp_record_t *rec);
* in an error.)
*/
int sdp_record_update(sdp_session_t *sess, const sdp_record_t *rec);
+int sdp_device_record_update(sdp_session_t *sess, bdaddr_t *device, const sdp_record_t *rec);
void sdp_record_print(const sdp_record_t *rec);