mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
Update mg_coap_add_option doc
PUBLISHED_FROM=cded8f36e2833e7c256ba6cbca0ebf1f6012dee7
This commit is contained in:
1 parent
0dcb50d39c
commit
cd778396ff
2 files changed
+3
-1
No files matched your search
@@ -9,5 +9,6 @@ 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
|
||||||
|
|
||||||
@@ -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,
|
||||||
|
|||||||
Reference in new issue
Block a user