Searched refs:vehicle_str (Results 1 – 2 of 2) sorted by relevance
135 static int alloc_vehicle_str_from_cstr(const char* string, vehicle_str_t* vehicle_str) { in alloc_vehicle_str_from_cstr() argument137 vehicle_str->data = (uint8_t*) malloc(len); in alloc_vehicle_str_from_cstr()138 if (vehicle_str->data == NULL) { in alloc_vehicle_str_from_cstr()141 memcpy(vehicle_str->data, string, len); in alloc_vehicle_str_from_cstr()142 vehicle_str->len = len; in alloc_vehicle_str_from_cstr()
1308 typedef struct vehicle_str { struct