2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 1996 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A/* Copyright (c) 1983, 1984, 1985, 1986, 1987, 1988, 1989 AT&T */ 2N/A/* All Rights Reserved */ 2N/A * Portions of this source code were derived from Berkeley 4.3 BSD 2N/A * under license from the Regents of the University of California. 2N/A * Structures returned by network data base library. 2N/A * All addresses are supplied in host order, and 2N/A * returned in network order (suitable for use in system calls). 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A * Assumption here is that a network number 2N/A * fits in 32 bits -- probably a poor one. 2N/A (
const char *,
struct netent *,
char *,
int);
2N/Aint innetgr(
const char *,
const char *,
const char *,
const char *);
2N/A/* Old interfaces that return a pointer to a static area; MT-unsafe */ 2N/A/* Old interfaces that return a pointer to a static area; MT-unsafe */ 2N/A * Error return codes from gethostbyname() and gethostbyaddr() 2N/A * (when using the resolver) 2N/A#
define TRY_AGAIN 2 /* Non-Authoritive Host not found, or SERVERFAIL */ 2N/A#
define NO_RECOVERY 3 /* Non recoverable errors, FORMERR, REFUSED, NOTIMP */ 2N/A#
define NO_DATA 4 /* Valid name, no data record of requested type */ 2N/A#
endif /* _NETDB_H */