WIP Initial server support

This commit is contained in:
Dmitry Podgorny
2016-09-20 23:12:24 +03:00
parent b1b827cde6
commit b1698f7b5d
12 changed files with 384 additions and 4 deletions

View File

@@ -415,6 +415,7 @@ xmpp_ctx_t *xmpp_ctx_new(const xmpp_mem_t * const mem,
ctx->log = log;
ctx->connlist = NULL;
ctx->serverlist = NULL;
ctx->loop_status = XMPP_LOOP_NOTSTARTED;
ctx->rand = xmpp_rand_new(ctx);
ctx->timeout = EVENT_LOOP_DEFAULT_TIMEOUT;