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

« back to all changes in this revision

Viewing changes to lib/bind/include/irs.h

  • 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:
16
16
 */
17
17
 
18
18
/*
19
 
 * $Id: irs.h,v 1.2.2.1.4.1 2004/03/09 08:33:29 marka Exp $
 
19
 * $Id: irs.h,v 1.5 2005/04/27 04:56:15 sra Exp $
20
20
 */
21
21
 
22
22
#ifndef _IRS_H_INCLUDED
23
23
#define _IRS_H_INCLUDED
24
24
 
 
25
/*! \file */
 
26
 
25
27
#include <sys/types.h>
26
28
 
27
29
#include <arpa/nameser.h>
31
33
#include <resolv.h>
32
34
#include <pwd.h>
33
35
 
34
 
/*
 
36
/*%
35
37
 * This is the group map class.
36
38
 */
37
39
struct irs_gr {
49
51
                                        void (*)(void *)));
50
52
};
51
53
 
52
 
/*
 
54
/*%
53
55
 * This is the password map class.
54
56
 */
55
57
struct irs_pw {
65
67
                                        void (*)(void *)));
66
68
};
67
69
 
68
 
/*
 
70
/*%
69
71
 * This is the service map class.
70
72
 */
71
73
struct irs_sv {
82
84
                                        void (*)(void *)));
83
85
};
84
86
 
85
 
/*
 
87
/*%
86
88
 * This is the protocols map class.
87
89
 */
88
90
struct irs_pr {
98
100
                                        void (*)(void *)));
99
101
};
100
102
 
101
 
/*
 
103
/*%
102
104
 * This is the hosts map class.
103
105
 */
104
106
struct irs_ho {
118
120
                                          const struct addrinfo *));
119
121
};
120
122
 
121
 
/*
 
123
/*%
122
124
 * This is the networks map class.
123
125
 */
124
126
struct irs_nw {
134
136
                                        void (*)(void *)));
135
137
};
136
138
 
137
 
/*
 
139
/*%
138
140
 * This is the netgroups map class.
139
141
 */
140
142
struct irs_ng {
149
151
        void            (*minimize) __P((struct irs_ng *));
150
152
};
151
153
 
152
 
/*
 
154
/*%
153
155
 * This is the generic map class, which copies the front of all others.
154
156
 */
155
157
struct irs_map {
157
159
        void            (*close) __P((void *));
158
160
};
159
161
 
160
 
/*
 
162
/*%
161
163
 * This is the accessor class.  It contains pointers to all of the
162
164
 * initializers for the map classes for a particular accessor.
163
165
 */
176
178
                                        void (*)(void *)));
177
179
};
178
180
 
179
 
/*
 
181
/*%
180
182
 * This is because the official definition of "struct netent" has no
181
183
 * concept of CIDR even though it allows variant address families (on
182
184
 * output but not input).  The compatibility stubs convert the structs
183
185
 * below into "struct netent"'s.
184
186
 */
185
187
struct nwent {
186
 
        char            *n_name;        /* official name of net */
187
 
        char            **n_aliases;    /* alias list */
188
 
        int             n_addrtype;     /* net address type */
189
 
        void            *n_addr;        /* network address */
190
 
        int             n_length;       /* address length, in bits */
 
188
        char            *n_name;        /*%< official name of net */
 
189
        char            **n_aliases;    /*%< alias list */
 
190
        int             n_addrtype;     /*%< net address type */
 
191
        void            *n_addr;        /*%< network address */
 
192
        int             n_length;       /*%< address length, in bits */
191
193
};
192
194
 
193
 
/*
 
195
/*%
194
196
 * Hide external function names from POSIX.
195
197
 */
196
198
#define irs_gen_acc     __irs_gen_acc
240
242
#define net_data_destroy        __net_data_destroy
241
243
#define net_data_minimize       __net_data_minimize
242
244
 
243
 
/*
 
245
/*%
244
246
 * Externs.
245
247
 */
246
248
extern struct irs_acc * irs_gen_acc __P((const char *, const char *));
251
253
 
252
254
extern void             irs_destroy __P((void));
253
255
 
254
 
/*
 
256
/*%
255
257
 * These forward declarations are for the semi-private functions in
256
258
 * the get*.c files. Each of these funcs implements the real get*
257
259
 * functionality and the standard versions are just wrappers that
260
262
 * the /usr/include replacements.
261
263
 */
262
264
 
263
 
struct net_data;                        /* forward */
264
 
 
 
265
struct net_data;                        /*%< forward */
265
266
/*
266
267
 * net_data_create gets a singleton net_data object.  net_data_init
267
268
 * creates as many net_data objects as times it is called.  Clients using
343
344
extern void             endservent_p __P((struct net_data *));
344
345
 
345
346
#endif /*_IRS_H_INCLUDED*/
 
347
 
 
348
/*! \file */