Lines 35-76
Link Here
|
35 |
#ifndef _TIRPC_RPC_H |
35 |
#ifndef _TIRPC_RPC_H |
36 |
#define _TIRPC_RPC_H |
36 |
#define _TIRPC_RPC_H |
37 |
|
37 |
|
38 |
#include <rpc/types.h> /* some typedefs */ |
38 |
#include <tirpc/rpc/types.h> /* some typedefs */ |
39 |
#include <sys/socket.h> |
39 |
#include <sys/socket.h> |
40 |
#include <netinet/in.h> |
40 |
#include <netinet/in.h> |
41 |
|
41 |
|
42 |
/* external data representation interfaces */ |
42 |
/* external data representation interfaces */ |
43 |
#include <rpc/xdr.h> /* generic (de)serializer */ |
43 |
#include <tirpc/rpc/xdr.h> /* generic (de)serializer */ |
44 |
|
44 |
|
45 |
/* Client side only authentication */ |
45 |
/* Client side only authentication */ |
46 |
#include <rpc/auth.h> /* generic authenticator (client side) */ |
46 |
#include <tirpc/rpc/auth.h> /* generic authenticator (client side) */ |
47 |
|
47 |
|
48 |
/* Client side (mostly) remote procedure call */ |
48 |
/* Client side (mostly) remote procedure call */ |
49 |
#include <rpc/clnt.h> /* generic rpc stuff */ |
49 |
#include <tirpc/rpc/clnt.h> /* generic rpc stuff */ |
50 |
|
50 |
|
51 |
/* semi-private protocol headers */ |
51 |
/* semi-private protocol headers */ |
52 |
#include <rpc/rpc_msg.h> /* protocol for rpc messages */ |
52 |
#include <tirpc/rpc/rpc_msg.h> /* protocol for rpc messages */ |
53 |
#include <rpc/auth_unix.h> /* protocol for unix style cred */ |
53 |
#include <tirpc/rpc/auth_unix.h> /* protocol for unix style cred */ |
54 |
|
54 |
|
55 |
/* |
55 |
/* |
56 |
* Uncomment-out the next line if you are building the rpc library with |
56 |
* Uncomment-out the next line if you are building the rpc library with |
57 |
* DES Authentication (see the README file in the secure_rpc/ directory). |
57 |
* DES Authentication (see the README file in the secure_rpc/ directory). |
58 |
*/ |
58 |
*/ |
59 |
#include <rpc/auth_des.h> /* protocol for des style cred */ |
59 |
#include <tirpc/rpc/auth_des.h> /* protocol for des style cred */ |
60 |
|
60 |
|
61 |
/* Server side only remote procedure callee */ |
61 |
/* Server side only remote procedure callee */ |
62 |
#include <rpc/svc_auth.h> /* service side authenticator */ |
62 |
#include <tirpc/rpc/svc_auth.h> /* service side authenticator */ |
63 |
#include <rpc/svc.h> /* service manager and multiplexer */ |
63 |
#include <tirpc/rpc/svc.h> /* service manager and multiplexer */ |
64 |
|
64 |
|
65 |
/* Portmapper client, server, and protocol headers */ |
65 |
/* Portmapper client, server, and protocol headers */ |
66 |
#include <rpc/pmap_clnt.h> |
66 |
#include <tirpc/rpc/pmap_clnt.h> |
67 |
#include <rpc/pmap_prot.h> |
67 |
#include <tirpc/rpc/pmap_prot.h> |
68 |
|
68 |
|
69 |
#ifndef _KERNEL |
69 |
#ifndef _KERNEL |
70 |
#include <rpc/rpcb_clnt.h> /* rpcbind interface functions */ |
70 |
#include <tirpc/rpc/rpcb_clnt.h> /* rpcbind interface functions */ |
71 |
#include <rpc/svc_mt.h> |
71 |
#include <tirpc/rpc/svc_mt.h> |
72 |
#endif |
72 |
#endif |
73 |
#include <rpc/rpcent.h> |
73 |
#include <tirpc/rpc/rpcent.h> |
74 |
|
74 |
|
75 |
#ifndef UDPMSGSIZE |
75 |
#ifndef UDPMSGSIZE |
76 |
#define UDPMSGSIZE 8800 |
76 |
#define UDPMSGSIZE 8800 |