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_common.h" 7bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 8bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 9bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_boolean (XDR *xdrs, rpc_boolean *objp) 10bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 11bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 12bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 13bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_bool (xdrs, objp)) 14bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 15bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 16bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 17bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 18bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 19bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_uint32 (XDR *xdrs, rpc_uint32 *objp) 20bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 21bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 22bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 23bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_long (xdrs, objp)) 24bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 25bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 26bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 27bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 28bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 29bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_uint16 (XDR *xdrs, rpc_uint16 *objp) 30bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 31bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 32bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 33bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_short (xdrs, objp)) 34bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 35bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 36bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 37bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 38bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 39bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_uint8 (XDR *xdrs, rpc_uint8 *objp) 40bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 41bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 42bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 43bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, objp)) 44bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 45bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 46bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 47bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 48bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 49bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_int32 (XDR *xdrs, rpc_int32 *objp) 50bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 51bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 52bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 53bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_long (xdrs, objp)) 54bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 55bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 56bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 57bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 58bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 59bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_byte (XDR *xdrs, rpc_byte *objp) 60bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 61bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 62bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 63bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, objp)) 64bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 65bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 66bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 67bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 68bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 69bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_uint64 (XDR *xdrs, rpc_uint64 *objp) 70bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 71bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 72bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 73bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_quad_t (xdrs, objp)) 74bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 75bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 76bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 77bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 78bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 79bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_client_handle_type (XDR *xdrs, rpc_loc_client_handle_type *objp) 80bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 81bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 82bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 83bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, objp)) 84bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 85bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 86bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 87bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 88bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 89bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_event_mask_type (XDR *xdrs, rpc_loc_event_mask_type *objp) 90bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 91bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 92bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 93bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, objp)) 94bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 95bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 96bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 97bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 98bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 99bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_position_valid_mask_type (XDR *xdrs, rpc_loc_position_valid_mask_type *objp) 100bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 101bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 102bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 103bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, objp)) 104bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 105bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 106bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 107bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 108bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 109bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_pos_technology_mask_type (XDR *xdrs, rpc_loc_pos_technology_mask_type *objp) 110bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 111bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 112bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 113bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 114bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 115bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 116bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 117bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 118bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 119bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_session_status_e_type (XDR *xdrs, rpc_loc_session_status_e_type *objp) 120bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 121bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 122bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 123bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 124bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 125bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 126bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 127bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 128bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 129bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_calendar_time_s_type (XDR *xdrs, rpc_loc_calendar_time_s_type *objp) 130bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 131bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 132bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 133bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->year)) 134bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 135bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->month)) 136bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 137bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->day_of_week)) 138bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 139bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->day)) 140bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 141bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->hour)) 142bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 143bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->minute)) 144bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 145bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->second)) 146bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 147bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->millisecond)) 148bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 149bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 150bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 151bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 152bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 153bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_parsed_position_s_type (XDR *xdrs, rpc_loc_parsed_position_s_type *objp) 154bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 155bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 156bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 157bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_position_valid_mask_type (xdrs, &objp->valid_mask)) 158bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 159bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_session_status_e_type (xdrs, &objp->session_status)) 160bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 161bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_calendar_time_s_type (xdrs, &objp->timestamp_calendar)) 162bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 163bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, &objp->timestamp_utc)) 164bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 165bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->leap_seconds)) 166bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 167bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->time_unc)) 168bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 169bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_double (xdrs, &objp->latitude)) 170bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 171bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_double (xdrs, &objp->longitude)) 172bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 173bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->altitude_wrt_ellipsoid)) 174bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 175bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->altitude_wrt_mean_sea_level)) 176bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 177bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->speed_horizontal)) 178bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 179bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->speed_vertical)) 180bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 181bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->heading)) 182bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 183bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->hor_unc_circular)) 184bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 185bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->hor_unc_ellipse_semi_major)) 186bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 187bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->hor_unc_ellipse_semi_minor)) 188bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 189bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->hor_unc_ellipse_orient_azimuth)) 190bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 191bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->vert_unc)) 192bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 193bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->speed_unc)) 194bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 195bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->heading_unc)) 196bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 197bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->confidence_horizontal)) 198bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 199bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->confidence_vertical)) 200bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 201bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->magnetic_deviation)) 202bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 203bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_pos_technology_mask_type (xdrs, &objp->technology_mask)) 204bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 205bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 206bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 207bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 208bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 209bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_sv_system_e_type (XDR *xdrs, rpc_loc_sv_system_e_type *objp) 210bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 211bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 212bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 213bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 214bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 215bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 216bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 217bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 218bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 219bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_sv_status_e_type (XDR *xdrs, rpc_loc_sv_status_e_type *objp) 220bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 221bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 222bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 223bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 224bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 225bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 226bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 227bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 228bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 229bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_sv_info_valid_mask_type (XDR *xdrs, rpc_loc_sv_info_valid_mask_type *objp) 230bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 231bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 232bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 233bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 234bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 235bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 236bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 237bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 238bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 239bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_sv_info_s_type (XDR *xdrs, rpc_loc_sv_info_s_type *objp) 240bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 241bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 242bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 243bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_sv_info_valid_mask_type (xdrs, &objp->valid_mask)) 244bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 245bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_sv_system_e_type (xdrs, &objp->system)) 246bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 247bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->prn)) 248bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 249bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->health_status)) 250bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 251bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_sv_status_e_type (xdrs, &objp->process_status)) 252bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 253bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->has_eph)) 254bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 255bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->has_alm)) 256bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 257bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->elevation)) 258bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 259bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->azimuth)) 260bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 261bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->snr)) 262bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 263bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 264bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 265bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 266bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 267bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_gnss_info_valid_mask_type (XDR *xdrs, rpc_loc_gnss_info_valid_mask_type *objp) 268bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 269bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 270bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 271bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 272bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 273bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 274bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 275bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 276bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 277bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_gnss_info_s_type (XDR *xdrs, rpc_loc_gnss_info_s_type *objp) 278bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 279bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 280bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 281bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_gnss_info_valid_mask_type (xdrs, &objp->valid_mask)) 282bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 283bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->position_dop)) 284bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 285bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->horizontal_dop)) 286bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 287bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->vertical_dop)) 288bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 289bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->altitude_assumed)) 290bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 291bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->sv_count)) 292bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 293bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_array (xdrs, (char **)&objp->sv_list.sv_list_val, (u_int *) &objp->sv_list.sv_list_len, 80, 294bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo sizeof (rpc_loc_sv_info_s_type), (xdrproc_t) xdr_rpc_loc_sv_info_s_type)) 295bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 296bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 297bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 298bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 299bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 300bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_nmea_report_s_type (XDR *xdrs, rpc_loc_nmea_report_s_type *objp) 301bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 302bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 303bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 304bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 305bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->length)) 306bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 307bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->nmea_sentences, 1200)) 308bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 309bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 310bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 311bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 312bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 313bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_status_event_e_type (XDR *xdrs, rpc_loc_status_event_e_type *objp) 314bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 315bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 316bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 317bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 318bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 319bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 320bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 321bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 322bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 323bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_engine_state_e_type (XDR *xdrs, rpc_loc_engine_state_e_type *objp) 324bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 325bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 326bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 327bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 328bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 329bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 330bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 331bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 332bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 333bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_fix_session_state_e_type (XDR *xdrs, rpc_loc_fix_session_state_e_type *objp) 334bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 335bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 336bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 337bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 338bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 339bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 340bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 341bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 342bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 343bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_status_event_payload_u_type (XDR *xdrs, rpc_loc_status_event_payload_u_type *objp) 344bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 345bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 346bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 347bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_status_event_e_type (xdrs, &objp->disc)) 348bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 349bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 350bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_STATUS_EVENT_ENGINE_STATE: 351bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_engine_state_e_type (xdrs, &objp->rpc_loc_status_event_payload_u_type_u.engine_state)) 352bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 353bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 354bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_STATUS_EVENT_FIX_SESSION_STATE: 355bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_fix_session_state_e_type (xdrs, &objp->rpc_loc_status_event_payload_u_type_u.fix_session_state)) 356bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 357bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 358bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 359bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 360bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 361bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 362bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 363bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 364bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 365bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_status_event_s_type (XDR *xdrs, rpc_loc_status_event_s_type *objp) 366bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 367bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 368bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 369bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_status_event_e_type (xdrs, &objp->event)) 370bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 371bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_status_event_payload_u_type (xdrs, &objp->payload)) 372bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 373bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 374bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 375bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 376bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 377bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_e_type (XDR *xdrs, rpc_loc_server_addr_e_type *objp) 378bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 379bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 380bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 381bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 382bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 383bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 384bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 385bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 386bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 387bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_ipv4_type (XDR *xdrs, rpc_loc_server_addr_ipv4_type *objp) 388bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 389bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 390bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 391bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->addr)) 392bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 393bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->port)) 394bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 395bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 396bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 397bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 398bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 399bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_url_type (XDR *xdrs, rpc_loc_server_addr_url_type *objp) 400bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 401bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 402bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 403bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 404bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->length)) 405bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 406bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->addr, 256)) 407bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 408bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 409bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 410bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 411bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 412bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_u_type (XDR *xdrs, rpc_loc_server_addr_u_type *objp) 413bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 414bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 415bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 416bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_addr_e_type (xdrs, &objp->disc)) 417bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 418bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 419bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_SERVER_ADDR_IPV4: 420bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_addr_ipv4_type (xdrs, &objp->rpc_loc_server_addr_u_type_u.ipv4)) 421bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 422bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 423bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_SERVER_ADDR_URL: 424bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_addr_url_type (xdrs, &objp->rpc_loc_server_addr_u_type_u.url)) 425bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 426bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 427bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 428bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 429bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 430bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 431bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 432bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 433bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 434bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_info_s_type (XDR *xdrs, rpc_loc_server_info_s_type *objp) 435bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 436bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 437bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 438bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_addr_e_type (xdrs, &objp->addr_type)) 439bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 440bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_addr_u_type (xdrs, &objp->addr_info)) 441bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 442bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 443bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 444bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 445bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 446bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_notify_verify_e_type (XDR *xdrs, rpc_loc_ni_notify_verify_e_type *objp) 447bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 448bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 449bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 450bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 451bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 452bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 453bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 454bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 455bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 456bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_event_e_type (XDR *xdrs, rpc_loc_ni_event_e_type *objp) 457bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 458bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 459bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 460bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 461bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 462bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 463bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 464bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 465bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 466bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_datacoding_scheme_e_type (XDR *xdrs, rpc_loc_ni_datacoding_scheme_e_type *objp) 467bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 468bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 469bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 470bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 471bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 472bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 473bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 474bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 475bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 476bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (XDR *xdrs, rpc_loc_ni_vx_requester_id_encoding_scheme_e_type *objp) 477bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 478bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 479bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 480bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 481bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 482bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 483bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 484bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 485bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 486bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_pos_mode_e_type (XDR *xdrs, rpc_loc_ni_vx_pos_mode_e_type *objp) 487bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 488bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 489bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 490bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 491bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 492bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 493bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 494bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 495bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 496bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_requester_id_s_type (XDR *xdrs, rpc_loc_ni_vx_requester_id_s_type *objp) 497bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 498bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 499bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 500bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 501bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->requester_id_length)) 502bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 503bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->requester_id, 200)) 504bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 505bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 506bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 507bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 508bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 509bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_notify_verify_req_s_type (XDR *xdrs, rpc_loc_ni_vx_notify_verify_req_s_type *objp) 510bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 511bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 512bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 513bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_notify_verify_e_type (xdrs, &objp->notification_priv_type)) 514bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 515bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->pos_qos_incl)) 516bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 517bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->pos_qos)) 518bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 519bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->num_fixes)) 520bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 521bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->tbf)) 522bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 523bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_vx_pos_mode_e_type (xdrs, &objp->pos_mode)) 524bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 525bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (xdrs, &objp->encoding_scheme)) 526bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 527bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_vx_requester_id_s_type (xdrs, &objp->requester_id)) 528bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 529bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->user_resp_timer_val)) 530bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 531bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 532bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 533bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 534bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 535bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_pos_method_e_type (XDR *xdrs, rpc_loc_ni_supl_pos_method_e_type *objp) 536bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 537bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 538bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 539bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 540bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 541bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 542bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 543bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 544bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 545bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_slp_session_id_s_type (XDR *xdrs, rpc_loc_ni_supl_slp_session_id_s_type *objp) 546bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 547bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 548bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 549bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 550bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->presence)) 551bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 552bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->session_id, 4)) 553bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 554bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_info_s_type (xdrs, &objp->slp_address)) 555bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 556bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 557bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 558bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 559bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 560bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_requestor_id_s_type (XDR *xdrs, rpc_loc_ni_requestor_id_s_type *objp) 561bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 562bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 563bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 564bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 565bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->data_coding_scheme)) 566bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 567bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->requestor_id_string, 200)) 568bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 569bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->string_len)) 570bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 571bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 572bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 573bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 574bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 575bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_client_name_s_type (XDR *xdrs, rpc_loc_ni_supl_client_name_s_type *objp) 576bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 577bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 578bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 579bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 580bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->data_coding_scheme)) 581bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 582bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->client_name_string, 64)) 583bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 584bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->string_len)) 585bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 586bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 587bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 588bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 589bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 590bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_qop_s_type (XDR *xdrs, rpc_loc_ni_supl_qop_s_type *objp) 591bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 592bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 593bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 594bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->bit_mask)) 595bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 596bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->horacc)) 597bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 598bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->veracc)) 599bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 600bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->maxLocAge)) 601bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 602bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->delay)) 603bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 604bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 605bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 606bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 607bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 608bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_notify_verify_req_s_type (XDR *xdrs, rpc_loc_ni_supl_notify_verify_req_s_type *objp) 609bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 610bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 611bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 612bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 613bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_notify_verify_e_type (xdrs, &objp->notification_priv_type)) 614bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 615bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->flags)) 616bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 617bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_supl_slp_session_id_s_type (xdrs, &objp->supl_slp_session_id)) 618bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 619bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->supl_hash, 8)) 620bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 621bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_datacoding_scheme_e_type (xdrs, &objp->datacoding_scheme)) 622bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 623bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_supl_pos_method_e_type (xdrs, &objp->pos_method)) 624bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 625bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_requestor_id_s_type (xdrs, &objp->requestor_id)) 626bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 627bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_supl_client_name_s_type (xdrs, &objp->client_name)) 628bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 629bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_supl_qop_s_type (xdrs, &objp->supl_qop)) 630bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 631bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->user_response_timer)) 632bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 633bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 634bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 635bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 636bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 637bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_ext_client_address_s_type (XDR *xdrs, rpc_loc_ni_ext_client_address_s_type *objp) 638bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 639bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 640bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 641bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 642bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->ext_client_address_len)) 643bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 644bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->ext_client_address, 20)) 645bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 646bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 647bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 648bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 649bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 650bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_location_type_e_type (XDR *xdrs, rpc_loc_ni_location_type_e_type *objp) 651bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 652bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 653bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 654bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 655bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 656bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 657bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 658bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 659bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 660bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_deferred_location_s_type (XDR *xdrs, rpc_loc_ni_deferred_location_s_type *objp) 661bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 662bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 663bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 664bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->unused_bits)) 665bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 666bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->ms_available)) 667bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 668bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 669bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 670bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 671bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 672bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_codeword_string_s_type (XDR *xdrs, rpc_loc_ni_codeword_string_s_type *objp) 673bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 674bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 675bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 676bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 677bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->data_coding_scheme)) 678bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 679bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->lcs_codeword_string, 20)) 680bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 681bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->string_len)) 682bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 683bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 684bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 685bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 686bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 687bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_service_type_id_s_type (XDR *xdrs, rpc_loc_ni_service_type_id_s_type *objp) 688bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 689bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 690bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 691bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->lcs_service_type_id)) 692bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 693bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 694bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 695bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 696bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 697bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type (XDR *xdrs, rpc_loc_ni_umts_cp_notify_verify_req_s_type *objp) 698bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 699bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 700bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 701bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 702bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_notify_verify_e_type (xdrs, &objp->notification_priv_type)) 703bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 704bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->invoke_id)) 705bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 706bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->flags)) 707bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 708bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->notification_length)) 709bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 710bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->notification_text, 64)) 711bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 712bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_datacoding_scheme_e_type (xdrs, &objp->datacoding_scheme)) 713bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 714bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_ext_client_address_s_type (xdrs, &objp->ext_client_address_data)) 715bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 716bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_location_type_e_type (xdrs, &objp->location_type)) 717bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 718bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_deferred_location_s_type (xdrs, &objp->deferred_location)) 719bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 720bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_requestor_id_s_type (xdrs, &objp->requestor_id)) 721bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 722bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_codeword_string_s_type (xdrs, &objp->codeword_string)) 723bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 724bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_service_type_id_s_type (xdrs, &objp->service_type_id)) 725bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 726bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->user_response_timer)) 727bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 728bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 729bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 730bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 731bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 732bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_service_interaction_e_type (XDR *xdrs, rpc_loc_ni_service_interaction_e_type *objp) 733bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 734bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 735bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 736bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 737bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 738bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 739bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 740bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 741bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 742bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_service_interaction_req_s_type (XDR *xdrs, rpc_loc_ni_vx_service_interaction_req_s_type *objp) 743bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 744bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 745bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 746bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_vx_notify_verify_req_s_type (xdrs, &objp->ni_vx_req)) 747bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 748bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_service_interaction_e_type (xdrs, &objp->service_interation_type)) 749bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 750bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 751bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 752bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 753bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 754bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_event_payload_u_type (XDR *xdrs, rpc_loc_ni_event_payload_u_type *objp) 755bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 756bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 757bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 758bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_event_e_type (xdrs, &objp->disc)) 759bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 760bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 761bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ: 762bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_vx_notify_verify_req_s_type (xdrs, &objp->rpc_loc_ni_event_payload_u_type_u.vx_req)) 763bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 764bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 765bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ: 766bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_supl_notify_verify_req_s_type (xdrs, &objp->rpc_loc_ni_event_payload_u_type_u.supl_req)) 767bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 768bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 769bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ: 770bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type (xdrs, &objp->rpc_loc_ni_event_payload_u_type_u.umts_cp_req)) 771bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 772bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 773bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_NI_EVENT_VX_SERVICE_INTERACTION_REQ: 774bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_vx_service_interaction_req_s_type (xdrs, &objp->rpc_loc_ni_event_payload_u_type_u.service_interaction_req)) 775bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 776bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 777bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 778bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 779bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 780bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 781bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 782bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 783bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 784bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_event_s_type (XDR *xdrs, rpc_loc_ni_event_s_type *objp) 785bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 786bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 787bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 788bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_event_e_type (xdrs, &objp->event)) 789bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 790bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_event_payload_u_type (xdrs, &objp->payload)) 791bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 792bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 793bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 794bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 795bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 796bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_request_e_type (XDR *xdrs, rpc_loc_assist_data_request_e_type *objp) 797bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 798bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 799bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 800bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 801bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 802bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 803bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 804bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 805bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 806bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_time_download_source_s_type_servers_ptr (XDR *xdrs, rpc_struct_loc_time_download_source_s_type_servers_ptr *objp) 807bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 808bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 809bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 810bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_string (xdrs, objp, 256)) 811bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 812bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 813bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 814bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 815bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 816bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_time_download_source_s_type_servers (XDR *xdrs, rpc_struct_loc_time_download_source_s_type_servers objp) 817bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 818bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 819bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 820bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_vector (xdrs, (char *)objp, 3, 821bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo sizeof (rpc_struct_loc_time_download_source_s_type_servers_ptr), (xdrproc_t) xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr)) 822bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 823bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 824bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 825bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 826bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 827bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_time_download_source_s_type (XDR *xdrs, rpc_loc_time_download_source_s_type *objp) 828bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 829bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 830bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 831bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->delay_threshold)) 832bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 833bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_struct_loc_time_download_source_s_type_servers (xdrs, objp->servers)) 834bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 835bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 836bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 837bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 838bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 839bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr (XDR *xdrs, rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr *objp) 840bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 841bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 842bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 843bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_string (xdrs, objp, 256)) 844bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 845bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 846bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 847bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 848bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 849bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (XDR *xdrs, rpc_struct_loc_predicted_orbits_data_source_s_type_servers objp) 850bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 851bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 852bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 853bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_vector (xdrs, (char *)objp, 3, 854bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo sizeof (rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr), (xdrproc_t) xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr)) 855bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 856bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 857bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 858bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 859bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 860bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_source_s_type (XDR *xdrs, rpc_loc_predicted_orbits_data_source_s_type *objp) 861bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 862bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 863bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 864bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->max_file_size)) 865bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 866bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->max_part_size)) 867bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 868bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (xdrs, objp->servers)) 869bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 870bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 871bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 872bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 873bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 874bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_request_payload_u_type (XDR *xdrs, rpc_loc_assist_data_request_payload_u_type *objp) 875bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 876bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 877bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 878bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_request_e_type (xdrs, &objp->disc)) 879bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 880bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 881bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_ASSIST_DATA_TIME_REQ: 882bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_time_download_source_s_type (xdrs, &objp->rpc_loc_assist_data_request_payload_u_type_u.time_download)) 883bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 884bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 885bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ: 886bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_predicted_orbits_data_source_s_type (xdrs, &objp->rpc_loc_assist_data_request_payload_u_type_u.data_download)) 887bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 888bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 889bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 890bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 891bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 892bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 893bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 894bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 895bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 896bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_request_s_type (XDR *xdrs, rpc_loc_assist_data_request_s_type *objp) 897bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 898bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 899bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 900bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_request_e_type (xdrs, &objp->event)) 901bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 902bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_request_payload_u_type (xdrs, &objp->payload)) 903bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 904bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 905bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 906bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 907bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 908bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_connection_handle (XDR *xdrs, rpc_loc_server_connection_handle *objp) 909bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 910bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 911bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 912bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 913bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 914bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 915bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 916bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 917bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 918bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_protocol_e_type (XDR *xdrs, rpc_loc_server_protocol_e_type *objp) 919bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 920bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 921bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 922bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 923bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 924bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 925bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 926bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 927bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 928bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_request_e_type (XDR *xdrs, rpc_loc_server_request_e_type *objp) 929bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 930bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 931bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 932bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 933bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 934bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 935bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 936bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 937bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 938bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_open_req_s_type (XDR *xdrs, rpc_loc_server_open_req_s_type *objp) 939bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 940bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 941bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 942bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle)) 943bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 944bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_protocol_e_type (xdrs, &objp->protocol)) 945bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 946bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 947bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 948bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 949bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 950bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_close_req_s_type (XDR *xdrs, rpc_loc_server_close_req_s_type *objp) 951bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 952bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 953bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 954bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle)) 955bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 956bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 957bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 958bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 959bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 960bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_request_u_type (XDR *xdrs, rpc_loc_server_request_u_type *objp) 961bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 962bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 963bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 964bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_request_e_type (xdrs, &objp->disc)) 965bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 966bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 967bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_SERVER_REQUEST_OPEN: 968bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_open_req_s_type (xdrs, &objp->rpc_loc_server_request_u_type_u.open_req)) 969bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 970bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 971bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_SERVER_REQUEST_CLOSE: 972bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_close_req_s_type (xdrs, &objp->rpc_loc_server_request_u_type_u.close_req)) 973bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 974bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 975bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 976bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 977bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 978bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 979bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 980bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 981bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 982bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_request_s_type (XDR *xdrs, rpc_loc_server_request_s_type *objp) 983bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 984bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 985bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 986bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_request_e_type (xdrs, &objp->event)) 987bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 988bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_request_u_type (xdrs, &objp->payload)) 989bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 990bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 991bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 992bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 993bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 994bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_qwip_request_e_type (XDR *xdrs, rpc_loc_qwip_request_e_type *objp) 995bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 996bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 997bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 998bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 999bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1000bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1001bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1002bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1003bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1004bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_qwip_request_s_type (XDR *xdrs, rpc_loc_qwip_request_s_type *objp) 1005bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1006bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1007bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1008bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_qwip_request_e_type (xdrs, &objp->request_type)) 1009bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1010bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->tbf_ms)) 1011bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1012bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1013bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1014bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1015bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1016bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_reserved_payload_s_type (XDR *xdrs, rpc_loc_reserved_payload_s_type *objp) 1017bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1018bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1019bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1020bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->data_size)) 1021bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1022bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, ~0)) 1023bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1024bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1025bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1026bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1027bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1028bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_e_type (XDR *xdrs, rpc_loc_ioctl_e_type *objp) 1029bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1030bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1031bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1032bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1033bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1034bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1035bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1036bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1037bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1038bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_api_version_s_type (XDR *xdrs, rpc_loc_api_version_s_type *objp) 1039bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1040bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1041bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1042bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->major)) 1043bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1044bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->minor)) 1045bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1046bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1047bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1048bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1049bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1050bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_fix_recurrence_e_type (XDR *xdrs, rpc_loc_fix_recurrence_e_type *objp) 1051bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1052bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1053bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1054bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1055bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1056bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1057bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1058bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1059bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1060bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_operation_mode_e_type (XDR *xdrs, rpc_loc_operation_mode_e_type *objp) 1061bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1062bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1063bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1064bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1065bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1066bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1067bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1068bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1069bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1070bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_notify_e_type (XDR *xdrs, rpc_loc_notify_e_type *objp) 1071bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1072bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1073bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1074bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1075bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1076bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1077bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1078bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1079bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1080bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_fix_criteria_s_type (XDR *xdrs, rpc_loc_fix_criteria_s_type *objp) 1081bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1082bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1083bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1084bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->valid_mask)) 1085bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1086bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_fix_recurrence_e_type (xdrs, &objp->recurrence_type)) 1087bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1088bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_operation_mode_e_type (xdrs, &objp->preferred_operation_mode)) 1089bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1090bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->preferred_accuracy)) 1091bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1092bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->preferred_response_time)) 1093bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1094bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->intermediate_pos_report_enabled)) 1095bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1096bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_notify_e_type (xdrs, &objp->notify_type)) 1097bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1098bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->min_interval)) 1099bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1100bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->min_distance)) 1101bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1102bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->min_dist_sample_interval)) 1103bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1104bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1105bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1106bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1107bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1108bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_user_resp_e_type (XDR *xdrs, rpc_loc_ni_user_resp_e_type *objp) 1109bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1110bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1111bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1112bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1113bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1114bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1115bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1116bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1117bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1118bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_user_verify_s_type (XDR *xdrs, rpc_loc_user_verify_s_type *objp) 1119bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1120bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1121bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1122bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_user_resp_e_type (xdrs, &objp->user_resp)) 1123bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1124bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_event_s_type (xdrs, &objp->ni_event_pass_back)) 1125bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1126bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1127bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1128bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1129bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1130bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_format_e_type (XDR *xdrs, rpc_loc_predicted_orbits_data_format_e_type *objp) 1131bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1132bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1133bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1134bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1135bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1136bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1137bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1138bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1139bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1140bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_s_type (XDR *xdrs, rpc_loc_predicted_orbits_data_s_type *objp) 1141bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1142bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1143bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1144bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_predicted_orbits_data_format_e_type (xdrs, &objp->format_type)) 1145bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1146bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->total_size)) 1147bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1148bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->total_parts)) 1149bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1150bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->part)) 1151bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1152bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->part_len)) 1153bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1154bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_bytes (xdrs, (char **)&objp->data_ptr.data_ptr_val, (u_int *) &objp->data_ptr.data_ptr_len, ~0)) 1155bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1156bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1157bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1158bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1159bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1160bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_validity_report_s_type (XDR *xdrs, rpc_loc_predicted_orbits_data_validity_report_s_type *objp) 1161bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1162bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1163bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1164bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, &objp->start_time_utc)) 1165bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1166bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->valid_duration_hrs)) 1167bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1168bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1169bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1170bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1171bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1172bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_auto_download_config_s_type (XDR *xdrs, rpc_loc_predicted_orbits_auto_download_config_s_type *objp) 1173bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1174bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1175bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1176bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->enable)) 1177bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1178bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->auto_check_every_hrs)) 1179bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1180bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1181bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1182bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1183bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1184bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_time_s_type (XDR *xdrs, rpc_loc_assist_data_time_s_type *objp) 1185bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1186bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1187bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1188bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, &objp->time_utc)) 1189bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1190bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->uncertainty)) 1191bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1192bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1193bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1194bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1195bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1196bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_pos_valid_mask_type (XDR *xdrs, rpc_loc_assist_pos_valid_mask_type *objp) 1197bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1198bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1199bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1200bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, objp)) 1201bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1202bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1203bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1204bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1205bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1206bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_pos_s_type (XDR *xdrs, rpc_loc_assist_data_pos_s_type *objp) 1207bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1208bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1209bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1210bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_pos_valid_mask_type (xdrs, &objp->valid_mask)) 1211bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1212bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint64 (xdrs, &objp->timestamp_utc)) 1213bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1214bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_double (xdrs, &objp->latitude)) 1215bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1216bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_double (xdrs, &objp->longitude)) 1217bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1218bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->altitude_wrt_ellipsoid)) 1219bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1220bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->altitude_wrt_mean_sea_level)) 1221bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1222bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->hor_unc_circular)) 1223bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1224bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_float (xdrs, &objp->vert_unc)) 1225bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1226bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->confidence_horizontal)) 1227bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1228bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_char (xdrs, &objp->confidence_vertical)) 1229bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1230bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->timestamp_age)) 1231bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1232bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1233bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1234bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1235bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1236bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_open_status_e_type (XDR *xdrs, rpc_loc_server_open_status_e_type *objp) 1237bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1238bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1239bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1240bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1241bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1242bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1243bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1244bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1245bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1246bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_open_status_s_type (XDR *xdrs, rpc_loc_server_open_status_s_type *objp) 1247bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1248bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1249bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1250bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 1251bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle)) 1252bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1253bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_open_status_e_type (xdrs, &objp->open_status)) 1254bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1255bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->apn_name, 100)) 1256bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1257bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1258bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1259bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1260bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1261bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_close_status_e_type (XDR *xdrs, rpc_loc_server_close_status_e_type *objp) 1262bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1263bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1264bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1265bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1266bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1267bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1268bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1269bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1270bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1271bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_close_status_s_type (XDR *xdrs, rpc_loc_server_close_status_s_type *objp) 1272bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1273bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1274bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1275bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle)) 1276bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1277bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_close_status_e_type (xdrs, &objp->close_status)) 1278bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1279bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1280bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1281bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1282bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1283bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_wiper_fix_time_s_type (XDR *xdrs, rpc_loc_wiper_fix_time_s_type *objp) 1284bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1285bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1286bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1287bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->slow_clock_count)) 1288bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1289bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1290bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1291bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1292bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1293bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_wiper_fix_pos_s_type (XDR *xdrs, rpc_loc_wiper_fix_pos_s_type *objp) 1294bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1295bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1296bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1297bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->lat)) 1298bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1299bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->lon)) 1300bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1301bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->HEPE)) 1302bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1303bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->num_of_aps_used)) 1304bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1305bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->fix_error_code)) 1306bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1307bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1308bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1309bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1310bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1311bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_wiper_ap_info_s_type (XDR *xdrs, rpc_loc_wiper_ap_info_s_type *objp) 1312bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1313bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1314bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1315bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 1316bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->mac_addr, 6)) 1317bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1318bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->rssi)) 1319bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1320bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint16 (xdrs, &objp->channel)) 1321bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1322bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->ap_qualifier)) 1323bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1324bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1325bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1326bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1327bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1328bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_wiper_ap_set_s_type (XDR *xdrs, rpc_loc_wiper_ap_set_s_type *objp) 1329bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1330bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1331bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1332bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 1333bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->num_of_aps)) 1334bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1335bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_vector (xdrs, (char *)objp->ap_info, 50, 1336bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo sizeof (rpc_loc_wiper_ap_info_s_type), (xdrproc_t) xdr_rpc_loc_wiper_ap_info_s_type)) 1337bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1338bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1339bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1340bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1341bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1342bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_wiper_position_report_s_type (XDR *xdrs, rpc_loc_wiper_position_report_s_type *objp) 1343bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1344bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1345bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1346bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->wiper_valid_info_flag)) 1347bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1348bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_wiper_fix_time_s_type (xdrs, &objp->wiper_fix_time)) 1349bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1350bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_wiper_fix_pos_s_type (xdrs, &objp->wiper_fix_position)) 1351bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1352bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_wiper_ap_set_s_type (xdrs, &objp->wiper_ap_set)) 1353bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1354bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1355bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1356bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1357bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1358bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_wiper_status_e_type (XDR *xdrs, rpc_loc_wiper_status_e_type *objp) 1359bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1360bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1361bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1362bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1363bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1364bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1365bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1366bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1367bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1368bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_fs_operation_e_type (XDR *xdrs, rpc_loc_fs_operation_e_type *objp) 1369bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1370bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1371bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1372bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1373bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1374bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1375bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1376bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1377bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1378bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_efs_data_s_type (XDR *xdrs, rpc_loc_efs_data_s_type *objp) 1379bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1380bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1381bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1382bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 1383bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_opaque (xdrs, objp->filename, 64)) 1384bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1385bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_fs_operation_e_type (xdrs, &objp->operation)) 1386bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1387bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->total_size)) 1388bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1389bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_bytes (xdrs, (char **)&objp->data_ptr.data_ptr_val, (u_int *) &objp->data_ptr.data_ptr_len, ~0)) 1390bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1391bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->part_len)) 1392bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1393bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->part)) 1394bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1395bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint8 (xdrs, &objp->total_parts)) 1396bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1397bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, &objp->reserved)) 1398bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1399bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1400bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1401bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1402bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1403bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_lock_e_type (XDR *xdrs, rpc_loc_lock_e_type *objp) 1404bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1405bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1406bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1407bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_enum (xdrs, (enum_t *) objp)) 1408bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1409bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1410bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1411bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1412bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1413bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_nmea_sentence_type (XDR *xdrs, rpc_loc_nmea_sentence_type *objp) 1414bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1415bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1416bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1417bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 1418bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1419bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1420bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1421bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1422bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1423bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_type (XDR *xdrs, rpc_loc_assist_data_type *objp) 1424bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1425bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1426bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1427bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_uint32 (xdrs, objp)) 1428bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1429bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1430bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1431bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1432bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1433bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_delete_s_type (XDR *xdrs, rpc_loc_assist_data_delete_s_type *objp) 1434bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1435bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1436bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1437bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo int i; 1438bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_type (xdrs, &objp->type)) 1439bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1440bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_vector (xdrs, (char *)objp->reserved, 8, 1441bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo sizeof (rpc_uint32), (xdrproc_t) xdr_rpc_uint32)) 1442bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1443bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1444bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1445bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1446bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1447bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_data_u_type (XDR *xdrs, rpc_loc_ioctl_data_u_type *objp) 1448bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1449bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1450bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1451bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->disc)) 1452bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1453bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 1454bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_FIX_CRITERIA: 1455bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_fix_criteria_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.fix_criteria)) 1456bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1457bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1458bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE: 1459bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_user_verify_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.user_verify_resp)) 1460bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1461bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1462bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA: 1463bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_predicted_orbits_data_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.predicted_orbits_data)) 1464bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1465bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1466bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD: 1467bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_predicted_orbits_auto_download_config_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.predicted_orbits_auto_download)) 1468bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1469bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1470bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_INJECT_UTC_TIME: 1471bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_time_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.assistance_data_time)) 1472bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1473bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1474bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_INJECT_POSITION: 1475bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_pos_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.assistance_data_position)) 1476bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1477bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1478bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS: 1479bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_open_status_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.conn_open_status)) 1480bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1481bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1482bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS: 1483bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_close_status_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.conn_close_status)) 1484bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1485bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1486bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SEND_WIPER_POSITION_REPORT: 1487bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_wiper_position_report_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.wiper_pos)) 1488bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1489bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1490bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_NOTIFY_WIPER_STATUS: 1491bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_wiper_status_e_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.wiper_status)) 1492bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1493bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1494bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_ENGINE_LOCK: 1495bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_lock_e_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.engine_lock)) 1496bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1497bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1498bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_SBAS_CONFIG: 1499bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.sbas_mode)) 1500bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1501bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1502bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_NMEA_TYPES: 1503bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_nmea_sentence_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.nmea_types)) 1504bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1505bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1506bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_ON_DEMAND_LPM: 1507bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.on_demand_lpm)) 1508bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1509bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1510bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR: 1511bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR: 1512bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR: 1513bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR: 1514bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_info_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.server_addr)) 1515bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1516bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1517bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_DELETE_ASSIST_DATA: 1518bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_delete_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.assist_data_delete)) 1519bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1520bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1521bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_ACCESS_EFS_DATA: 1522bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_efs_data_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.efs_data)) 1523bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1524bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1525bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 1526bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1527bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 1528bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1529bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1530bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1531bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1532bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_callback_data_u_type (XDR *xdrs, rpc_loc_ioctl_callback_data_u_type *objp) 1533bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1534bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1535bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1536bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->disc)) 1537bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1538bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 1539bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_API_VERSION: 1540bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_api_version_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.api_version)) 1541bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1542bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1543bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_FIX_CRITERIA: 1544bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_fix_criteria_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.fix_criteria)) 1545bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1546bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1547bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_ENGINE_LOCK: 1548bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_lock_e_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.engine_lock)) 1549bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1550bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1551bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_SBAS_CONFIG: 1552bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.sbas_mode)) 1553bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1554bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1555bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_NMEA_TYPES: 1556bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_nmea_sentence_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.nmea_types)) 1557bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1558bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1559bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_ON_DEMAND_LPM: 1560bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.on_demand_lpm)) 1561bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1562bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1563bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR: 1564bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR: 1565bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR: 1566bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR: 1567bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_info_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.server_addr)) 1568bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1569bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1570bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE: 1571bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_predicted_orbits_data_source_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.predicted_orbits_data_source)) 1572bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1573bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1574bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY: 1575bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_predicted_orbits_data_validity_report_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.predicted_orbits_data_validity)) 1576bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1577bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1578bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 1579bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1580bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 1581bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1582bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1583bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1584bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1585bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_callback_s_type (XDR *xdrs, rpc_loc_ioctl_callback_s_type *objp) 1586bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1587bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1588bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1589bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->type)) 1590bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1591bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_int32 (xdrs, &objp->status)) 1592bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1593bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ioctl_callback_data_u_type (xdrs, &objp->data)) 1594bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1595bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1596bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1597bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1598bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t 1599bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_event_payload_u_type (XDR *xdrs, rpc_loc_event_payload_u_type *objp) 1600bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{ 1601bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo register int32_t *buf; 1602bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo 1603bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_u_quad_t (xdrs, &objp->disc)) 1604bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1605bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo switch (objp->disc) { 1606bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_PARSED_POSITION_REPORT: 1607bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_parsed_position_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.parsed_location_report)) 1608bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1609bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1610bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_SATELLITE_REPORT: 1611bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_gnss_info_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.gnss_report)) 1612bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1613bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1614bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_NMEA_POSITION_REPORT: 1615bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_nmea_report_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.nmea_report)) 1616bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1617bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1618bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST: 1619bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ni_event_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.ni_request)) 1620bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1621bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1622bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST: 1623bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_assist_data_request_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.assist_data_request)) 1624bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1625bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1626bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_LOCATION_SERVER_REQUEST: 1627bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_server_request_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.loc_server_request)) 1628bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1629bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1630bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_IOCTL_REPORT: 1631bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_ioctl_callback_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.ioctl_report)) 1632bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1633bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1634bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_STATUS_REPORT: 1635bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_status_event_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.status_report)) 1636bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1637bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1638bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_WPS_NEEDED_REQUEST: 1639bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_qwip_request_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.qwip_request)) 1640bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1641bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1642bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo case RPC_LOC_EVENT_RESERVED: 1643bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo if (!xdr_rpc_loc_reserved_payload_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.reserved)) 1644bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return FALSE; 1645bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1646bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo default: 1647bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo break; 1648bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo } 1649bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo return TRUE; 1650bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo} 1651