2
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
2
3
* Copyright (C) 2000, 2001 Internet Software Consortium.
4
5
* Permission to use, copy, modify, and distribute this software for any
5
6
* purpose with or without fee is hereby granted, provided that the above
6
7
* copyright notice and this permission notice appear in all copies.
8
* THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
9
* DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
10
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
11
* INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
12
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
13
* FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
14
* NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
15
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
9
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15
* PERFORMANCE OF THIS SOFTWARE.
18
/* $Id: lwres.h,v 1.2 2003/04/10 02:08:46 mcr Exp $ */
18
/* $Id: lwres.h,v 1.3 2004/09/20 18:00:42 mcr Exp $ */
20
20
#ifndef LWRES_LWRES_H
21
21
#define LWRES_LWRES_H 1
253
254
* This is in host byte order.
255
extern lwres_uint16_t lwres_udp_port;
256
LIBLWRES_EXTERNAL_DATA extern lwres_uint16_t lwres_udp_port;
257
extern const char *lwres_resolv_conf;
258
LIBLWRES_EXTERNAL_DATA extern const char *lwres_resolv_conf;
260
261
lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req,
573
574
lwres_uint16_t rdclass, lwres_uint16_t rdtype,
574
575
lwres_uint32_t flags, lwres_grbnresponse_t **structp);
577
lwres_getaddrsbyname_setup(lwres_context_t *ctx, const char *name,
578
lwres_uint32_t addrtypes, lwres_gabnresponse_t **structp);
582
577
LWRES_LANG_ENDDECLS
584
579
#endif /* LWRES_LWRES_H */