summaryrefslogtreecommitdiffstats
path: root/include/sdp_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sdp_lib.h')
-rw-r--r--include/sdp_lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/sdp_lib.h b/include/sdp_lib.h
index 6a5d7d82..7661d24e 100644
--- a/include/sdp_lib.h
+++ b/include/sdp_lib.h
@@ -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);