1bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/*
2bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * Please do not edit this file.
3bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo * It was generated using rpcgen.
4bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo */
5bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
6bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#ifndef _LOC_API_COMMON_H_RPCGEN
7bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define _LOC_API_COMMON_H_RPCGEN
8bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
9bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#include <rpc/rpc.h>
10bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#include "loc_api_fixup.h"
11bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
12bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#include <pthread.h>
13bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
14bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#ifdef __cplusplus
15bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern "C" {
16bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#endif
17bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
18bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST 0x00000010
19bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_IOCTL_REPORT 0x00000080
20bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_LOCATION_SERVER_REQUEST 0x00000040
21bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_RESERVED 0x8000000000000000
22bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_PARSED_POSITION_REPORT 0x00000001
23bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST 0x00000020
24bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_NMEA_POSITION_REPORT 0x00000008
25bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_SATELLITE_REPORT 0x00000002
26bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_STATUS_REPORT 0x00000100
27bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_OPEN_VERSION 0x00010001
28bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_CLOSE_VERSION 0x00010001
29bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_START_FIX_VERSION 0x00010001
30bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_STOP_FIX_VERSION 0x00010001
31bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_IOCTL_VERSION 0x00010001
32bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_EVENT_CB_F_TYPE_VERSION 0x00010001
33bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_APIAPI_VERSION_IS_HASHKEY 0
34bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_API_API_MAJOR_NUM 0x0001
35bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
36bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef bool_t rpc_boolean;
37bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
38bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef u_long rpc_uint32;
39bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
40bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef u_short rpc_uint16;
41bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
42bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef u_char rpc_uint8;
43bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
44bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef long rpc_int32;
45bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
46bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef u_char rpc_byte;
47bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
48bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef u_quad_t rpc_uint64;
49bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
50bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_int32 rpc_loc_client_handle_type;
51bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
52bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint64 rpc_loc_event_mask_type;
53bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
54bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint64 rpc_loc_position_valid_mask_type;
55bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
56bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_pos_technology_mask_type;
57bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
58bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_session_status_e_type {
59bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_SUCCESS = 0,
60bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_IN_PROGESS = 1,
61bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_GENERAL_FAILURE = 2,
62bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_TIMEOUT = 3,
63bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_USER_END = 4,
64bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_BAD_PARAMETER = 5,
65bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_PHONE_OFFLINE = 6,
66bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_ENGINE_LOCKED = 7,
67bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SESS_STATUS_MAX = 268435456,
68bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
69bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_session_status_e_type rpc_loc_session_status_e_type;
70bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
71bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_calendar_time_s_type {
72bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 year;
73bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char month;
74bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char day_of_week;
75bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char day;
76bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char hour;
77bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char minute;
78bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char second;
79bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 millisecond;
80bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
81bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_calendar_time_s_type rpc_loc_calendar_time_s_type;
82bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
83bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_parsed_position_s_type {
84bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_position_valid_mask_type valid_mask;
85bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_session_status_e_type session_status;
86bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_calendar_time_s_type timestamp_calendar;
87bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint64 timestamp_utc;
88bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint8 leap_seconds;
89bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float time_unc;
90bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	double latitude;
91bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	double longitude;
92bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float altitude_wrt_ellipsoid;
93bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float altitude_wrt_mean_sea_level;
94bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float speed_horizontal;
95bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float speed_vertical;
96bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float heading;
97bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float hor_unc_circular;
98bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float hor_unc_ellipse_semi_major;
99bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float hor_unc_ellipse_semi_minor;
100bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float hor_unc_ellipse_orient_azimuth;
101bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float vert_unc;
102bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float speed_unc;
103bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float heading_unc;
104bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char confidence_horizontal;
105bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char confidence_vertical;
106bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float magnetic_deviation;
107bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_pos_technology_mask_type technology_mask;
108bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
109bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_parsed_position_s_type rpc_loc_parsed_position_s_type;
110bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
111bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_sv_system_e_type {
112bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_SYSTEM_GPS = 1,
113bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_SYSTEM_GALILEO = 2,
114bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_SYSTEM_SBAS = 3,
115bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_SYSTEM_COMPASS = 4,
116bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_SYSTEM_GLONASS = 5,
117bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_SYSTEM_MAX = 268435456,
118bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
119bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_sv_system_e_type rpc_loc_sv_system_e_type;
120bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
121bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_sv_status_e_type {
122bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_STATUS_IDLE = 1,
123bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_STATUS_SEARCH = 2,
124bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_STATUS_TRACK = 3,
125bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SV_STATUS_MAX = 268435456,
126bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
127bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_sv_status_e_type rpc_loc_sv_status_e_type;
128bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
129bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_sv_info_valid_mask_type;
130bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
131bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_sv_info_s_type {
132bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_sv_info_valid_mask_type valid_mask;
133bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_sv_system_e_type system;
134bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint8 prn;
135bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint8 health_status;
136bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_sv_status_e_type process_status;
137bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_boolean has_eph;
138bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_boolean has_alm;
139bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float elevation;
140bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float azimuth;
141bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float snr;
142bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
143bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_sv_info_s_type rpc_loc_sv_info_s_type;
144bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
145bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_gnss_info_valid_mask_type;
146bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
147bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_gnss_info_s_type {
148bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_gnss_info_valid_mask_type valid_mask;
149bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float position_dop;
150bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float horizontal_dop;
151bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float vertical_dop;
152bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_boolean altitude_assumed;
153bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 sv_count;
154bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
155bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int sv_list_len;
156bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_sv_info_s_type *sv_list_val;
157bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} sv_list;
158bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
159bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_gnss_info_s_type rpc_loc_gnss_info_s_type;
160bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
161bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_nmea_report_s_type {
162bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 length;
163bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
164bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int nmea_sentences_len;
165bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *nmea_sentences_val;
166bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} nmea_sentences;
167bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
168bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_nmea_report_s_type rpc_loc_nmea_report_s_type;
169bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
170bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_status_event_e_type {
171bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_STATUS_EVENT_ENGINE_STATE = 1,
172bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_STATUS_EVENT_MAX = 268435456,
173bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
174bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_status_event_e_type rpc_loc_status_event_e_type;
175bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
176bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_engine_state_e_type {
177bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_ENGINE_STATE_ON = 1,
178bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_ENGINE_STATE_OFF = 2,
179bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_ENGINE_STATE_MAX = 268435456,
180bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
181bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_engine_state_e_type rpc_loc_engine_state_e_type;
182bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
183bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_status_event_payload_u_type {
184bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_status_event_e_type disc;
185bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
186bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_engine_state_e_type engine_state;
187bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_status_event_payload_u_type_u;
188bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
189bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_status_event_payload_u_type rpc_loc_status_event_payload_u_type;
190bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
191bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_status_event_s_type {
192bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_status_event_e_type event;
193bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_status_event_payload_u_type payload;
194bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
195bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_status_event_s_type rpc_loc_status_event_s_type;
196bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
197bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_addr_e_type {
198bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_ADDR_IPV4 = 1,
199bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_ADDR_URL = 2,
200bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_ADDR_MAX = 268435456,
201bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
202bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_server_addr_e_type rpc_loc_server_addr_e_type;
203bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
204bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_addr_ipv4_type {
205bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 addr;
206bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 port;
207bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
208bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_addr_ipv4_type rpc_loc_server_addr_ipv4_type;
209bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
210bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_addr_url_type {
211bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 length;
212bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
213bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int addr_len;
214bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *addr_val;
215bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} addr;
216bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
217bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_addr_url_type rpc_loc_server_addr_url_type;
218bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
219bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_addr_u_type {
220bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_addr_e_type disc;
221bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
222bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_addr_ipv4_type ipv4;
223bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_addr_url_type url;
224bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_server_addr_u_type_u;
225bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
226bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_addr_u_type rpc_loc_server_addr_u_type;
227bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
228bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_info_s_type {
229bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_addr_e_type addr_type;
230bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_addr_u_type addr_info;
231bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
232bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_info_s_type rpc_loc_server_info_s_type;
233bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
234bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_notify_verify_e_type {
235bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_USER_NO_NOTIFY_NO_VERIFY = 1,
236bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_USER_NOTIFY_ONLY = 2,
237bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_USER_NOTIFY_VERIFY_ALLOW_NO_RESP = 3,
238bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP = 4,
239bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_USER_PRIVACY_OVERRIDE = 5,
240bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_USER_NOTIFY_VERITY_TYPE_MAX = 268435456,
241bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
242bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_notify_verify_e_type rpc_loc_ni_notify_verify_e_type;
243bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
244bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_event_e_type {
245bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ = 1,
246bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ = 2,
247bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ = 3,
248bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_EVENT_MAX = 268435456,
249bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
250bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_event_e_type rpc_loc_ni_event_e_type;
251bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
252bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_datacoding_scheme_e_type {
253bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_ISO646IRV = 0,
254bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_ISO8859 = 1,
255bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_UTF8 = 2,
256bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_UTF16 = 3,
257bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_UCS2 = 4,
258bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_GSM_DEFAULT = 5,
259bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_SHIFT_JIS = 6,
260bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_JIS = 7,
261bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_EUC = 8,
262bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_GB2312 = 9,
263bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_CNS11643 = 10,
264bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_KSC1001 = 11,
265bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_PRESUPL_ENCODING_UNKNOWN = 2147483647,
266bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_GERMAN = 12,
267bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_ENGLISH = 13,
268bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_ITALIAN = 14,
269bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_FRENCH = 15,
270bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_SPANISH = 16,
271bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_DUTCH = 17,
272bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_SWEDISH = 18,
273bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_DANISH = 19,
274bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_PORTUGUESE = 20,
275bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_FINNISH = 21,
276bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_NORWEGIAN = 22,
277bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_GREEK = 23,
278bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_TURKISH = 24,
279bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_HUNGARIAN = 25,
280bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_POLISH = 26,
281bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SS_LANGUAGE_UNSPEC = 27,
282bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SUPL_UTF8 = 28,
283bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SUPL_UCS2 = 29,
284bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SUPL_GSM_DEFAULT = 30,
285bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_SUPL_ENCODING_UNKNOWN = 2147483647,
286bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
287bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_datacoding_scheme_e_type rpc_loc_ni_datacoding_scheme_e_type;
288bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
289bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type {
290bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_OCTET = 0,
291bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_EXN_PROTOCOL_MSG = 1,
292bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_ASCII = 2,
293bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_IA5 = 3,
294bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_UNICODE = 4,
295bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_SHIFT_JIS = 5,
296bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_KOREAN = 6,
297bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_LATIN_HEBREW = 7,
298bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_LATIN = 8,
299bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_GSM = 9,
300bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_VX_ENCODING_TYPE_MAX = 268435456,
301bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
302bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type rpc_loc_ni_vx_requester_id_encoding_scheme_e_type;
303bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
304bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_vx_pos_mode_e_type {
305bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_VX_MS_ASSISTED_ONLY = 1,
306bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_VX_MS_BASED_ONLY = 2,
307bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_VX_MS_ASSISTED_PREF_MSBASED_ALLWD = 3,
308bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_VX_MS_BASED_PREF_ASSISTED_ALLWD = 4,
309bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_VX_POS_MODE_MAX = 268435456,
310bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
311bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_vx_pos_mode_e_type rpc_loc_ni_vx_pos_mode_e_type;
312bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
313bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_vx_requester_id_s_type {
314bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char requester_id_length;
315bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	char requester_id[200];
316bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
317bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_vx_requester_id_s_type rpc_loc_ni_vx_requester_id_s_type;
318bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
319bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_vx_notify_verify_req_s_type {
320bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_notify_verify_e_type notification_priv_type;
321bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char pos_qos_incl;
322bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char pos_qos;
323bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 num_fixes;
324bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 tbf;
325bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_vx_pos_mode_e_type pos_mode;
326bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_vx_requester_id_encoding_scheme_e_type encoding_scheme;
327bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_vx_requester_id_s_type requester_id;
328bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 user_resp_timer_val;
329bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
330bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_vx_notify_verify_req_s_type rpc_loc_ni_vx_notify_verify_req_s_type;
331bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
332bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_supl_pos_method_e_type {
333bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED = 1,
334bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_AGPS_SETBASED = 2,
335bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED_PREF = 3,
336bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_AGPS_SETBASED_PREF = 4,
337bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_AUTONOMOUS_GPS = 5,
338bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_AFLT = 6,
339bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_ECID = 7,
340bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_EOTD = 8,
341bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_OTDOA = 9,
342bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_NO_POSITION = 10,
343bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_POSMETHOD_MAX = 268435456,
344bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
345bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_supl_pos_method_e_type rpc_loc_ni_supl_pos_method_e_type;
346bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
347bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_slp_session_id_s_type {
348bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char presence;
349bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	char session_id[4];
350bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_info_s_type slp_address;
351bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
352bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_supl_slp_session_id_s_type rpc_loc_ni_supl_slp_session_id_s_type;
353bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
354bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_requestor_id_s_type {
355bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char data_coding_scheme;
356bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
357bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int requestor_id_string_len;
358bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *requestor_id_string_val;
359bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} requestor_id_string;
360bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char string_len;
361bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
362bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_requestor_id_s_type rpc_loc_ni_requestor_id_s_type;
363bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
364bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_client_name_s_type {
365bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char data_coding_scheme;
366bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
367bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int client_name_string_len;
368bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *client_name_string_val;
369bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} client_name_string;
370bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char string_len;
371bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
372bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_supl_client_name_s_type rpc_loc_ni_supl_client_name_s_type;
373bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
374bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_qop_s_type {
375bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char bit_mask;
376bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char horacc;
377bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char veracc;
378bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char maxLocAge;
379bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char delay;
380bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
381bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_supl_qop_s_type rpc_loc_ni_supl_qop_s_type;
382bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
383bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_supl_notify_verify_req_s_type {
384bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_notify_verify_e_type notification_priv_type;
385bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 flags;
386bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_supl_slp_session_id_s_type supl_slp_session_id;
387bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	char supl_hash[8];
388bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
389bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_supl_pos_method_e_type pos_method;
390bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_requestor_id_s_type requestor_id;
391bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_supl_client_name_s_type client_name;
392bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_supl_qop_s_type supl_qop;
393bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 user_response_timer;
394bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
395bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_supl_notify_verify_req_s_type rpc_loc_ni_supl_notify_verify_req_s_type;
396bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
397bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_ext_client_address_s_type {
398bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char ext_client_address_len;
399bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
400bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int ext_client_address_len;
401bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *ext_client_address_val;
402bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} ext_client_address;
403bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
404bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_ext_client_address_s_type rpc_loc_ni_ext_client_address_s_type;
405bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
406bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_location_type_e_type {
407bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LOCATIONTYPE_CURRENT_LOCATION = 1,
408bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION = 2,
409bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION = 3,
410bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LOCATIONTYPE_MAX = 268435456,
411bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
412bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_location_type_e_type rpc_loc_ni_location_type_e_type;
413bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
414bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_deferred_location_s_type {
415bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char unused_bits;
416bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char ms_available;
417bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
418bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_deferred_location_s_type rpc_loc_ni_deferred_location_s_type;
419bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
420bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_codeword_string_s_type {
421bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char data_coding_scheme;
422bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
423bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int lcs_codeword_string_len;
424bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *lcs_codeword_string_val;
425bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} lcs_codeword_string;
426bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char string_len;
427bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
428bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_codeword_string_s_type rpc_loc_ni_codeword_string_s_type;
429bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
430bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_service_type_id_s_type {
431bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char lcs_service_type_id;
432bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
433bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_service_type_id_s_type rpc_loc_ni_service_type_id_s_type;
434bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
435bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_umts_cp_notify_verify_req_s_type {
436bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_notify_verify_e_type notification_priv_type;
437bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char invoke_id;
438bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 flags;
439bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char notification_length;
440bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
441bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int notification_text_len;
442bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *notification_text_val;
443bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} notification_text;
444bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
445bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_ext_client_address_s_type ext_client_address_data;
446bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_location_type_e_type location_type;
447bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_deferred_location_s_type deferred_location;
448bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_requestor_id_s_type requestor_id;
449bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_codeword_string_s_type codeword_string;
450bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_service_type_id_s_type service_type_id;
451bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 user_response_timer;
452bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
453bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_umts_cp_notify_verify_req_s_type rpc_loc_ni_umts_cp_notify_verify_req_s_type;
454bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
455bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_event_payload_u_type {
456bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_event_e_type disc;
457bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
458bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_ni_vx_notify_verify_req_s_type vx_req;
459bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_ni_supl_notify_verify_req_s_type supl_req;
460bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_ni_umts_cp_notify_verify_req_s_type umts_cp_req;
461bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_ni_event_payload_u_type_u;
462bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
463bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_event_payload_u_type rpc_loc_ni_event_payload_u_type;
464bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
465bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ni_event_s_type {
466bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_event_e_type event;
467bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_event_payload_u_type payload;
468bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
469bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ni_event_s_type rpc_loc_ni_event_s_type;
470bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
471bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_assist_data_request_e_type {
472bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_ASSIST_DATA_TIME_REQ = 1,
473bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ = 2,
474bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_ASSIST_DATA_MAX = 268435456,
475bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
476bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_assist_data_request_e_type rpc_loc_assist_data_request_e_type;
477bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
478bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef char *rpc_struct_loc_time_download_source_s_type_servers_ptr;
479bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
480bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_struct_loc_time_download_source_s_type_servers_ptr rpc_struct_loc_time_download_source_s_type_servers[3];
481bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
482bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_time_download_source_s_type {
483bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 delay_threshold;
484bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_struct_loc_time_download_source_s_type_servers servers;
485bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
486bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_time_download_source_s_type rpc_loc_time_download_source_s_type;
487bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
488bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef char *rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr;
489bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
490bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr rpc_struct_loc_predicted_orbits_data_source_s_type_servers[3];
491bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
492bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_data_source_s_type {
493bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 max_file_size;
494bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 max_part_size;
495bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_struct_loc_predicted_orbits_data_source_s_type_servers servers;
496bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
497bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_predicted_orbits_data_source_s_type rpc_loc_predicted_orbits_data_source_s_type;
498bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
499bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_request_payload_u_type {
500bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_assist_data_request_e_type disc;
501bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
502bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_time_download_source_s_type time_download;
503bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_predicted_orbits_data_source_s_type data_download;
504bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_assist_data_request_payload_u_type_u;
505bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
506bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_assist_data_request_payload_u_type rpc_loc_assist_data_request_payload_u_type;
507bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
508bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_request_s_type {
509bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_assist_data_request_e_type event;
510bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_assist_data_request_payload_u_type payload;
511bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
512bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_assist_data_request_s_type rpc_loc_assist_data_request_s_type;
513bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
514bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_server_connection_handle;
515bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
516bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_protocol_e_type {
517bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_PROTOCOL_DEFAULT = 0,
518bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_PROTOCOL_SUPL = 1,
519bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_PROTOCOL_VX_MPC = 2,
520bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_PROTOCOL_VX_PDE = 3,
521bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_PROTOCOL_MAX = 16777216,
522bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
523bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_server_protocol_e_type rpc_loc_server_protocol_e_type;
524bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
525bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_request_e_type {
526bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_REQUEST_OPEN = 1,
527bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_REQUEST_CLOSE = 2,
528bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_REQUEST_MAX = 268435456,
529bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
530bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_server_request_e_type rpc_loc_server_request_e_type;
531bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
532bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_open_req_s_type {
533bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_connection_handle conn_handle;
534bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_protocol_e_type protocol;
535bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
536bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_open_req_s_type rpc_loc_server_open_req_s_type;
537bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
538bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_close_req_s_type {
539bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_connection_handle conn_handle;
540bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
541bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_close_req_s_type rpc_loc_server_close_req_s_type;
542bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
543bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_request_u_type {
544bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_request_e_type disc;
545bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
546bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_open_req_s_type open_req;
547bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_close_req_s_type close_req;
548bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_server_request_u_type_u;
549bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
550bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_request_u_type rpc_loc_server_request_u_type;
551bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
552bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_request_s_type {
553bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_request_e_type event;
554bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_request_u_type payload;
555bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
556bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_request_s_type rpc_loc_server_request_s_type;
557bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
558bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_reserved_payload_s_type {
559bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 data_size;
560bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
561bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int data_len;
562bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *data_val;
563bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} data;
564bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
565bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_reserved_payload_s_type rpc_loc_reserved_payload_s_type;
566bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
567bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ioctl_e_type {
568bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_API_VERSION = 1,
569bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_FIX_CRITERIA = 2,
570bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_FIX_CRITERIA = 3,
571bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SERVICE_START_INDEX = 400,
572bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE = 400,
573bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA = 401,
574bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY = 402,
575bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE = 403,
576bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD = 404,
577bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INJECT_UTC_TIME = 405,
578bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INJECT_RTC_VALUE = 406,
579bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INJECT_POSITION = 407,
580bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_QUERY_ENGINE_STATE = 408,
581bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS = 409,
582bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS = 410,
583bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_NV_SETTINGS_START_INDEX = 800,
584bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_ENGINE_LOCK = 800,
585bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_ENGINE_LOCK = 801,
586bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_SBAS_CONFIG = 802,
587bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_SBAS_CONFIG = 803,
588bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_NMEA_TYPES = 804,
589bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_NMEA_TYPES = 805,
590bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR = 806,
591bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR = 807,
592bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR = 808,
593bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR = 809,
594bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR = 810,
595bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR = 811,
596bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_ON_DEMAND_LPM = 812,
597bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_ON_DEMAND_LPM = 813,
598bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_PROPRIETARY_START_INDEX = 1000,
599bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_DELETE_ASSIST_DATA = 1000,
600bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR = 1001,
601bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR = 1002,
602bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_IOCTL_THIRD_PARTY_START_INDEX = 1073741824,
603bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
604bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ioctl_e_type rpc_loc_ioctl_e_type;
605bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
606bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_api_version_s_type {
607bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char major;
608bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char minor;
609bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
610bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_api_version_s_type rpc_loc_api_version_s_type;
611bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
612bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_fix_recurrence_e_type {
613bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_PERIODIC_FIX = 1,
614bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SINGLE_FIX = 2,
615bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_FIX_SESSION_TYPE_MAX = 268435456,
616bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
617bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_fix_recurrence_e_type rpc_loc_fix_recurrence_e_type;
618bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
619bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_operation_mode_e_type {
620bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_DEFAULT = 1,
621bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_MSB = 2,
622bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_MSA = 3,
623bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_STANDALONE = 4,
624bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_SPEED_OPTIMAL = 5,
625bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_ACCURACY_OPTIMAL = 6,
626bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_DATA_OPTIMAL = 7,
627bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_OPER_MODE_MAX = 268435456,
628bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
629bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_operation_mode_e_type rpc_loc_operation_mode_e_type;
630bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
631bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_notify_e_type {
632bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NOTIFY_ON_INTERVAL = 1,
633bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NOTIFY_ON_DISTANCE = 2,
634bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NOTIFY_ON_ANY = 3,
635bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NOTIFY_ON_ALL = 4,
636bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NOTIFY_TYPE_MAX = 268435456,
637bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
638bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_notify_e_type rpc_loc_notify_e_type;
639bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
640bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_fix_criteria_s_type {
641bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 valid_mask;
642bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_fix_recurrence_e_type recurrence_type;
643bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_operation_mode_e_type preferred_operation_mode;
644bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 preferred_accuracy;
645bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 preferred_response_time;
646bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_boolean intermediate_pos_report_enabled;
647bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_notify_e_type notify_type;
648bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 min_interval;
649bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float min_distance;
650bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 min_dist_sample_interval;
651bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
652bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_fix_criteria_s_type rpc_loc_fix_criteria_s_type;
653bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
654bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_ni_user_resp_e_type {
655bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT = 1,
656bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LCS_NOTIFY_VERIFY_DENY = 2,
657bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LCS_NOTIFY_VERIFY_NORESP = 3,
658bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_NI_LCS_NOTIFY_VERIFY_MAX = 268435456,
659bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
660bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_ni_user_resp_e_type rpc_loc_ni_user_resp_e_type;
661bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
662bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_user_verify_s_type {
663bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_user_resp_e_type user_resp;
664bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ni_event_s_type ni_event_pass_back;
665bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
666bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_user_verify_s_type rpc_loc_user_verify_s_type;
667bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
668bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_predicted_orbits_data_format_e_type {
669bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_PREDICTED_ORBITS_XTRA = 0,
670bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_PREDICTED_ORBITS_FORMAT_MAX = 268435456,
671bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
672bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_predicted_orbits_data_format_e_type rpc_loc_predicted_orbits_data_format_e_type;
673bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
674bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_data_s_type {
675bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_predicted_orbits_data_format_e_type format_type;
676bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 total_size;
677bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint8 total_parts;
678bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint8 part;
679bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 part_len;
680bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	struct {
681bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		u_int data_ptr_len;
682bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		char *data_ptr_val;
683bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} data_ptr;
684bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
685bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_predicted_orbits_data_s_type rpc_loc_predicted_orbits_data_s_type;
686bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
687bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_data_validity_report_s_type {
688bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint64 start_time_utc;
689bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint16 valid_duration_hrs;
690bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
691bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_predicted_orbits_data_validity_report_s_type rpc_loc_predicted_orbits_data_validity_report_s_type;
692bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
693bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_predicted_orbits_auto_download_config_s_type {
694bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_boolean enable;
695bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char auto_check_every_hrs;
696bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
697bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_predicted_orbits_auto_download_config_s_type rpc_loc_predicted_orbits_auto_download_config_s_type;
698bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
699bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_time_s_type {
700bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint64 time_utc;
701bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 uncertainty;
702bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
703bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_assist_data_time_s_type rpc_loc_assist_data_time_s_type;
704bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
705bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint64 rpc_loc_assist_pos_valid_mask_type;
706bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
707bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_pos_s_type {
708bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_assist_pos_valid_mask_type valid_mask;
709bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint64 timestamp_utc;
710bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	double latitude;
711bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	double longitude;
712bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float altitude_wrt_ellipsoid;
713bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float altitude_wrt_mean_sea_level;
714bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float hor_unc_circular;
715bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	float vert_unc;
716bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char confidence_horizontal;
717bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_char confidence_vertical;
718bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
719bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_assist_data_pos_s_type rpc_loc_assist_data_pos_s_type;
720bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
721bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_open_status_e_type {
722bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_OPEN_SUCCESS = 1,
723bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_OPEN_FAIL = 2,
724bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_OPEN_STATUS_MAX = 268435456,
725bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
726bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_server_open_status_e_type rpc_loc_server_open_status_e_type;
727bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
728bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_open_status_s_type {
729bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_connection_handle conn_handle;
730bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_open_status_e_type open_status;
731bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	char *apn_name;
732bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
733bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_open_status_s_type rpc_loc_server_open_status_s_type;
734bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
735bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_server_close_status_e_type {
736bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_CLOSE_SUCCESS = 1,
737bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_CLOSE_FAIL = 2,
738bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_SERVER_CLOSE_STATUS_MAX = 268435456,
739bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
740bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_server_close_status_e_type rpc_loc_server_close_status_e_type;
741bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
742bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_server_close_status_s_type {
743bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_connection_handle conn_handle;
744bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_server_close_status_e_type close_status;
745bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
746bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_server_close_status_s_type rpc_loc_server_close_status_s_type;
747bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
748bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoenum rpc_loc_lock_e_type {
749bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_LOCK_NONE = 1,
750bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_LOCK_MI = 2,
751bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_LOCK_MT = 3,
752bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_LOCK_ALL = 4,
753bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	RPC_LOC_LOCK_MAX = 268435456,
754bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
755bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef enum rpc_loc_lock_e_type rpc_loc_lock_e_type;
756bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
757bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_nmea_sentence_type;
758bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
759bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef rpc_uint32 rpc_loc_assist_data_type;
760bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
761bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_assist_data_delete_s_type {
762bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_assist_data_type type;
763bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_uint32 reserved[8];
764bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
765bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_assist_data_delete_s_type rpc_loc_assist_data_delete_s_type;
766bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
767bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ioctl_data_u_type {
768bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ioctl_e_type disc;
769bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
770bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_fix_criteria_s_type fix_criteria;
771bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_user_verify_s_type user_verify_resp;
772bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_predicted_orbits_data_s_type predicted_orbits_data;
773bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_predicted_orbits_auto_download_config_s_type predicted_orbits_auto_download;
774bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_assist_data_time_s_type assistance_data_time;
775bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_assist_data_pos_s_type assistance_data_position;
776bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_open_status_s_type conn_open_status;
777bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_close_status_s_type conn_close_status;
778bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_lock_e_type engine_lock;
779bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_boolean sbas_mode;
780bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_nmea_sentence_type nmea_types;
781bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_boolean on_demand_lpm;
782bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_info_s_type server_addr;
783bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_assist_data_delete_s_type assist_data_delete;
784bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_ioctl_data_u_type_u;
785bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
786bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ioctl_data_u_type rpc_loc_ioctl_data_u_type;
787bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
788bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ioctl_callback_data_u_type {
789bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ioctl_e_type disc;
790bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
791bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_api_version_s_type api_version;
792bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_fix_criteria_s_type fix_criteria;
793bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_lock_e_type engine_lock;
794bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_boolean sbas_mode;
795bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_nmea_sentence_type nmea_types;
796bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_boolean on_demand_lpm;
797bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_info_s_type server_addr;
798bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_predicted_orbits_data_source_s_type predicted_orbits_data_source;
799bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_predicted_orbits_data_validity_report_s_type predicted_orbits_data_validity;
800bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_ioctl_callback_data_u_type_u;
801bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
802bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ioctl_callback_data_u_type rpc_loc_ioctl_callback_data_u_type;
803bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
804bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_ioctl_callback_s_type {
805bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ioctl_e_type type;
806bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_int32 status;
807bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	rpc_loc_ioctl_callback_data_u_type data;
808bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
809bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_ioctl_callback_s_type rpc_loc_ioctl_callback_s_type;
810bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
811bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russostruct rpc_loc_event_payload_u_type {
812bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	u_quad_t disc;
813bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	union {
814bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_parsed_position_s_type parsed_location_report;
815bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_gnss_info_s_type gnss_report;
816bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_nmea_report_s_type nmea_report;
817bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_ni_event_s_type ni_request;
818bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_assist_data_request_s_type assist_data_request;
819bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_server_request_s_type loc_server_request;
820bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_ioctl_callback_s_type ioctl_report;
821bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_status_event_s_type status_report;
822bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo		rpc_loc_reserved_payload_s_type reserved;
823bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo	} rpc_loc_event_payload_u_type_u;
824bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo};
825bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russotypedef struct rpc_loc_event_payload_u_type rpc_loc_event_payload_u_type;
826bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_API_NULL_VERSION 0x00010001
827bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#define RPC_LOC_API_RPC_GLUE_CODE_INFO_REMOTE_VERSION 0x00010001
828bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
829bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo/* the xdr functions */
830bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
831bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#if defined(__STDC__) || defined(__cplusplus)
832bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_boolean (XDR *, rpc_boolean*);
833bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_uint32 (XDR *, rpc_uint32*);
834bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_uint16 (XDR *, rpc_uint16*);
835bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_uint8 (XDR *, rpc_uint8*);
836bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_int32 (XDR *, rpc_int32*);
837bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_byte (XDR *, rpc_byte*);
838bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_uint64 (XDR *, rpc_uint64*);
839bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_client_handle_type (XDR *, rpc_loc_client_handle_type*);
840bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_event_mask_type (XDR *, rpc_loc_event_mask_type*);
841bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_position_valid_mask_type (XDR *, rpc_loc_position_valid_mask_type*);
842bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_pos_technology_mask_type (XDR *, rpc_loc_pos_technology_mask_type*);
843bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_session_status_e_type (XDR *, rpc_loc_session_status_e_type*);
844bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_calendar_time_s_type (XDR *, rpc_loc_calendar_time_s_type*);
845bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_parsed_position_s_type (XDR *, rpc_loc_parsed_position_s_type*);
846bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_sv_system_e_type (XDR *, rpc_loc_sv_system_e_type*);
847bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_sv_status_e_type (XDR *, rpc_loc_sv_status_e_type*);
848bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_sv_info_valid_mask_type (XDR *, rpc_loc_sv_info_valid_mask_type*);
849bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_sv_info_s_type (XDR *, rpc_loc_sv_info_s_type*);
850bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_gnss_info_valid_mask_type (XDR *, rpc_loc_gnss_info_valid_mask_type*);
851bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_gnss_info_s_type (XDR *, rpc_loc_gnss_info_s_type*);
852bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_nmea_report_s_type (XDR *, rpc_loc_nmea_report_s_type*);
853bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_status_event_e_type (XDR *, rpc_loc_status_event_e_type*);
854bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_engine_state_e_type (XDR *, rpc_loc_engine_state_e_type*);
855bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_status_event_payload_u_type (XDR *, rpc_loc_status_event_payload_u_type*);
856bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_status_event_s_type (XDR *, rpc_loc_status_event_s_type*);
857bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_addr_e_type (XDR *, rpc_loc_server_addr_e_type*);
858bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_addr_ipv4_type (XDR *, rpc_loc_server_addr_ipv4_type*);
859bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_addr_url_type (XDR *, rpc_loc_server_addr_url_type*);
860bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_addr_u_type (XDR *, rpc_loc_server_addr_u_type*);
861bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_info_s_type (XDR *, rpc_loc_server_info_s_type*);
862bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_notify_verify_e_type (XDR *, rpc_loc_ni_notify_verify_e_type*);
863bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_event_e_type (XDR *, rpc_loc_ni_event_e_type*);
864bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type (XDR *, rpc_loc_ni_datacoding_scheme_e_type*);
865bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (XDR *, rpc_loc_ni_vx_requester_id_encoding_scheme_e_type*);
866bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type (XDR *, rpc_loc_ni_vx_pos_mode_e_type*);
867bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_vx_requester_id_s_type (XDR *, rpc_loc_ni_vx_requester_id_s_type*);
868bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type (XDR *, rpc_loc_ni_vx_notify_verify_req_s_type*);
869bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_supl_pos_method_e_type (XDR *, rpc_loc_ni_supl_pos_method_e_type*);
870bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type (XDR *, rpc_loc_ni_supl_slp_session_id_s_type*);
871bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_requestor_id_s_type (XDR *, rpc_loc_ni_requestor_id_s_type*);
872bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_supl_client_name_s_type (XDR *, rpc_loc_ni_supl_client_name_s_type*);
873bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_supl_qop_s_type (XDR *, rpc_loc_ni_supl_qop_s_type*);
874bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type (XDR *, rpc_loc_ni_supl_notify_verify_req_s_type*);
875bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_ext_client_address_s_type (XDR *, rpc_loc_ni_ext_client_address_s_type*);
876bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_location_type_e_type (XDR *, rpc_loc_ni_location_type_e_type*);
877bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_deferred_location_s_type (XDR *, rpc_loc_ni_deferred_location_s_type*);
878bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_codeword_string_s_type (XDR *, rpc_loc_ni_codeword_string_s_type*);
879bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_service_type_id_s_type (XDR *, rpc_loc_ni_service_type_id_s_type*);
880bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type (XDR *, rpc_loc_ni_umts_cp_notify_verify_req_s_type*);
881bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_event_payload_u_type (XDR *, rpc_loc_ni_event_payload_u_type*);
882bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_event_s_type (XDR *, rpc_loc_ni_event_s_type*);
883bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_request_e_type (XDR *, rpc_loc_assist_data_request_e_type*);
884bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr (XDR *, rpc_struct_loc_time_download_source_s_type_servers_ptr*);
885bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers (XDR *, rpc_struct_loc_time_download_source_s_type_servers);
886bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_time_download_source_s_type (XDR *, rpc_loc_time_download_source_s_type*);
887bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr (XDR *, rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr*);
888bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (XDR *, rpc_struct_loc_predicted_orbits_data_source_s_type_servers);
889bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type (XDR *, rpc_loc_predicted_orbits_data_source_s_type*);
890bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_request_payload_u_type (XDR *, rpc_loc_assist_data_request_payload_u_type*);
891bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_request_s_type (XDR *, rpc_loc_assist_data_request_s_type*);
892bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_connection_handle (XDR *, rpc_loc_server_connection_handle*);
893bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_protocol_e_type (XDR *, rpc_loc_server_protocol_e_type*);
894bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_request_e_type (XDR *, rpc_loc_server_request_e_type*);
895bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_open_req_s_type (XDR *, rpc_loc_server_open_req_s_type*);
896bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_close_req_s_type (XDR *, rpc_loc_server_close_req_s_type*);
897bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_request_u_type (XDR *, rpc_loc_server_request_u_type*);
898bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_request_s_type (XDR *, rpc_loc_server_request_s_type*);
899bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_reserved_payload_s_type (XDR *, rpc_loc_reserved_payload_s_type*);
900bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ioctl_e_type (XDR *, rpc_loc_ioctl_e_type*);
901bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_api_version_s_type (XDR *, rpc_loc_api_version_s_type*);
902bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_fix_recurrence_e_type (XDR *, rpc_loc_fix_recurrence_e_type*);
903bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_operation_mode_e_type (XDR *, rpc_loc_operation_mode_e_type*);
904bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_notify_e_type (XDR *, rpc_loc_notify_e_type*);
905bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_fix_criteria_s_type (XDR *, rpc_loc_fix_criteria_s_type*);
906bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ni_user_resp_e_type (XDR *, rpc_loc_ni_user_resp_e_type*);
907bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_user_verify_s_type (XDR *, rpc_loc_user_verify_s_type*);
908bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type (XDR *, rpc_loc_predicted_orbits_data_format_e_type*);
909bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_predicted_orbits_data_s_type (XDR *, rpc_loc_predicted_orbits_data_s_type*);
910bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type (XDR *, rpc_loc_predicted_orbits_data_validity_report_s_type*);
911bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type (XDR *, rpc_loc_predicted_orbits_auto_download_config_s_type*);
912bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_time_s_type (XDR *, rpc_loc_assist_data_time_s_type*);
913bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_pos_valid_mask_type (XDR *, rpc_loc_assist_pos_valid_mask_type*);
914bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_pos_s_type (XDR *, rpc_loc_assist_data_pos_s_type*);
915bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_open_status_e_type (XDR *, rpc_loc_server_open_status_e_type*);
916bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_open_status_s_type (XDR *, rpc_loc_server_open_status_s_type*);
917bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_close_status_e_type (XDR *, rpc_loc_server_close_status_e_type*);
918bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_server_close_status_s_type (XDR *, rpc_loc_server_close_status_s_type*);
919bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_lock_e_type (XDR *, rpc_loc_lock_e_type*);
920bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_nmea_sentence_type (XDR *, rpc_loc_nmea_sentence_type*);
921bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_type (XDR *, rpc_loc_assist_data_type*);
922bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_assist_data_delete_s_type (XDR *, rpc_loc_assist_data_delete_s_type*);
923bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ioctl_data_u_type (XDR *, rpc_loc_ioctl_data_u_type*);
924bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ioctl_callback_data_u_type (XDR *, rpc_loc_ioctl_callback_data_u_type*);
925bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_ioctl_callback_s_type (XDR *, rpc_loc_ioctl_callback_s_type*);
926bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern  bool_t xdr_rpc_loc_event_payload_u_type (XDR *, rpc_loc_event_payload_u_type*);
927bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
928bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#else /* K&R C */
929bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_boolean ();
930bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_uint32 ();
931bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_uint16 ();
932bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_uint8 ();
933bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_int32 ();
934bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_byte ();
935bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_uint64 ();
936bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_client_handle_type ();
937bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_event_mask_type ();
938bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_position_valid_mask_type ();
939bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_pos_technology_mask_type ();
940bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_session_status_e_type ();
941bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_calendar_time_s_type ();
942bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_parsed_position_s_type ();
943bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_sv_system_e_type ();
944bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_sv_status_e_type ();
945bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_sv_info_valid_mask_type ();
946bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_sv_info_s_type ();
947bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_gnss_info_valid_mask_type ();
948bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_gnss_info_s_type ();
949bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_nmea_report_s_type ();
950bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_status_event_e_type ();
951bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_engine_state_e_type ();
952bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_status_event_payload_u_type ();
953bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_status_event_s_type ();
954bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_addr_e_type ();
955bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_addr_ipv4_type ();
956bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_addr_url_type ();
957bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_addr_u_type ();
958bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_info_s_type ();
959bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_notify_verify_e_type ();
960bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_event_e_type ();
961bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type ();
962bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type ();
963bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type ();
964bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_vx_requester_id_s_type ();
965bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type ();
966bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_supl_pos_method_e_type ();
967bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type ();
968bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_requestor_id_s_type ();
969bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_supl_client_name_s_type ();
970bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_supl_qop_s_type ();
971bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type ();
972bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_ext_client_address_s_type ();
973bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_location_type_e_type ();
974bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_deferred_location_s_type ();
975bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_codeword_string_s_type ();
976bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_service_type_id_s_type ();
977bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type ();
978bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_event_payload_u_type ();
979bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_event_s_type ();
980bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_request_e_type ();
981bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr ();
982bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers ();
983bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_time_download_source_s_type ();
984bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr ();
985bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers ();
986bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type ();
987bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_request_payload_u_type ();
988bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_request_s_type ();
989bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_connection_handle ();
990bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_protocol_e_type ();
991bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_request_e_type ();
992bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_open_req_s_type ();
993bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_close_req_s_type ();
994bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_request_u_type ();
995bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_request_s_type ();
996bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_reserved_payload_s_type ();
997bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ioctl_e_type ();
998bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_api_version_s_type ();
999bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_fix_recurrence_e_type ();
1000bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_operation_mode_e_type ();
1001bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_notify_e_type ();
1002bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_fix_criteria_s_type ();
1003bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ni_user_resp_e_type ();
1004bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_user_verify_s_type ();
1005bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type ();
1006bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_predicted_orbits_data_s_type ();
1007bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type ();
1008bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type ();
1009bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_time_s_type ();
1010bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_pos_valid_mask_type ();
1011bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_pos_s_type ();
1012bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_open_status_e_type ();
1013bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_open_status_s_type ();
1014bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_close_status_e_type ();
1015bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_server_close_status_s_type ();
1016bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_lock_e_type ();
1017bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_nmea_sentence_type ();
1018bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_type ();
1019bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_assist_data_delete_s_type ();
1020bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ioctl_data_u_type ();
1021bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ioctl_callback_data_u_type ();
1022bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_ioctl_callback_s_type ();
1023bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russoextern bool_t xdr_rpc_loc_event_payload_u_type ();
1024bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1025bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#endif /* K&R C */
1026bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1027bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#ifdef __cplusplus
1028bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo}
1029bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#endif
1030bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo
1031bfff6343845ad9ff062c5fd97bb3b9be1053340eDante Russo#endif /* !_LOC_API_COMMON_H_RPCGEN */
1032