diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-08-03 07:18:31 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-08-03 07:18:31 +0000 |
commit | a1454c0f12421da1849ca347f8a30d084778d679 (patch) | |
tree | 44ee61248c833540c894e37d73905604c16e186a /include | |
parent | b809fb039119546a8b5b4fbb4bcbfbad6666cf24 (diff) |
Create per device SDP server functions
Diffstat (limited to 'include')
-rw-r--r-- | include/sdp_lib.h | 3 |
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); |