1bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/* 2bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * Please do not edit this file. 3bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * It was generated using rpcgen. 4bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo */ 5bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 6bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#include "loc_api.h" 7bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 8bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 9bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_api_api_versions_return_type (XDR *xdrs, rpc_loc_api_api_versions_return_type *objp) 10bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 11bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 12bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 13bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_array (xdrs, (char **)&objp->rpc_loc_api_api_versions_return_type_val, (u_int *) &objp->rpc_loc_api_api_versions_return_type_len, ~0, 14bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo sizeof (rpc_uint32), (xdrproc_t) xdr_rpc_uint32)) 15bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 16bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 17bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 18bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 19bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 20bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_event_cb_f_type (XDR *xdrs, rpc_loc_event_cb_f_type *objp) 21bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 22bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 23bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 24bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 25bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 26bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 27bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 28bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 29bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 30bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_open_args (XDR *xdrs, rpc_loc_open_args *objp) 31bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 32bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 33bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 34bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_event_mask_type (xdrs, &objp->event_reg_mask)) 35bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 36bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_event_cb_f_type (xdrs, &objp->event_callback)) 37bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 38bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 39bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 40bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 41bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 42bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_close_args (XDR *xdrs, rpc_loc_close_args *objp) 43bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 44bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 45bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 46bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->handle)) 47bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 48bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 49bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 50bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 51bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 52bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_start_fix_args (XDR *xdrs, rpc_loc_start_fix_args *objp) 53bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 54bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 55bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 56bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->handle)) 57bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 58bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 59bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 60bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 61bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 62bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_stop_fix_args (XDR *xdrs, rpc_loc_stop_fix_args *objp) 63bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 64bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 65bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 66bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->handle)) 67bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 68bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 69bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 70bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 71bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 72bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_args (XDR *xdrs, rpc_loc_ioctl_args *objp) 73bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 74bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 75bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 76bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->handle)) 77bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 78bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->ioctl_type)) 79bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 80bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_pointer (xdrs, (char **)&objp->ioctl_data, sizeof (rpc_loc_ioctl_data_u_type), (xdrproc_t) xdr_rpc_loc_ioctl_data_u_type)) 81bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 82bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 83bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 84bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 85bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 86bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_api_api_version_s_args (XDR *xdrs, rpc_loc_api_api_version_s_args *objp) 87bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 88bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 89bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 90bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->len_not_null)) 91bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 92bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 93bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 94bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 95bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 96bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_api_rpc_glue_code_info_remote_rets (XDR *xdrs, rpc_loc_api_rpc_glue_code_info_remote_rets *objp) 97bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 98bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 99bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 100bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->toolvers)) 101bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 102bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->features)) 103bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 104bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->proghash)) 105bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 106bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->cbproghash)) 107bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 108bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 109bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 110bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 111bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 112bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_open_rets (XDR *xdrs, rpc_loc_open_rets *objp) 113bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 114bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 115bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 116bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_client_handle_type (xdrs, &objp->loc_open_result)) 117bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 118bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 119bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 120bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 121bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 122bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_close_rets (XDR *xdrs, rpc_loc_close_rets *objp) 123bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 124bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 125bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 126bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->loc_close_result)) 127bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 128bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 129bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 130bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 131bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 132bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_start_fix_rets (XDR *xdrs, rpc_loc_start_fix_rets *objp) 133bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 134bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 135bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 136bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->loc_start_fix_result)) 137bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 138bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 139bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 140bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 141bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 142bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_stop_fix_rets (XDR *xdrs, rpc_loc_stop_fix_rets *objp) 143bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 144bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 145bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 146bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->loc_stop_fix_result)) 147bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 148bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 149bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 150bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 151bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 152bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_rets (XDR *xdrs, rpc_loc_ioctl_rets *objp) 153bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 154bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 155bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 156bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->loc_ioctl_result)) 157bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 158bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 159bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 160bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 161bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 162bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_api_api_versions_rets (XDR *xdrs, rpc_loc_api_api_versions_rets *objp) 163bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 164bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 165bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 166bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_api_api_versions_return_type (xdrs, &objp->loc_api_api_versions_result)) 167bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 168bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_pointer (xdrs, (char **)&objp->len, sizeof (rpc_uint32), (xdrproc_t) xdr_rpc_uint32)) 169bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 170bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 171bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 172