mongoose/docs/c-api/coap.h/mg_coap_add_option.md
Dmitry Frank 7bed7ff482 Docs are generated for Mongoose
Comments in headers are changed a bit: removed adoc-specific stuff,
markdown is used instead

PUBLISHED_FROM=9242cce85cc52a47a197d377e7e23804721a6bb5
2016-03-21 13:29:29 +01:00

399 B

title decl_name symbol_kind signature
mg_coap_add_option() mg_coap_add_option func struct mg_coap_option *mg_coap_add_option(struct mg_coap_message *cm, uint32_t number, char *value, size_t len);

Add new option to mg_coap_message structure. Returns pointer to the newly created option.