~andreserl/ubuntu/lucid/bind9/bind9-apport-533601

« back to all changes in this revision

Viewing changes to lib/bind/port_before.h.in

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, LaMont Jones, Internet Software Consortium, Inc, localization folks
  • Date: 2008-08-02 14:20:20 UTC
  • mfrom: (1.2.1 upstream) (6.1.24 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080802142020-l1hon9jy8lbbjxmg
[LaMont Jones]

* default to using resolvconf if it is installed
* fix sonames and dependencies.  Closes: #149259, #492418
* Do not build-depend libcap2-dev on non-linux.  Closes: #493392
* drop unused query-loc manpage.  Closes: #492564
* lwresd: Deliver /etc/bind directory.  Closes: #490027
* fix query-source comment in default install

[Internet Software Consortium, Inc]

* 9.5.0-P2.  Closes: #492949

[localization folks]

* l10n: Spanish debconf translation.  Closes: #492425 (Ignacio Mondino)
* l10n: Swedish debconf templates.  Closes: #491369 (Martin Ågren)
* l10n: Japanese debconf translations.  Closes: #492048 (Hideki Yamane
  (Debian-JP))
* l10n: Finnish translation.  Closes: #490630 (Esko Arajärvi)
* l10n: Italian debconf translations.  Closes: #492587 (Alessandro Vietta)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2005-2008  Internet Systems Consortium, Inc. ("ISC")
 
3
 * Copyright (C) 2001  Internet Software Consortium.
 
4
 *
 
5
 * Permission to use, copy, modify, and/or distribute this software for any
 
6
 * purpose with or without fee is hereby granted, provided that the above
 
7
 * copyright notice and this permission notice appear in all copies.
 
8
 *
 
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
 */
 
17
 
 
18
/* $Id: port_before.h.in,v 1.27.128.3 2008/02/28 05:46:12 marka Exp $ */
 
19
 
1
20
#ifndef port_before_h
2
21
#define port_before_h
3
22
#include <config.h>
4
23
 
 
24
#ifdef NEED_SUN4PROTOS
 
25
#define _PARAMS(x) x
 
26
#endif
 
27
 
5
28
struct group;           /* silence warning */
6
29
struct passwd;          /* silence warning */
7
30
struct timeval;         /* silence warning */
12
35
#endif
13
36
#include <limits.h>
14
37
 
 
38
#ifdef ISC_PLATFORM_NEEDTIMESPEC
 
39
#include <time.h>               /* For time_t */
 
40
struct timespec {
 
41
        time_t  tv_sec;         /* seconds */
 
42
        long    tv_nsec;        /* nanoseconds */
 
43
};
 
44
#endif
 
45
#ifndef HAVE_MEMMOVE
 
46
#define memmove(a,b,c) bcopy(b,a,c)
 
47
#endif
15
48
 
16
49
@WANT_IRS_GR@
17
50
@WANT_IRS_NIS@
71
104
@NGR_R_BAD@
72
105
@NGR_R_COPY@
73
106
@NGR_R_COPY_ARGS@
 
107
@NGR_R_CONST@
74
108
@NGR_R_END_RESULT@
75
109
@NGR_R_END_RETURN@
76
 
@NGR_R_ENT_ARGS@
 
110
@NGR_R_END_ARGS@
77
111
@NGR_R_OK@
78
112
@NGR_R_RETURN@
 
113
@NGR_R_SET_CONST@
79
114
@NGR_R_SET_RESULT@
80
115
@NGR_R_SET_RETURN@
 
116
@NGR_R_SET_ARGS@
81
117
@NGR_R_PRIVATE@
82
118
 
 
119
#if !defined(NGR_R_SET_ARGS) && defined(NGR_R_END_ARGS)
 
120
#define NGR_R_SET_ARGS NGR_R_END_ARGS
 
121
#endif
 
122
 
83
123
@PROTO_R_ARGS@
84
124
@PROTO_R_BAD@
85
125
@PROTO_R_COPY@
87
127
@PROTO_R_END_RESULT@
88
128
@PROTO_R_END_RETURN@
89
129
@PROTO_R_ENT_ARGS@
 
130
@PROTO_R_ENT_UNUSED@
90
131
@PROTO_R_OK@
91
132
@PROTO_R_SETANSWER@
92
133
@PROTO_R_RETURN@
93
134
@PROTO_R_SET_RESULT@
94
135
@PROTO_R_SET_RETURN@
 
136
@PROTOENT_DATA@
95
137
 
96
138
@PASS_R_ARGS@
97
139
@PASS_R_BAD@
112
154
@SERV_R_END_RESULT@
113
155
@SERV_R_END_RETURN@
114
156
@SERV_R_ENT_ARGS@
 
157
@SERV_R_ENT_UNUSED@
115
158
@SERV_R_OK@
116
159
@SERV_R_SETANSWER@
117
160
@SERV_R_RETURN@
118
161
@SERV_R_SET_RESULT@
119
162
@SERV_R_SET_RETURN@
 
163
@SERVENT_DATA@
120
164
 
121
165
 
122
166
#define DE_CONST(konst, var) \
123
 
        do { \
124
 
                union { const void *k; void *v; } _u; \
125
 
                _u.k = konst; \
126
 
                var = _u.v; \
127
 
        } while (0)
 
167
        do { \
 
168
                union { const void *k; void *v; } _u; \
 
169
                _u.k = konst; \
 
170
                var = _u.v; \
 
171
        } while (0)
128
172
 
129
173
#define UNUSED(x) (x) = (x)
130
174
 
144
188
#endif
145
189
 
146
190
#endif
 
191
 
 
192
/*! \file */