Function rmw_validate_full_topic_name_with_size
Defined in File validate_full_topic_name.h
Function Documentation
-
rmw_ret_t rmw_validate_full_topic_name_with_size(const char *topic_name, size_t topic_name_length, int *validation_result, size_t *invalid_index)
Deterimine if a given topic name is valid.
This is an overload with an extra parameter for the length of topic_name.
- Parameters:
topic_name – [in] topic name to be validated
topic_name_length – [in] The number of characters in topic_name.
validation_result – [out] int in which the result of the check is stored
invalid_index – [out] size_t index of the input string where an error occurred
- Returns:
RMW_RET_OK
on successfully running the check, or- Returns:
RMW_RET_INVALID_ARGUMENT
on invalid parameters, or- Returns:
RMW_RET_ERROR
when an unspecified error occurs.