No empty .Rs/.Re
[netbsd-mini2440.git] / external / bsd / libbind / dist / irs / irs_p.h
blob3419b762cc3bf357c6289c6f6987f49000e08091
1 /* $NetBSD$ */
3 /*
4 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
5 * Copyright (c) 1996,1999 by Internet Software Consortium.
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
11 * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
17 * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
21 * Id: irs_p.h,v 1.3 2005/04/27 04:56:30 sra Exp
24 #ifndef _IRS_P_H_INCLUDED
25 #define _IRS_P_H_INCLUDED
27 #include <stdio.h>
29 #include "pathnames.h"
31 #define IRS_SV_MAXALIASES 35
33 struct lcl_sv {
34 FILE * fp;
35 char line[BUFSIZ+1];
36 struct servent serv;
37 char * serv_aliases[IRS_SV_MAXALIASES];
40 #define irs_nul_ng __irs_nul_ng
41 #define map_v4v6_address __map_v4v6_address
42 #define make_group_list __make_group_list
43 #define irs_lclsv_fnxt __irs_lclsv_fnxt
45 extern void map_v4v6_address(const char *src, char *dst);
46 extern int make_group_list(struct irs_gr *, const char *,
47 gid_t, gid_t *, int *);
48 extern struct irs_ng * irs_nul_ng(struct irs_acc *);
49 extern struct servent * irs_lclsv_fnxt(struct lcl_sv *);
51 #endif
53 /*! \file */