Function rosidl_parse_type_hash_string
Defined in File type_hash.h
Function Documentation
-
rcutils_ret_t rosidl_parse_type_hash_string(const char *type_hash_string, rosidl_type_hash_t *hash_out)
Parse a stringified type hash to a struct.
- Parameters:
type_hash_string – [in] Null-terminated string with the hash representation
hash_out – [out] Preallocated structure to be filled with parsed hash information. hash_out->version will be 0 if no version could be parsed, but if a version could be determined this field will be set even if an error is returned
- Returns:
RCTUILS_RET_INVALID_ARGUMENT on any null pointer argumunts, or malformed hash string.
- Returns:
RCUTILS_RET_OK otherwise