network: add empty flb_net_getaddrinfo() api
#include <fluent-bit/flb_upstream.h>
#include <monkey/mk_core.h>
+#include <ares.h>
#ifndef SOL_TCP
#define SOL_TCP IPPROTO_TCP
@@ -410,6 +411,12 @@ static int net_connect_async(int fd,
return 0;
}
+int flb_net_getaddrinfo(struct addrinfo **res)
+{
+ fprintf(stdout, "FIXME\n");
+ return 0;
+}
+
int flb_net_bind_address(int fd, char *source_addr)
{
int ret;
