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/resolv_cache.h b/resolv/resolv_cache.h
index cc7b5b7..dd8aa80 100644
--- a/resolv/resolv_cache.h
+++ b/resolv/resolv_cache.h
@@ -25,8 +25,8 @@
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-#ifndef _RESOLV_CACHE_H_
-#define _RESOLV_CACHE_H_
+#ifndef NETD_RESOLV_CACHE_H
+#define NETD_RESOLV_CACHE_H
#include <stddef.h>
@@ -57,4 +57,4 @@
/* Notify the cache a request failed */
void _resolv_cache_query_failed(unsigned netid, const void* query, int querylen);
-#endif /* _RESOLV_CACHE_H_ */
+#endif // NETD_RESOLV_CACHE_H