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, RPC_LOC_API_MAX_SV_COUNT,
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	 if (!xdr_rpc_uint16 (xdrs, &objp->length))
305bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
306bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->nmea_sentences.nmea_sentences_val, (u_int *) &objp->nmea_sentences.nmea_sentences_len, RPC_LOC_API_MAX_NMEA_STRING_LENGTH))
307bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
308bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
309bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
310bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
311bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
312bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_status_event_e_type (XDR *xdrs, rpc_loc_status_event_e_type *objp)
313bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
314bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
315bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
316bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
317bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
318bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
319bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
320bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
321bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
322bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_engine_state_e_type (XDR *xdrs, rpc_loc_engine_state_e_type *objp)
323bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
324bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
325bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
326bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
327bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
328bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
329bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
330bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
331bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
332bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_status_event_payload_u_type (XDR *xdrs, rpc_loc_status_event_payload_u_type *objp)
333bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
334bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
335bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
336bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_status_event_e_type (xdrs, &objp->disc))
337bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
338bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
339bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_STATUS_EVENT_ENGINE_STATE:
340bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_engine_state_e_type (xdrs, &objp->rpc_loc_status_event_payload_u_type_u.engine_state))
341bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
342bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
343bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
344bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
345bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
346bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
347bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
348bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
349bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
350bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_status_event_s_type (XDR *xdrs, rpc_loc_status_event_s_type *objp)
351bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
352bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
353bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
354bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_status_event_e_type (xdrs, &objp->event))
355bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
356bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_status_event_payload_u_type (xdrs, &objp->payload))
357bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
358bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
359bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
360bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
361bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
362bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_e_type (XDR *xdrs, rpc_loc_server_addr_e_type *objp)
363bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
364bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
365bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
366bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
367bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
368bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
369bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
370bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
371bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
372bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_ipv4_type (XDR *xdrs, rpc_loc_server_addr_ipv4_type *objp)
373bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
374bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
375bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
376bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->addr))
377bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
378bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->port))
379bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
380bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
381bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
382bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
383bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
384bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_url_type (XDR *xdrs, rpc_loc_server_addr_url_type *objp)
385bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
386bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
387bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
388bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->length))
389bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
390bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->addr.addr_val, (u_int *) &objp->addr.addr_len, RPC_LOC_API_MAX_SERVER_ADDR_LENGTH))
391bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
392bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
393bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
394bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
395bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
396bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_addr_u_type (XDR *xdrs, rpc_loc_server_addr_u_type *objp)
397bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
398bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
399bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
400bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_addr_e_type (xdrs, &objp->disc))
401bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
402bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
403bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_SERVER_ADDR_IPV4:
404bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_addr_ipv4_type (xdrs, &objp->rpc_loc_server_addr_u_type_u.ipv4))
405bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
406bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
407bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_SERVER_ADDR_URL:
408bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_addr_url_type (xdrs, &objp->rpc_loc_server_addr_u_type_u.url))
409bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
410bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
411bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
412bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
413bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
414bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
415bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
416bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
417bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
418bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_info_s_type (XDR *xdrs, rpc_loc_server_info_s_type *objp)
419bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
420bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
421bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
422bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_addr_e_type (xdrs, &objp->addr_type))
423bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
424bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_addr_u_type (xdrs, &objp->addr_info))
425bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
426bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
427bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
428bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
429bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
430bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_notify_verify_e_type (XDR *xdrs, rpc_loc_ni_notify_verify_e_type *objp)
431bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
432bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
433bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
434bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
435bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
436bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
437bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
438bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
439bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
440bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_event_e_type (XDR *xdrs, rpc_loc_ni_event_e_type *objp)
441bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
442bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
443bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
444bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
445bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
446bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
447bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
448bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
449bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
450bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_datacoding_scheme_e_type (XDR *xdrs, rpc_loc_ni_datacoding_scheme_e_type *objp)
451bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
452bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
453bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
454bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
455bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
456bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
457bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
458bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
459bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
460bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (XDR *xdrs, rpc_loc_ni_vx_requester_id_encoding_scheme_e_type *objp)
461bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
462bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
463bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
464bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
465bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
466bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
467bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
468bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
469bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
470bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_pos_mode_e_type (XDR *xdrs, rpc_loc_ni_vx_pos_mode_e_type *objp)
471bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
472bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
473bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
474bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
475bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
476bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
477bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
478bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
479bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
480bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_requester_id_s_type (XDR *xdrs, rpc_loc_ni_vx_requester_id_s_type *objp)
481bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
482bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
483bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
484bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	int i;
485bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->requester_id_length))
486bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
487bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_opaque (xdrs, objp->requester_id, 200))
488bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
489bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
490bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
491bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
492bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
493bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_vx_notify_verify_req_s_type (XDR *xdrs, rpc_loc_ni_vx_notify_verify_req_s_type *objp)
494bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
495bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
496bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
497bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_notify_verify_e_type (xdrs, &objp->notification_priv_type))
498bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
499bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->pos_qos_incl))
500bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
501bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->pos_qos))
502bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
503bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->num_fixes))
504bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
505bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->tbf))
506bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
507bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_vx_pos_mode_e_type (xdrs, &objp->pos_mode))
508bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
509bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (xdrs, &objp->encoding_scheme))
510bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
511bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_vx_requester_id_s_type (xdrs, &objp->requester_id))
512bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
513bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->user_resp_timer_val))
514bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
515bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
516bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
517bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
518bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
519bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_pos_method_e_type (XDR *xdrs, rpc_loc_ni_supl_pos_method_e_type *objp)
520bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
521bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
522bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
523bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
524bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
525bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
526bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
527bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
528bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
529bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_slp_session_id_s_type (XDR *xdrs, rpc_loc_ni_supl_slp_session_id_s_type *objp)
530bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
531bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
532bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
533bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	int i;
534bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->presence))
535bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
536bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_opaque (xdrs, objp->session_id, 4))
537bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
538bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_info_s_type (xdrs, &objp->slp_address))
539bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
540bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
541bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
542bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
543bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
544bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_requestor_id_s_type (XDR *xdrs, rpc_loc_ni_requestor_id_s_type *objp)
545bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
546bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
547bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
548bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->data_coding_scheme))
549bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
550bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->requestor_id_string.requestor_id_string_val, (u_int *) &objp->requestor_id_string.requestor_id_string_len, RPC_LOC_NI_MAX_REQUESTOR_ID_LENGTH))
551bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
552bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->string_len))
553bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
554bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
555bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
556bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
557bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
558bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_client_name_s_type (XDR *xdrs, rpc_loc_ni_supl_client_name_s_type *objp)
559bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
560bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
561bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
562bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->data_coding_scheme))
563bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
564bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->client_name_string.client_name_string_val, (u_int *) &objp->client_name_string.client_name_string_len, RPC_LOC_NI_MAX_CLIENT_NAME_LENGTH))
565bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
566bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->string_len))
567bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
568bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
569bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
570bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
571bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
572bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_qop_s_type (XDR *xdrs, rpc_loc_ni_supl_qop_s_type *objp)
573bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
574bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
575bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
576bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->bit_mask))
577bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
578bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->horacc))
579bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
580bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->veracc))
581bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
582bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->maxLocAge))
583bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
584bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->delay))
585bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
586bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
587bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
588bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
589bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
590bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_supl_notify_verify_req_s_type (XDR *xdrs, rpc_loc_ni_supl_notify_verify_req_s_type *objp)
591bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
592bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
593bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
594bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	int i;
595bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_notify_verify_e_type (xdrs, &objp->notification_priv_type))
596bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
597bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->flags))
598bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
599bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_supl_slp_session_id_s_type (xdrs, &objp->supl_slp_session_id))
600bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
601bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_opaque (xdrs, objp->supl_hash, 8))
602bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
603bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_datacoding_scheme_e_type (xdrs, &objp->datacoding_scheme))
604bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
605bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_supl_pos_method_e_type (xdrs, &objp->pos_method))
606bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
607bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_requestor_id_s_type (xdrs, &objp->requestor_id))
608bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
609bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_supl_client_name_s_type (xdrs, &objp->client_name))
610bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
611bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_supl_qop_s_type (xdrs, &objp->supl_qop))
612bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
613bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->user_response_timer))
614bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
615bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
616bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
617bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
618bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
619bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_ext_client_address_s_type (XDR *xdrs, rpc_loc_ni_ext_client_address_s_type *objp)
620bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
621bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
622bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
623bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->ext_client_address_len))
624bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
625bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->ext_client_address.ext_client_address_val, (u_int *) &objp->ext_client_address.ext_client_address_len, RPC_LOC_NI_MAX_EXT_CLIENT_ADDRESS))
626bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
627bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
628bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
629bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
630bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
631bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_location_type_e_type (XDR *xdrs, rpc_loc_ni_location_type_e_type *objp)
632bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
633bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
634bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
635bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
636bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
637bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
638bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
639bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
640bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
641bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_deferred_location_s_type (XDR *xdrs, rpc_loc_ni_deferred_location_s_type *objp)
642bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
643bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
644bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
645bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->unused_bits))
646bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
647bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->ms_available))
648bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
649bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
650bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
651bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
652bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
653bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_codeword_string_s_type (XDR *xdrs, rpc_loc_ni_codeword_string_s_type *objp)
654bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
655bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
656bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
657bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->data_coding_scheme))
658bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
659bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->lcs_codeword_string.lcs_codeword_string_val, (u_int *) &objp->lcs_codeword_string.lcs_codeword_string_len, RPC_LOC_NI_CODEWORD_LENGTH))
660bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
661bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->string_len))
662bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
663bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
664bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
665bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
666bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
667bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_service_type_id_s_type (XDR *xdrs, rpc_loc_ni_service_type_id_s_type *objp)
668bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
669bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
670bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
671bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->lcs_service_type_id))
672bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
673bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
674bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
675bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
676bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
677bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type (XDR *xdrs, rpc_loc_ni_umts_cp_notify_verify_req_s_type *objp)
678bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
679bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
680bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
681bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_notify_verify_e_type (xdrs, &objp->notification_priv_type))
682bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
683bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->invoke_id))
684bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
685bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->flags))
686bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
687bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->notification_length))
688bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
689bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->notification_text.notification_text_val, (u_int *) &objp->notification_text.notification_text_len, RPC_LOC_NI_MAX_CLIENT_NAME_LENGTH))
690bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
691bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_datacoding_scheme_e_type (xdrs, &objp->datacoding_scheme))
692bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
693bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_ext_client_address_s_type (xdrs, &objp->ext_client_address_data))
694bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
695bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_location_type_e_type (xdrs, &objp->location_type))
696bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
697bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_deferred_location_s_type (xdrs, &objp->deferred_location))
698bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
699bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_requestor_id_s_type (xdrs, &objp->requestor_id))
700bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
701bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_codeword_string_s_type (xdrs, &objp->codeword_string))
702bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
703bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_service_type_id_s_type (xdrs, &objp->service_type_id))
704bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
705bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->user_response_timer))
706bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
707bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
708bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
709bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
710bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
711bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_event_payload_u_type (XDR *xdrs, rpc_loc_ni_event_payload_u_type *objp)
712bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
713bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
714bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
715bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_event_e_type (xdrs, &objp->disc))
716bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
717bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
718bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ:
719bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_ni_vx_notify_verify_req_s_type (xdrs, &objp->rpc_loc_ni_event_payload_u_type_u.vx_req))
720bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
721bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
722bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ:
723bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_ni_supl_notify_verify_req_s_type (xdrs, &objp->rpc_loc_ni_event_payload_u_type_u.supl_req))
724bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
725bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
726bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ:
727bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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))
728bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
729bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
730bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
731bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
732bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
733bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
734bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
735bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
736bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
737bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_event_s_type (XDR *xdrs, rpc_loc_ni_event_s_type *objp)
738bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
739bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
740bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
741bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_event_e_type (xdrs, &objp->event))
742bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
743bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_event_payload_u_type (xdrs, &objp->payload))
744bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
745bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
746bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
747bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
748bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
749bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_request_e_type (XDR *xdrs, rpc_loc_assist_data_request_e_type *objp)
750bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
751bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
752bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
753bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
754bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
755bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
756bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
757bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
758bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
759bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_time_download_source_s_type_servers_ptr (XDR *xdrs, rpc_struct_loc_time_download_source_s_type_servers_ptr *objp)
760bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
761bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
762bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
763bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_string (xdrs, objp, RPC_LOC_API_MAX_SERVER_ADDR_LENGTH))
764bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
765bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
766bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
767bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
768bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
769bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_time_download_source_s_type_servers (XDR *xdrs, rpc_struct_loc_time_download_source_s_type_servers objp)
770bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
771bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
772bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
773bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_vector (xdrs, (char *)objp, 3,
774bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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))
775bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
776bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
777bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
778bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
779bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
780bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_time_download_source_s_type (XDR *xdrs, rpc_loc_time_download_source_s_type *objp)
781bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
782bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
783bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
784bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->delay_threshold))
785bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
786bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_struct_loc_time_download_source_s_type_servers (xdrs, objp->servers))
787bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
788bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
789bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
790bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
791bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
792bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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)
793bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
794bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
795bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
796bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_string (xdrs, objp, RPC_LOC_API_MAX_SERVER_ADDR_LENGTH))
797bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
798bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
799bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
800bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
801bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
802bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (XDR *xdrs, rpc_struct_loc_predicted_orbits_data_source_s_type_servers objp)
803bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
804bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
805bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
806bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_vector (xdrs, (char *)objp, 3,
807bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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))
808bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
809bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
810bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
811bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
812bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
813bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_source_s_type (XDR *xdrs, rpc_loc_predicted_orbits_data_source_s_type *objp)
814bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
815bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
816bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
817bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->max_file_size))
818bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
819bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->max_part_size))
820bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
821bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (xdrs, objp->servers))
822bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
823bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
824bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
825bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
826bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
827bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_request_payload_u_type (XDR *xdrs, rpc_loc_assist_data_request_payload_u_type *objp)
828bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
829bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
830bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
831bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_assist_data_request_e_type (xdrs, &objp->disc))
832bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
833bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
834bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_ASSIST_DATA_TIME_REQ:
835bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_time_download_source_s_type (xdrs, &objp->rpc_loc_assist_data_request_payload_u_type_u.time_download))
836bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
837bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
838bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ:
839bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_predicted_orbits_data_source_s_type (xdrs, &objp->rpc_loc_assist_data_request_payload_u_type_u.data_download))
840bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
841bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
842bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
843bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
844bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
845bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
846bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
847bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
848bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
849bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_request_s_type (XDR *xdrs, rpc_loc_assist_data_request_s_type *objp)
850bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
851bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
852bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
853bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_assist_data_request_e_type (xdrs, &objp->event))
854bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
855bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_assist_data_request_payload_u_type (xdrs, &objp->payload))
856bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
857bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
858bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
859bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
860bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
861bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_connection_handle (XDR *xdrs, rpc_loc_server_connection_handle *objp)
862bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
863bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
864bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
865bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, objp))
866bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
867bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
868bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
869bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
870bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
871bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_protocol_e_type (XDR *xdrs, rpc_loc_server_protocol_e_type *objp)
872bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
873bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
874bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
875bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
876bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
877bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
878bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
879bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
880bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
881bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_request_e_type (XDR *xdrs, rpc_loc_server_request_e_type *objp)
882bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
883bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
884bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
885bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
886bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
887bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
888bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
889bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
890bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
891bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_open_req_s_type (XDR *xdrs, rpc_loc_server_open_req_s_type *objp)
892bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
893bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
894bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
895bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle))
896bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
897bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_protocol_e_type (xdrs, &objp->protocol))
898bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
899bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
900bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
901bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
902bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
903bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_close_req_s_type (XDR *xdrs, rpc_loc_server_close_req_s_type *objp)
904bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
905bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
906bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
907bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle))
908bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
909bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
910bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
911bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
912bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
913bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_request_u_type (XDR *xdrs, rpc_loc_server_request_u_type *objp)
914bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
915bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
916bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
917bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_request_e_type (xdrs, &objp->disc))
918bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
919bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
920bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_SERVER_REQUEST_OPEN:
921bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_open_req_s_type (xdrs, &objp->rpc_loc_server_request_u_type_u.open_req))
922bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
923bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
924bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_SERVER_REQUEST_CLOSE:
925bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_close_req_s_type (xdrs, &objp->rpc_loc_server_request_u_type_u.close_req))
926bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
927bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
928bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
929bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
930bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
931bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
932bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
933bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
934bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
935bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_request_s_type (XDR *xdrs, rpc_loc_server_request_s_type *objp)
936bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
937bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
938bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
939bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_request_e_type (xdrs, &objp->event))
940bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
941bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_request_u_type (xdrs, &objp->payload))
942bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
943bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
944bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
945bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
946bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
947bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_reserved_payload_s_type (XDR *xdrs, rpc_loc_reserved_payload_s_type *objp)
948bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
949bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
950bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
951bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->data_size))
952bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
953bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->data.data_val, (u_int *) &objp->data.data_len, ~0))
954bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
955bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
956bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
957bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
958bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
959bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_e_type (XDR *xdrs, rpc_loc_ioctl_e_type *objp)
960bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
961bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
962bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
963bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
964bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
965bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
966bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
967bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
968bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
969bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_api_version_s_type (XDR *xdrs, rpc_loc_api_version_s_type *objp)
970bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
971bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
972bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
973bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->major))
974bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
975bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->minor))
976bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
977bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
978bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
979bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
980bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
981bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_fix_recurrence_e_type (XDR *xdrs, rpc_loc_fix_recurrence_e_type *objp)
982bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
983bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
984bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
985bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
986bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
987bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
988bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
989bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
990bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
991bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_operation_mode_e_type (XDR *xdrs, rpc_loc_operation_mode_e_type *objp)
992bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
993bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
994bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
995bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
996bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
997bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
998bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
999bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1000bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1001bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_notify_e_type (XDR *xdrs, rpc_loc_notify_e_type *objp)
1002bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1003bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1004bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1005bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
1006bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1007bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1008bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1009bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1010bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1011bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_fix_criteria_s_type (XDR *xdrs, rpc_loc_fix_criteria_s_type *objp)
1012bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1013bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1014bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1015bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->valid_mask))
1016bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1017bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_fix_recurrence_e_type (xdrs, &objp->recurrence_type))
1018bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1019bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_operation_mode_e_type (xdrs, &objp->preferred_operation_mode))
1020bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1021bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->preferred_accuracy))
1022bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1023bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->preferred_response_time))
1024bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1025bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_boolean (xdrs, &objp->intermediate_pos_report_enabled))
1026bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1027bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_notify_e_type (xdrs, &objp->notify_type))
1028bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1029bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->min_interval))
1030bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1031bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_float (xdrs, &objp->min_distance))
1032bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1033bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->min_dist_sample_interval))
1034bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1035bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1036bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1037bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1038bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1039bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ni_user_resp_e_type (XDR *xdrs, rpc_loc_ni_user_resp_e_type *objp)
1040bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1041bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1042bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1043bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
1044bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1045bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1046bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1047bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1048bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1049bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_user_verify_s_type (XDR *xdrs, rpc_loc_user_verify_s_type *objp)
1050bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1051bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1052bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1053bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_user_resp_e_type (xdrs, &objp->user_resp))
1054bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1055bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ni_event_s_type (xdrs, &objp->ni_event_pass_back))
1056bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1057bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1058bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1059bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1060bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1061bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_format_e_type (XDR *xdrs, rpc_loc_predicted_orbits_data_format_e_type *objp)
1062bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1063bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1064bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1065bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
1066bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1067bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1068bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1069bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1070bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1071bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_s_type (XDR *xdrs, rpc_loc_predicted_orbits_data_s_type *objp)
1072bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1073bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1074bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1075bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_predicted_orbits_data_format_e_type (xdrs, &objp->format_type))
1076bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1077bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->total_size))
1078bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1079bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint8 (xdrs, &objp->total_parts))
1080bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1081bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint8 (xdrs, &objp->part))
1082bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1083bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->part_len))
1084bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1085bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_bytes (xdrs, (char **)&objp->data_ptr.data_ptr_val, (u_int *) &objp->data_ptr.data_ptr_len, ~0))
1086bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1087bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1088bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1089bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1090bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1091bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_data_validity_report_s_type (XDR *xdrs, rpc_loc_predicted_orbits_data_validity_report_s_type *objp)
1092bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1093bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1094bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1095bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint64 (xdrs, &objp->start_time_utc))
1096bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1097bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint16 (xdrs, &objp->valid_duration_hrs))
1098bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1099bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1100bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1101bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1102bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1103bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_predicted_orbits_auto_download_config_s_type (XDR *xdrs, rpc_loc_predicted_orbits_auto_download_config_s_type *objp)
1104bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1105bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1106bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1107bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_boolean (xdrs, &objp->enable))
1108bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1109bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->auto_check_every_hrs))
1110bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1111bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1112bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1113bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1114bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1115bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_time_s_type (XDR *xdrs, rpc_loc_assist_data_time_s_type *objp)
1116bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1117bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1118bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1119bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint64 (xdrs, &objp->time_utc))
1120bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1121bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, &objp->uncertainty))
1122bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1123bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1124bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1125bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1126bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1127bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_pos_valid_mask_type (XDR *xdrs, rpc_loc_assist_pos_valid_mask_type *objp)
1128bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1129bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1130bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1131bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint64 (xdrs, objp))
1132bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1133bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1134bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1135bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1136bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1137bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_pos_s_type (XDR *xdrs, rpc_loc_assist_data_pos_s_type *objp)
1138bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1139bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1140bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1141bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_assist_pos_valid_mask_type (xdrs, &objp->valid_mask))
1142bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1143bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint64 (xdrs, &objp->timestamp_utc))
1144bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1145bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_double (xdrs, &objp->latitude))
1146bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1147bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_double (xdrs, &objp->longitude))
1148bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1149bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_float (xdrs, &objp->altitude_wrt_ellipsoid))
1150bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1151bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_float (xdrs, &objp->altitude_wrt_mean_sea_level))
1152bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1153bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_float (xdrs, &objp->hor_unc_circular))
1154bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1155bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_float (xdrs, &objp->vert_unc))
1156bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1157bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->confidence_horizontal))
1158bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1159bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_char (xdrs, &objp->confidence_vertical))
1160bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1161bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1162bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1163bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1164bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1165bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_open_status_e_type (XDR *xdrs, rpc_loc_server_open_status_e_type *objp)
1166bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1167bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1168bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1169bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
1170bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1171bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1172bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1173bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1174bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1175bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_open_status_s_type (XDR *xdrs, rpc_loc_server_open_status_s_type *objp)
1176bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1177bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1178bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1179bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle))
1180bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1181bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_open_status_e_type (xdrs, &objp->open_status))
1182bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1183bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_string (xdrs, &objp->apn_name, ~0))
1184bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1185bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1186bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1187bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1188bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1189bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_close_status_e_type (XDR *xdrs, rpc_loc_server_close_status_e_type *objp)
1190bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1191bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1192bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1193bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
1194bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1195bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1196bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1197bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1198bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1199bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_server_close_status_s_type (XDR *xdrs, rpc_loc_server_close_status_s_type *objp)
1200bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1201bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1202bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1203bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_connection_handle (xdrs, &objp->conn_handle))
1204bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1205bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_server_close_status_e_type (xdrs, &objp->close_status))
1206bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1207bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1208bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1209bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1210bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1211bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_lock_e_type (XDR *xdrs, rpc_loc_lock_e_type *objp)
1212bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1213bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1214bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1215bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_enum (xdrs, (enum_t *) objp))
1216bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1217bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1218bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1219bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1220bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1221bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_nmea_sentence_type (XDR *xdrs, rpc_loc_nmea_sentence_type *objp)
1222bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1223bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1224bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1225bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, objp))
1226bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1227bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1228bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1229bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1230bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1231bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_type (XDR *xdrs, rpc_loc_assist_data_type *objp)
1232bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1233bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1234bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1235bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_uint32 (xdrs, objp))
1236bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1237bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1238bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1239bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1240bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1241bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_assist_data_delete_s_type (XDR *xdrs, rpc_loc_assist_data_delete_s_type *objp)
1242bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1243bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1244bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1245bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	int i;
1246bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_assist_data_type (xdrs, &objp->type))
1247bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1248bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_vector (xdrs, (char *)objp->reserved, 8,
1249bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		sizeof (rpc_uint32), (xdrproc_t) xdr_rpc_uint32))
1250bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1251bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1252bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1253bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1254bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1255bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_data_u_type (XDR *xdrs, rpc_loc_ioctl_data_u_type *objp)
1256bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1257bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1258bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1259bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->disc))
1260bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1261bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
1262bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_FIX_CRITERIA:
1263bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_fix_criteria_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.fix_criteria))
1264bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1265bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1266bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE:
1267bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_user_verify_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.user_verify_resp))
1268bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1269bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1270bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA:
1271bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_predicted_orbits_data_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.predicted_orbits_data))
1272bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1273bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1274bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD:
1275bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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))
1276bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1277bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1278bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_INJECT_UTC_TIME:
1279bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_assist_data_time_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.assistance_data_time))
1280bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1281bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1282bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_INJECT_POSITION:
1283bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_assist_data_pos_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.assistance_data_position))
1284bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1285bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1286bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS:
1287bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_open_status_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.conn_open_status))
1288bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1289bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1290bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS:
1291bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_close_status_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.conn_close_status))
1292bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1293bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1294bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_ENGINE_LOCK:
1295bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_lock_e_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.engine_lock))
1296bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1297bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1298bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_SBAS_CONFIG:
1299bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.sbas_mode))
1300bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1301bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1302bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_NMEA_TYPES:
1303bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_nmea_sentence_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.nmea_types))
1304bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1305bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1306bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_ON_DEMAND_LPM:
1307bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.on_demand_lpm))
1308bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1309bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1310bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR:
1311bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR:
1312bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR:
1313bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR:
1314bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_info_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.server_addr))
1315bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1316bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1317bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_DELETE_ASSIST_DATA:
1318bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_assist_data_delete_s_type (xdrs, &objp->rpc_loc_ioctl_data_u_type_u.assist_data_delete))
1319bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1320bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1321bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
1322bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1323bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
1324bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1325bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1326bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1327bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1328bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_callback_data_u_type (XDR *xdrs, rpc_loc_ioctl_callback_data_u_type *objp)
1329bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1330bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1331bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1332bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->disc))
1333bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1334bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
1335bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_API_VERSION:
1336bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_api_version_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.api_version))
1337bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1338bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1339bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_FIX_CRITERIA:
1340bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_fix_criteria_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.fix_criteria))
1341bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1342bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1343bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_ENGINE_LOCK:
1344bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_lock_e_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.engine_lock))
1345bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1346bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1347bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_SBAS_CONFIG:
1348bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.sbas_mode))
1349bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1350bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1351bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_NMEA_TYPES:
1352bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_nmea_sentence_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.nmea_types))
1353bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1354bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1355bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_ON_DEMAND_LPM:
1356bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_boolean (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.on_demand_lpm))
1357bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1358bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1359bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR:
1360bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR:
1361bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR:
1362bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_info_s_type (xdrs, &objp->rpc_loc_ioctl_callback_data_u_type_u.server_addr))
1363bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1364bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1365bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE:
1366bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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))
1367bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1368bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1369bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY:
1370bfff6343845ad9ff062c5fd97bb3b9be1053340eDante 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))
1371bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1372bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1373bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
1374bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1375bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
1376bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1377bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1378bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1379bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1380bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_ioctl_callback_s_type (XDR *xdrs, rpc_loc_ioctl_callback_s_type *objp)
1381bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1382bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1383bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1384bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ioctl_e_type (xdrs, &objp->type))
1385bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1386bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_int32 (xdrs, &objp->status))
1387bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1388bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_rpc_loc_ioctl_callback_data_u_type (xdrs, &objp->data))
1389bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1390bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1391bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1392bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1393bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russobool_t
1394bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoxdr_rpc_loc_event_payload_u_type (XDR *xdrs, rpc_loc_event_payload_u_type *objp)
1395bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo{
1396bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	register int32_t *buf;
1397bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1398bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	 if (!xdr_u_quad_t (xdrs, &objp->disc))
1399bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 return FALSE;
1400bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	switch (objp->disc) {
1401bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_PARSED_POSITION_REPORT:
1402bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_parsed_position_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.parsed_location_report))
1403bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1404bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1405bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_SATELLITE_REPORT:
1406bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_gnss_info_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.gnss_report))
1407bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1408bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1409bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_NMEA_POSITION_REPORT:
1410bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_nmea_report_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.nmea_report))
1411bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1412bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1413bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST:
1414bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_ni_event_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.ni_request))
1415bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1416bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1417bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST:
1418bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_assist_data_request_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.assist_data_request))
1419bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1420bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1421bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_LOCATION_SERVER_REQUEST:
1422bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_server_request_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.loc_server_request))
1423bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1424bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1425bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_IOCTL_REPORT:
1426bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_ioctl_callback_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.ioctl_report))
1427bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1428bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1429bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_STATUS_REPORT:
1430bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_status_event_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.status_report))
1431bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1432bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1433bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	case RPC_LOC_EVENT_RESERVED:
1434bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		 if (!xdr_rpc_loc_reserved_payload_s_type (xdrs, &objp->rpc_loc_event_payload_u_type_u.reserved))
1435bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo			 return FALSE;
1436bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1437bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	default:
1438bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		break;
1439bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	}
1440bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	return TRUE;
1441bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1442