conn: add state checking API

New boolean functions:
  xmpp_conn_is_connecting()
  xmpp_conn_is_connected()
  xmpp_conn_is_disconnected()

These functions are backported from UnrealEngine project.
This commit is contained in:
Dmitry Podgorny
2020-01-07 22:08:54 +02:00
parent 17f79cbbb8
commit 2272681ea2
3 changed files with 37 additions and 0 deletions

View File

@@ -3,6 +3,9 @@
- LibreSSL support
- New API:
- xmpp_stanza_get_child_by_name_and_ns()
- xmpp_conn_is_connecting()
- xmpp_conn_is_connected()
- xmpp_conn_is_disconnected()
0.9.3
- PLAIN mechanism is used only when no other mechanisms are supported