irs_p.h revision 1.1.1.1.6.2
1/* $NetBSD: irs_p.h,v 1.1.1.1.6.2 2011/01/09 20:42:55 riz Exp $ */ 2 3/* 4 * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") 5 * Copyright (c) 1996,1999 by Internet Software Consortium. 6 * 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. 10 * 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. 18 */ 19 20/* 21 * Id: irs_p.h,v 1.3 2005/04/27 04:56:30 sra Exp 22 */ 23 24#ifndef _IRS_P_H_INCLUDED 25#define _IRS_P_H_INCLUDED 26 27#include <stdio.h> 28 29#include "pathnames.h" 30 31#define IRS_SV_MAXALIASES 35 32 33struct lcl_sv { 34 FILE * fp; 35 char line[BUFSIZ+1]; 36 struct servent serv; 37 char * serv_aliases[IRS_SV_MAXALIASES]; 38}; 39 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 44 45extern void map_v4v6_address(const char *src, char *dst); 46extern int make_group_list(struct irs_gr *, const char *, 47 gid_t, gid_t *, int *); 48extern struct irs_ng * irs_nul_ng(struct irs_acc *); 49extern struct servent * irs_lclsv_fnxt(struct lcl_sv *); 50 51#endif 52 53/*! \file */ 54