xref: /csrg-svn/lib/librpc/rpc/rpc.h (revision 45068)
1*45068Smckusick /* @(#)rpc.h	2.4 89/07/11 4.0 RPCSRC; from 1.9 88/02/08 SMI */
2*45068Smckusick /*
3*45068Smckusick  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
4*45068Smckusick  * unrestricted use provided that this legend is included on all tape
5*45068Smckusick  * media and as a part of the software program in whole or part.  Users
6*45068Smckusick  * may copy or modify Sun RPC without charge, but are not authorized
7*45068Smckusick  * to license or distribute it to anyone else except as part of a product or
8*45068Smckusick  * program developed by the user.
9*45068Smckusick  *
10*45068Smckusick  * SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
11*45068Smckusick  * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
12*45068Smckusick  * PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
13*45068Smckusick  *
14*45068Smckusick  * Sun RPC is provided with no support and without any obligation on the
15*45068Smckusick  * part of Sun Microsystems, Inc. to assist in its use, correction,
16*45068Smckusick  * modification or enhancement.
17*45068Smckusick  *
18*45068Smckusick  * SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
19*45068Smckusick  * INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
20*45068Smckusick  * OR ANY PART THEREOF.
21*45068Smckusick  *
22*45068Smckusick  * In no event will Sun Microsystems, Inc. be liable for any lost revenue
23*45068Smckusick  * or profits or other special, indirect and consequential damages, even if
24*45068Smckusick  * Sun has been advised of the possibility of such damages.
25*45068Smckusick  *
26*45068Smckusick  * Sun Microsystems, Inc.
27*45068Smckusick  * 2550 Garcia Avenue
28*45068Smckusick  * Mountain View, California  94043
29*45068Smckusick  */
30*45068Smckusick 
31*45068Smckusick /*
32*45068Smckusick  * rpc.h, Just includes the billions of rpc header files necessary to
33*45068Smckusick  * do remote procedure calling.
34*45068Smckusick  *
35*45068Smckusick  * Copyright (C) 1984, Sun Microsystems, Inc.
36*45068Smckusick  */
37*45068Smckusick #ifndef __RPC_HEADER__
38*45068Smckusick #define __RPC_HEADER__
39*45068Smckusick 
40*45068Smckusick #include <rpc/types.h>		/* some typedefs */
41*45068Smckusick #include <netinet/in.h>
42*45068Smckusick 
43*45068Smckusick /* external data representation interfaces */
44*45068Smckusick #include <rpc/xdr.h>		/* generic (de)serializer */
45*45068Smckusick 
46*45068Smckusick /* Client side only authentication */
47*45068Smckusick #include <rpc/auth.h>		/* generic authenticator (client side) */
48*45068Smckusick 
49*45068Smckusick /* Client side (mostly) remote procedure call */
50*45068Smckusick #include <rpc/clnt.h>		/* generic rpc stuff */
51*45068Smckusick 
52*45068Smckusick /* semi-private protocol headers */
53*45068Smckusick #include <rpc/rpc_msg.h>	/* protocol for rpc messages */
54*45068Smckusick #include <rpc/auth_unix.h>	/* protocol for unix style cred */
55*45068Smckusick /*
56*45068Smckusick  *  Uncomment-out the next line if you are building the rpc library with
57*45068Smckusick  *  DES Authentication (see the README file in the secure_rpc/ directory).
58*45068Smckusick  */
59*45068Smckusick /*#include <rpc/auth_des.h>	/* protocol for des style cred */
60*45068Smckusick 
61*45068Smckusick /* Server side only remote procedure callee */
62*45068Smckusick #include <rpc/svc.h>		/* service manager and multiplexer */
63*45068Smckusick #include <rpc/svc_auth.h>	/* service side authenticator */
64*45068Smckusick 
65*45068Smckusick /*
66*45068Smckusick  * COMMENT OUT THE NEXT INCLUDE (or add to the #ifndef) IF RUNNING ON
67*45068Smckusick  * A VERSION OF UNIX THAT USES SUN'S NFS SOURCE.  These systems will
68*45068Smckusick  * already have the structures defined by <rpc/netdb.h> included in <netdb.h>.
69*45068Smckusick  */
70*45068Smckusick /* routines for parsing /etc/rpc */
71*45068Smckusick #ifndef sun
72*45068Smckusick #include <rpc/netdb.h>		/* structures and routines to parse /etc/rpc */
73*45068Smckusick #endif
74*45068Smckusick 
75*45068Smckusick #endif /* ndef __RPC_HEADER__ */
76