# 1 "res_libc.c" # 1 "" # 1 "" # 1 "../include/libc-symbols.h" 1 # 54 "../include/libc-symbols.h" # 1 "/builds/glibc/gcc-3.1/config.h" 1 # 55 "../include/libc-symbols.h" 2 # 2 "" 2 # 1 "res_libc.c" # 18 "res_libc.c" # 1 "../include/sys/types.h" 1 # 1 "../posix/sys/types.h" 1 # 26 "../posix/sys/types.h" # 1 "../include/features.h" 1 # 291 "../include/features.h" # 1 "../include/sys/cdefs.h" 1 # 1 "../misc/sys/cdefs.h" 1 # 2 "../include/sys/cdefs.h" 2 # 292 "../include/features.h" 2 # 27 "../posix/sys/types.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/types.h" 1 # 29 "../sysdeps/unix/sysv/linux/bits/types.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 201 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 3 typedef unsigned int size_t; # 30 "../sysdeps/unix/sysv/linux/bits/types.h" 2 typedef unsigned char __u_char; typedef unsigned short __u_short; typedef unsigned int __u_int; typedef unsigned long __u_long; __extension__ typedef unsigned long long int __u_quad_t; __extension__ typedef long long int __quad_t; # 49 "../sysdeps/unix/sysv/linux/bits/types.h" typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef signed short int __int16_t; typedef unsigned short int __uint16_t; typedef signed int __int32_t; typedef unsigned int __uint32_t; __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; typedef __quad_t *__qaddr_t; typedef __u_quad_t __dev_t; typedef __u_int __uid_t; typedef __u_int __gid_t; typedef __u_long __ino_t; typedef __u_int __mode_t; typedef __u_int __nlink_t; typedef long int __off_t; typedef __quad_t __loff_t; typedef int __pid_t; typedef int __ssize_t; typedef __u_long __rlim_t; typedef __u_quad_t __rlim64_t; typedef __u_int __id_t; typedef struct { int __val[2]; } __fsid_t; typedef int __daddr_t; typedef char *__caddr_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef long int __swblk_t; typedef long int __clock_t; typedef int __clockid_t; typedef int __timer_t; typedef int __key_t; typedef unsigned short int __ipc_pid_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef __quad_t __blkcnt64_t; typedef __u_long __fsblkcnt_t; typedef __u_quad_t __fsblkcnt64_t; typedef __u_long __fsfilcnt_t; typedef __u_quad_t __fsfilcnt64_t; typedef __u_quad_t __ino64_t; typedef __loff_t __off64_t; typedef long int __t_scalar_t; typedef unsigned long int __t_uscalar_t; typedef int __intptr_t; typedef unsigned int __socklen_t; # 1 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" 1 # 23 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" # 1 "../sysdeps/unix/sysv/linux/bits/sched.h" 1 # 68 "../sysdeps/unix/sysv/linux/bits/sched.h" struct __sched_param { int __sched_priority; }; # 24 "../linuxthreads/sysdeps/pthread/bits/pthreadtypes.h" 2 struct _pthread_fastlock { long int __status; int __spinlock; }; typedef struct _pthread_descr_struct *_pthread_descr; typedef struct __pthread_attr_s { int __detachstate; int __schedpolicy; struct __sched_param __schedparam; int __inheritsched; int __scope; size_t __guardsize; int __stackaddr_set; void *__stackaddr; size_t __stacksize; } pthread_attr_t; typedef struct { struct _pthread_fastlock __c_lock; _pthread_descr __c_waiting; } pthread_cond_t; typedef struct { int __dummy; } pthread_condattr_t; typedef unsigned int pthread_key_t; typedef struct { int __m_reserved; int __m_count; _pthread_descr __m_owner; int __m_kind; struct _pthread_fastlock __m_lock; } pthread_mutex_t; typedef struct { int __mutexkind; } pthread_mutexattr_t; typedef int pthread_once_t; typedef struct _pthread_rwlock_t { struct _pthread_fastlock __rw_lock; int __rw_readers; _pthread_descr __rw_writer; _pthread_descr __rw_read_waiting; _pthread_descr __rw_write_waiting; int __rw_kind; int __rw_pshared; } pthread_rwlock_t; typedef struct { int __lockkind; int __pshared; } pthread_rwlockattr_t; typedef volatile int pthread_spinlock_t; typedef struct { struct _pthread_fastlock __ba_lock; int __ba_required; int __ba_present; _pthread_descr __ba_waiting; } pthread_barrier_t; typedef struct { int __pshared; } pthread_barrierattr_t; typedef unsigned long int pthread_t; # 144 "../sysdeps/unix/sysv/linux/bits/types.h" 2 # 31 "../posix/sys/types.h" 2 typedef __u_char u_char; typedef __u_short u_short; typedef __u_int u_int; typedef __u_long u_long; typedef __quad_t quad_t; typedef __u_quad_t u_quad_t; typedef __fsid_t fsid_t; typedef __loff_t loff_t; typedef __ino_t ino_t; typedef __ino64_t ino64_t; typedef __dev_t dev_t; typedef __gid_t gid_t; typedef __mode_t mode_t; typedef __nlink_t nlink_t; typedef __uid_t uid_t; typedef __off_t off_t; typedef __off64_t off64_t; typedef __pid_t pid_t; typedef __id_t id_t; typedef __ssize_t ssize_t; typedef __daddr_t daddr_t; typedef __caddr_t caddr_t; typedef __key_t key_t; # 132 "../posix/sys/types.h" # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 59 "../time/time.h" typedef __clock_t clock_t; # 70 "../time/time.h" typedef __time_t time_t; # 82 "../time/time.h" typedef __clockid_t clockid_t; # 94 "../time/time.h" typedef __timer_t timer_t; # 4 "../include/time.h" 2 # 133 "../posix/sys/types.h" 2 typedef __useconds_t useconds_t; typedef __suseconds_t suseconds_t; # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 147 "../posix/sys/types.h" 2 typedef unsigned long int ulong; typedef unsigned short int ushort; typedef unsigned int uint; # 190 "../posix/sys/types.h" typedef int int8_t __attribute__ ((__mode__ (__QI__))); typedef int int16_t __attribute__ ((__mode__ (__HI__))); typedef int int32_t __attribute__ ((__mode__ (__SI__))); typedef int int64_t __attribute__ ((__mode__ (__DI__))); typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__))); typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__))); typedef int register_t __attribute__ ((__mode__ (__word__))); # 212 "../posix/sys/types.h" # 1 "../include/endian.h" 1 # 1 "../string/endian.h" 1 # 37 "../string/endian.h" # 1 "../sysdeps/i386/bits/endian.h" 1 # 38 "../string/endian.h" 2 # 2 "../include/endian.h" 2 # 213 "../posix/sys/types.h" 2 # 1 "../include/sys/select.h" 1 # 1 "../misc/sys/select.h" 1 # 31 "../misc/sys/select.h" # 1 "../sysdeps/i386/bits/select.h" 1 # 32 "../misc/sys/select.h" 2 # 1 "../sysdeps/unix/sysv/linux/bits/sigset.h" 1 # 23 "../sysdeps/unix/sysv/linux/bits/sigset.h" typedef int __sig_atomic_t; typedef struct { unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))]; } __sigset_t; # 35 "../misc/sys/select.h" 2 typedef __sigset_t sigset_t; # 1 "../include/time.h" 1 # 1 "../time/time.h" 1 # 106 "../time/time.h" struct timespec { __time_t tv_sec; long int tv_nsec; }; # 4 "../include/time.h" 2 # 45 "../misc/sys/select.h" 2 # 1 "../sysdeps/unix/sysv/linux/i386/bits/time.h" 1 # 67 "../sysdeps/unix/sysv/linux/i386/bits/time.h" struct timeval { __time_t tv_sec; __suseconds_t tv_usec; }; # 47 "../misc/sys/select.h" 2 # 55 "../misc/sys/select.h" typedef long int __fd_mask; typedef struct { __fd_mask fds_bits[1024 / (8 * sizeof (__fd_mask))]; } fd_set; typedef __fd_mask fd_mask; # 95 "../misc/sys/select.h" extern int select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout) ; extern int pselect (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, const struct timespec *__restrict __timeout, const __sigset_t *__restrict __sigmask) ; # 3 "../include/sys/select.h" 2 extern int __pselect (int __nfds, fd_set *__readfds, fd_set *__writefds, fd_set *__exceptfds, const struct timespec *__timeout, const __sigset_t *__sigmask); extern int __select (int __nfds, fd_set *__restrict __readfds, fd_set *__restrict __writefds, fd_set *__restrict __exceptfds, struct timeval *__restrict __timeout); # 216 "../posix/sys/types.h" 2 # 1 "../sysdeps/unix/sysv/linux/sys/sysmacros.h" 1 # 219 "../posix/sys/types.h" 2 typedef __blksize_t blksize_t; typedef __blkcnt_t blkcnt_t; typedef __fsblkcnt_t fsblkcnt_t; typedef __fsfilcnt_t fsfilcnt_t; # 257 "../posix/sys/types.h" typedef __blkcnt64_t blkcnt64_t; typedef __fsblkcnt64_t fsblkcnt64_t; typedef __fsfilcnt64_t fsfilcnt64_t; # 2 "../include/sys/types.h" 2 # 19 "res_libc.c" 2 # 1 "../include/netinet/in.h" 1 # 1 "../inet/netinet/in.h" 1 # 23 "../inet/netinet/in.h" # 1 "../sysdeps/generic/stdint.h" 1 # 27 "../sysdeps/generic/stdint.h" # 1 "../sysdeps/unix/sysv/linux/i386/bits/wchar.h" 1 # 28 "../sysdeps/generic/stdint.h" 2 # 1 "../sysdeps/wordsize-32/bits/wordsize.h" 1 # 29 "../sysdeps/generic/stdint.h" 2 # 49 "../sysdeps/generic/stdint.h" typedef unsigned char uint8_t; typedef unsigned short int uint16_t; typedef unsigned int uint32_t; __extension__ typedef unsigned long long int uint64_t; typedef signed char int_least8_t; typedef short int int_least16_t; typedef int int_least32_t; __extension__ typedef long long int int_least64_t; typedef unsigned char uint_least8_t; typedef unsigned short int uint_least16_t; typedef unsigned int uint_least32_t; __extension__ typedef unsigned long long int uint_least64_t; typedef signed char int_fast8_t; typedef int int_fast16_t; typedef int int_fast32_t; __extension__ typedef long long int int_fast64_t; typedef unsigned char uint_fast8_t; typedef unsigned int uint_fast16_t; typedef unsigned int uint_fast32_t; __extension__ typedef unsigned long long int uint_fast64_t; # 126 "../sysdeps/generic/stdint.h" typedef int intptr_t; typedef unsigned int uintptr_t; # 138 "../sysdeps/generic/stdint.h" __extension__ typedef long long int intmax_t; __extension__ typedef unsigned long long int uintmax_t; # 24 "../inet/netinet/in.h" 2 enum { IPPROTO_IP = 0, IPPROTO_HOPOPTS = 0, IPPROTO_ICMP = 1, IPPROTO_IGMP = 2, IPPROTO_IPIP = 4, IPPROTO_TCP = 6, IPPROTO_EGP = 8, IPPROTO_PUP = 12, IPPROTO_UDP = 17, IPPROTO_IDP = 22, IPPROTO_TP = 29, IPPROTO_IPV6 = 41, IPPROTO_ROUTING = 43, IPPROTO_FRAGMENT = 44, IPPROTO_RSVP = 46, IPPROTO_GRE = 47, IPPROTO_ESP = 50, IPPROTO_AH = 51, IPPROTO_ICMPV6 = 58, IPPROTO_NONE = 59, IPPROTO_DSTOPTS = 60, IPPROTO_MTP = 92, IPPROTO_ENCAP = 98, IPPROTO_PIM = 103, IPPROTO_COMP = 108, IPPROTO_RAW = 255, IPPROTO_MAX }; typedef uint16_t in_port_t; enum { IPPORT_ECHO = 7, IPPORT_DISCARD = 9, IPPORT_SYSTAT = 11, IPPORT_DAYTIME = 13, IPPORT_NETSTAT = 15, IPPORT_FTP = 21, IPPORT_TELNET = 23, IPPORT_SMTP = 25, IPPORT_TIMESERVER = 37, IPPORT_NAMESERVER = 42, IPPORT_WHOIS = 43, IPPORT_MTP = 57, IPPORT_TFTP = 69, IPPORT_RJE = 77, IPPORT_FINGER = 79, IPPORT_TTYLINK = 87, IPPORT_SUPDUP = 95, IPPORT_EXECSERVER = 512, IPPORT_LOGINSERVER = 513, IPPORT_CMDSERVER = 514, IPPORT_EFSSERVER = 520, IPPORT_BIFFUDP = 512, IPPORT_WHOSERVER = 513, IPPORT_ROUTESERVER = 520, IPPORT_RESERVED = 1024, IPPORT_USERRESERVED = 5000 }; typedef uint32_t in_addr_t; struct in_addr { in_addr_t s_addr; }; # 190 "../inet/netinet/in.h" struct in6_addr { union { uint8_t u6_addr8[16]; uint16_t u6_addr16[8]; uint32_t u6_addr32[4]; } in6_u; }; extern const struct in6_addr in6addr_any; extern const struct in6_addr in6addr_loopback; # 1 "../sysdeps/unix/sysv/linux/bits/socket.h" 1 # 29 "../sysdeps/unix/sysv/linux/bits/socket.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 30 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 # 1 "../include/limits.h" 1 # 124 "../include/limits.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/limits.h" 1 3 # 125 "../include/limits.h" 2 # 144 "../include/limits.h" # 1 "../include/bits/posix1_lim.h" 1 # 1 "../posix/bits/posix1_lim.h" 1 # 126 "../posix/bits/posix1_lim.h" # 1 "../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h" 1 # 36 "../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h" # 1 "/usr/include/linux/limits.h" 1 3 # 37 "../linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h" 2 # 127 "../posix/bits/posix1_lim.h" 2 # 2 "../include/bits/posix1_lim.h" 2 # 145 "../include/limits.h" 2 # 1 "../include/bits/posix2_lim.h" 1 # 1 "../posix/bits/posix2_lim.h" 1 # 2 "../include/bits/posix2_lim.h" 2 # 149 "../include/limits.h" 2 # 1 "../include/bits/xopen_lim.h" 1 # 34 "../include/bits/xopen_lim.h" # 1 "/builds/glibc/gcc-3.1/bits/stdio_lim.h" 1 # 35 "../include/bits/xopen_lim.h" 2 # 153 "../include/limits.h" 2 # 32 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 # 1 "../include/sys/types.h" 1 # 33 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 typedef __socklen_t socklen_t; enum __socket_type { SOCK_STREAM = 1, SOCK_DGRAM = 2, SOCK_RAW = 3, SOCK_RDM = 4, SOCK_SEQPACKET = 5, SOCK_PACKET = 10 }; # 142 "../sysdeps/unix/sysv/linux/bits/socket.h" # 1 "../sysdeps/generic/bits/sockaddr.h" 1 # 29 "../sysdeps/generic/bits/sockaddr.h" typedef unsigned short int sa_family_t; # 143 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 struct sockaddr { sa_family_t sa_family; char sa_data[14]; }; # 162 "../sysdeps/unix/sysv/linux/bits/socket.h" struct sockaddr_storage { sa_family_t ss_family; __uint32_t __ss_align; char __ss_padding[(128 - (2 * sizeof (__uint32_t)))]; }; enum { MSG_OOB = 0x01, MSG_PEEK = 0x02, MSG_DONTROUTE = 0x04, MSG_TRYHARD = MSG_DONTROUTE, MSG_CTRUNC = 0x08, MSG_PROXY = 0x10, MSG_TRUNC = 0x20, MSG_DONTWAIT = 0x40, MSG_EOR = 0x80, MSG_WAITALL = 0x100, MSG_FIN = 0x200, MSG_SYN = 0x400, MSG_CONFIRM = 0x800, MSG_RST = 0x1000, MSG_ERRQUEUE = 0x2000, MSG_NOSIGNAL = 0x4000, MSG_MORE = 0x8000 }; struct msghdr { void *msg_name; socklen_t msg_namelen; struct iovec *msg_iov; int msg_iovlen; void *msg_control; socklen_t msg_controllen; int msg_flags; }; struct cmsghdr { size_t cmsg_len; int cmsg_level; int cmsg_type; __extension__ unsigned char __cmsg_data []; }; # 257 "../sysdeps/unix/sysv/linux/bits/socket.h" extern struct cmsghdr *__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) ; extern __inline struct cmsghdr * __cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg) { if ((size_t) __cmsg->cmsg_len < sizeof (struct cmsghdr)) return 0; __cmsg = (struct cmsghdr *) ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1))); if ((unsigned char *) (__cmsg + 1) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen) || ((unsigned char *) __cmsg + (((__cmsg->cmsg_len) + sizeof (size_t) - 1) & (size_t) ~(sizeof (size_t) - 1)) > ((unsigned char *) __mhdr->msg_control + __mhdr->msg_controllen))) return 0; return __cmsg; } enum { SCM_RIGHTS = 0x01, SCM_CREDENTIALS = 0x02, __SCM_CONNECT = 0x03 }; struct ucred { pid_t pid; uid_t uid; gid_t gid; }; # 1 "/usr/include/asm/socket.h" 1 3 # 1 "/usr/include/asm/sockios.h" 1 3 # 5 "/usr/include/asm/socket.h" 2 3 # 306 "../sysdeps/unix/sysv/linux/bits/socket.h" 2 struct linger { int l_onoff; int l_linger; }; # 213 "../inet/netinet/in.h" 2 struct sockaddr_in { sa_family_t sin_family; in_port_t sin_port; struct in_addr sin_addr; unsigned char sin_zero[sizeof (struct sockaddr) - (sizeof (unsigned short int)) - sizeof (in_port_t) - sizeof (struct in_addr)]; }; struct sockaddr_in6 { sa_family_t sin6_family; in_port_t sin6_port; uint32_t sin6_flowinfo; struct in6_addr sin6_addr; uint32_t sin6_scope_id; }; struct ipv6_mreq { struct in6_addr ipv6mr_multiaddr; unsigned int ipv6mr_interface; }; # 1 "../sysdeps/unix/sysv/linux/bits/in.h" 1 # 66 "../sysdeps/unix/sysv/linux/bits/in.h" struct ip_opts { struct in_addr ip_dst; char ip_opts[40]; }; struct ip_mreq { struct in_addr imr_multiaddr; struct in_addr imr_interface; }; struct ip_mreqn { struct in_addr imr_multiaddr; struct in_addr imr_address; int imr_ifindex; }; struct in_pktinfo { int ipi_ifindex; struct in_addr ipi_spec_dst; struct in_addr ipi_addr; }; # 251 "../inet/netinet/in.h" 2 # 259 "../inet/netinet/in.h" extern uint32_t ntohl (uint32_t __netlong) __attribute__ ((__const__)); extern uint16_t ntohs (uint16_t __netshort) __attribute__ ((__const__)); extern uint32_t htonl (uint32_t __hostlong) __attribute__ ((__const__)); extern uint16_t htons (uint16_t __hostshort) __attribute__ ((__const__)); # 1 "../include/endian.h" 1 # 268 "../inet/netinet/in.h" 2 # 1 "../sysdeps/i386/bits/byteswap.h" 1 # 271 "../inet/netinet/in.h" 2 # 333 "../inet/netinet/in.h" extern int bindresvport (int __sockfd, struct sockaddr_in *__sock_in) ; extern int bindresvport6 (int __sockfd, struct sockaddr_in6 *__sock_in) ; # 361 "../inet/netinet/in.h" struct in6_pktinfo { struct in6_addr ipi6_addr; unsigned int ipi6_ifindex; }; # 2 "../include/netinet/in.h" 2 # 20 "res_libc.c" 2 # 1 "../include/arpa/nameser.h" 1 # 1 "../resolv/arpa/nameser.h" 1 # 56 "../resolv/arpa/nameser.h" # 1 "../sysdeps/unix/sysv/linux/sys/param.h" 1 # 22 "../sysdeps/unix/sysv/linux/sys/param.h" # 1 "../include/limits.h" 1 # 144 "../include/limits.h" # 1 "../include/bits/posix1_lim.h" 1 # 145 "../include/limits.h" 2 # 1 "../include/bits/posix2_lim.h" 1 # 149 "../include/limits.h" 2 # 23 "../sysdeps/unix/sysv/linux/sys/param.h" 2 # 1 "/usr/include/linux/param.h" 1 3 # 1 "/usr/include/asm/param.h" 1 3 # 5 "/usr/include/linux/param.h" 2 3 # 25 "../sysdeps/unix/sysv/linux/sys/param.h" 2 # 42 "../sysdeps/unix/sysv/linux/sys/param.h" # 1 "../include/sys/types.h" 1 # 43 "../sysdeps/unix/sysv/linux/sys/param.h" 2 # 57 "../resolv/arpa/nameser.h" 2 # 1 "../include/sys/bitypes.h" 1 # 1 "../resolv/sys/bitypes.h" 1 # 1 "../include/sys/types.h" 1 # 4 "../resolv/sys/bitypes.h" 2 # 2 "../include/sys/bitypes.h" 2 # 59 "../resolv/arpa/nameser.h" 2 # 1 "../include/sys/cdefs.h" 1 # 63 "../resolv/arpa/nameser.h" 2 # 96 "../resolv/arpa/nameser.h" typedef enum __ns_sect { ns_s_qd = 0, ns_s_zn = 0, ns_s_an = 1, ns_s_pr = 1, ns_s_ns = 2, ns_s_ud = 2, ns_s_ar = 3, ns_s_max = 4 } ns_sect; typedef struct __ns_msg { const u_char *_msg, *_eom; u_int16_t _id, _flags, _counts[ns_s_max]; const u_char *_sections[ns_s_max]; ns_sect _sect; int _rrnum; const u_char *_ptr; } ns_msg; struct _ns_flagdata { int mask, shift; }; extern struct _ns_flagdata _ns_flagdata[]; # 139 "../resolv/arpa/nameser.h" typedef struct __ns_rr { char name[1025]; u_int16_t type; u_int16_t rr_class; u_int32_t ttl; u_int16_t rdlength; const u_char * rdata; } ns_rr; # 161 "../resolv/arpa/nameser.h" typedef enum __ns_flag { ns_f_qr, ns_f_opcode, ns_f_aa, ns_f_tc, ns_f_rd, ns_f_ra, ns_f_z, ns_f_ad, ns_f_cd, ns_f_rcode, ns_f_max } ns_flag; typedef enum __ns_opcode { ns_o_query = 0, ns_o_iquery = 1, ns_o_status = 2, ns_o_notify = 4, ns_o_update = 5, ns_o_max = 6 } ns_opcode; typedef enum __ns_rcode { ns_r_noerror = 0, ns_r_formerr = 1, ns_r_servfail = 2, ns_r_nxdomain = 3, ns_r_notimpl = 4, ns_r_refused = 5, ns_r_yxdomain = 6, ns_r_yxrrset = 7, ns_r_nxrrset = 8, ns_r_notauth = 9, ns_r_notzone = 10, ns_r_max = 11, ns_r_badsig = 16, ns_r_badkey = 17, ns_r_badtime = 18 } ns_rcode; typedef enum __ns_update_operation { ns_uop_delete = 0, ns_uop_add = 1, ns_uop_max = 2 } ns_update_operation; struct ns_tsig_key { char name[1025], alg[1025]; unsigned char *data; int len; }; typedef struct ns_tsig_key ns_tsig_key; struct ns_tcp_tsig_state { int counter; struct dst_key *key; void *ctx; unsigned char sig[512]; int siglen; }; typedef struct ns_tcp_tsig_state ns_tcp_tsig_state; # 251 "../resolv/arpa/nameser.h" typedef enum __ns_type { ns_t_invalid = 0, ns_t_a = 1, ns_t_ns = 2, ns_t_md = 3, ns_t_mf = 4, ns_t_cname = 5, ns_t_soa = 6, ns_t_mb = 7, ns_t_mg = 8, ns_t_mr = 9, ns_t_null = 10, ns_t_wks = 11, ns_t_ptr = 12, ns_t_hinfo = 13, ns_t_minfo = 14, ns_t_mx = 15, ns_t_txt = 16, ns_t_rp = 17, ns_t_afsdb = 18, ns_t_x25 = 19, ns_t_isdn = 20, ns_t_rt = 21, ns_t_nsap = 22, ns_t_nsap_ptr = 23, ns_t_sig = 24, ns_t_key = 25, ns_t_px = 26, ns_t_gpos = 27, ns_t_aaaa = 28, ns_t_loc = 29, ns_t_nxt = 30, ns_t_eid = 31, ns_t_nimloc = 32, ns_t_srv = 33, ns_t_atma = 34, ns_t_naptr = 35, ns_t_kx = 36, ns_t_cert = 37, ns_t_a6 = 38, ns_t_dname = 39, ns_t_sink = 40, ns_t_opt = 41, ns_t_tsig = 250, ns_t_ixfr = 251, ns_t_axfr = 252, ns_t_mailb = 253, ns_t_maila = 254, ns_t_any = 255, ns_t_zxfr = 256, ns_t_max = 65536 } ns_type; # 318 "../resolv/arpa/nameser.h" typedef enum __ns_class { ns_c_invalid = 0, ns_c_in = 1, ns_c_2 = 2, ns_c_chaos = 3, ns_c_hs = 4, ns_c_none = 254, ns_c_any = 255, ns_c_max = 65536 } ns_class; typedef enum __ns_key_types { ns_kt_rsa = 1, ns_kt_dh = 2, ns_kt_dsa = 3, ns_kt_private = 254 } ns_key_types; typedef enum __ns_cert_types { cert_t_pkix = 1, cert_t_spki = 2, cert_t_pgp = 3, cert_t_url = 253, cert_t_oid = 254 } ns_cert_types; # 501 "../resolv/arpa/nameser.h" u_int __ns_get16 (const u_char *) ; u_long __ns_get32 (const u_char *) ; void __ns_put16 (u_int, u_char *) ; void __ns_put32 (u_long, u_char *) ; int __ns_initparse (const u_char *, int, ns_msg *) ; int __ns_skiprr (const u_char *, const u_char *, ns_sect, int) ; int __ns_parserr (ns_msg *, ns_sect, int, ns_rr *) ; int __ns_sprintrr (const ns_msg *, const ns_rr *, const char *, const char *, char *, size_t) ; int __ns_sprintrrf (const u_char *, size_t, const char *, ns_class, ns_type, u_long, const u_char *, size_t, const char *, const char *, char *, size_t) ; int __ns_format_ttl (u_long, char *, size_t) ; int __ns_parse_ttl (const char *, u_long *) ; u_int32_t __ns_datetosecs (const char *cp, int *errp) ; int __ns_name_ntol (const u_char *, u_char *, size_t) ; int __ns_name_ntop (const u_char *, char *, size_t) ; int __ns_name_pton (const char *, u_char *, size_t) ; int __ns_name_unpack (const u_char *, const u_char *, const u_char *, u_char *, size_t) ; int __ns_name_pack (const u_char *, u_char *, int, const u_char **, const u_char **) ; int __ns_name_uncompress (const u_char *, const u_char *, const u_char *, char *, size_t) ; int __ns_name_compress (const char *, u_char *, size_t, const u_char **, const u_char **) ; int __ns_name_skip (const u_char **, const u_char *) ; void __ns_name_rollback (const u_char *, const u_char **, const u_char **) ; int __ns_sign (u_char *, int *, int, int, void *, const u_char *, int, u_char *, int *, time_t) ; int __ns_sign_tcp (u_char *, int *, int, int, ns_tcp_tsig_state *, int) ; int __ns_sign_tcp_init (void *, const u_char *, int, ns_tcp_tsig_state *) ; u_char *__ns_find_tsig (u_char *, u_char *) ; int __ns_verify (u_char *, int *, void *, const u_char *, int, u_char *, int *, time_t *, int) ; int __ns_verify_tcp (u_char *, int *, ns_tcp_tsig_state *, int) ; int __ns_verify_tcp_init (void *, const u_char *, int, ns_tcp_tsig_state *) ; int __ns_samedomain (const char *, const char *) ; int __ns_subdomain (const char *, const char *) ; int __ns_makecanon (const char *, char *, size_t) ; int __ns_samename (const char *, const char *) ; # 1 "../include/arpa/nameser_compat.h" 1 # 1 "../resolv/arpa/nameser_compat.h" 1 # 39 "../resolv/arpa/nameser_compat.h" # 1 "../include/endian.h" 1 # 40 "../resolv/arpa/nameser_compat.h" 2 # 48 "../resolv/arpa/nameser_compat.h" typedef struct { unsigned id :16; # 66 "../resolv/arpa/nameser_compat.h" unsigned rd :1; unsigned tc :1; unsigned aa :1; unsigned opcode :4; unsigned qr :1; unsigned rcode :4; unsigned cd: 1; unsigned ad: 1; unsigned unused :1; unsigned ra :1; unsigned qdcount :16; unsigned ancount :16; unsigned nscount :16; unsigned arcount :16; } HEADER; # 2 "../include/arpa/nameser_compat.h" 2 # 553 "../resolv/arpa/nameser.h" 2 # 2 "../include/arpa/nameser.h" 2 # 21 "res_libc.c" 2 # 1 "../include/resolv.h" 1 # 11 "../include/resolv.h" # 1 "../resolv/resolv.h" 1 # 57 "../resolv/resolv.h" # 1 "../include/sys/bitypes.h" 1 # 1 "../resolv/sys/bitypes.h" 1 # 1 "../include/sys/types.h" 1 # 4 "../resolv/sys/bitypes.h" 2 # 2 "../include/sys/bitypes.h" 2 # 58 "../resolv/resolv.h" 2 # 1 "../include/sys/cdefs.h" 1 # 62 "../resolv/resolv.h" 2 # 1 "../include/stdio.h" 1 # 10 "../include/stdio.h" # 1 "../libio/stdio.h" 1 # 30 "../libio/stdio.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 35 "../libio/stdio.h" 2 # 45 "../libio/stdio.h" typedef struct _IO_FILE FILE; # 55 "../libio/stdio.h" typedef struct _IO_FILE __FILE; # 65 "../libio/stdio.h" # 1 "../libio/libio.h" 1 # 32 "../libio/libio.h" # 1 "../sysdeps/gnu/_G_config.h" 1 # 14 "../sysdeps/gnu/_G_config.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 293 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 3 typedef long int wchar_t; # 320 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 3 typedef unsigned int wint_t; # 15 "../sysdeps/gnu/_G_config.h" 2 # 24 "../sysdeps/gnu/_G_config.h" # 1 "../include/wchar.h" 1 # 1 "../wcsmbs/wchar.h" 1 # 48 "../wcsmbs/wchar.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 49 "../wcsmbs/wchar.h" 2 # 67 "../wcsmbs/wchar.h" typedef struct { int __count; union { wint_t __wch; char __wchb[4]; } __value; } __mbstate_t; # 3 "../include/wchar.h" 2 # 25 "../sysdeps/gnu/_G_config.h" 2 typedef struct { __off_t __pos; __mbstate_t __state; } _G_fpos_t; typedef struct { __off64_t __pos; __mbstate_t __state; } _G_fpos64_t; # 44 "../sysdeps/gnu/_G_config.h" # 1 "../include/gconv.h" 1 # 1 "../iconv/gconv.h" 1 # 28 "../iconv/gconv.h" # 1 "../include/wchar.h" 1 # 1 "../wcsmbs/wchar.h" 1 # 48 "../wcsmbs/wchar.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 49 "../wcsmbs/wchar.h" 2 # 3 "../include/wchar.h" 2 # 29 "../iconv/gconv.h" 2 # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 32 "../iconv/gconv.h" 2 enum { __GCONV_OK = 0, __GCONV_NOCONV, __GCONV_NODB, __GCONV_NOMEM, __GCONV_EMPTY_INPUT, __GCONV_FULL_OUTPUT, __GCONV_ILLEGAL_INPUT, __GCONV_INCOMPLETE_INPUT, __GCONV_ILLEGAL_DESCRIPTOR, __GCONV_INTERNAL_ERROR }; enum { __GCONV_IS_LAST = 0x0001, __GCONV_IGNORE_ERRORS = 0x0002 }; struct __gconv_step; struct __gconv_step_data; struct __gconv_loaded_object; struct __gconv_trans_data; typedef int (*__gconv_fct) (struct __gconv_step *, struct __gconv_step_data *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *, int, int); typedef int (*__gconv_init_fct) (struct __gconv_step *); typedef void (*__gconv_end_fct) (struct __gconv_step *); typedef int (*__gconv_trans_fct) (struct __gconv_step *, struct __gconv_step_data *, void *, __const unsigned char *, __const unsigned char **, __const unsigned char *, unsigned char **, size_t *); typedef int (*__gconv_trans_context_fct) (void *, __const unsigned char *, __const unsigned char *, unsigned char *, unsigned char *); typedef int (*__gconv_trans_query_fct) (__const char *, __const char ***, size_t *); typedef int (*__gconv_trans_init_fct) (void **, const char *); typedef void (*__gconv_trans_end_fct) (void *); struct __gconv_trans_data { __gconv_trans_fct __trans_fct; __gconv_trans_context_fct __trans_context_fct; __gconv_trans_end_fct __trans_end_fct; void *__data; struct __gconv_trans_data *__next; }; struct __gconv_step { struct __gconv_loaded_object *__shlib_handle; __const char *__modname; int __counter; char *__from_name; char *__to_name; __gconv_fct __fct; __gconv_init_fct __init_fct; __gconv_end_fct __end_fct; int __min_needed_from; int __max_needed_from; int __min_needed_to; int __max_needed_to; int __stateful; void *__data; }; struct __gconv_step_data { unsigned char *__outbuf; unsigned char *__outbufend; int __flags; int __invocation_counter; int __internal_use; __mbstate_t *__statep; __mbstate_t __state; struct __gconv_trans_data *__trans; }; typedef struct __gconv_info { size_t __nsteps; struct __gconv_step *__steps; __extension__ struct __gconv_step_data __data []; } *__gconv_t; # 2 "../include/gconv.h" 2 # 45 "../sysdeps/gnu/_G_config.h" 2 typedef union { struct __gconv_info __cd; struct { struct __gconv_info __cd; struct __gconv_step_data __data; } __combined; } _G_iconv_t; typedef int _G_int16_t __attribute__ ((__mode__ (__HI__))); typedef int _G_int32_t __attribute__ ((__mode__ (__SI__))); typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__))); typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__))); # 33 "../libio/libio.h" 2 # 53 "../libio/libio.h" # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stdarg.h" 1 3 # 43 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stdarg.h" 3 typedef __builtin_va_list __gnuc_va_list; # 54 "../libio/libio.h" 2 # 160 "../libio/libio.h" struct _IO_jump_t; struct _IO_FILE; # 170 "../libio/libio.h" typedef void _IO_lock_t; struct _IO_marker { struct _IO_marker *_next; struct _IO_FILE *_sbuf; int _pos; # 193 "../libio/libio.h" }; enum __codecvt_result { __codecvt_ok, __codecvt_partial, __codecvt_error, __codecvt_noconv }; struct _IO_codecvt { void (*__codecvt_destr) (struct _IO_codecvt *); enum __codecvt_result (*__codecvt_do_out) (struct _IO_codecvt *, __mbstate_t *, const wchar_t *, const wchar_t *, const wchar_t **, char *, char *, char **); enum __codecvt_result (*__codecvt_do_unshift) (struct _IO_codecvt *, __mbstate_t *, char *, char *, char **); enum __codecvt_result (*__codecvt_do_in) (struct _IO_codecvt *, __mbstate_t *, const char *, const char *, const char **, wchar_t *, wchar_t *, wchar_t **); int (*__codecvt_do_encoding) (struct _IO_codecvt *); int (*__codecvt_do_always_noconv) (struct _IO_codecvt *); int (*__codecvt_do_length) (struct _IO_codecvt *, __mbstate_t *, const char *, const char *, size_t); int (*__codecvt_do_max_length) (struct _IO_codecvt *); _G_iconv_t __cd_in; _G_iconv_t __cd_out; }; struct _IO_wide_data { wchar_t *_IO_read_ptr; wchar_t *_IO_read_end; wchar_t *_IO_read_base; wchar_t *_IO_write_base; wchar_t *_IO_write_ptr; wchar_t *_IO_write_end; wchar_t *_IO_buf_base; wchar_t *_IO_buf_end; wchar_t *_IO_save_base; wchar_t *_IO_backup_base; wchar_t *_IO_save_end; __mbstate_t _IO_state; __mbstate_t _IO_last_state; struct _IO_codecvt _codecvt; wchar_t _shortbuf[1]; struct _IO_jump_t *_wide_vtable; }; struct _IO_FILE { int _flags; char* _IO_read_ptr; char* _IO_read_end; char* _IO_read_base; char* _IO_write_base; char* _IO_write_ptr; char* _IO_write_end; char* _IO_buf_base; char* _IO_buf_end; char *_IO_save_base; char *_IO_backup_base; char *_IO_save_end; struct _IO_marker *_markers; struct _IO_FILE *_chain; int _fileno; int _blksize; __off_t _old_offset; unsigned short _cur_column; signed char _vtable_offset; char _shortbuf[1]; _IO_lock_t *_lock; # 305 "../libio/libio.h" __off64_t _offset; struct _IO_codecvt *_codecvt; struct _IO_wide_data *_wide_data; int _mode; char _unused2[15 * sizeof (int) - 2 * sizeof (void *)]; }; typedef struct _IO_FILE _IO_FILE; struct _IO_FILE_plus; extern struct _IO_FILE_plus _IO_2_1_stdin_; extern struct _IO_FILE_plus _IO_2_1_stdout_; extern struct _IO_FILE_plus _IO_2_1_stderr_; extern _IO_FILE *_IO_stdin; extern _IO_FILE *_IO_stdout; extern _IO_FILE *_IO_stderr; typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes); typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf, size_t __n); typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w); typedef int __io_close_fn (void *__cookie); typedef __io_read_fn cookie_read_function_t; typedef __io_write_fn cookie_write_function_t; typedef __io_seek_fn cookie_seek_function_t; typedef __io_close_fn cookie_close_function_t; typedef struct { __io_read_fn *read; __io_write_fn *write; __io_seek_fn *seek; __io_close_fn *close; } _IO_cookie_io_functions_t; typedef _IO_cookie_io_functions_t cookie_io_functions_t; struct _IO_cookie_file; extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write, void *__cookie, _IO_cookie_io_functions_t __fns); extern int __underflow (_IO_FILE *) ; extern int __uflow (_IO_FILE *) ; extern int __overflow (_IO_FILE *, int) ; extern wint_t __wunderflow (_IO_FILE *) ; extern wint_t __wuflow (_IO_FILE *) ; extern wint_t __woverflow (_IO_FILE *, wint_t) ; # 426 "../libio/libio.h" extern int _IO_getc (_IO_FILE *__fp) ; extern int _IO_putc (int __c, _IO_FILE *__fp) ; extern int _IO_feof (_IO_FILE *__fp) ; extern int _IO_ferror (_IO_FILE *__fp) ; extern int _IO_peekc_locked (_IO_FILE *__fp) ; extern void _IO_flockfile (_IO_FILE *) ; extern void _IO_funlockfile (_IO_FILE *) ; extern int _IO_ftrylockfile (_IO_FILE *) ; # 456 "../libio/libio.h" extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict, __gnuc_va_list, int *__restrict) ; extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict, __gnuc_va_list) ; extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t) ; extern size_t _IO_sgetn (_IO_FILE *, void *, size_t) ; extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int) ; extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int) ; extern void _IO_free_backup_area (_IO_FILE *) ; extern wint_t _IO_getwc (_IO_FILE *__fp) ; extern wint_t _IO_putwc (wchar_t __wc, _IO_FILE *__fp) ; extern int _IO_fwide (_IO_FILE *__fp, int __mode) ; # 505 "../libio/libio.h" extern int _IO_vfwscanf (_IO_FILE * __restrict, const wchar_t * __restrict, __gnuc_va_list, int *__restrict) ; extern int _IO_vfwprintf (_IO_FILE *__restrict, const wchar_t *__restrict, __gnuc_va_list) ; extern __ssize_t _IO_wpadn (_IO_FILE *, wint_t, __ssize_t) ; extern void _IO_free_wbackup_area (_IO_FILE *) ; # 66 "../libio/stdio.h" 2 typedef __gnuc_va_list va_list; # 80 "../libio/stdio.h" typedef _G_fpos_t fpos_t; typedef _G_fpos64_t fpos64_t; # 129 "../libio/stdio.h" # 1 "/builds/glibc/gcc-3.1/bits/stdio_lim.h" 1 # 130 "../libio/stdio.h" 2 extern FILE *stdin; extern FILE *stdout; extern FILE *stderr; extern int remove (__const char *__filename) ; extern int rename (__const char *__old, __const char *__new) ; extern FILE *tmpfile (void) ; # 158 "../libio/stdio.h" extern FILE *tmpfile64 (void) ; extern char *tmpnam (char *__s) ; extern char *tmpnam_r (char *__s) ; # 178 "../libio/stdio.h" extern char *tempnam (__const char *__dir, __const char *__pfx) __attribute__ ((__malloc__)); extern int fclose (FILE *__stream) ; extern int fflush (FILE *__stream) ; extern int fflush_unlocked (FILE *__stream) ; extern int fcloseall (void) ; extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) ; extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) ; # 222 "../libio/stdio.h" extern FILE *fopen64 (__const char *__restrict __filename, __const char *__restrict __modes) ; extern FILE *freopen64 (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) ; extern FILE *fdopen (int __fd, __const char *__modes) ; extern FILE *fopencookie (void *__restrict __magic_cookie, __const char *__restrict __modes, _IO_cookie_io_functions_t __io_funcs) ; extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) ; extern FILE *open_memstream (char **__restrict __bufloc, size_t *__restrict __sizeloc) ; extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) ; extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf, int __modes, size_t __n) ; extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf, size_t __size) ; extern void setlinebuf (FILE *__stream) ; extern int fprintf (FILE *__restrict __stream, __const char *__restrict __format, ...) ; extern int printf (__const char *__restrict __format, ...) ; extern int sprintf (char *__restrict __s, __const char *__restrict __format, ...) ; extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) ; extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg) ; extern int vsprintf (char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) ; extern int snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern int vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 3, 0))); extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 2, 0))); extern int dprintf (int __fd, __const char *__restrict __fmt, ...) __attribute__ ((__format__ (__printf__, 2, 3))); extern int fscanf (FILE *__restrict __stream, __const char *__restrict __format, ...) ; extern int scanf (__const char *__restrict __format, ...) ; extern int sscanf (__const char *__restrict __s, __const char *__restrict __format, ...) ; extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))); extern int vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int fgetc (FILE *__stream) ; extern int getc (FILE *__stream) ; extern int getchar (void) ; extern int getc_unlocked (FILE *__stream) ; extern int getchar_unlocked (void) ; extern int fgetc_unlocked (FILE *__stream) ; extern int fputc (int __c, FILE *__stream) ; extern int putc (int __c, FILE *__stream) ; extern int putchar (int __c) ; extern int fputc_unlocked (int __c, FILE *__stream) ; extern int putc_unlocked (int __c, FILE *__stream) ; extern int putchar_unlocked (int __c) ; extern int getw (FILE *__stream) ; extern int putw (int __w, FILE *__stream) ; extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream) ; extern char *gets (char *__s) ; # 426 "../libio/stdio.h" extern __ssize_t __getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getdelim (char **__restrict __lineptr, size_t *__restrict __n, int __delimiter, FILE *__restrict __stream) ; extern __ssize_t getline (char **__restrict __lineptr, size_t *__restrict __n, FILE *__restrict __stream) ; extern int fputs (__const char *__restrict __s, FILE *__restrict __stream) ; extern int fputs_unlocked (__const char *__restrict __s, FILE *__restrict __stream) ; extern int puts (__const char *__s) ; extern int ungetc (int __c, FILE *__stream) ; extern size_t fread (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __s) ; extern size_t fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) ; extern int fseek (FILE *__stream, long int __off, int __whence) ; extern long int ftell (FILE *__stream) ; extern void rewind (FILE *__stream) ; # 489 "../libio/stdio.h" extern int fseeko (FILE *__stream, __off_t __off, int __whence) ; extern __off_t ftello (FILE *__stream) ; extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) ; extern int fsetpos (FILE *__stream, __const fpos_t *__pos) ; # 523 "../libio/stdio.h" extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence) ; extern __off64_t ftello64 (FILE *__stream) ; extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos) ; extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos) ; extern void clearerr (FILE *__stream) ; extern int feof (FILE *__stream) ; extern int ferror (FILE *__stream) ; extern void clearerr_unlocked (FILE *__stream) ; extern int feof_unlocked (FILE *__stream) ; extern int ferror_unlocked (FILE *__stream) ; extern void perror (__const char *__s) ; extern int sys_nerr; extern __const char *__const sys_errlist[]; extern int _sys_nerr; extern __const char *__const _sys_errlist[]; extern int fileno (FILE *__stream) ; extern int fileno_unlocked (FILE *__stream) ; extern FILE *popen (__const char *__command, __const char *__modes) ; extern int pclose (FILE *__stream) ; extern char *ctermid (char *__s) ; extern char *cuserid (char *__s) ; struct obstack; extern int obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __format, ...) ; extern int obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __format, __gnuc_va_list __args) ; extern void flockfile (FILE *__stream) ; extern int ftrylockfile (FILE *__stream) ; extern void funlockfile (FILE *__stream) ; # 630 "../libio/stdio.h" # 1 "../libio/bits/stdio.h" 1 # 33 "../libio/bits/stdio.h" extern __inline int vprintf (__const char *__restrict __fmt, __gnuc_va_list __arg) { return vfprintf (stdout, __fmt, __arg); } extern __inline int getchar (void) { return _IO_getc (stdin); } extern __inline int getc_unlocked (FILE *__fp) { return ((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++); } extern __inline int getchar_unlocked (void) { return ((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++); } extern __inline int putchar (int __c) { return _IO_putc (__c, stdout); } extern __inline int fputc_unlocked (int __c, FILE *__stream) { return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putc_unlocked (int __c, FILE *__stream) { return (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c))); } extern __inline int putchar_unlocked (int __c) { return (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c))); } extern __inline __ssize_t getline (char **__lineptr, size_t *__n, FILE *__stream) { return __getdelim (__lineptr, __n, '\n', __stream); } extern __inline int feof_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x10) != 0); } extern __inline int ferror_unlocked (FILE *__stream) { return (((__stream)->_flags & 0x20) != 0); } # 631 "../libio/stdio.h" 2 # 11 "../include/stdio.h" 2 extern int __fcloseall (void); extern int __snprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern int __vsnprintf (char *__restrict __s, size_t __maxlen, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__printf__, 3, 0))); extern int __vfscanf (FILE *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))); extern int __vscanf (__const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 1, 0))); extern __ssize_t __getline (char **__lineptr, size_t *__n, FILE *__stream); extern int __vsscanf (__const char *__restrict __s, __const char *__restrict __format, __gnuc_va_list __arg) __attribute__ ((__format__ (__scanf__, 2, 0))); extern FILE *__new_tmpfile (void); extern FILE *__old_tmpfile (void); # 1 "/opt/gcc-3.1-devel/lib/gcc-lib/i686-pc-linux-gnu/3.1/include/stddef.h" 1 3 # 45 "../include/stdio.h" 2 extern int __path_search (char *__tmpl, size_t __tmpl_len, __const char *__dir, __const char *__pfx, int __try_tempdir); extern int __gen_tempname (char *__tmpl, int __kind); extern void __libc_fatal (__const char *__message) __attribute__ ((__noreturn__)); extern void __flockfile (FILE *__stream); extern void __funlockfile (FILE *__stream); extern int __ftrylockfile (FILE *__stream); extern int __getc_unlocked (FILE *__fp); extern wint_t __getwc_unlocked (FILE *__fp); # 63 "../resolv/resolv.h" 2 # 1 "../include/netinet/in.h" 1 # 65 "../resolv/resolv.h" 2 # 1 "../include/arpa/nameser.h" 1 # 66 "../resolv/resolv.h" 2 # 87 "../resolv/resolv.h" typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error } res_sendhookact; typedef res_sendhookact (*res_send_qhook) (struct sockaddr_in * const *ns, const u_char **query, int *querylen, u_char *ans, int anssiz, int *resplen); typedef res_sendhookact (*res_send_rhook) (const struct sockaddr_in *ns, const u_char *query, int querylen, u_char *ans, int anssiz, int *resplen); struct res_sym { int number; char * name; char * humanname; }; # 126 "../resolv/resolv.h" struct __res_state { int retrans; int retry; u_long options; int nscount; struct sockaddr_in nsaddr_list[3]; u_short id; char *dnsrch[6 +1]; char defdname[256]; u_long pfcode; unsigned ndots:4; unsigned nsort:4; char unused[3]; struct { struct in_addr addr; u_int32_t mask; } sort_list[10]; res_send_qhook qhook; res_send_rhook rhook; int res_h_errno; int _vcsock; u_int _flags; union { char pad[52]; struct { u_int16_t nscount; u_int16_t nstimes[3]; int nssocks[3]; u_int16_t nscount6; u_int16_t nsinit; struct sockaddr_in6 *nsaddrs[3]; } _ext; } _u; }; typedef struct __res_state *res_state; # 220 "../resolv/resolv.h" extern struct __res_state *__res_state(void) __attribute__ ((__const__)); # 244 "../resolv/resolv.h" void __fp_nquery (const u_char *, int, FILE *) ; void __fp_query (const u_char *, FILE *) ; const char * __hostalias (const char *) ; void __p_query (const u_char *) ; void __res_close (void) ; int __res_init (void) ; int __res_isourserver (const struct sockaddr_in *) ; int __res_mkquery (int, const char *, int, int, const u_char *, int, const u_char *, u_char *, int) ; int __res_query (const char *, int, int, u_char *, int) ; int __res_querydomain (const char *, const char *, int, int, u_char *, int) ; int __res_search (const char *, int, int, u_char *, int) ; int __res_send (const u_char *, int, u_char *, int) ; # 270 "../resolv/resolv.h" extern const struct res_sym __p_key_syms[]; extern const struct res_sym __p_cert_syms[]; extern const struct res_sym __p_class_syms[]; extern const struct res_sym __p_type_syms[]; extern const struct res_sym __p_rcode_syms[]; # 319 "../resolv/resolv.h" int __res_hnok (const char *) ; int __res_ownok (const char *) ; int __res_mailok (const char *) ; int __res_dnok (const char *) ; int __sym_ston (const struct res_sym *, const char *, int *) ; const char * __sym_ntos (const struct res_sym *, int, int *) ; const char * __sym_ntop (const struct res_sym *, int, int *) ; int __b64_ntop (u_char const *, size_t, char *, size_t) ; int __b64_pton (char const *, u_char *, size_t) ; int __loc_aton (const char *ascii, u_char *binary) ; const char * __loc_ntoa (const u_char *binary, char *ascii) ; int __dn_skipname (const u_char *, const u_char *) ; void __putlong (u_int32_t, u_char *) ; void __putshort (u_int16_t, u_char *) ; const char * __p_class (int) ; const char * __p_time (u_int32_t) ; const char * __p_type (int) ; const char * __p_rcode (int) ; const u_char * __p_cdnname (const u_char *, const u_char *, int, FILE *) ; const u_char * __p_cdname (const u_char *, const u_char *, FILE *) ; const u_char * __p_fqnname (const u_char *cp, const u_char *msg, int, char *, int) ; const u_char * __p_fqname (const u_char *, const u_char *, FILE *) ; const char * __p_option (u_long option) ; char * __p_secstodate (u_long) ; int __dn_count_labels (const char *) ; int __dn_comp (const char *, u_char *, int, u_char **, u_char **) ; int __dn_expand (const u_char *, const u_char *, const u_char *, char *, int) ; u_int __res_randomid (void) ; int __res_nameinquery (const char *, int, int, const u_char *, const u_char *) ; int __res_queriesmatch (const u_char *, const u_char *, const u_char *, const u_char *) ; const char * __p_section (int section, int opcode) ; int __res_ninit (res_state) ; int __res_nisourserver (const res_state, const struct sockaddr_in *) ; void __fp_resstat (const res_state, FILE *) ; void __res_npquery (const res_state, const u_char *, int, FILE *) ; const char * __res_hostalias (const res_state, const char *, char *, size_t) ; int __res_nquery (res_state, const char *, int, int, u_char *, int) ; int __res_nsearch (res_state, const char *, int, int, u_char *, int) ; int __res_nquerydomain (res_state, const char *, const char *, int, int, u_char *, int) ; int __res_nmkquery (res_state, int, const char *, int, int, const u_char *, int, const u_char *, u_char *, int) ; int __res_nsend (res_state, const u_char *, int, u_char *, int) ; void __res_nclose (res_state) ; # 12 "../include/resolv.h" 2 extern int __res_vinit (res_state, int); extern void _sethtent (int); extern void _endhtent (void); extern struct hostent *_gethtent (void); extern struct hostent *_gethtbyname (const char *__name); extern struct hostent *_gethtbyname2 (const char *__name, int __af); struct hostent *_gethtbyaddr (const char *addr, size_t __len, int __af); extern u_int32_t _getlong (const u_char *__src); extern u_int16_t _getshort (const u_char *__src); extern void res_pquery (const res_state __statp, const u_char *__msg, int __len, FILE *__file); extern void res_send_setqhook (res_send_qhook __hook); extern void res_send_setrhook (res_send_rhook __hook); extern int res_ourserver_p (const res_state __statp, const struct sockaddr_in6 *__inp); # 22 "res_libc.c" 2 struct __res_state _res; struct __res_state * __attribute__ ((weak, __const__)) __res_state (void) { return &_res; } int __res_init(void) { extern int __res_vinit(res_state, int); # 65 "res_libc.c" if (!_res.retrans) _res.retrans = 5; if (!_res.retry) _res.retry = 4; if (!(_res.options & 0x00000001)) _res.options = (0x00000040 | 0x00000080 | 0x00000200); if (!_res.id) _res.id = __res_randomid(); return (__res_vinit(&_res, 1)); } # 1 "../include/shlib-compat.h" 1 # 26 "../include/shlib-compat.h" # 1 "/builds/glibc/gcc-3.1/abi-versions.h" 1 # 27 "../include/shlib-compat.h" 2 # 84 "res_libc.c" 2