Move resolver public headers to separate include path
Additionally rename functions and structs to eliminate those ugly
underscores from the public API (with the notable exception of
__res_params, which will come in its own separate change to keep this
one from growing too large).
Test: build, flash, then 'atest netd_integration_test'
Change-Id: I7e9b0ee6cdbec889e9c35b5a17b5daa65533686e
diff --git a/resolv/getaddrinfo.cpp b/resolv/getaddrinfo.cpp
index 123f609..6edff5a 100644
--- a/resolv/getaddrinfo.cpp
+++ b/resolv/getaddrinfo.cpp
@@ -94,14 +94,12 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/un.h>
-#include <unistd.h>
-#include "resolv_cache.h"
-#include "resolv_netid.h"
-#include "resolv_private.h"
-
-#include <stdarg.h>
#include <syslog.h>
+#include <unistd.h>
+#include "netd_resolv/resolv.h"
+#include "resolv_cache.h"
+#include "resolv_private.h"
typedef union sockaddr_union {
struct sockaddr generic;