XEP-0077: add examples/register

XEP-0077 will not be implemented as part of libstrophe's API, but an
example is provided. The example shows how to use the "raw" connection
to register a user.

Closes #54.
This commit is contained in:
Dmitry Podgorny
2016-04-26 18:50:00 +00:00
parent 1b10e8f987
commit 8cfb2d2a03
5 changed files with 368 additions and 1 deletions

View File

@@ -71,6 +71,10 @@ extern "C" {
* Namespace definition for 'jabber:iq:roster'.
*/
#define XMPP_NS_ROSTER "jabber:iq:roster"
/** @def XMPP_NS_REGISTER
* Namespace definition for 'jabber:iq:register'.
*/
#define XMPP_NS_REGISTER "jabber:iq:register"
/* error defines */
/** @def XMPP_EOK