15 #ifndef RCL__VALIDATE_TOPIC_NAME_H_ 16 #define RCL__VALIDATE_TOPIC_NAME_H_ 27 #define RCL_TOPIC_NAME_VALID 0 28 #define RCL_TOPIC_NAME_INVALID_IS_EMPTY_STRING 1 29 #define RCL_TOPIC_NAME_INVALID_ENDS_WITH_FORWARD_SLASH 2 30 #define RCL_TOPIC_NAME_INVALID_CONTAINS_UNALLOWED_CHARACTERS 3 31 #define RCL_TOPIC_NAME_INVALID_NAME_TOKEN_STARTS_WITH_NUMBER 4 32 #define RCL_TOPIC_NAME_INVALID_UNMATCHED_CURLY_BRACE 5 33 #define RCL_TOPIC_NAME_INVALID_MISPLACED_TILDE 6 34 #define RCL_TOPIC_NAME_INVALID_TILDE_NOT_FOLLOWED_BY_FORWARD_SLASH 7 35 #define RCL_TOPIC_NAME_INVALID_SUBSTITUTION_CONTAINS_UNALLOWED_CHARACTERS 8 36 #define RCL_TOPIC_NAME_INVALID_SUBSTITUTION_STARTS_WITH_NUMBER 9 93 const char * topic_name,
94 int * validation_result,
95 size_t * invalid_index);
107 #endif // RCL__VALIDATE_TOPIC_NAME_H_
rmw_ret_t rcl_ret_t
Definition: types.h:20
const char * rcl_topic_name_validation_result_string(int validation_result)
Return a validation result description, or NULL if unknown or RCL_TOPIC_NAME_VALID.
#define RCL_WARN_UNUSED
Ignored return values of functions with this macro will emit a warning.
Definition: macros.h:25
#define RCL_PUBLIC
Definition: visibility_control.h:48
rcl_ret_t rcl_validate_topic_name(const char *topic_name, int *validation_result, size_t *invalid_index)
Validate a given topic name.