code state when passing struct double pointer to parse_ functions