Slit the brinjals into four, lengthways keeping the stems intact. Soak in water. Soak the tamarind in half a cup of warm water for half an hour. Extract the pulp, strain and set aside.
Reserve one tablespoon each of the grated coconut and coriander leaves for garnishing. Heat one tablespoon of oil in a pan; add the onions and sauté for a few minutes. Add the dried coconut, sesame seeds, peanuts, cumin seeds and coriander seeds and sauté over medium heat for two minutes, stirring continuously, till the dried coconut turns a light golden brown.
Cool and grind the fried spice with a little water to a coarse paste. Combine the paste with the goda masala, salt, turmeric powder, chilli powder, remaining grated coconut and coriander leaves and tamarind pulp. Stuff the mixture into the brinjals. Heat the remaining oil in a pressure cooker; add the mustard seeds and when they beging to splutter, add the curry leaves.
Place the stuffed brinjals in the pan and cook for two or three minutes. Gently turn the brinjals once or twice to cook evenly on all sides. Add half a cup of water and bring to a boil. Cover the pressure cooker and cook over medium heat till the pressure is released twice (two whistles).
Remove the lid when the pressure has reduced completely and cook for one or two minutes. Serve hot, garnished with the reserved coriander leaves and grated coconut.