doc: Document the coap_can_exit() function

This commit is contained in:
Jon Shallow committed 2021-08-04 14:14:37 +01:00
1 parent 0585fb4398
commit a5c0d12354
2 files changed
+22 -1

No files matched your search

+8 -1
View File
@@ -483,7 +483,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);
/**