resolv.h (a298e0ba0375b0febb03f76fd1102d04f32233b8) | resolv.h (33dee819339974eaf7dbf69068001771cbdcd548) |
---|---|
1/*- 2 * Copyright (c) 1983, 1987, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 186 unchanged lines hidden (view full) --- 195 int *resplen); 196 197struct res_sym { 198 int number; /* Identifying number, like T_MX */ 199 char * name; /* Its symbolic name, like "MX" */ 200 char * humanname; /* Its fun name, like "mail exchanger" */ 201}; 202 | 1/*- 2 * Copyright (c) 1983, 1987, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 186 unchanged lines hidden (view full) --- 195 int *resplen); 196 197struct res_sym { 198 int number; /* Identifying number, like T_MX */ 199 char * name; /* Its symbolic name, like "MX" */ 200 char * humanname; /* Its fun name, like "mail exchanger" */ 201}; 202 |
203extern struct __res_state _res; | 203__BEGIN_DECLS 204extern struct __res_state *___res(void); 205extern struct __res_state_ext *___res_ext(void); 206__END_DECLS 207#define _res (*___res()) 208#define _res_ext (*___res_ext()) |
204/* for INET6 */ 205extern struct __res_state_ext _res_ext; 206 207extern const struct res_sym __p_class_syms[]; 208extern const struct res_sym __p_type_syms[]; 209 210/* Private routines shared between libc/net, named, nslookup and others. */ 211#define res_hnok __res_hnok --- 115 unchanged lines hidden --- | 209/* for INET6 */ 210extern struct __res_state_ext _res_ext; 211 212extern const struct res_sym __p_class_syms[]; 213extern const struct res_sym __p_type_syms[]; 214 215/* Private routines shared between libc/net, named, nslookup and others. */ 216#define res_hnok __res_hnok --- 115 unchanged lines hidden --- |