other-licenses/android/res_private.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/other-licenses/android/res_private.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,32 @@
     1.4 +/*	$NetBSD: res_private.h,v 1.1.1.1 2004/05/20 17:18:54 christos Exp $	*/
     1.5 +
     1.6 +/*
     1.7 + * This version of this file is derived from Android 2.3 "Gingerbread",
     1.8 + * which contains uncredited changes by Android/Google developers.  It has
     1.9 + * been modified in 2011 for use in the Android build of Mozilla Firefox by
    1.10 + * Mozilla contributors (including Michael Edwards <m.k.edwards@gmail.com>,
    1.11 + * and Steve Workman <sjhworkman@gmail.com>).
    1.12 + * These changes are offered under the same license as the original NetBSD
    1.13 + * file, whose copyright and license are unchanged above.
    1.14 + */
    1.15 +
    1.16 +#ifndef res_private_h
    1.17 +#define res_private_h
    1.18 +
    1.19 +struct __res_state_ext {
    1.20 +	union res_sockaddr_union nsaddrs[MAXNS];
    1.21 +	struct sort_list {
    1.22 +		int     af;
    1.23 +		union {
    1.24 +			struct in_addr  ina;
    1.25 +			struct in6_addr in6a;
    1.26 +		} addr, mask;
    1.27 +	} sort_list[MAXRESOLVSORT];
    1.28 +	char nsuffix[64];
    1.29 +	char nsuffix2[64];
    1.30 +};
    1.31 +
    1.32 +extern int
    1.33 +res_ourserver_p(const res_state statp, const struct sockaddr *sa);
    1.34 +
    1.35 +#endif

mercurial