1 /* 2 * Please do not edit this file. 3 * It was generated using rpcgen. 4 */ 5 6 #ifndef _FMD_RPC_API_H_RPCGEN 7 #define _FMD_RPC_API_H_RPCGEN 8 9 #include <rpc/rpc.h> 10 #ifndef _KERNEL 11 #include <synch.h> 12 #include <thread.h> 13 #endif /* !_KERNEL */ 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 #pragma ident "%Z%%M% %I% %E% SMI" 20 extern void fmd_api_1(struct svc_req *, SVCXPRT *); 21 #undef RW_READ_HELD 22 #undef RW_WRITE_HELD 23 #undef RW_LOCK_HELD 24 #undef MUTEX_HELD 25 26 #define FMD_API 100170 27 #define FMD_API_VERSION_1 1 28 29 #if defined(__STDC__) || defined(__cplusplus) 30 #define FMD_HDL_CREATE 1 31 extern enum clnt_stat fmd_hdl_create_1(int , void *, CLIENT *); 32 extern bool_t fmd_hdl_create_1_svc(int , void *, struct svc_req *); 33 extern int fmd_api_1_freeresult(SVCXPRT *, xdrproc_t, caddr_t); 34 35 #else /* K&R C */ 36 #define FMD_HDL_CREATE 1 37 extern enum clnt_stat fmd_hdl_create_1(); 38 extern bool_t fmd_hdl_create_1_svc(); 39 extern int fmd_api_1_freeresult(); 40 #endif /* K&R C */ 41 42 #ifdef __cplusplus 43 } 44 #endif 45 46 #endif /* !_FMD_RPC_API_H_RPCGEN */ 47