~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to lib/liblwres/include/lwres/lwres.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
 
2
 * Copyright (C) 2004  Internet Systems Consortium, Inc. ("ISC")
2
3
 * Copyright (C) 2000, 2001  Internet Software Consortium.
3
4
 *
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.
7
8
 *
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.
16
16
 */
17
17
 
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 $ */
19
19
 
20
20
#ifndef LWRES_LWRES_H
21
21
#define LWRES_LWRES_H 1
26
26
#include <lwres/lang.h>
27
27
#include <lwres/list.h>
28
28
#include <lwres/lwpacket.h>
 
29
#include <lwres/platform.h>
29
30
 
30
31
/*
31
32
 * Design notes:
252
253
/*
253
254
 * This is in host byte order.
254
255
 */
255
 
extern lwres_uint16_t lwres_udp_port;
 
256
LIBLWRES_EXTERNAL_DATA extern lwres_uint16_t lwres_udp_port;
256
257
 
257
 
extern const char *lwres_resolv_conf;
 
258
LIBLWRES_EXTERNAL_DATA extern const char *lwres_resolv_conf;
258
259
 
259
260
lwres_result_t
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);
575
576
 
576
 
lwres_result_t
577
 
lwres_getaddrsbyname_setup(lwres_context_t *ctx, const char *name,
578
 
                     lwres_uint32_t addrtypes, lwres_gabnresponse_t **structp);
579
 
 
580
 
 
581
 
 
582
577
LWRES_LANG_ENDDECLS
583
578
 
584
579
#endif /* LWRES_LWRES_H */