123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- #ifndef _RPC_RPC_H
- #define _RPC_RPC_H 1
- #include <rpc/types.h> /* some typedefs */
- #include <netinet/in.h>
- #include <rpc/xdr.h> /* generic (de)serializer */
- #include <rpc/auth.h> /* generic authenticator (client side) */
- #include <rpc/clnt.h> /* generic rpc stuff */
- #include <rpc/rpc_msg.h> /* protocol for rpc messages */
- #include <rpc/auth_unix.h> /* protocol for unix style cred */
- #include <rpc/auth_des.h> /* protocol for des style cred */
- #include <rpc/svc.h> /* service manager and multiplexer */
- #include <rpc/svc_auth.h> /* service side authenticator */
- #include <rpc/netdb.h> /* structures and routines to parse /etc/rpc */
- __BEGIN_DECLS
- #if 0
- extern fd_set *__rpc_thread_svc_fdset (void) __attribute__ ((__const__));
- #define svc_fdset (*__rpc_thread_svc_fdset ())
- extern struct rpc_createerr *__rpc_thread_createerr (void)
- __attribute__ ((__const__));
- #define get_rpc_createerr() (*__rpc_thread_createerr ())
- #ifdef _RPC_MT_VARS
- # define rpc_createerr (*__rpc_thread_createerr ())
- #endif
- extern struct pollfd **__rpc_thread_svc_pollfd (void)
- __attribute__ ((__const__));
- #define svc_pollfd (*__rpc_thread_svc_pollfd ())
- extern int *__rpc_thread_svc_max_pollfd (void) __attribute__ ((__const__));
- #define svc_max_pollfd (*__rpc_thread_svc_max_pollfd ())
- #endif
- __END_DECLS
- #endif
|