nettype.h revision 93032
174462Salfred/* $NetBSD: nettype.h,v 1.2 2000/07/06 03:17:19 christos Exp $ */ 274462Salfred/* $FreeBSD: head/include/rpc/nettype.h 93032 2002-03-23 17:24:55Z imp $ */ 374462Salfred 474462Salfred/* 574462Salfred * Sun RPC is a product of Sun Microsystems, Inc. and is provided for 674462Salfred * unrestricted use provided that this legend is included on all tape 774462Salfred * media and as a part of the software program in whole or part. Users 874462Salfred * may copy or modify Sun RPC without charge, but are not authorized 974462Salfred * to license or distribute it to anyone else except as part of a product or 1074462Salfred * program developed by the user. 1174462Salfred * 1274462Salfred * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE 1374462Salfred * WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR 1474462Salfred * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE. 1574462Salfred * 1674462Salfred * Sun RPC is provided with no support and without any obligation on the 1774462Salfred * part of Sun Microsystems, Inc. to assist in its use, correction, 1874462Salfred * modification or enhancement. 1974462Salfred * 2074462Salfred * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE 2174462Salfred * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC 2274462Salfred * OR ANY PART THEREOF. 2374462Salfred * 2474462Salfred * In no event will Sun Microsystems, Inc. be liable for any lost revenue 2574462Salfred * or profits or other special, indirect and consequential damages, even if 2674462Salfred * Sun has been advised of the possibility of such damages. 2774462Salfred * 2874462Salfred * Sun Microsystems, Inc. 2974462Salfred * 2550 Garcia Avenue 3074462Salfred * Mountain View, California 94043 3174462Salfred */ 3274462Salfred/* 3374462Salfred * Copyright (c) 1986 - 1991 by Sun Microsystems, Inc. 3474462Salfred */ 3574462Salfred 3674462Salfred/* 3774462Salfred * nettype.h, Nettype definitions. 3874462Salfred * All for the topmost layer of rpc 3974462Salfred * 4074462Salfred */ 4174462Salfred 4274462Salfred#ifndef _RPC_NETTYPE_H 4374462Salfred#define _RPC_NETTYPE_H 4474462Salfred 4574462Salfred#include <netconfig.h> 4674462Salfred 4774462Salfred#define _RPC_NONE 0 4874462Salfred#define _RPC_NETPATH 1 4974462Salfred#define _RPC_VISIBLE 2 5074462Salfred#define _RPC_CIRCUIT_V 3 5174462Salfred#define _RPC_DATAGRAM_V 4 5274462Salfred#define _RPC_CIRCUIT_N 5 5374462Salfred#define _RPC_DATAGRAM_N 6 5474462Salfred#define _RPC_TCP 7 5574462Salfred#define _RPC_UDP 8 5674462Salfred 5774462Salfred__BEGIN_DECLS 5893032Simpextern void *__rpc_setconf(const char *); 5993032Simpextern void __rpc_endconf(void *); 6093032Simpextern struct netconfig *__rpc_getconf(void *); 6193032Simpextern struct netconfig *__rpc_getconfip(const char *); 6274462Salfred__END_DECLS 6374462Salfred 6474462Salfred#endif /* !_RPC_NETTYPE_H */ 65