michael@0: /* $NetBSD: res_private.h,v 1.1.1.1 2004/05/20 17:18:54 christos Exp $ */ michael@0: michael@0: /* michael@0: * This version of this file is derived from Android 2.3 "Gingerbread", michael@0: * which contains uncredited changes by Android/Google developers. It has michael@0: * been modified in 2011 for use in the Android build of Mozilla Firefox by michael@0: * Mozilla contributors (including Michael Edwards , michael@0: * and Steve Workman ). michael@0: * These changes are offered under the same license as the original NetBSD michael@0: * file, whose copyright and license are unchanged above. michael@0: */ michael@0: michael@0: #ifndef res_private_h michael@0: #define res_private_h michael@0: michael@0: struct __res_state_ext { michael@0: union res_sockaddr_union nsaddrs[MAXNS]; michael@0: struct sort_list { michael@0: int af; michael@0: union { michael@0: struct in_addr ina; michael@0: struct in6_addr in6a; michael@0: } addr, mask; michael@0: } sort_list[MAXRESOLVSORT]; michael@0: char nsuffix[64]; michael@0: char nsuffix2[64]; michael@0: }; michael@0: michael@0: extern int michael@0: res_ourserver_p(const res_state statp, const struct sockaddr *sa); michael@0: michael@0: #endif