mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-17 09:14:32 +08:00
fix comments
This commit is contained in:
parent
28b4f0aea5
commit
8b11908eac
@ -393,7 +393,8 @@ void sdp_record_free(sdp_record_t *rec);
|
||||
* record first and set its attributes using setXXX() methods.
|
||||
*
|
||||
* The service provider must then call sdp_record_register() to make
|
||||
* the service record visible to SDP clients.
|
||||
* the service record visible to SDP clients. This function returns 0
|
||||
* on success or -1 on failure (and sets errno).
|
||||
*/
|
||||
int sdp_record_register(sdp_session_t *sess, sdp_record_t *rec, uint8_t flags);
|
||||
|
||||
|
@ -2286,8 +2286,7 @@ void sdp_append_to_pdu(sdp_buf_t *pdu, sdp_data_t *d)
|
||||
* It is incorrect to call this method on a record that
|
||||
* has been already registered with the server.
|
||||
*
|
||||
* Returns a non-null value (a pointer) to a service
|
||||
* record if successful, else -1 setting errno
|
||||
* Returns zero on success, otherwise -1 (and sets errno).
|
||||
*/
|
||||
int sdp_record_register(sdp_session_t *session, sdp_record_t *rec, uint8_t flags)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user