Skip to content

Commit

Permalink
Document input assumptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhood committed Feb 22, 2018
1 parent ac25438 commit 462e97f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions rcl/src/rcl/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ typedef struct rcl_node_impl_t
} rcl_node_impl_t;


/// Return the logger name associated with a node given the validated node name and namespace.
/**
* E.g. for a node named "c" in namespace "/a/b", the logger name will be
* "a.b.c", assuming logger name separator of ".".
*
* \param[in] node_name validated node name (a single token)
* \param[in] node_namespace validated, absolute namespace (starting with "/")
* \param[in] allocator the allocator to use for allocation
* \returns duplicated string or null if there is an error
*/
const char * rcl_create_node_logger_name(
const char * node_name,
const char * node_namespace,
Expand Down

0 comments on commit 462e97f

Please sign in to comment.