Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
8124907f
Commit
8124907f
authored
10 years ago
by
Hauke Petersen
Browse files
Options
Downloads
Patches
Plain Diff
net/ng_netapi: changed semantics of get function
parent
48c41661
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sys/include/net/ng_netapi.h
+2
-2
2 additions, 2 deletions
sys/include/net/ng_netapi.h
with
2 additions
and
2 deletions
sys/include/net/ng_netapi.h
+
2
−
2
View file @
8124907f
...
@@ -91,12 +91,12 @@ int ng_netapi_send(kernel_pid_t pid, ng_pktsnip_t *pkt);
...
@@ -91,12 +91,12 @@ int ng_netapi_send(kernel_pid_t pid, ng_pktsnip_t *pkt);
* @param[in] opt option to get
* @param[in] opt option to get
* @param[in] context (optional) context to the given option
* @param[in] context (optional) context to the given option
* @param[in] data pointer to buffer for reading the option's value
* @param[in] data pointer to buffer for reading the option's value
* @param[in]
data
_len
size of the given buffer
* @param[in]
max
_len
maximum number of bytes that fit into @p data
*
*
* @return value returned by the @ref NG_NETAPI_MSG_TYPE_ACK message
* @return value returned by the @ref NG_NETAPI_MSG_TYPE_ACK message
*/
*/
int
ng_netapi_get
(
kernel_pid_t
pid
,
ng_netconf_opt_t
opt
,
uint16_t
context
,
int
ng_netapi_get
(
kernel_pid_t
pid
,
ng_netconf_opt_t
opt
,
uint16_t
context
,
void
*
data
,
size_t
data
_len
);
void
*
data
,
size_t
max
_len
);
/**
/**
* @brief Shortcut function for sending @ref NG_NETAPI_MSG_TYPE_SET messages and
* @brief Shortcut function for sending @ref NG_NETAPI_MSG_TYPE_SET messages and
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment