resolver: add c-ares support
This patch based on the patch from @gbour (see #7). With --enable-cares old implementation will be replaced with c-ares API.
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
|
||||
#include "strophe.h"
|
||||
#include "common.h"
|
||||
#include "resolver.h"
|
||||
#include "util.h"
|
||||
|
||||
/* Workaround for visual studio without va_copy support. */
|
||||
@@ -63,6 +64,7 @@
|
||||
void xmpp_initialize(void)
|
||||
{
|
||||
sock_initialize();
|
||||
resolver_initialize();
|
||||
tls_initialize();
|
||||
}
|
||||
|
||||
@@ -73,6 +75,7 @@
|
||||
void xmpp_shutdown(void)
|
||||
{
|
||||
tls_shutdown();
|
||||
resolver_shutdown();
|
||||
sock_shutdown();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user