What is the function of a glottis in a frog?

What is the function of a glottis in a frog?