@@ -124,12 +124,12 @@ rmw_get_serialization_format(void);
124124/// Create a node and return a handle to that node.
125125/**
126126 * This function can fail, and therefore return `NULL`, if:
127- * - init_context , name, namespace_, or security_options is `NULL`
128- * - init_context , security_options is invalid
127+ * - context , name, namespace_, or security_options is `NULL`
128+ * - context , security_options is invalid
129129 * - memory allocation fails during node creation
130130 * - an unspecified error occurs
131131 *
132- * The init_context must be non-null and valid, i.e. it has been initialized
132+ * The context must be non-null and valid, i.e. it has been initialized
133133 * by `rmw_init()` and has not been finalized by `rmw_shutdown()`.
134134 *
135135 * The name and namespace_ should be valid node name and namespace,
@@ -153,7 +153,7 @@ rmw_get_serialization_format(void);
153153 *
154154 * This should be defined by the rmw implementation.
155155 *
156- * \param[in] init_context init context that this node should be associated with
156+ * \param[in] context init context that this node should be associated with
157157 * \param[in] name the node name
158158 * \param[in] namespace_ the node namespace
159159 * \param[in] domain_id the id of the domain that the node should join
@@ -164,7 +164,7 @@ RMW_PUBLIC
164164RMW_WARN_UNUSED
165165rmw_node_t *
166166rmw_create_node (
167- rmw_init_context_t * init_context ,
167+ rmw_context_t * context ,
168168 const char * name ,
169169 const char * namespace_ ,
170170 size_t domain_id ,
@@ -438,12 +438,12 @@ rmw_send_response(
438438/// Create a guard condition and return a handle to that guard condition.
439439/**
440440 * This function can fail, and therefore return `NULL`, if:
441- * - init_context is `NULL`
442- * - init_context is invalid
441+ * - context is `NULL`
442+ * - context is invalid
443443 * - memory allocation fails during guard condition creation
444444 * - an unspecified error occurs
445445 *
446- * The init_context must be non-null and valid, i.e. it has been initialized
446+ * The context must be non-null and valid, i.e. it has been initialized
447447 * by `rmw_init()` and has not been finalized by `rmw_shutdown()`.
448448 *
449449 * <hr>
@@ -457,13 +457,13 @@ rmw_send_response(
457457 *
458458 * This should be defined by the rmw implementation.
459459 *
460- * \param[in] init_context init context that this node should be associated with
460+ * \param[in] context init context that this node should be associated with
461461 * \return rmw guard condition handle or `NULL` if there was an error
462462 */
463463RMW_PUBLIC
464464RMW_WARN_UNUSED
465465rmw_guard_condition_t *
466- rmw_create_guard_condition (rmw_init_context_t * init_context );
466+ rmw_create_guard_condition (rmw_context_t * context );
467467
468468
469469/// Finalize a given guard condition handle, reclaim the resources, and deallocate the handle.
0 commit comments