~ubuntu-branches/ubuntu/precise/wget/precise-proposed

« back to all changes in this revision

Viewing changes to src/wget.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2011-10-19 00:00:09 UTC
  • mfrom: (2.1.13 sid)
  • Revision ID: james.westby@ubuntu.com-20111019000009-8p33w3wz4b1rdri0
Tags: 1.13-1ubuntu1
* Merge from Debian unstable, remaining changes:
  - Add wget-udeb to ship wget.gnu as alternative to busybox wget
    implementation.
  - Depend on libssl-dev 0.9.8k-7ubuntu4 (LP: #503339)
* Dropped changes, superseded in Debian:
  - Keep build dependencies in main:
    + debian/control: remove info2man build-dep
    + debian/patches/series: disable wget-infopod_generated_manpage
  - Mark wget Multi-Arch: foreign, so packages that aren't of the same arch
    can depend on it.
* Pass --with-ssl=openssl; we don't want to use gnutls, there's no udeb for
  it.
* Add a second build pass for the udeb, so we can build without libidn.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Miscellaneous declarations.
2
2
   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
3
 
   2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
 
3
   2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
 
4
   Inc.
4
5
 
5
6
This file is part of GNU Wget.
6
7
 
38
39
 
39
40
#include "config.h"
40
41
 
 
42
#if ((defined _WIN32 || defined __WIN32__) && !defined __CYGWIN__)
 
43
# define WINDOWS
 
44
#endif
 
45
 
41
46
/* Include these, so random files need not include them.  */
42
47
#include "sysdep.h"
43
48
 
47
52
#endif
48
53
 
49
54
/* Is OpenSSL or GNUTLS available? */
50
 
#if defined HAVE_LIBSSL || defined HAVE_LIBGNUTLS
 
55
#if defined HAVE_LIBSSL || defined HAVE_LIBSSL32 || defined HAVE_LIBGNUTLS
51
56
# define HAVE_SSL
52
57
#endif
53
58
 
347
352
  RETRBADPATTERN, RETNOTSUP /* ! */, ROBOTSOK /* ! */, NOROBOTS /* ! */,
348
353
  PROXERR,
349
354
  /* 50  */
350
 
  AUTHFAILED, QUOTEXC, WRITEFAILED, SSLINITFAILED, VERIFCERTERR
 
355
  AUTHFAILED, QUOTEXC, WRITEFAILED, SSLINITFAILED, VERIFCERTERR,
 
356
  UNLINKERR, NEWLOCATION_KEEP_POST
351
357
} uerr_t;
352
358
 
353
359
/* 2005-02-19 SMS.