[riot-notifications] [RIOT-OS/RIOT] wolfSSL pkg addition with examples (#10308)

Daniele Lacamera notifications at github.com
Fri Sep 6 10:48:07 CEST 2019


danielinux commented on this pull request.



> + * @param[in] addr      Remote end point for the DTLS session.
+ *
+ */
+void sock_dtls_set_endpoint(sock_tls_t *sk, const sock_udp_ep_t *addr);
+
+/**
+ * @brief   Creates a new DTLS session from an existing `sock_tls_t` object.
+ *
+ * @pre `(sk != NULL)`
+ *
+ * @param[in] sk      The sock object previously created using @ref sock_dtls_create
+ *
+ * @return  0 on success.
+ * @return  -EINVAL, if @sock is null or the SSL context is not initialized yet.
+ * @return  -ENOMEM, if not enough resources can be provided for the session to be
+ *          created

I'll ignore this for now, I am not seeing any major advantage of using `retval` instead of `return`, but I am no doxygen expert.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10308#discussion_r321636817
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190906/c5d1484e/attachment.htm>


More information about the notifications mailing list