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);
96 #endif // RMW__VALIDATE_NODE_NAME_H_
#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.
int rmw_ret_t
Definition: types.h:29
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.