conn: added new API xmpp_conn_set_flags()

xmpp_conn_set_flags() and xmpp_conn_get_flags() unify interface of
connection configuration.
This interface allows compile-time check of supported features or even
run-time check. Therefore, applications can be built with older
libstrophe which doesn't support some optional flags.
This commit is contained in:
Dmitry Podgorny
2015-10-14 23:19:10 +03:00
parent e41b7a06e4
commit 182803926b
7 changed files with 105 additions and 27 deletions

View File

@@ -1,9 +1,10 @@
0.8.9
- IPv6 support
- Old style SSL support
- Legacy SSL support
- New API:
- xmpp_uuid_gen()
- xmpp_conn_set_old_style_ssl()
- xmpp_conn_get_flags()
- xmpp_conn_set_flags()
- xmpp_conn_is_secured()
- Exposed private API:
- xmpp_jid_new()