Function query_exit_directions:
Defined in module m_exit (file: /std/modules/m_exit.c)

Return all of the exit directions controlled by the exit object
The optional argument determines whether hidden exits are included in this 
list.  If nonnull, they are included

Prototype:
varargs string array query_exit_directions(int show_hidden);
