Merge pull request #739 from mrdeep1/coap_can_exit

doc: Document the coap_can_exit() function
This commit is contained in:
obgm authored and GitHub committed 2021-09-28 12:54:54 +02:00
commit 0061b3fe07
2 files changed
+22 -1

No files matched your search

+8 -1
View File
@@ -484,7 +484,14 @@ int coap_handle_event(coap_context_t *context,
coap_session_t *session);
/**
* Returns 1 if there are no messages to send or to dispatch in the context's
* queues. */
* queues.
*
* @param context The CoAP context to check.
*
* @return @c 0 if there are still pending transmits else @c 1 if nothing
* queued for transmission. Note that @c 0 does not mean there has
* been a response to a transmitted request.
*/
int coap_can_exit(coap_context_t *context);
/**