1f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/* Copyright (c) 2011, Code Aurora Forum. All rights reserved.
2f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
3f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * Redistribution and use in source and binary forms, with or without
4f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * modification, are permitted provided that the following conditions are
5f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * met:
6f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *     * Redistributions of source code must retain the above copyright
7f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       notice, this list of conditions and the following disclaimer.
8f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *     * Redistributions in binary form must reproduce the above
9f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       copyright notice, this list of conditions and the following
10f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       disclaimer in the documentation and/or other materials provided
11f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       with the distribution.
12f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *     * Neither the name of Code Aurora Forum, Inc. nor the names of its
13f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       contributors may be used to endorse or promote products derived
14f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *       from this software without specific prior written permission.
15f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
16f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
17f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
19f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
20f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
23f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
24f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
26f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani *
28f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani */
29f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/*
30f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * Please do not edit this file.
31f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani * It was generated using rpcgen.
32f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani */
33f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
34f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#ifndef _LOC_API_COMMON_RPC_H_RPCGEN
35f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define _LOC_API_COMMON_RPC_H_RPCGEN
36f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
37f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include "librpc.h"
38f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include "commondefs_rpcgen_rpc.h"
39f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
40f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#include <pthread.h>
41f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
42f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#ifdef __cplusplus
43f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern "C" {
44f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif
45f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
46f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define LOC_API_TOOLVERS 0x00040030
47f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define LOC_API_FEATURES 0x00000001
48f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_STATUS_REPORT 0x00000100
49f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST 0x00000020
50f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_WPS_NEEDED_REQUEST 0x00000200
51f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_SATELLITE_REPORT 0x00000002
52f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_PARSED_POSITION_REPORT 0x00000001
53f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_RESERVED 0x8000000000000000
54f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_LOCATION_SERVER_REQUEST 0x00000040
55f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_NMEA_POSITION_REPORT 0x00000008
56f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_IOCTL_REPORT 0x00000080
57f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_NMEA_1HZ_REPORT 0x00000004
58f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST 0x00000010
59f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_API_CB_NULL_VERSION 0x00050002
60f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_EVENT_CB_F_TYPE_VERSION 0x00050001
61f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_API_API_VERSIONS_VERSION 0x00050001
62f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_STOP_FIX_VERSION 0x00050001
63f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_START_FIX_VERSION 0x00050001
64f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_IOCTL_VERSION 0x00050001
65f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_CLOSE_VERSION 0x00050001
66f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_API_RPC_GLUE_CODE_INFO_REMOTE_VERSION 0x00050001
67f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_OPEN_VERSION 0x00050001
68f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_API_NULL_VERSION 0x00050001
69f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_API_API_MAJOR_NUM 0x0005
70f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#define RPC_LOC_APIAPI_VERSION_IS_HASHKEY 0
71f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
72f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_int32 rpc_loc_client_handle_type;
73f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
74f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint64 rpc_loc_event_mask_type;
75f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
76f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint64 rpc_loc_position_valid_mask_type;
77f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
78f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint32 rpc_loc_pos_technology_mask_type;
79f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
80f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_session_status_e_type {
81f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_SUCCESS = 0,
82f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_IN_PROGESS = 1,
83f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_GENERAL_FAILURE = 2,
84f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_TIMEOUT = 3,
85f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_USER_END = 4,
86f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_BAD_PARAMETER = 5,
87f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_PHONE_OFFLINE = 6,
88f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_ENGINE_LOCKED = 7,
89f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SESS_STATUS_MAX = 268435456,
90f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
91f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_session_status_e_type rpc_loc_session_status_e_type;
92f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
93f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_calendar_time_s_type {
94f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 year;
95f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char month;
96f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char day_of_week;
97f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char day;
98f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char hour;
99f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char minute;
100f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char second;
101f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 millisecond;
102f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
103f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_calendar_time_s_type rpc_loc_calendar_time_s_type;
104f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
105f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_parsed_position_s_type {
106f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_position_valid_mask_type valid_mask;
107f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_session_status_e_type session_status;
108f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_calendar_time_s_type timestamp_calendar;
109f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint64 timestamp_utc;
110f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 leap_seconds;
111f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float time_unc;
112f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    double latitude;
113f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    double longitude;
114f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float altitude_wrt_ellipsoid;
115f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float altitude_wrt_mean_sea_level;
116f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float speed_horizontal;
117f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float speed_vertical;
118f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float heading;
119f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float hor_unc_circular;
120f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float hor_unc_ellipse_semi_major;
121f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float hor_unc_ellipse_semi_minor;
122f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float hor_unc_ellipse_orient_azimuth;
123f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float vert_unc;
124f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float speed_unc;
125f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float heading_unc;
126f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char confidence_horizontal;
127f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char confidence_vertical;
128f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float magnetic_deviation;
129f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_pos_technology_mask_type technology_mask;
130f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
131f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_parsed_position_s_type rpc_loc_parsed_position_s_type;
132f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
133f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_sv_system_e_type {
134f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_SYSTEM_GPS = 1,
135f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_SYSTEM_GALILEO = 2,
136f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_SYSTEM_SBAS = 3,
137f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_SYSTEM_COMPASS = 4,
138f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_SYSTEM_GLONASS = 5,
139f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_SYSTEM_MAX = 268435456,
140f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
141f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_sv_system_e_type rpc_loc_sv_system_e_type;
142f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
143f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_sv_status_e_type {
144f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_STATUS_IDLE = 1,
145f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_STATUS_SEARCH = 2,
146f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_STATUS_TRACK = 3,
147f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SV_STATUS_MAX = 268435456,
148f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
149f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_sv_status_e_type rpc_loc_sv_status_e_type;
150f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
151f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint32 rpc_loc_sv_info_valid_mask_type;
152f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
153f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_sv_info_s_type {
154f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_sv_info_valid_mask_type valid_mask;
155f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_sv_system_e_type system;
156f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 prn;
157f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 health_status;
158f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_sv_status_e_type process_status;
159f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_boolean has_eph;
160f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_boolean has_alm;
161f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float elevation;
162f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float azimuth;
163f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float snr;
164f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
165f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_sv_info_s_type rpc_loc_sv_info_s_type;
166f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
167f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint32 rpc_loc_gnss_info_valid_mask_type;
168f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
169f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_gnss_info_s_type {
170f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_gnss_info_valid_mask_type valid_mask;
171f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float position_dop;
172f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float horizontal_dop;
173f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float vertical_dop;
174f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_boolean altitude_assumed;
175f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 sv_count;
176f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    struct {
177f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        u_int sv_list_len;
178f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_sv_info_s_type *sv_list_val;
179f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } sv_list;
180f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
181f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_gnss_info_s_type rpc_loc_gnss_info_s_type;
182f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
183f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_nmea_report_s_type {
184f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 length;
185f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char nmea_sentences[200];
186f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
187f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_nmea_report_s_type rpc_loc_nmea_report_s_type;
188f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
189f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_status_event_e_type {
190f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_STATUS_EVENT_ENGINE_STATE = 1,
191f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_STATUS_EVENT_FIX_SESSION_STATE = 2,
192f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_STATUS_EVENT_MAX = 268435456,
193f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
194f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_status_event_e_type rpc_loc_status_event_e_type;
195f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
196f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_engine_state_e_type {
197f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ENGINE_STATE_ON = 1,
198f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ENGINE_STATE_OFF = 2,
199f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ENGINE_STATE_MAX = 268435456,
200f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
201f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_engine_state_e_type rpc_loc_engine_state_e_type;
202f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
203f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_fix_session_state_e_type {
204f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FIX_SESSION_STATE_BEGIN = 1,
205f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FIX_SESSION_STATE_END = 2,
206f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FIX_SESSION_STATE_MAX = 268435456,
207f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
208f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_fix_session_state_e_type rpc_loc_fix_session_state_e_type;
209f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
210f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_status_event_payload_u_type {
211f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_status_event_e_type disc;
212f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
213f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_engine_state_e_type engine_state;
214f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_fix_session_state_e_type fix_session_state;
215f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_status_event_payload_u_type_u;
216f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
217f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_status_event_payload_u_type rpc_loc_status_event_payload_u_type;
218f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
219f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_status_event_s_type {
220f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_status_event_e_type event;
221f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_status_event_payload_u_type payload;
222f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
223f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_status_event_s_type rpc_loc_status_event_s_type;
224f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
225f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_addr_e_type {
226f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_ADDR_IPV4 = 1,
227f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_ADDR_URL = 2,
228f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_ADDR_IPV6 = 3,
229f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_ADDR_MAX = 268435456,
230f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
231f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_addr_e_type rpc_loc_server_addr_e_type;
232f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
233f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_addr_ipv4_type {
234f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 addr;
235f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 port;
236f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
237f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_addr_ipv4_type rpc_loc_server_addr_ipv4_type;
238f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
239f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_addr_url_type {
240f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 length;
241f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char addr[256];
242f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
243f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_addr_url_type rpc_loc_server_addr_url_type;
244f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
245f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_addr_ipv6_type {
246f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 addr[8];
247f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 port;
248f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
249f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_addr_ipv6_type rpc_loc_server_addr_ipv6_type;
250f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
251f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_addr_u_type {
252f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_addr_e_type disc;
253f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
254f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_addr_ipv4_type ipv4;
255f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_addr_url_type url;
256f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_addr_ipv6_type ipv6;
257f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_server_addr_u_type_u;
258f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
259f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_addr_u_type rpc_loc_server_addr_u_type;
260f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
261f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_info_s_type {
262f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_addr_e_type addr_type;
263f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_addr_u_type addr_info;
264f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
265f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_info_s_type rpc_loc_server_info_s_type;
266f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
267f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_notify_verify_e_type {
268f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_USER_NO_NOTIFY_NO_VERIFY = 1,
269f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_USER_NOTIFY_ONLY = 2,
270f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_USER_NOTIFY_VERIFY_ALLOW_NO_RESP = 3,
271f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP = 4,
272f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_USER_PRIVACY_OVERRIDE = 5,
273f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_USER_NOTIFY_VERITY_TYPE_MAX = 268435456,
274f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
275f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_notify_verify_e_type rpc_loc_ni_notify_verify_e_type;
276f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
277f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_event_e_type {
278f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ = 1,
279f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ = 2,
280f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ = 3,
281f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_EVENT_VX_SERVICE_INTERACTION_REQ = 4,
282f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_EVENT_MAX = 268435456,
283f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
284f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_event_e_type rpc_loc_ni_event_e_type;
285f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
286f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_datacoding_scheme_e_type {
287f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_ISO646IRV = 0,
288f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_ISO8859 = 1,
289f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_UTF8 = 2,
290f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_UTF16 = 3,
291f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_UCS2 = 4,
292f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_GSM_DEFAULT = 5,
293f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_SHIFT_JIS = 6,
294f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_JIS = 7,
295f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_EUC = 8,
296f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_GB2312 = 9,
297f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_CNS11643 = 10,
298f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_KSC1001 = 11,
299f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_PRESUPL_ENCODING_UNKNOWN = 2147483647,
300f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_GERMAN = 12,
301f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_ENGLISH = 13,
302f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_ITALIAN = 14,
303f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_FRENCH = 15,
304f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_SPANISH = 16,
305f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_DUTCH = 17,
306f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_SWEDISH = 18,
307f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_DANISH = 19,
308f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_PORTUGUESE = 20,
309f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_FINNISH = 21,
310f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_NORWEGIAN = 22,
311f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_GREEK = 23,
312f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_TURKISH = 24,
313f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_HUNGARIAN = 25,
314f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_POLISH = 26,
315f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SS_LANGUAGE_UNSPEC = 27,
316f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SUPL_UTF8 = 28,
317f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SUPL_UCS2 = 29,
318f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SUPL_GSM_DEFAULT = 30,
319f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SUPL_ENCODING_UNKNOWN = 2147483647,
320f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
321f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_datacoding_scheme_e_type rpc_loc_ni_datacoding_scheme_e_type;
322f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
323f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type {
324f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_OCTET = 0,
325f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_EXN_PROTOCOL_MSG = 1,
326f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_ASCII = 2,
327f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_IA5 = 3,
328f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_UNICODE = 4,
329f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_SHIFT_JIS = 5,
330f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_KOREAN = 6,
331f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_LATIN_HEBREW = 7,
332f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_LATIN = 8,
333f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_GSM = 9,
334f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_VX_ENCODING_TYPE_MAX = 268435456,
335f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
336f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type rpc_loc_ni_vx_requester_id_encoding_scheme_e_type;
337f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
338f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_vx_pos_mode_e_type {
339f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_VX_MS_ASSISTED_ONLY = 1,
340f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_VX_MS_BASED_ONLY = 2,
341f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_VX_MS_ASSISTED_PREF_MSBASED_ALLWD = 3,
342f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_VX_MS_BASED_PREF_ASSISTED_ALLWD = 4,
343f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_VX_POS_MODE_MAX = 268435456,
344f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
345f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_vx_pos_mode_e_type rpc_loc_ni_vx_pos_mode_e_type;
346f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
347f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_vx_requester_id_s_type {
348f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char requester_id_length;
349f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char requester_id[200];
350f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
351f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_vx_requester_id_s_type rpc_loc_ni_vx_requester_id_s_type;
352f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
353f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_vx_notify_verify_req_s_type {
354f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_notify_verify_e_type notification_priv_type;
355f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char pos_qos_incl;
356f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char pos_qos;
357f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 num_fixes;
358f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 tbf;
359f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_vx_pos_mode_e_type pos_mode;
360f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_vx_requester_id_encoding_scheme_e_type encoding_scheme;
361f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_vx_requester_id_s_type requester_id;
362f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 user_resp_timer_val;
363f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
364f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_vx_notify_verify_req_s_type rpc_loc_ni_vx_notify_verify_req_s_type;
365f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
366f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_supl_pos_method_e_type {
367f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED = 1,
368f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_AGPS_SETBASED = 2,
369f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED_PREF = 3,
370f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_AGPS_SETBASED_PREF = 4,
371f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_AUTONOMOUS_GPS = 5,
372f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_AFLT = 6,
373f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_ECID = 7,
374f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_EOTD = 8,
375f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_OTDOA = 9,
376f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_NO_POSITION = 10,
377f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_POSMETHOD_MAX = 268435456,
378f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
379f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_supl_pos_method_e_type rpc_loc_ni_supl_pos_method_e_type;
380f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
381f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_supl_slp_session_id_s_type {
382f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char presence;
383f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char session_id[4];
384f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_info_s_type slp_address;
385f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
386f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_supl_slp_session_id_s_type rpc_loc_ni_supl_slp_session_id_s_type;
387f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
388f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_requestor_id_s_type {
389f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char data_coding_scheme;
390f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char requestor_id_string[200];
391f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char string_len;
392f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
393f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_requestor_id_s_type rpc_loc_ni_requestor_id_s_type;
394f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
395f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_supl_client_name_s_type {
396f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char data_coding_scheme;
397f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char client_name_string[64];
398f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char string_len;
399f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
400f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_supl_client_name_s_type rpc_loc_ni_supl_client_name_s_type;
401f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
402f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_supl_qop_s_type {
403f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char bit_mask;
404f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char horacc;
405f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char veracc;
406f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 maxLocAge;
407f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char delay;
408f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
409f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_supl_qop_s_type rpc_loc_ni_supl_qop_s_type;
410f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
411f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_supl_notify_verify_req_s_type {
412f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_notify_verify_e_type notification_priv_type;
413f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 flags;
414f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_supl_slp_session_id_s_type supl_slp_session_id;
415f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char supl_hash[8];
416f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
417f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_supl_pos_method_e_type pos_method;
418f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_requestor_id_s_type requestor_id;
419f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_supl_client_name_s_type client_name;
420f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_supl_qop_s_type supl_qop;
421f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 user_response_timer;
422f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
423f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_supl_notify_verify_req_s_type rpc_loc_ni_supl_notify_verify_req_s_type;
424f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
425f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_ext_client_address_s_type {
426f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char ext_client_address_len;
427f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char ext_client_address[20];
428f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
429f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_ext_client_address_s_type rpc_loc_ni_ext_client_address_s_type;
430f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
431f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_location_type_e_type {
432f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LOCATIONTYPE_CURRENT_LOCATION = 1,
433f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION = 2,
434f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION = 3,
435f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LOCATIONTYPE_MAX = 268435456,
436f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
437f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_location_type_e_type rpc_loc_ni_location_type_e_type;
438f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
439f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_deferred_location_s_type {
440f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char unused_bits;
441f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char ms_available;
442f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
443f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_deferred_location_s_type rpc_loc_ni_deferred_location_s_type;
444f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
445f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_codeword_string_s_type {
446f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char data_coding_scheme;
447f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char lcs_codeword_string[20];
448f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char string_len;
449f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
450f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_codeword_string_s_type rpc_loc_ni_codeword_string_s_type;
451f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
452f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_service_type_id_s_type {
453f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char lcs_service_type_id;
454f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
455f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_service_type_id_s_type rpc_loc_ni_service_type_id_s_type;
456f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
457f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_umts_cp_notify_verify_req_s_type {
458f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_notify_verify_e_type notification_priv_type;
459f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char invoke_id;
460f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 flags;
461f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char notification_length;
462f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char notification_text[64];
463f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
464f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_ext_client_address_s_type ext_client_address_data;
465f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_location_type_e_type location_type;
466f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_deferred_location_s_type deferred_location;
467f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_requestor_id_s_type requestor_id;
468f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_codeword_string_s_type codeword_string;
469f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_service_type_id_s_type service_type_id;
470f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 user_response_timer;
471f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
472f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_umts_cp_notify_verify_req_s_type rpc_loc_ni_umts_cp_notify_verify_req_s_type;
473f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
474f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_service_interaction_e_type {
475f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SERVICE_INTERACTION_ONGOING_NI_INCOMING_MO = 1,
476f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_SERVICE_INTERACTION_MAX = 268435456,
477f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
478f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_service_interaction_e_type rpc_loc_ni_service_interaction_e_type;
479f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
480f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_vx_service_interaction_req_s_type {
481f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_vx_notify_verify_req_s_type ni_vx_req;
482f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_service_interaction_e_type service_interation_type;
483f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
484f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_vx_service_interaction_req_s_type rpc_loc_ni_vx_service_interaction_req_s_type;
485f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
486f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_event_payload_u_type {
487f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_event_e_type disc;
488f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
489f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_ni_vx_notify_verify_req_s_type vx_req;
490f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_ni_supl_notify_verify_req_s_type supl_req;
491f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_ni_umts_cp_notify_verify_req_s_type umts_cp_req;
492f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_ni_vx_service_interaction_req_s_type service_interaction_req;
493f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_ni_event_payload_u_type_u;
494f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
495f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_event_payload_u_type rpc_loc_ni_event_payload_u_type;
496f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
497f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ni_event_s_type {
498f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_event_e_type event;
499f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_event_payload_u_type payload;
500f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
501f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ni_event_s_type rpc_loc_ni_event_s_type;
502f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
503f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_assist_data_request_e_type {
504f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ASSIST_DATA_TIME_REQ = 1,
505f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ = 2,
506f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ASSIST_DATA_POSITION_INJECTION_REQ = 3,
507f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ASSIST_DATA_MAX = 268435456,
508f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
509f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_assist_data_request_e_type rpc_loc_assist_data_request_e_type;
510f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
511f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef char *rpc_struct_loc_time_download_source_s_type_servers_ptr;
512f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
513f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_struct_loc_time_download_source_s_type_servers_ptr rpc_struct_loc_time_download_source_s_type_servers[3];
514f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
515f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_time_download_source_s_type {
516f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 delay_threshold;
517f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_struct_loc_time_download_source_s_type_servers servers;
518f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
519f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_time_download_source_s_type rpc_loc_time_download_source_s_type;
520f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
521f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef char *rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr;
522f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
523f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr rpc_struct_loc_predicted_orbits_data_source_s_type_servers[3];
524f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
525f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_predicted_orbits_data_source_s_type {
526f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 max_file_size;
527f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 max_part_size;
528f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_struct_loc_predicted_orbits_data_source_s_type_servers servers;
529f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
530f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_predicted_orbits_data_source_s_type rpc_loc_predicted_orbits_data_source_s_type;
531f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
532f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_pos_inj_request_s_type {
533f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 flags;
534f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    double latitude;
535f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    double longitude;
536f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 position_uncertainty;
537f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint64 timestamp;
538f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
539f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_pos_inj_request_s_type rpc_loc_pos_inj_request_s_type;
540f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
541f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_assist_data_request_payload_u_type {
542f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_assist_data_request_e_type disc;
543f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
544f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_time_download_source_s_type time_download;
545f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_predicted_orbits_data_source_s_type data_download;
546f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_pos_inj_request_s_type pos_injection;
547f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_assist_data_request_payload_u_type_u;
548f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
549f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_assist_data_request_payload_u_type rpc_loc_assist_data_request_payload_u_type;
550f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
551f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_assist_data_request_s_type {
552f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_assist_data_request_e_type event;
553f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_assist_data_request_payload_u_type payload;
554f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
555f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_assist_data_request_s_type rpc_loc_assist_data_request_s_type;
556f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
557f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint32 rpc_loc_server_connection_handle;
558f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
559f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_protocol_e_type {
560f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PROTOCOL_DEFAULT = 0,
561f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PROTOCOL_SUPL = 1,
562f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PROTOCOL_VX_MPC = 2,
563f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PROTOCOL_VX_PDE = 3,
564f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PROTOCOL_MAX = 16777216,
565f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
566f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_protocol_e_type rpc_loc_server_protocol_e_type;
567f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
568f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_connection_e_type {
569f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_CONNECTION_LBS = 0,
570f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_CONNECTION_WWAN_INTERNET = 0 + 1,
571f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_CONNECTION_MAX = 16777216,
572f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
573f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_connection_e_type rpc_loc_server_connection_e_type;
574f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
575f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_request_e_type {
576f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_REQUEST_OPEN = 1,
577f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_REQUEST_CLOSE = 2,
578f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_REQUEST_MULTI_OPEN = 3,
579f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_REQUEST_MAX = 268435456,
580f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
581f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_request_e_type rpc_loc_server_request_e_type;
582f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
583f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_open_req_s_type {
584f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_handle conn_handle;
585f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_protocol_e_type protocol;
586f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
587f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_open_req_s_type rpc_loc_server_open_req_s_type;
588f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
589f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_multi_open_req_s_type {
590f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_handle conn_handle;
591f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_protocol_e_type protocol;
592f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_e_type connection_type;
593f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
594f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_multi_open_req_s_type rpc_loc_server_multi_open_req_s_type;
595f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
596f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_close_req_s_type {
597f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_handle conn_handle;
598f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
599f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_close_req_s_type rpc_loc_server_close_req_s_type;
600f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
601f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_request_u_type {
602f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_request_e_type disc;
603f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
604f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_open_req_s_type open_req;
605f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_close_req_s_type close_req;
606f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_multi_open_req_s_type multi_open_req;
607f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_server_request_u_type_u;
608f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
609f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_request_u_type rpc_loc_server_request_u_type;
610f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
611f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_request_s_type {
612f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_request_e_type event;
613f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_request_u_type payload;
614f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
615f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_request_s_type rpc_loc_server_request_s_type;
616f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
617f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_qwip_request_e_type {
618f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_QWIP_START_PERIODIC_HI_FREQ_FIXES = 0,
619f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_QWIP_START_PERIODIC_KEEP_WARM = 0 + 1,
620f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_QWIP_STOP_PERIODIC_FIXES = 0 + 2,
621f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_QWIP_SUSPEND = 0 + 3,
622f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_QWIP_REQUEST_MAX = 268435456,
623f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
624f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_qwip_request_e_type rpc_loc_qwip_request_e_type;
625f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
626f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_qwip_request_s_type {
627f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_qwip_request_e_type request_type;
628f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 tbf_ms;
629f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
630f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_qwip_request_s_type rpc_loc_qwip_request_s_type;
631f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
632f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_reserved_payload_s_type {
633f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 data_size;
634f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    struct {
635f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        u_int data_len;
636f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        char *data_val;
637f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } data;
638f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
639f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_reserved_payload_s_type rpc_loc_reserved_payload_s_type;
640f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
641f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ioctl_e_type {
642f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_API_VERSION = 1,
643f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_FIX_CRITERIA = 2,
644f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_FIX_CRITERIA = 3,
645f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SERVICE_START_INDEX = 400,
646f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE = 400,
647f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA = 401,
648f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY = 402,
649f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE = 403,
650f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD = 404,
651f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INJECT_UTC_TIME = 405,
652f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INJECT_RTC_VALUE = 406,
653f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INJECT_POSITION = 407,
654f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_QUERY_ENGINE_STATE = 408,
655f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS = 409,
656f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS = 410,
657f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SEND_WIPER_POSITION_REPORT = 411,
658f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_NOTIFY_WIPER_STATUS = 412,
659f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_ACCESS_EFS_DATA = 413,
660f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_ERROR_ESTIMATE_CONFIG = 414,
661f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_INFORM_SERVER_MULTI_OPEN_STATUS = 415,
662f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_NV_SETTINGS_START_INDEX = 800,
663f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_ENGINE_LOCK = 800,
664f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_ENGINE_LOCK = 801,
665f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_SBAS_CONFIG = 802,
666f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_SBAS_CONFIG = 803,
667f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_NMEA_TYPES = 804,
668f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_NMEA_TYPES = 805,
669f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR = 806,
670f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR = 807,
671f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR = 808,
672f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR = 809,
673f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR = 810,
674f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR = 811,
675f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_ON_DEMAND_LPM = 812,
676f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_ON_DEMAND_LPM = 813,
677f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_XTRA_T_SESSION_CONTROL = 814,
678f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_XTRA_T_SESSION_CONTROL = 815,
679f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_LBS_APN_PROFILE = 816,
680f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_LBS_APN_PROFILE = 817,
681f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_XTRA_APN_PROFILE = 818,
682f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_XTRA_APN_PROFILE = 819,
683f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_DATA_ENABLE = 820,
684f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_SUPL_VERSION = 821,
685f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_SUPL_VERSION = 822,
686f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_PROPRIETARY_START_INDEX = 1000,
687f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_DELETE_ASSIST_DATA = 1000,
688f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR = 1001,
689f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR = 1002,
690f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_RESERVED_CMD = 8000,
691f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_IOCTL_THIRD_PARTY_START_INDEX = 1073741824,
692f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
693f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ioctl_e_type rpc_loc_ioctl_e_type;
694f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
695f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_api_version_s_type {
696f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char major;
697f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char minor;
698f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
699f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_api_version_s_type rpc_loc_api_version_s_type;
700f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
701f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_fix_recurrence_e_type {
702f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_PERIODIC_FIX = 1,
703f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SINGLE_FIX = 2,
704f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FIX_SESSION_TYPE_MAX = 268435456,
705f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
706f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_fix_recurrence_e_type rpc_loc_fix_recurrence_e_type;
707f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
708f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_operation_mode_e_type {
709f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_DEFAULT = 1,
710f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_MSB = 2,
711f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_MSA = 3,
712f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_STANDALONE = 4,
713f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_SPEED_OPTIMAL = 5,
714f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_ACCURACY_OPTIMAL = 6,
715f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_DATA_OPTIMAL = 7,
716f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_CELL_ID = 8,
717f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_OPER_MODE_MAX = 268435456,
718f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
719f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_operation_mode_e_type rpc_loc_operation_mode_e_type;
720f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
721f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_notify_e_type {
722f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NOTIFY_ON_INTERVAL = 1,
723f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NOTIFY_ON_DISTANCE = 2,
724f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NOTIFY_ON_ANY = 3,
725f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NOTIFY_ON_ALL = 4,
726f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NOTIFY_TYPE_MAX = 268435456,
727f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
728f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_notify_e_type rpc_loc_notify_e_type;
729f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
730f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_fix_criteria_s_type {
731f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 valid_mask;
732f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_fix_recurrence_e_type recurrence_type;
733f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_operation_mode_e_type preferred_operation_mode;
734f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 preferred_accuracy;
735f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 preferred_response_time;
736f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_boolean intermediate_pos_report_enabled;
737f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_notify_e_type notify_type;
738f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 min_interval;
739f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float min_distance;
740f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 min_dist_sample_interval;
741f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
742f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_fix_criteria_s_type rpc_loc_fix_criteria_s_type;
743f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
744f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_ni_user_resp_e_type {
745f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT = 1,
746f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LCS_NOTIFY_VERIFY_DENY = 2,
747f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LCS_NOTIFY_VERIFY_NORESP = 3,
748f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_NI_LCS_NOTIFY_VERIFY_MAX = 268435456,
749f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
750f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_ni_user_resp_e_type rpc_loc_ni_user_resp_e_type;
751f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
752f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_user_verify_s_type {
753f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_user_resp_e_type user_resp;
754f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ni_event_s_type ni_event_pass_back;
755f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
756f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_user_verify_s_type rpc_loc_user_verify_s_type;
757f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
758f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_predicted_orbits_data_format_e_type {
759f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_PREDICTED_ORBITS_XTRA = 0,
760f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_PREDICTED_ORBITS_FORMAT_MAX = 268435456,
761f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
762f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_predicted_orbits_data_format_e_type rpc_loc_predicted_orbits_data_format_e_type;
763f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
764f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_predicted_orbits_data_s_type {
765f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_predicted_orbits_data_format_e_type format_type;
766f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 total_size;
767f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 total_parts;
768f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 part;
769f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 part_len;
770f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    struct {
771f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        u_int data_ptr_len;
772f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        char *data_ptr_val;
773f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } data_ptr;
774f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
775f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_predicted_orbits_data_s_type rpc_loc_predicted_orbits_data_s_type;
776f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
777f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_predicted_orbits_data_validity_report_s_type {
778f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint64 start_time_utc;
779f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 valid_duration_hrs;
780f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
781f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_predicted_orbits_data_validity_report_s_type rpc_loc_predicted_orbits_data_validity_report_s_type;
782f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
783f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_predicted_orbits_auto_download_config_s_type {
784f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_boolean enable;
785f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char auto_check_every_hrs;
786f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
787f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_predicted_orbits_auto_download_config_s_type rpc_loc_predicted_orbits_auto_download_config_s_type;
788f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
789f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_assist_data_time_s_type {
790f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint64 time_utc;
791f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 uncertainty;
792f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
793f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_assist_data_time_s_type rpc_loc_assist_data_time_s_type;
794f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
795f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint64 rpc_loc_assist_pos_valid_mask_type;
796f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
797f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_assist_data_pos_s_type {
798f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_assist_pos_valid_mask_type valid_mask;
799f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint64 timestamp_utc;
800f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    double latitude;
801f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    double longitude;
802f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float altitude_wrt_ellipsoid;
803f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float altitude_wrt_mean_sea_level;
804f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float hor_unc_circular;
805f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    float vert_unc;
806f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char confidence_horizontal;
807f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_char confidence_vertical;
808f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_int32 timestamp_age;
809f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
810f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_assist_data_pos_s_type rpc_loc_assist_data_pos_s_type;
811f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
812f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_open_status_e_type {
813f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_OPEN_SUCCESS = 1,
814f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_OPEN_FAIL = 2,
815f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_OPEN_STATUS_MAX = 268435456,
816f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
817f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_open_status_e_type rpc_loc_server_open_status_e_type;
818f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
819f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_pdp_type_e_type {
820f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PDP_IP = 0,
821f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PDP_PPP = 0 + 1,
822f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PDP_IPV6 = 0 + 2,
823f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PDP_IPV4V6 = 0 + 3,
824f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_PDP_MAX = 268435456,
825f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
826f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_pdp_type_e_type rpc_loc_server_pdp_type_e_type;
827f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
828f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_open_status_s_type {
829f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_handle conn_handle;
830f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_open_status_e_type open_status;
831f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char apn_name[100];
832f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
833f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_open_status_s_type rpc_loc_server_open_status_s_type;
834f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
835f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_multi_open_status_s_type {
836f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_handle conn_handle;
837f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_open_status_e_type open_status;
838f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_pdp_type_e_type pdp_type;
839f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char apn_name[100];
840f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
841f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_multi_open_status_s_type rpc_loc_server_multi_open_status_s_type;
842f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
843f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_server_close_status_e_type {
844f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_CLOSE_SUCCESS = 1,
845f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_CLOSE_FAIL = 2,
846f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_SERVER_CLOSE_STATUS_MAX = 268435456,
847f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
848f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_server_close_status_e_type rpc_loc_server_close_status_e_type;
849f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
850f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_server_close_status_s_type {
851f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_connection_handle conn_handle;
852f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_server_close_status_e_type close_status;
853f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
854f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_server_close_status_s_type rpc_loc_server_close_status_s_type;
855f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
856f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_wiper_fix_time_s_type {
857f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 slow_clock_count;
858f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
859f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_wiper_fix_time_s_type rpc_loc_wiper_fix_time_s_type;
860f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
861f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_wiper_fix_pos_s_type {
862f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_int32 lat;
863f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_int32 lon;
864f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 HEPE;
865f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 num_of_aps_used;
866f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 fix_error_code;
867f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
868f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_wiper_fix_pos_s_type rpc_loc_wiper_fix_pos_s_type;
869f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
870f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_wiper_ap_info_s_type {
871f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char mac_addr[6];
872f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_int32 rssi;
873f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint16 channel;
874f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 ap_qualifier;
875f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
876f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_wiper_ap_info_s_type rpc_loc_wiper_ap_info_s_type;
877f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
878f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_wiper_ap_set_s_type {
879f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 num_of_aps;
880f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_wiper_ap_info_s_type ap_info[50];
881f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
882f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_wiper_ap_set_s_type rpc_loc_wiper_ap_set_s_type;
883f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
884f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_wiper_position_report_s_type {
885f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 wiper_valid_info_flag;
886f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_wiper_fix_time_s_type wiper_fix_time;
887f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_wiper_fix_pos_s_type wiper_fix_position;
888f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_wiper_ap_set_s_type wiper_ap_set;
889f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
890f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_wiper_position_report_s_type rpc_loc_wiper_position_report_s_type;
891f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
892f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_wiper_status_e_type {
893f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_WIPER_STATUS_AVAILABLE = 1,
894f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_WIPER_STATUS_UNAVAILABLE = 2,
895f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_WIPER_STATUS_E_SIZE = 268435456,
896f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
897f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_wiper_status_e_type rpc_loc_wiper_status_e_type;
898f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
899f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_fs_operation_e_type {
900f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FS_CREATE_WRITE_FILE = 1,
901f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FS_APPEND_FILE = 2,
902f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FS_DELETE_FILE = 3,
903f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FS_READ_FILE = 4,
904f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_FS_MAX = 268435456,
905f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
906f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_fs_operation_e_type rpc_loc_fs_operation_e_type;
907f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
908f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_efs_data_s_type {
909f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char filename[64];
910f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_fs_operation_e_type operation;
911f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 total_size;
912f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    struct {
913f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        u_int data_ptr_len;
914f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        char *data_ptr_val;
915f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } data_ptr;
916f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 part_len;
917f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 part;
918f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint8 total_parts;
919f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 reserved;
920f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
921f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_efs_data_s_type rpc_loc_efs_data_s_type;
922f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
923f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_error_estimate_config_e_type {
924f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ERROR_ESTIMATE_CONFIG_SET = 1,
925f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ERROR_ESTIMATE_CONFIG_CLEAR = 2,
926f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_ERROR_ESTIMATE_MAX = 268435456,
927f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
928f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_error_estimate_config_e_type rpc_loc_error_estimate_config_e_type;
929f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
930f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_apn_profiles_type {
931f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 srv_system_type;
932f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 pdp_type;
933f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 reserved;
934f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    char apn_name[100];
935f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
936f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_apn_profiles_type rpc_loc_apn_profiles_type;
937f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
938f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanienum rpc_loc_lock_e_type {
939f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_LOCK_NONE = 1,
940f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_LOCK_MI = 2,
941f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_LOCK_MT = 3,
942f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_LOCK_ALL = 4,
943f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    RPC_LOC_LOCK_MAX = 268435456,
944f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
945f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef enum rpc_loc_lock_e_type rpc_loc_lock_e_type;
946f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
947f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint32 rpc_loc_nmea_sentence_type;
948f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
949f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef rpc_uint32 rpc_loc_assist_data_type;
950f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
951f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_assist_data_delete_s_type {
952f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_assist_data_type type;
953f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_uint32 reserved[8];
954f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
955f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_assist_data_delete_s_type rpc_loc_assist_data_delete_s_type;
956f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
957f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ioctl_data_u_type {
958f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ioctl_e_type disc;
959f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
960f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_fix_criteria_s_type fix_criteria;
961f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_user_verify_s_type user_verify_resp;
962f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_predicted_orbits_data_s_type predicted_orbits_data;
963f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_predicted_orbits_auto_download_config_s_type predicted_orbits_auto_download;
964f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_assist_data_time_s_type assistance_data_time;
965f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_assist_data_pos_s_type assistance_data_position;
966f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_open_status_s_type conn_open_status;
967f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_close_status_s_type conn_close_status;
968f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_wiper_position_report_s_type wiper_pos;
969f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_wiper_status_e_type wiper_status;
970f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_lock_e_type engine_lock;
971f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_boolean sbas_mode;
972f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_nmea_sentence_type nmea_types;
973f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_boolean on_demand_lpm;
974f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_info_s_type server_addr;
975f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_assist_data_delete_s_type assist_data_delete;
976f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_efs_data_s_type efs_data;
977f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_error_estimate_config_e_type error_estimate_config;
978f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_uint8 xtra_t_session_control;
979f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_apn_profiles_type apn_profiles[6];
980f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_boolean data_enable;
981f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_uint32 supl_version;
982f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_multi_open_status_s_type multi_conn_open_status;
983f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_reserved_payload_s_type reserved;
984f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_ioctl_data_u_type_u;
985f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
986f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ioctl_data_u_type rpc_loc_ioctl_data_u_type;
987f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
988f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ioctl_callback_data_u_type {
989f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ioctl_e_type disc;
990f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
991f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_api_version_s_type api_version;
992f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_fix_criteria_s_type fix_criteria;
993f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_lock_e_type engine_lock;
994f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_boolean sbas_mode;
995f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_nmea_sentence_type nmea_types;
996f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_boolean on_demand_lpm;
997f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_info_s_type server_addr;
998f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_predicted_orbits_data_source_s_type predicted_orbits_data_source;
999f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_predicted_orbits_data_validity_report_s_type predicted_orbits_data_validity;
1000f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_uint8 xtra_t_session_control;
1001f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_apn_profiles_type apn_profiles[6];
1002f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_uint32 supl_version;
1003f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_ioctl_callback_data_u_type_u;
1004f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
1005f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ioctl_callback_data_u_type rpc_loc_ioctl_callback_data_u_type;
1006f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1007f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_ioctl_callback_s_type {
1008f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ioctl_e_type type;
1009f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_int32 status;
1010f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    rpc_loc_ioctl_callback_data_u_type data;
1011f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
1012f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_ioctl_callback_s_type rpc_loc_ioctl_callback_s_type;
1013f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1014f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanistruct rpc_loc_event_payload_u_type {
1015f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    u_quad_t disc;
1016f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    union {
1017f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_parsed_position_s_type parsed_location_report;
1018f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_gnss_info_s_type gnss_report;
1019f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_nmea_report_s_type nmea_report;
1020f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_ni_event_s_type ni_request;
1021f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_assist_data_request_s_type assist_data_request;
1022f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_server_request_s_type loc_server_request;
1023f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_ioctl_callback_s_type ioctl_report;
1024f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_status_event_s_type status_report;
1025f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_qwip_request_s_type qwip_request;
1026f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani        rpc_loc_reserved_payload_s_type reserved;
1027f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani    } rpc_loc_event_payload_u_type_u;
1028f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani};
1029f77c85bb51137f5ba854184e5e9194197027438aAjay Dudanitypedef struct rpc_loc_event_payload_u_type rpc_loc_event_payload_u_type;
1030f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1031f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani/* the xdr functions */
1032f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1033f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#if defined(__STDC__) || defined(__cplusplus)
1034f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_client_handle_type (XDR *, rpc_loc_client_handle_type*);
1035f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_event_mask_type (XDR *, rpc_loc_event_mask_type*);
1036f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_position_valid_mask_type (XDR *, rpc_loc_position_valid_mask_type*);
1037f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_pos_technology_mask_type (XDR *, rpc_loc_pos_technology_mask_type*);
1038f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_session_status_e_type (XDR *, rpc_loc_session_status_e_type*);
1039f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_calendar_time_s_type (XDR *, rpc_loc_calendar_time_s_type*);
1040f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_parsed_position_s_type (XDR *, rpc_loc_parsed_position_s_type*);
1041f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_sv_system_e_type (XDR *, rpc_loc_sv_system_e_type*);
1042f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_sv_status_e_type (XDR *, rpc_loc_sv_status_e_type*);
1043f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_sv_info_valid_mask_type (XDR *, rpc_loc_sv_info_valid_mask_type*);
1044f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_sv_info_s_type (XDR *, rpc_loc_sv_info_s_type*);
1045f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_gnss_info_valid_mask_type (XDR *, rpc_loc_gnss_info_valid_mask_type*);
1046f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_gnss_info_s_type (XDR *, rpc_loc_gnss_info_s_type*);
1047f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_nmea_report_s_type (XDR *, rpc_loc_nmea_report_s_type*);
1048f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_status_event_e_type (XDR *, rpc_loc_status_event_e_type*);
1049f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_engine_state_e_type (XDR *, rpc_loc_engine_state_e_type*);
1050f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_fix_session_state_e_type (XDR *, rpc_loc_fix_session_state_e_type*);
1051f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_status_event_payload_u_type (XDR *, rpc_loc_status_event_payload_u_type*);
1052f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_status_event_s_type (XDR *, rpc_loc_status_event_s_type*);
1053f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_addr_e_type (XDR *, rpc_loc_server_addr_e_type*);
1054f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_addr_ipv4_type (XDR *, rpc_loc_server_addr_ipv4_type*);
1055f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_addr_url_type (XDR *, rpc_loc_server_addr_url_type*);
1056f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_addr_ipv6_type (XDR *, rpc_loc_server_addr_ipv6_type*);
1057f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_addr_u_type (XDR *, rpc_loc_server_addr_u_type*);
1058f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_info_s_type (XDR *, rpc_loc_server_info_s_type*);
1059f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_notify_verify_e_type (XDR *, rpc_loc_ni_notify_verify_e_type*);
1060f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_event_e_type (XDR *, rpc_loc_ni_event_e_type*);
1061f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type (XDR *, rpc_loc_ni_datacoding_scheme_e_type*);
1062f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (XDR *, rpc_loc_ni_vx_requester_id_encoding_scheme_e_type*);
1063f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type (XDR *, rpc_loc_ni_vx_pos_mode_e_type*);
1064f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_vx_requester_id_s_type (XDR *, rpc_loc_ni_vx_requester_id_s_type*);
1065f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type (XDR *, rpc_loc_ni_vx_notify_verify_req_s_type*);
1066f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_supl_pos_method_e_type (XDR *, rpc_loc_ni_supl_pos_method_e_type*);
1067f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type (XDR *, rpc_loc_ni_supl_slp_session_id_s_type*);
1068f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_requestor_id_s_type (XDR *, rpc_loc_ni_requestor_id_s_type*);
1069f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_supl_client_name_s_type (XDR *, rpc_loc_ni_supl_client_name_s_type*);
1070f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_supl_qop_s_type (XDR *, rpc_loc_ni_supl_qop_s_type*);
1071f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type (XDR *, rpc_loc_ni_supl_notify_verify_req_s_type*);
1072f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_ext_client_address_s_type (XDR *, rpc_loc_ni_ext_client_address_s_type*);
1073f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_location_type_e_type (XDR *, rpc_loc_ni_location_type_e_type*);
1074f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_deferred_location_s_type (XDR *, rpc_loc_ni_deferred_location_s_type*);
1075f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_codeword_string_s_type (XDR *, rpc_loc_ni_codeword_string_s_type*);
1076f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_service_type_id_s_type (XDR *, rpc_loc_ni_service_type_id_s_type*);
1077f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type (XDR *, rpc_loc_ni_umts_cp_notify_verify_req_s_type*);
1078f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_service_interaction_e_type (XDR *, rpc_loc_ni_service_interaction_e_type*);
1079f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_vx_service_interaction_req_s_type (XDR *, rpc_loc_ni_vx_service_interaction_req_s_type*);
1080f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_event_payload_u_type (XDR *, rpc_loc_ni_event_payload_u_type*);
1081f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_event_s_type (XDR *, rpc_loc_ni_event_s_type*);
1082f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_request_e_type (XDR *, rpc_loc_assist_data_request_e_type*);
1083f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr (XDR *, rpc_struct_loc_time_download_source_s_type_servers_ptr*);
1084f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers (XDR *, rpc_struct_loc_time_download_source_s_type_servers);
1085f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_time_download_source_s_type (XDR *, rpc_loc_time_download_source_s_type*);
1086f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  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*);
1087f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (XDR *, rpc_struct_loc_predicted_orbits_data_source_s_type_servers);
1088f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type (XDR *, rpc_loc_predicted_orbits_data_source_s_type*);
1089f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_pos_inj_request_s_type (XDR *, rpc_loc_pos_inj_request_s_type*);
1090f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_request_payload_u_type (XDR *, rpc_loc_assist_data_request_payload_u_type*);
1091f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_request_s_type (XDR *, rpc_loc_assist_data_request_s_type*);
1092f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_connection_handle (XDR *, rpc_loc_server_connection_handle*);
1093f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_protocol_e_type (XDR *, rpc_loc_server_protocol_e_type*);
1094f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_connection_e_type (XDR *, rpc_loc_server_connection_e_type*);
1095f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_request_e_type (XDR *, rpc_loc_server_request_e_type*);
1096f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_open_req_s_type (XDR *, rpc_loc_server_open_req_s_type*);
1097f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_multi_open_req_s_type (XDR *, rpc_loc_server_multi_open_req_s_type*);
1098f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_close_req_s_type (XDR *, rpc_loc_server_close_req_s_type*);
1099f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_request_u_type (XDR *, rpc_loc_server_request_u_type*);
1100f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_request_s_type (XDR *, rpc_loc_server_request_s_type*);
1101f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_qwip_request_e_type (XDR *, rpc_loc_qwip_request_e_type*);
1102f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_qwip_request_s_type (XDR *, rpc_loc_qwip_request_s_type*);
1103f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_reserved_payload_s_type (XDR *, rpc_loc_reserved_payload_s_type*);
1104f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ioctl_e_type (XDR *, rpc_loc_ioctl_e_type*);
1105f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_api_version_s_type (XDR *, rpc_loc_api_version_s_type*);
1106f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_fix_recurrence_e_type (XDR *, rpc_loc_fix_recurrence_e_type*);
1107f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_operation_mode_e_type (XDR *, rpc_loc_operation_mode_e_type*);
1108f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_notify_e_type (XDR *, rpc_loc_notify_e_type*);
1109f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_fix_criteria_s_type (XDR *, rpc_loc_fix_criteria_s_type*);
1110f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ni_user_resp_e_type (XDR *, rpc_loc_ni_user_resp_e_type*);
1111f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_user_verify_s_type (XDR *, rpc_loc_user_verify_s_type*);
1112f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type (XDR *, rpc_loc_predicted_orbits_data_format_e_type*);
1113f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_predicted_orbits_data_s_type (XDR *, rpc_loc_predicted_orbits_data_s_type*);
1114f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type (XDR *, rpc_loc_predicted_orbits_data_validity_report_s_type*);
1115f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type (XDR *, rpc_loc_predicted_orbits_auto_download_config_s_type*);
1116f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_time_s_type (XDR *, rpc_loc_assist_data_time_s_type*);
1117f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_pos_valid_mask_type (XDR *, rpc_loc_assist_pos_valid_mask_type*);
1118f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_pos_s_type (XDR *, rpc_loc_assist_data_pos_s_type*);
1119f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_open_status_e_type (XDR *, rpc_loc_server_open_status_e_type*);
1120f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_pdp_type_e_type (XDR *, rpc_loc_server_pdp_type_e_type*);
1121f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_open_status_s_type (XDR *, rpc_loc_server_open_status_s_type*);
1122f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_multi_open_status_s_type (XDR *, rpc_loc_server_multi_open_status_s_type*);
1123f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_close_status_e_type (XDR *, rpc_loc_server_close_status_e_type*);
1124f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_server_close_status_s_type (XDR *, rpc_loc_server_close_status_s_type*);
1125f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_wiper_fix_time_s_type (XDR *, rpc_loc_wiper_fix_time_s_type*);
1126f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_wiper_fix_pos_s_type (XDR *, rpc_loc_wiper_fix_pos_s_type*);
1127f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_wiper_ap_info_s_type (XDR *, rpc_loc_wiper_ap_info_s_type*);
1128f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_wiper_ap_set_s_type (XDR *, rpc_loc_wiper_ap_set_s_type*);
1129f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_wiper_position_report_s_type (XDR *, rpc_loc_wiper_position_report_s_type*);
1130f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_wiper_status_e_type (XDR *, rpc_loc_wiper_status_e_type*);
1131f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_fs_operation_e_type (XDR *, rpc_loc_fs_operation_e_type*);
1132f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_efs_data_s_type (XDR *, rpc_loc_efs_data_s_type*);
1133f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_error_estimate_config_e_type (XDR *, rpc_loc_error_estimate_config_e_type*);
1134f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_apn_profiles_type (XDR *, rpc_loc_apn_profiles_type*);
1135f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_lock_e_type (XDR *, rpc_loc_lock_e_type*);
1136f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_nmea_sentence_type (XDR *, rpc_loc_nmea_sentence_type*);
1137f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_type (XDR *, rpc_loc_assist_data_type*);
1138f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_assist_data_delete_s_type (XDR *, rpc_loc_assist_data_delete_s_type*);
1139f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ioctl_data_u_type (XDR *, rpc_loc_ioctl_data_u_type*);
1140f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ioctl_callback_data_u_type (XDR *, rpc_loc_ioctl_callback_data_u_type*);
1141f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_ioctl_callback_s_type (XDR *, rpc_loc_ioctl_callback_s_type*);
1142f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern  bool_t xdr_rpc_loc_event_payload_u_type (XDR *, rpc_loc_event_payload_u_type*);
1143f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1144f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#else /* K&R C */
1145f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_client_handle_type ();
1146f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_event_mask_type ();
1147f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_position_valid_mask_type ();
1148f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_pos_technology_mask_type ();
1149f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_session_status_e_type ();
1150f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_calendar_time_s_type ();
1151f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_parsed_position_s_type ();
1152f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_sv_system_e_type ();
1153f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_sv_status_e_type ();
1154f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_sv_info_valid_mask_type ();
1155f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_sv_info_s_type ();
1156f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_gnss_info_valid_mask_type ();
1157f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_gnss_info_s_type ();
1158f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_nmea_report_s_type ();
1159f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_status_event_e_type ();
1160f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_engine_state_e_type ();
1161f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_fix_session_state_e_type ();
1162f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_status_event_payload_u_type ();
1163f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_status_event_s_type ();
1164f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_addr_e_type ();
1165f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_addr_ipv4_type ();
1166f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_addr_url_type ();
1167f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_addr_ipv6_type ();
1168f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_addr_u_type ();
1169f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_info_s_type ();
1170f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_notify_verify_e_type ();
1171f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_event_e_type ();
1172f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type ();
1173f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type ();
1174f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type ();
1175f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_vx_requester_id_s_type ();
1176f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type ();
1177f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_supl_pos_method_e_type ();
1178f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type ();
1179f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_requestor_id_s_type ();
1180f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_supl_client_name_s_type ();
1181f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_supl_qop_s_type ();
1182f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type ();
1183f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_ext_client_address_s_type ();
1184f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_location_type_e_type ();
1185f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_deferred_location_s_type ();
1186f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_codeword_string_s_type ();
1187f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_service_type_id_s_type ();
1188f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type ();
1189f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_service_interaction_e_type ();
1190f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_vx_service_interaction_req_s_type ();
1191f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_event_payload_u_type ();
1192f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_event_s_type ();
1193f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_request_e_type ();
1194f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr ();
1195f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers ();
1196f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_time_download_source_s_type ();
1197f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr ();
1198f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers ();
1199f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type ();
1200f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_pos_inj_request_s_type ();
1201f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_request_payload_u_type ();
1202f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_request_s_type ();
1203f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_connection_handle ();
1204f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_protocol_e_type ();
1205f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_connection_e_type ();
1206f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_request_e_type ();
1207f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_open_req_s_type ();
1208f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_multi_open_req_s_type ();
1209f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_close_req_s_type ();
1210f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_request_u_type ();
1211f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_request_s_type ();
1212f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_qwip_request_e_type ();
1213f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_qwip_request_s_type ();
1214f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_reserved_payload_s_type ();
1215f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ioctl_e_type ();
1216f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_api_version_s_type ();
1217f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_fix_recurrence_e_type ();
1218f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_operation_mode_e_type ();
1219f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_notify_e_type ();
1220f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_fix_criteria_s_type ();
1221f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ni_user_resp_e_type ();
1222f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_user_verify_s_type ();
1223f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type ();
1224f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_predicted_orbits_data_s_type ();
1225f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type ();
1226f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type ();
1227f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_time_s_type ();
1228f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_pos_valid_mask_type ();
1229f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_pos_s_type ();
1230f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_open_status_e_type ();
1231f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_pdp_type_e_type ();
1232f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_open_status_s_type ();
1233f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_multi_open_status_s_type ();
1234f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_close_status_e_type ();
1235f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_server_close_status_s_type ();
1236f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_wiper_fix_time_s_type ();
1237f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_wiper_fix_pos_s_type ();
1238f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_wiper_ap_info_s_type ();
1239f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_wiper_ap_set_s_type ();
1240f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_wiper_position_report_s_type ();
1241f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_wiper_status_e_type ();
1242f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_fs_operation_e_type ();
1243f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_efs_data_s_type ();
1244f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_error_estimate_config_e_type ();
1245f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_apn_profiles_type ();
1246f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_lock_e_type ();
1247f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_nmea_sentence_type ();
1248f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_type ();
1249f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_assist_data_delete_s_type ();
1250f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ioctl_data_u_type ();
1251f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ioctl_callback_data_u_type ();
1252f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_ioctl_callback_s_type ();
1253f77c85bb51137f5ba854184e5e9194197027438aAjay Dudaniextern bool_t xdr_rpc_loc_event_payload_u_type ();
1254f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1255f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif /* K&R C */
1256f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1257f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#ifdef __cplusplus
1258f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani}
1259f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif
1260f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani
1261f77c85bb51137f5ba854184e5e9194197027438aAjay Dudani#endif /* !_LOC_API_COMMON_RPC_H_RPCGEN */
1262