Commit cd778396 authored by Alexander Alashkin's avatar Alexander Alashkin Committed by Cesanta Bot

Update mg_coap_add_option doc

PUBLISHED_FROM=cded8f36e2833e7c256ba6cbca0ebf1f6012dee7
parent 0dcb50d3
......@@ -9,5 +9,6 @@ signature: |
---
Adds a new option to mg_coap_message structure.
Returns pointer to the newly created option.
Returns pointer to the newly created option.
Note: options must be freed by using mg_coap_free_options
......@@ -5328,6 +5328,7 @@ int mg_set_protocol_coap(struct mg_connection *nc);
/*
* Adds a new option to mg_coap_message structure.
* Returns pointer to the newly created option.
* Note: options must be freed by using mg_coap_free_options
*/
struct mg_coap_option *mg_coap_add_option(struct mg_coap_message *cm,
uint32_t number, char *value,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment