mirror of
https://github.com/cesanta/mongoose.git
synced 2025-06-10 19:33:06 +08:00
Update mg_coap_add_option doc
PUBLISHED_FROM=cded8f36e2833e7c256ba6cbca0ebf1f6012dee7
This commit is contained in:
parent
0dcb50d39c
commit
cd778396ff
@ -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
|
||||||
|
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user