config.h.in
author Myhailo Danylenko <isbear@ukrpost.net>
Sun, 31 Jan 2010 20:44:05 +0200
changeset 25 05469ec9c2e0
parent 22 6d0d6bbf98d0
child 26 91987ea19f24
permissions -rw-r--r--
Add disco_cancel_request Though, it will work consistently only with presence of lm_connection_unregister_reply_handler.


#ifndef LOCAL_CONFIG_H
#define LOCAL_CONFIG_H

#cmakedefine HAVE_LM_CONNECTION_UNREGISTER_REPLY_HANDLER

#cmakedefine HAVE_XMPP_IS_ONLINE

#ifndef HAVE_XMPP_IS_ONLINE
inline gboolean xmpp_is_online (void)
{
	if (lconnection && lm_connection_is_authenticated (lconnection))
		return TRUE;
	else
		return FALSE;
}
#endif

#endif