1 /* 2 * Please do not edit this file. 3 * It was generated using rpcgen. 4 */ 5 6 #ifndef _LOC_API_CB_H_RPCGEN 7 #define _LOC_API_CB_H_RPCGEN 8 9 #include <rpc/rpc.h> 10 11 #include <pthread.h> 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 18 struct rpc_loc_event_cb_f_type_args { 19 rpc_uint32 cb_id; 20 rpc_loc_client_handle_type loc_handle; 21 rpc_loc_event_mask_type loc_event; 22 rpc_loc_event_payload_u_type *loc_event_payload; 23 }; 24 typedef struct rpc_loc_event_cb_f_type_args rpc_loc_event_cb_f_type_args; 25 26 struct rpc_loc_event_cb_f_type_rets { 27 rpc_int32 loc_event_cb_f_type_result; 28 }; 29 typedef struct rpc_loc_event_cb_f_type_rets rpc_loc_event_cb_f_type_rets; 30 #define LOC_APICBVERS 0x00040002 31 32 #define LOC_APICBPROG 0x3100008c 33 #define LOC_APICBVERS_0001 0x00040001 34 35 #if defined(__STDC__) || defined(__cplusplus) 36 #define rpc_loc_event_cb_f_type 1 37 extern enum clnt_stat rpc_loc_event_cb_f_type_0x00040001(rpc_loc_event_cb_f_type_args *, rpc_loc_event_cb_f_type_rets *, CLIENT *); 38 extern bool_t rpc_loc_event_cb_f_type_0x00040001_svc(rpc_loc_event_cb_f_type_args *, rpc_loc_event_cb_f_type_rets *, struct svc_req *); 39 extern int loc_apicbprog_0x00040001_freeresult (SVCXPRT *, xdrproc_t, caddr_t); 40 41 #else /* K&R C */ 42 #define rpc_loc_event_cb_f_type 1 43 extern enum clnt_stat rpc_loc_event_cb_f_type_0x00040001(); 44 extern bool_t rpc_loc_event_cb_f_type_0x00040001_svc(); 45 extern int loc_apicbprog_0x00040001_freeresult (); 46 #endif /* K&R C */ 47 48 /* the xdr functions */ 49 50 #if defined(__STDC__) || defined(__cplusplus) 51 extern bool_t xdr_rpc_loc_event_cb_f_type_args (XDR *, rpc_loc_event_cb_f_type_args*); 52 extern bool_t xdr_rpc_loc_event_cb_f_type_rets (XDR *, rpc_loc_event_cb_f_type_rets*); 53 54 #else /* K&R C */ 55 extern bool_t xdr_rpc_loc_event_cb_f_type_args (); 56 extern bool_t xdr_rpc_loc_event_cb_f_type_rets (); 57 58 #endif /* K&R C */ 59 60 #ifdef __cplusplus 61 } 62 #endif 63 64 #endif /* !_LOC_API_CB_H_RPCGEN */ 65