Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
cd778396
Commit
cd778396
authored
Nov 03, 2016
by
Alexander Alashkin
Committed by
Cesanta Bot
Nov 03, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_coap_add_option doc
PUBLISHED_FROM=cded8f36e2833e7c256ba6cbca0ebf1f6012dee7
parent
0dcb50d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
mg_coap_add_option.md
docs/c-api/coap.h/mg_coap_add_option.md
+2
-1
mongoose.h
mongoose.h
+1
-0
No files found.
docs/c-api/coap.h/mg_coap_add_option.md
View file @
cd778396
...
...
@@ -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
mongoose.h
View file @
cd778396
...
...
@@ -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
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment