Update mg_coap_add_option doc

PUBLISHED_FROM=cded8f36e2833e7c256ba6cbca0ebf1f6012dee7
This commit is contained in:
Alexander Alashkin authored and Cesanta Bot committed 2016-11-03 17:20:55 +00:00
1 parent 0dcb50d39c
commit cd778396ff
2 files changed
+2

No files matched your search

+1
View File
@@ -10,4 +10,5 @@ signature: |
Adds a new option to mg_coap_message structure. 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
+1
View File
@@ -5328,6 +5328,7 @@ int mg_set_protocol_coap(struct mg_connection *nc);
/* /*
* Adds a new option to mg_coap_message structure. * 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
*/ */
struct mg_coap_option *mg_coap_add_option(struct mg_coap_message *cm, struct mg_coap_option *mg_coap_add_option(struct mg_coap_message *cm,
uint32_t number, char *value, uint32_t number, char *value,