add xmpp_ctx_set_timeout()

This commit is contained in:
Steffen Jaeckel
2017-06-29 15:16:43 +02:00
parent f226891520
commit 4c504ee42b
4 changed files with 25 additions and 9 deletions

View File

@@ -117,6 +117,7 @@ typedef struct _xmpp_ctx_t xmpp_ctx_t;
xmpp_ctx_t *xmpp_ctx_new(const xmpp_mem_t * const mem,
const xmpp_log_t * const log);
void xmpp_ctx_free(xmpp_ctx_t * const ctx);
void xmpp_ctx_set_timeout(xmpp_ctx_t * const ctx, const unsigned long timeout);
/* free some blocks returned by other APIs, for example the
buffer you get from xmpp_stanza_to_text */