axl_bool ext_dns_session_is_ok ( extDnsSession session,
axl_bool  free_on_fail 

Allows to check if the session is still working.

sessionThe session to be checked.
free_on_failAllows to release session object in the case of failure.
axl_true in the case the session is working, otherwise axl_false is returned.

References ext_dns_mutex_lock(), ext_dns_mutex_unlock(), and ext_dns_session_close().

Referenced by ext_dns_message_query_int(), and ext_dns_session_close().