15 #ifndef RMW__VALIDATE_NODE_NAME_H_ 16 #define RMW__VALIDATE_NODE_NAME_H_ 26 #define RMW_NODE_NAME_VALID 0 27 #define RMW_NODE_NAME_INVALID_IS_EMPTY_STRING 1 28 #define RMW_NODE_NAME_INVALID_CONTAINS_UNALLOWED_CHARACTERS 2 29 #define RMW_NODE_NAME_INVALID_STARTS_WITH_NUMBER 3 30 #define RMW_NODE_NAME_INVALID_TOO_LONG 4 32 #define RMW_NODE_NAME_MAX_NAME_LENGTH 255 82 const char * node_name,
83 int * validation_result,
84 size_t * invalid_index);
97 const char * node_name,
98 size_t node_name_length,
99 int * validation_result,
100 size_t * invalid_index);
112 #endif // RMW__VALIDATE_NODE_NAME_H_ rmw_ret_t rmw_validate_node_name_with_size(const char *node_name, size_t node_name_length, int *validation_result, size_t *invalid_index)
Deterimine if a given node name is valid.
#define RMW_PUBLIC
Definition: visibility_control.h:48
#define RMW_WARN_UNUSED
Definition: macros.h:22
const char * rmw_node_name_validation_result_string(int validation_result)
Return a validation result description, or NULL if unknown or RMW_NODE_NAME_VALID.
rmw_ret_t rmw_validate_node_name(const char *node_name, int *validation_result, size_t *invalid_index)
Determine if a node name is valid.
int32_t rmw_ret_t
Definition: ret_types.h:25