~ubuntu-branches/ubuntu/maverick/bind9/maverick

« back to all changes in this revision

Viewing changes to lib/bind/irs/irp_gr.c

  • 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
#if defined(LIBC_SCCS) && !defined(lint)
19
 
static const char rcsid[] = "$Id: irp_gr.c,v 1.2.206.1 2004/03/09 08:33:36 marka Exp $";
 
19
static const char rcsid[] = "$Id: irp_gr.c,v 1.4 2005/04/27 04:56:27 sra Exp $";
20
20
#endif /* LIBC_SCCS and not lint */
21
21
 
22
22
/* extern */
54
54
 
55
55
/* Types. */
56
56
 
57
 
/*
 
57
/*! \file 
 
58
 * \brief
58
59
 * Module for the getnetgrent(3) family to use when connected to a
59
60
 * remote irp daemon.
60
 
 *
 
61
 * \brief
61
62
 * See irpd.c for justification of caching done here.
62
63
 *
63
64
 */
64
65
 
65
66
struct pvt {
66
 
        struct irp_p   *girpdata;       /* global IRP data */
 
67
        struct irp_p   *girpdata;       /*%< global IRP data */
67
68
        int             warned;
68
69
        struct group    group;
69
70
};
83
84
 
84
85
/* Public. */
85
86
 
86
 
 
87
 
 
88
 
 
89
 
 
90
 
/*
91
 
 * struct irs_gr * irs_irp_gr(struct irs_acc *this)
92
 
 *
93
 
 * Notes:
94
 
 *
 
87
/*%
95
88
 *      Initialize the group sub-module.
96
89
 *
97
 
 * Notes:
98
 
 *
99
 
 *      Module data.
100
 
 *
101
90
 */
102
91
 
103
92
struct irs_gr *
132
121
 
133
122
/* Methods. */
134
123
 
135
 
 
136
 
 
137
 
/*
138
 
 * void gr_close(struct irs_gr *this)
139
 
 *
140
 
 * Notes:
141
 
 *
 
124
/*%
142
125
 *      Close the sub-module.
143
126
 *
144
127
 */
153
136
        memput(this, sizeof *this);
154
137
}
155
138
 
156
 
 
157
 
 
158
 
 
159
 
/*
160
 
 * struct group * gr_next(struct irs_gr *this)
161
 
 *
162
 
 * Notes:
163
 
 *
 
139
/*%
164
140
 *      Gets the next group out of the cached data and returns it.
165
141
 *
166
142
 */
207
183
        return (gr);
208
184
}
209
185
 
210
 
 
211
 
 
212
 
 
213
 
 
214
 
/*
215
 
 * struct group * gr_byname(struct irs_gr *this, const char *name)
216
 
 *
217
 
 * Notes:
218
 
 *
 
186
/*%
219
187
 *      Gets a group by name from irpd and returns it.
220
188
 *
221
189
 */
263
231
        return (gr);
264
232
}
265
233
 
266
 
 
267
 
 
268
 
 
269
 
 
270
 
/*
271
 
 * struct group * gr_bygid(struct irs_gr *this, gid_t gid)
272
 
 *
273
 
 * Notes:
274
 
 *
 
234
/*%
275
235
 *      Gets a group by gid from irpd and returns it.
276
236
 *
277
237
 */
318
278
        return (gr);
319
279
}
320
280
 
321
 
 
322
 
 
323
 
 
324
 
/*
 
281
/*%
325
282
 * void gr_rewind(struct irs_gr *this)
326
283
 *
327
284
 */
350
307
        return;
351
308
}
352
309
 
353
 
 
354
 
 
355
 
 
356
 
/*
357
 
 * void gr_minimize(struct irs_gr *this)
358
 
 *
359
 
 * Notes:
360
 
 *
 
310
/*%
361
311
 *      Frees up cached data and disconnects(if necessary) from the remote.
362
312
 *
363
313
 */
372
322
 
373
323
/* Private. */
374
324
 
375
 
 
376
 
 
377
 
/*
 
325
/*%
378
326
 * static void free_group(struct group *gr);
379
327
 *
380
328
 *      Deallocate all the memory irp_unmarshall_gr allocated.
406
354
 
407
355
 
408
356
#endif /* WANT_IRS_GR */
 
357
/*! \file */