18c2d3d5afc51d3f35150f748f263870367771b6fEd Tam/* Copyright (c) 2011, The Linux Foundation. All rights reserved.
28c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *
38c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * Redistribution and use in source and binary forms, with or without
48c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * modification, are permitted provided that the following conditions are
58c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * met:
68c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *     * Redistributions of source code must retain the above copyright
78c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *       notice, this list of conditions and the following disclaimer.
88c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *     * Redistributions in binary form must reproduce the above
98c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *       copyright notice, this list of conditions and the following
108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *       disclaimer in the documentation and/or other materials provided
118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *       with the distribution.
128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *     * Neither the name of The Linux Foundation nor the names of its
138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *       contributors may be used to endorse or promote products derived
148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *       from this software without specific prior written permission.
158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *
168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam *
288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam */
298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam/*
308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * Please do not edit this file.
318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * It was generated using rpcgen.
328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam */
338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#ifndef _LOC_API_COMMON_RPC_H_RPCGEN
358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define _LOC_API_COMMON_RPC_H_RPCGEN
368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#include "librpc.h"
388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#include "commondefs_rpcgen_rpc.h"
398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#include <pthread.h>
418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#ifdef __cplusplus
438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern "C" {
448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif
458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define LOC_API_TOOLVERS 0x00040030
478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define LOC_API_FEATURES 0x00000001
488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_STATUS_REPORT 0x00000100
498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST 0x00000020
508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_WPS_NEEDED_REQUEST 0x00000200
518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_SATELLITE_REPORT 0x00000002
528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_PARSED_POSITION_REPORT 0x00000001
538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_RESERVED 0x8000000000000000
548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_LOCATION_SERVER_REQUEST 0x00000040
558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_NMEA_POSITION_REPORT 0x00000008
568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_IOCTL_REPORT 0x00000080
578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_NMEA_1HZ_REPORT 0x00000004
588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST 0x00000010
598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_CB_NULL_VERSION 0x00050002
608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_CB_F_TYPE_VERSION 0x00050001
618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_API_VERSIONS_VERSION 0x00050001
628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_STOP_FIX_VERSION 0x00050001
638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_START_FIX_VERSION 0x00050001
648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_IOCTL_VERSION 0x00050001
658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_CLOSE_VERSION 0x00050001
668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_RPC_GLUE_CODE_INFO_REMOTE_VERSION 0x00050001
678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_OPEN_VERSION 0x00050001
688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_NULL_VERSION 0x00050001
698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_API_MAJOR_NUM 0x0005
708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_APIAPI_VERSION_IS_HASHKEY 0
718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_int32 rpc_loc_client_handle_type;
738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint64 rpc_loc_event_mask_type;
758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint64 rpc_loc_position_valid_mask_type;
778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_pos_technology_mask_type;
798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
808c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_session_status_e_type {
818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_SUCCESS = 0,
828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_IN_PROGESS = 1,
838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_GENERAL_FAILURE = 2,
848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_TIMEOUT = 3,
858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_USER_END = 4,
868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_BAD_PARAMETER = 5,
878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_PHONE_OFFLINE = 6,
888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_ENGINE_LOCKED = 7,
898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SESS_STATUS_MAX = 268435456,
908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_session_status_e_type rpc_loc_session_status_e_type;
928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_calendar_time_s_type {
948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 year;
958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char month;
968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char day_of_week;
978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char day;
988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char hour;
998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char minute;
1008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char second;
1018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 millisecond;
1028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_calendar_time_s_type rpc_loc_calendar_time_s_type;
1048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_parsed_position_s_type {
1068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_position_valid_mask_type valid_mask;
1078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_session_status_e_type session_status;
1088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_calendar_time_s_type timestamp_calendar;
1098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint64 timestamp_utc;
1108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 leap_seconds;
1118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float time_unc;
1128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    double latitude;
1138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    double longitude;
1148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float altitude_wrt_ellipsoid;
1158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float altitude_wrt_mean_sea_level;
1168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float speed_horizontal;
1178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float speed_vertical;
1188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float heading;
1198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float hor_unc_circular;
1208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float hor_unc_ellipse_semi_major;
1218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float hor_unc_ellipse_semi_minor;
1228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float hor_unc_ellipse_orient_azimuth;
1238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float vert_unc;
1248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float speed_unc;
1258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float heading_unc;
1268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char confidence_horizontal;
1278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char confidence_vertical;
1288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float magnetic_deviation;
1298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_pos_technology_mask_type technology_mask;
1308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_parsed_position_s_type rpc_loc_parsed_position_s_type;
1328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_sv_system_e_type {
1348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_SYSTEM_GPS = 1,
1358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_SYSTEM_GALILEO = 2,
1368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_SYSTEM_SBAS = 3,
1378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_SYSTEM_COMPASS = 4,
1388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_SYSTEM_GLONASS = 5,
1398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_SYSTEM_MAX = 268435456,
1408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_sv_system_e_type rpc_loc_sv_system_e_type;
1428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_sv_status_e_type {
1448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_STATUS_IDLE = 1,
1458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_STATUS_SEARCH = 2,
1468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_STATUS_TRACK = 3,
1478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SV_STATUS_MAX = 268435456,
1488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_sv_status_e_type rpc_loc_sv_status_e_type;
1508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_sv_info_valid_mask_type;
1528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_sv_info_s_type {
1548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_sv_info_valid_mask_type valid_mask;
1558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_sv_system_e_type system;
1568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 prn;
1578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 health_status;
1588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_sv_status_e_type process_status;
1598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_boolean has_eph;
1608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_boolean has_alm;
1618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float elevation;
1628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float azimuth;
1638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float snr;
1648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_sv_info_s_type rpc_loc_sv_info_s_type;
1668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_gnss_info_valid_mask_type;
1688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_gnss_info_s_type {
1708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_gnss_info_valid_mask_type valid_mask;
1718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float position_dop;
1728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float horizontal_dop;
1738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float vertical_dop;
1748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_boolean altitude_assumed;
1758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 sv_count;
1768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    struct {
1778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        u_int sv_list_len;
1788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_sv_info_s_type *sv_list_val;
1798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } sv_list;
1808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_gnss_info_s_type rpc_loc_gnss_info_s_type;
1828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_nmea_report_s_type {
1848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 length;
1858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char nmea_sentences[200];
1868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_nmea_report_s_type rpc_loc_nmea_report_s_type;
1888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_status_event_e_type {
1908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_STATUS_EVENT_ENGINE_STATE = 1,
1918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_STATUS_EVENT_FIX_SESSION_STATE = 2,
1928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_STATUS_EVENT_MAX = 268435456,
1938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1948c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_status_event_e_type rpc_loc_status_event_e_type;
1958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1968c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_engine_state_e_type {
1978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ENGINE_STATE_ON = 1,
1988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ENGINE_STATE_OFF = 2,
1998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ENGINE_STATE_MAX = 268435456,
2008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_engine_state_e_type rpc_loc_engine_state_e_type;
2028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_fix_session_state_e_type {
2048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FIX_SESSION_STATE_BEGIN = 1,
2058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FIX_SESSION_STATE_END = 2,
2068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FIX_SESSION_STATE_MAX = 268435456,
2078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_fix_session_state_e_type rpc_loc_fix_session_state_e_type;
2098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_status_event_payload_u_type {
2118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_status_event_e_type disc;
2128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
2138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_engine_state_e_type engine_state;
2148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_fix_session_state_e_type fix_session_state;
2158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_status_event_payload_u_type_u;
2168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_status_event_payload_u_type rpc_loc_status_event_payload_u_type;
2188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_status_event_s_type {
2208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_status_event_e_type event;
2218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_status_event_payload_u_type payload;
2228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_status_event_s_type rpc_loc_status_event_s_type;
2248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_addr_e_type {
2268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_ADDR_IPV4 = 1,
2278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_ADDR_URL = 2,
2288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_ADDR_IPV6 = 3,
2298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_ADDR_MAX = 268435456,
2308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_addr_e_type rpc_loc_server_addr_e_type;
2328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_ipv4_type {
2348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 addr;
2358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 port;
2368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_ipv4_type rpc_loc_server_addr_ipv4_type;
2388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_url_type {
2408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 length;
2418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char addr[256];
2428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_url_type rpc_loc_server_addr_url_type;
2448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_ipv6_type {
2468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 addr[8];
2478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 port;
2488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_ipv6_type rpc_loc_server_addr_ipv6_type;
2508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_u_type {
2528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_addr_e_type disc;
2538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
2548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_addr_ipv4_type ipv4;
2558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_addr_url_type url;
2568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_addr_ipv6_type ipv6;
2578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_server_addr_u_type_u;
2588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_u_type rpc_loc_server_addr_u_type;
2608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_info_s_type {
2628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_addr_e_type addr_type;
2638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_addr_u_type addr_info;
2648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_info_s_type rpc_loc_server_info_s_type;
2668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_notify_verify_e_type {
2688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_USER_NO_NOTIFY_NO_VERIFY = 1,
2698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_USER_NOTIFY_ONLY = 2,
2708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_USER_NOTIFY_VERIFY_ALLOW_NO_RESP = 3,
2718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP = 4,
2728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_USER_PRIVACY_OVERRIDE = 5,
2738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_USER_NOTIFY_VERITY_TYPE_MAX = 268435456,
2748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_notify_verify_e_type rpc_loc_ni_notify_verify_e_type;
2768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2778c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_event_e_type {
2788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ = 1,
2798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ = 2,
2808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ = 3,
2818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_EVENT_VX_SERVICE_INTERACTION_REQ = 4,
2828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_EVENT_MAX = 268435456,
2838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2848c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_event_e_type rpc_loc_ni_event_e_type;
2858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_datacoding_scheme_e_type {
2878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_ISO646IRV = 0,
2888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_ISO8859 = 1,
2898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_UTF8 = 2,
2908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_UTF16 = 3,
2918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_UCS2 = 4,
2928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_GSM_DEFAULT = 5,
2938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_SHIFT_JIS = 6,
2948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_JIS = 7,
2958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_EUC = 8,
2968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_GB2312 = 9,
2978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_CNS11643 = 10,
2988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_KSC1001 = 11,
2998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_PRESUPL_ENCODING_UNKNOWN = 2147483647,
3008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_GERMAN = 12,
3018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_ENGLISH = 13,
3028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_ITALIAN = 14,
3038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_FRENCH = 15,
3048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_SPANISH = 16,
3058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_DUTCH = 17,
3068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_SWEDISH = 18,
3078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_DANISH = 19,
3088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_PORTUGUESE = 20,
3098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_FINNISH = 21,
3108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_NORWEGIAN = 22,
3118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_GREEK = 23,
3128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_TURKISH = 24,
3138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_HUNGARIAN = 25,
3148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_POLISH = 26,
3158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SS_LANGUAGE_UNSPEC = 27,
3168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SUPL_UTF8 = 28,
3178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SUPL_UCS2 = 29,
3188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SUPL_GSM_DEFAULT = 30,
3198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SUPL_ENCODING_UNKNOWN = 2147483647,
3208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_datacoding_scheme_e_type rpc_loc_ni_datacoding_scheme_e_type;
3228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type {
3248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_OCTET = 0,
3258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_EXN_PROTOCOL_MSG = 1,
3268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_ASCII = 2,
3278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_IA5 = 3,
3288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_UNICODE = 4,
3298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_SHIFT_JIS = 5,
3308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_KOREAN = 6,
3318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_LATIN_HEBREW = 7,
3328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_LATIN = 8,
3338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_GSM = 9,
3348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_VX_ENCODING_TYPE_MAX = 268435456,
3358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type rpc_loc_ni_vx_requester_id_encoding_scheme_e_type;
3378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_vx_pos_mode_e_type {
3398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_VX_MS_ASSISTED_ONLY = 1,
3408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_VX_MS_BASED_ONLY = 2,
3418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_VX_MS_ASSISTED_PREF_MSBASED_ALLWD = 3,
3428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_VX_MS_BASED_PREF_ASSISTED_ALLWD = 4,
3438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_VX_POS_MODE_MAX = 268435456,
3448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_vx_pos_mode_e_type rpc_loc_ni_vx_pos_mode_e_type;
3468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_vx_requester_id_s_type {
3488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char requester_id_length;
3498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char requester_id[200];
3508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_vx_requester_id_s_type rpc_loc_ni_vx_requester_id_s_type;
3528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_vx_notify_verify_req_s_type {
3548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_notify_verify_e_type notification_priv_type;
3558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char pos_qos_incl;
3568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char pos_qos;
3578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 num_fixes;
3588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 tbf;
3598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_vx_pos_mode_e_type pos_mode;
3608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_vx_requester_id_encoding_scheme_e_type encoding_scheme;
3618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_vx_requester_id_s_type requester_id;
3628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 user_resp_timer_val;
3638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_vx_notify_verify_req_s_type rpc_loc_ni_vx_notify_verify_req_s_type;
3658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_supl_pos_method_e_type {
3678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED = 1,
3688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_AGPS_SETBASED = 2,
3698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED_PREF = 3,
3708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_AGPS_SETBASED_PREF = 4,
3718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_AUTONOMOUS_GPS = 5,
3728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_AFLT = 6,
3738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_ECID = 7,
3748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_EOTD = 8,
3758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_OTDOA = 9,
3768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_NO_POSITION = 10,
3778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_POSMETHOD_MAX = 268435456,
3788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3798c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_supl_pos_method_e_type rpc_loc_ni_supl_pos_method_e_type;
3808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_slp_session_id_s_type {
3828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char presence;
3838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char session_id[4];
3848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_info_s_type slp_address;
3858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_slp_session_id_s_type rpc_loc_ni_supl_slp_session_id_s_type;
3878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_requestor_id_s_type {
3898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char data_coding_scheme;
3908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char requestor_id_string[200];
3918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char string_len;
3928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_requestor_id_s_type rpc_loc_ni_requestor_id_s_type;
3948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_client_name_s_type {
3968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char data_coding_scheme;
3978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char client_name_string[64];
3988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char string_len;
3998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4008c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_client_name_s_type rpc_loc_ni_supl_client_name_s_type;
4018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_qop_s_type {
4038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char bit_mask;
4048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char horacc;
4058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char veracc;
4068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 maxLocAge;
4078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char delay;
4088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_qop_s_type rpc_loc_ni_supl_qop_s_type;
4108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_notify_verify_req_s_type {
4128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_notify_verify_e_type notification_priv_type;
4138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 flags;
4148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_supl_slp_session_id_s_type supl_slp_session_id;
4158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char supl_hash[8];
4168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
4178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_supl_pos_method_e_type pos_method;
4188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_requestor_id_s_type requestor_id;
4198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_supl_client_name_s_type client_name;
4208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_supl_qop_s_type supl_qop;
4218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 user_response_timer;
4228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_notify_verify_req_s_type rpc_loc_ni_supl_notify_verify_req_s_type;
4248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_ext_client_address_s_type {
4268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char ext_client_address_len;
4278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char ext_client_address[20];
4288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_ext_client_address_s_type rpc_loc_ni_ext_client_address_s_type;
4308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_location_type_e_type {
4328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LOCATIONTYPE_CURRENT_LOCATION = 1,
4338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION = 2,
4348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION = 3,
4358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LOCATIONTYPE_MAX = 268435456,
4368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_location_type_e_type rpc_loc_ni_location_type_e_type;
4388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_deferred_location_s_type {
4408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char unused_bits;
4418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char ms_available;
4428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_deferred_location_s_type rpc_loc_ni_deferred_location_s_type;
4448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_codeword_string_s_type {
4468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char data_coding_scheme;
4478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char lcs_codeword_string[20];
4488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char string_len;
4498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_codeword_string_s_type rpc_loc_ni_codeword_string_s_type;
4518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_service_type_id_s_type {
4538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char lcs_service_type_id;
4548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_service_type_id_s_type rpc_loc_ni_service_type_id_s_type;
4568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_umts_cp_notify_verify_req_s_type {
4588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_notify_verify_e_type notification_priv_type;
4598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char invoke_id;
4608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 flags;
4618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char notification_length;
4628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char notification_text[64];
4638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
4648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_ext_client_address_s_type ext_client_address_data;
4658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_location_type_e_type location_type;
4668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_deferred_location_s_type deferred_location;
4678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_requestor_id_s_type requestor_id;
4688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_codeword_string_s_type codeword_string;
4698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_service_type_id_s_type service_type_id;
4708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 user_response_timer;
4718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_umts_cp_notify_verify_req_s_type rpc_loc_ni_umts_cp_notify_verify_req_s_type;
4738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_service_interaction_e_type {
4758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SERVICE_INTERACTION_ONGOING_NI_INCOMING_MO = 1,
4768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_SERVICE_INTERACTION_MAX = 268435456,
4778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_service_interaction_e_type rpc_loc_ni_service_interaction_e_type;
4798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4808c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_vx_service_interaction_req_s_type {
4818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_vx_notify_verify_req_s_type ni_vx_req;
4828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_service_interaction_e_type service_interation_type;
4838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4848c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_vx_service_interaction_req_s_type rpc_loc_ni_vx_service_interaction_req_s_type;
4858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_event_payload_u_type {
4878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_event_e_type disc;
4888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
4898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_ni_vx_notify_verify_req_s_type vx_req;
4908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_ni_supl_notify_verify_req_s_type supl_req;
4918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_ni_umts_cp_notify_verify_req_s_type umts_cp_req;
4928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_ni_vx_service_interaction_req_s_type service_interaction_req;
4938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_ni_event_payload_u_type_u;
4948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_event_payload_u_type rpc_loc_ni_event_payload_u_type;
4968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_event_s_type {
4988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_event_e_type event;
4998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_event_payload_u_type payload;
5008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_event_s_type rpc_loc_ni_event_s_type;
5028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_assist_data_request_e_type {
5048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ASSIST_DATA_TIME_REQ = 1,
5058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ = 2,
5068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ASSIST_DATA_POSITION_INJECTION_REQ = 3,
5078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ASSIST_DATA_MAX = 268435456,
5088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_assist_data_request_e_type rpc_loc_assist_data_request_e_type;
5108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef char *rpc_struct_loc_time_download_source_s_type_servers_ptr;
5128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5138c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_struct_loc_time_download_source_s_type_servers_ptr rpc_struct_loc_time_download_source_s_type_servers[3];
5148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_time_download_source_s_type {
5168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 delay_threshold;
5178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_struct_loc_time_download_source_s_type_servers servers;
5188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_time_download_source_s_type rpc_loc_time_download_source_s_type;
5208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef char *rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr;
5228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr rpc_struct_loc_predicted_orbits_data_source_s_type_servers[3];
5248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_data_source_s_type {
5268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 max_file_size;
5278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 max_part_size;
5288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_struct_loc_predicted_orbits_data_source_s_type_servers servers;
5298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_data_source_s_type rpc_loc_predicted_orbits_data_source_s_type;
5318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_pos_inj_request_s_type {
5338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 flags;
5348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    double latitude;
5358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    double longitude;
5368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 position_uncertainty;
5378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint64 timestamp;
5388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_pos_inj_request_s_type rpc_loc_pos_inj_request_s_type;
5408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_request_payload_u_type {
5428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_assist_data_request_e_type disc;
5438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
5448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_time_download_source_s_type time_download;
5458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_predicted_orbits_data_source_s_type data_download;
5468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_pos_inj_request_s_type pos_injection;
5478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_assist_data_request_payload_u_type_u;
5488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_request_payload_u_type rpc_loc_assist_data_request_payload_u_type;
5508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_request_s_type {
5528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_assist_data_request_e_type event;
5538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_assist_data_request_payload_u_type payload;
5548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_request_s_type rpc_loc_assist_data_request_s_type;
5568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_server_connection_handle;
5588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_protocol_e_type {
5608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PROTOCOL_DEFAULT = 0,
5618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PROTOCOL_SUPL = 1,
5628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PROTOCOL_VX_MPC = 2,
5638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PROTOCOL_VX_PDE = 3,
5648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PROTOCOL_MAX = 16777216,
5658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_protocol_e_type rpc_loc_server_protocol_e_type;
5678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_connection_e_type {
5698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_CONNECTION_LBS = 0,
5708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_CONNECTION_WWAN_INTERNET = 0 + 1,
5718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_CONNECTION_MAX = 16777216,
5728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5738c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_connection_e_type rpc_loc_server_connection_e_type;
5748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_request_e_type {
5768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_REQUEST_OPEN = 1,
5778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_REQUEST_CLOSE = 2,
5788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_REQUEST_MULTI_OPEN = 3,
5798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_REQUEST_MAX = 268435456,
5808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_request_e_type rpc_loc_server_request_e_type;
5828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_open_req_s_type {
5848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_handle conn_handle;
5858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_protocol_e_type protocol;
5868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_open_req_s_type rpc_loc_server_open_req_s_type;
5888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_multi_open_req_s_type {
5908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_handle conn_handle;
5918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_protocol_e_type protocol;
5928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_e_type connection_type;
5938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5948c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_multi_open_req_s_type rpc_loc_server_multi_open_req_s_type;
5958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5968c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_close_req_s_type {
5978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_handle conn_handle;
5988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_close_req_s_type rpc_loc_server_close_req_s_type;
6008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_request_u_type {
6028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_request_e_type disc;
6038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
6048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_open_req_s_type open_req;
6058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_close_req_s_type close_req;
6068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_multi_open_req_s_type multi_open_req;
6078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_server_request_u_type_u;
6088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_request_u_type rpc_loc_server_request_u_type;
6108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_request_s_type {
6128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_request_e_type event;
6138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_request_u_type payload;
6148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_request_s_type rpc_loc_server_request_s_type;
6168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_qwip_request_e_type {
6188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_QWIP_START_PERIODIC_HI_FREQ_FIXES = 0,
6198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_QWIP_START_PERIODIC_KEEP_WARM = 0 + 1,
6208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_QWIP_STOP_PERIODIC_FIXES = 0 + 2,
6218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_QWIP_SUSPEND = 0 + 3,
6228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_QWIP_REQUEST_MAX = 268435456,
6238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6248c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_qwip_request_e_type rpc_loc_qwip_request_e_type;
6258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_qwip_request_s_type {
6278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_qwip_request_e_type request_type;
6288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 tbf_ms;
6298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_qwip_request_s_type rpc_loc_qwip_request_s_type;
6318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_reserved_payload_s_type {
6338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 data_size;
6348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    struct {
6358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        u_int data_len;
6368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        char *data_val;
6378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } data;
6388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_reserved_payload_s_type rpc_loc_reserved_payload_s_type;
6408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ioctl_e_type {
6428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_API_VERSION = 1,
6438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_FIX_CRITERIA = 2,
6448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_FIX_CRITERIA = 3,
6458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SERVICE_START_INDEX = 400,
6468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE = 400,
6478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA = 401,
6488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY = 402,
6498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE = 403,
6508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD = 404,
6518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INJECT_UTC_TIME = 405,
6528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INJECT_RTC_VALUE = 406,
6538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INJECT_POSITION = 407,
6548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_QUERY_ENGINE_STATE = 408,
6558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS = 409,
6568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS = 410,
6578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SEND_WIPER_POSITION_REPORT = 411,
6588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_NOTIFY_WIPER_STATUS = 412,
6598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_ACCESS_EFS_DATA = 413,
6608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_ERROR_ESTIMATE_CONFIG = 414,
6618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_INFORM_SERVER_MULTI_OPEN_STATUS = 415,
6628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_NV_SETTINGS_START_INDEX = 800,
6638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_ENGINE_LOCK = 800,
6648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_ENGINE_LOCK = 801,
6658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_SBAS_CONFIG = 802,
6668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_SBAS_CONFIG = 803,
6678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_NMEA_TYPES = 804,
6688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_NMEA_TYPES = 805,
6698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR = 806,
6708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR = 807,
6718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR = 808,
6728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR = 809,
6738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR = 810,
6748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR = 811,
6758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_ON_DEMAND_LPM = 812,
6768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_ON_DEMAND_LPM = 813,
6778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_XTRA_T_SESSION_CONTROL = 814,
6788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_XTRA_T_SESSION_CONTROL = 815,
6798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_LBS_APN_PROFILE = 816,
6808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_LBS_APN_PROFILE = 817,
6818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_XTRA_APN_PROFILE = 818,
6828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_XTRA_APN_PROFILE = 819,
6838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_DATA_ENABLE = 820,
6848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_SUPL_VERSION = 821,
6858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_SUPL_VERSION = 822,
6868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_PROPRIETARY_START_INDEX = 1000,
6878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_DELETE_ASSIST_DATA = 1000,
6888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR = 1001,
6898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR = 1002,
6908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_RESERVED_CMD = 8000,
6918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_IOCTL_THIRD_PARTY_START_INDEX = 1073741824,
6928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ioctl_e_type rpc_loc_ioctl_e_type;
6948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_api_version_s_type {
6968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char major;
6978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char minor;
6988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_api_version_s_type rpc_loc_api_version_s_type;
7008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_fix_recurrence_e_type {
7028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_PERIODIC_FIX = 1,
7038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SINGLE_FIX = 2,
7048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FIX_SESSION_TYPE_MAX = 268435456,
7058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_fix_recurrence_e_type rpc_loc_fix_recurrence_e_type;
7078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_operation_mode_e_type {
7098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_DEFAULT = 1,
7108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_MSB = 2,
7118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_MSA = 3,
7128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_STANDALONE = 4,
7138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_SPEED_OPTIMAL = 5,
7148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_ACCURACY_OPTIMAL = 6,
7158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_DATA_OPTIMAL = 7,
7168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_CELL_ID = 8,
7178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_OPER_MODE_MAX = 268435456,
7188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_operation_mode_e_type rpc_loc_operation_mode_e_type;
7208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_notify_e_type {
7228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NOTIFY_ON_INTERVAL = 1,
7238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NOTIFY_ON_DISTANCE = 2,
7248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NOTIFY_ON_ANY = 3,
7258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NOTIFY_ON_ALL = 4,
7268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NOTIFY_TYPE_MAX = 268435456,
7278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_notify_e_type rpc_loc_notify_e_type;
7298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_fix_criteria_s_type {
7318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 valid_mask;
7328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_fix_recurrence_e_type recurrence_type;
7338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_operation_mode_e_type preferred_operation_mode;
7348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 preferred_accuracy;
7358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 preferred_response_time;
7368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_boolean intermediate_pos_report_enabled;
7378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_notify_e_type notify_type;
7388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 min_interval;
7398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float min_distance;
7408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 min_dist_sample_interval;
7418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_fix_criteria_s_type rpc_loc_fix_criteria_s_type;
7438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_user_resp_e_type {
7458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT = 1,
7468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LCS_NOTIFY_VERIFY_DENY = 2,
7478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LCS_NOTIFY_VERIFY_NORESP = 3,
7488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_NI_LCS_NOTIFY_VERIFY_MAX = 268435456,
7498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_user_resp_e_type rpc_loc_ni_user_resp_e_type;
7518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_user_verify_s_type {
7538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_user_resp_e_type user_resp;
7548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ni_event_s_type ni_event_pass_back;
7558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_user_verify_s_type rpc_loc_user_verify_s_type;
7578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_predicted_orbits_data_format_e_type {
7598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_PREDICTED_ORBITS_XTRA = 0,
7608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_PREDICTED_ORBITS_FORMAT_MAX = 268435456,
7618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_predicted_orbits_data_format_e_type rpc_loc_predicted_orbits_data_format_e_type;
7638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_data_s_type {
7658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_predicted_orbits_data_format_e_type format_type;
7668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 total_size;
7678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 total_parts;
7688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 part;
7698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 part_len;
7708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    struct {
7718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        u_int data_ptr_len;
7728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        char *data_ptr_val;
7738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } data_ptr;
7748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_data_s_type rpc_loc_predicted_orbits_data_s_type;
7768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7778c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_data_validity_report_s_type {
7788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint64 start_time_utc;
7798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 valid_duration_hrs;
7808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_data_validity_report_s_type rpc_loc_predicted_orbits_data_validity_report_s_type;
7828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_auto_download_config_s_type {
7848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_boolean enable;
7858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char auto_check_every_hrs;
7868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_auto_download_config_s_type rpc_loc_predicted_orbits_auto_download_config_s_type;
7888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_time_s_type {
7908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint64 time_utc;
7918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 uncertainty;
7928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_time_s_type rpc_loc_assist_data_time_s_type;
7948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint64 rpc_loc_assist_pos_valid_mask_type;
7968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_pos_s_type {
7988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_assist_pos_valid_mask_type valid_mask;
7998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint64 timestamp_utc;
8008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    double latitude;
8018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    double longitude;
8028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float altitude_wrt_ellipsoid;
8038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float altitude_wrt_mean_sea_level;
8048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float hor_unc_circular;
8058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    float vert_unc;
8068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char confidence_horizontal;
8078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_char confidence_vertical;
8088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_int32 timestamp_age;
8098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_pos_s_type rpc_loc_assist_data_pos_s_type;
8118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_open_status_e_type {
8138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_OPEN_SUCCESS = 1,
8148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_OPEN_FAIL = 2,
8158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_OPEN_STATUS_MAX = 268435456,
8168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_open_status_e_type rpc_loc_server_open_status_e_type;
8188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_pdp_type_e_type {
8208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PDP_IP = 0,
8218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PDP_PPP = 0 + 1,
8228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PDP_IPV6 = 0 + 2,
8238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PDP_IPV4V6 = 0 + 3,
8248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_PDP_MAX = 268435456,
8258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_pdp_type_e_type rpc_loc_server_pdp_type_e_type;
8278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_open_status_s_type {
8298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_handle conn_handle;
8308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_open_status_e_type open_status;
8318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char apn_name[100];
8328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_open_status_s_type rpc_loc_server_open_status_s_type;
8348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_multi_open_status_s_type {
8368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_handle conn_handle;
8378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_open_status_e_type open_status;
8388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_pdp_type_e_type pdp_type;
8398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char apn_name[100];
8408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_multi_open_status_s_type rpc_loc_server_multi_open_status_s_type;
8428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_close_status_e_type {
8448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_CLOSE_SUCCESS = 1,
8458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_CLOSE_FAIL = 2,
8468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_SERVER_CLOSE_STATUS_MAX = 268435456,
8478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_close_status_e_type rpc_loc_server_close_status_e_type;
8498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_close_status_s_type {
8518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_connection_handle conn_handle;
8528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_server_close_status_e_type close_status;
8538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_close_status_s_type rpc_loc_server_close_status_s_type;
8558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_wiper_fix_time_s_type {
8578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 slow_clock_count;
8588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_wiper_fix_time_s_type rpc_loc_wiper_fix_time_s_type;
8608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_wiper_fix_pos_s_type {
8628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_int32 lat;
8638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_int32 lon;
8648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 HEPE;
8658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 num_of_aps_used;
8668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 fix_error_code;
8678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_wiper_fix_pos_s_type rpc_loc_wiper_fix_pos_s_type;
8698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8708c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_wiper_ap_info_s_type {
8718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char mac_addr[6];
8728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_int32 rssi;
8738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint16 channel;
8748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 ap_qualifier;
8758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_wiper_ap_info_s_type rpc_loc_wiper_ap_info_s_type;
8778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_wiper_ap_set_s_type {
8798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 num_of_aps;
8808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_wiper_ap_info_s_type ap_info[50];
8818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8828c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_wiper_ap_set_s_type rpc_loc_wiper_ap_set_s_type;
8838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8848c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_wiper_position_report_s_type {
8858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 wiper_valid_info_flag;
8868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_wiper_fix_time_s_type wiper_fix_time;
8878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_wiper_fix_pos_s_type wiper_fix_position;
8888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_wiper_ap_set_s_type wiper_ap_set;
8898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8908c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_wiper_position_report_s_type rpc_loc_wiper_position_report_s_type;
8918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8928c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_wiper_status_e_type {
8938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_WIPER_STATUS_AVAILABLE = 1,
8948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_WIPER_STATUS_UNAVAILABLE = 2,
8958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_WIPER_STATUS_E_SIZE = 268435456,
8968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_wiper_status_e_type rpc_loc_wiper_status_e_type;
8988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_fs_operation_e_type {
9008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FS_CREATE_WRITE_FILE = 1,
9018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FS_APPEND_FILE = 2,
9028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FS_DELETE_FILE = 3,
9038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FS_READ_FILE = 4,
9048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_FS_MAX = 268435456,
9058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_fs_operation_e_type rpc_loc_fs_operation_e_type;
9078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_efs_data_s_type {
9098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char filename[64];
9108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_fs_operation_e_type operation;
9118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 total_size;
9128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    struct {
9138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        u_int data_ptr_len;
9148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        char *data_ptr_val;
9158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } data_ptr;
9168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 part_len;
9178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 part;
9188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint8 total_parts;
9198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 reserved;
9208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_efs_data_s_type rpc_loc_efs_data_s_type;
9228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_error_estimate_config_e_type {
9248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ERROR_ESTIMATE_CONFIG_SET = 1,
9258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ERROR_ESTIMATE_CONFIG_CLEAR = 2,
9268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_ERROR_ESTIMATE_MAX = 268435456,
9278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_error_estimate_config_e_type rpc_loc_error_estimate_config_e_type;
9298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_apn_profiles_type {
9318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 srv_system_type;
9328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 pdp_type;
9338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 reserved;
9348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    char apn_name[100];
9358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_apn_profiles_type rpc_loc_apn_profiles_type;
9378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_lock_e_type {
9398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_LOCK_NONE = 1,
9408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_LOCK_MI = 2,
9418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_LOCK_MT = 3,
9428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_LOCK_ALL = 4,
9438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    RPC_LOC_LOCK_MAX = 268435456,
9448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_lock_e_type rpc_loc_lock_e_type;
9468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_nmea_sentence_type;
9488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_assist_data_type;
9508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_delete_s_type {
9528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_assist_data_type type;
9538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_uint32 reserved[8];
9548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_delete_s_type rpc_loc_assist_data_delete_s_type;
9568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ioctl_data_u_type {
9588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ioctl_e_type disc;
9598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
9608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_fix_criteria_s_type fix_criteria;
9618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_user_verify_s_type user_verify_resp;
9628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_predicted_orbits_data_s_type predicted_orbits_data;
9638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_predicted_orbits_auto_download_config_s_type predicted_orbits_auto_download;
9648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_assist_data_time_s_type assistance_data_time;
9658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_assist_data_pos_s_type assistance_data_position;
9668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_open_status_s_type conn_open_status;
9678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_close_status_s_type conn_close_status;
9688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_wiper_position_report_s_type wiper_pos;
9698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_wiper_status_e_type wiper_status;
9708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_lock_e_type engine_lock;
9718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_boolean sbas_mode;
9728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_nmea_sentence_type nmea_types;
9738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_boolean on_demand_lpm;
9748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_info_s_type server_addr;
9758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_assist_data_delete_s_type assist_data_delete;
9768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_efs_data_s_type efs_data;
9778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_error_estimate_config_e_type error_estimate_config;
9788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_uint8 xtra_t_session_control;
9798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_apn_profiles_type apn_profiles[6];
9808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_boolean data_enable;
9818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_uint32 supl_version;
9828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_multi_open_status_s_type multi_conn_open_status;
9838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_reserved_payload_s_type reserved;
9848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_ioctl_data_u_type_u;
9858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
9868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ioctl_data_u_type rpc_loc_ioctl_data_u_type;
9878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ioctl_callback_data_u_type {
9898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ioctl_e_type disc;
9908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
9918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_api_version_s_type api_version;
9928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_fix_criteria_s_type fix_criteria;
9938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_lock_e_type engine_lock;
9948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_boolean sbas_mode;
9958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_nmea_sentence_type nmea_types;
9968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_boolean on_demand_lpm;
9978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_info_s_type server_addr;
9988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_predicted_orbits_data_source_s_type predicted_orbits_data_source;
9998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_predicted_orbits_data_validity_report_s_type predicted_orbits_data_validity;
10008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_uint8 xtra_t_session_control;
10018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_apn_profiles_type apn_profiles[6];
10028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_uint32 supl_version;
10038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_ioctl_callback_data_u_type_u;
10048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
10058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ioctl_callback_data_u_type rpc_loc_ioctl_callback_data_u_type;
10068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10078c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ioctl_callback_s_type {
10088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ioctl_e_type type;
10098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_int32 status;
10108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    rpc_loc_ioctl_callback_data_u_type data;
10118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
10128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ioctl_callback_s_type rpc_loc_ioctl_callback_s_type;
10138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_event_payload_u_type {
10158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    u_quad_t disc;
10168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    union {
10178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_parsed_position_s_type parsed_location_report;
10188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_gnss_info_s_type gnss_report;
10198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_nmea_report_s_type nmea_report;
10208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_ni_event_s_type ni_request;
10218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_assist_data_request_s_type assist_data_request;
10228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_server_request_s_type loc_server_request;
10238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_ioctl_callback_s_type ioctl_report;
10248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_status_event_s_type status_report;
10258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_qwip_request_s_type qwip_request;
10268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam        rpc_loc_reserved_payload_s_type reserved;
10278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam    } rpc_loc_event_payload_u_type_u;
10288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
10298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_event_payload_u_type rpc_loc_event_payload_u_type;
10308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam/* the xdr functions */
10328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#if defined(__STDC__) || defined(__cplusplus)
10348c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_client_handle_type (XDR *, rpc_loc_client_handle_type*);
10358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_event_mask_type (XDR *, rpc_loc_event_mask_type*);
10368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_position_valid_mask_type (XDR *, rpc_loc_position_valid_mask_type*);
10378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_pos_technology_mask_type (XDR *, rpc_loc_pos_technology_mask_type*);
10388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_session_status_e_type (XDR *, rpc_loc_session_status_e_type*);
10398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_calendar_time_s_type (XDR *, rpc_loc_calendar_time_s_type*);
10408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_parsed_position_s_type (XDR *, rpc_loc_parsed_position_s_type*);
10418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_system_e_type (XDR *, rpc_loc_sv_system_e_type*);
10428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_status_e_type (XDR *, rpc_loc_sv_status_e_type*);
10438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_info_valid_mask_type (XDR *, rpc_loc_sv_info_valid_mask_type*);
10448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_info_s_type (XDR *, rpc_loc_sv_info_s_type*);
10458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_gnss_info_valid_mask_type (XDR *, rpc_loc_gnss_info_valid_mask_type*);
10468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_gnss_info_s_type (XDR *, rpc_loc_gnss_info_s_type*);
10478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_nmea_report_s_type (XDR *, rpc_loc_nmea_report_s_type*);
10488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_status_event_e_type (XDR *, rpc_loc_status_event_e_type*);
10498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_engine_state_e_type (XDR *, rpc_loc_engine_state_e_type*);
10508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_fix_session_state_e_type (XDR *, rpc_loc_fix_session_state_e_type*);
10518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_status_event_payload_u_type (XDR *, rpc_loc_status_event_payload_u_type*);
10528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_status_event_s_type (XDR *, rpc_loc_status_event_s_type*);
10538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_e_type (XDR *, rpc_loc_server_addr_e_type*);
10548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_ipv4_type (XDR *, rpc_loc_server_addr_ipv4_type*);
10558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_url_type (XDR *, rpc_loc_server_addr_url_type*);
10568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_ipv6_type (XDR *, rpc_loc_server_addr_ipv6_type*);
10578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_u_type (XDR *, rpc_loc_server_addr_u_type*);
10588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_info_s_type (XDR *, rpc_loc_server_info_s_type*);
10598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_notify_verify_e_type (XDR *, rpc_loc_ni_notify_verify_e_type*);
10608c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_event_e_type (XDR *, rpc_loc_ni_event_e_type*);
10618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type (XDR *, rpc_loc_ni_datacoding_scheme_e_type*);
10628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type (XDR *, rpc_loc_ni_vx_requester_id_encoding_scheme_e_type*);
10638c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type (XDR *, rpc_loc_ni_vx_pos_mode_e_type*);
10648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_requester_id_s_type (XDR *, rpc_loc_ni_vx_requester_id_s_type*);
10658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type (XDR *, rpc_loc_ni_vx_notify_verify_req_s_type*);
10668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_pos_method_e_type (XDR *, rpc_loc_ni_supl_pos_method_e_type*);
10678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type (XDR *, rpc_loc_ni_supl_slp_session_id_s_type*);
10688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_requestor_id_s_type (XDR *, rpc_loc_ni_requestor_id_s_type*);
10698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_client_name_s_type (XDR *, rpc_loc_ni_supl_client_name_s_type*);
10708c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_qop_s_type (XDR *, rpc_loc_ni_supl_qop_s_type*);
10718c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type (XDR *, rpc_loc_ni_supl_notify_verify_req_s_type*);
10728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_ext_client_address_s_type (XDR *, rpc_loc_ni_ext_client_address_s_type*);
10738c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_location_type_e_type (XDR *, rpc_loc_ni_location_type_e_type*);
10748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_deferred_location_s_type (XDR *, rpc_loc_ni_deferred_location_s_type*);
10758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_codeword_string_s_type (XDR *, rpc_loc_ni_codeword_string_s_type*);
10768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_service_type_id_s_type (XDR *, rpc_loc_ni_service_type_id_s_type*);
10778c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type (XDR *, rpc_loc_ni_umts_cp_notify_verify_req_s_type*);
10788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_service_interaction_e_type (XDR *, rpc_loc_ni_service_interaction_e_type*);
10798c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_service_interaction_req_s_type (XDR *, rpc_loc_ni_vx_service_interaction_req_s_type*);
10808c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_event_payload_u_type (XDR *, rpc_loc_ni_event_payload_u_type*);
10818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_event_s_type (XDR *, rpc_loc_ni_event_s_type*);
10828c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_request_e_type (XDR *, rpc_loc_assist_data_request_e_type*);
10838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr (XDR *, rpc_struct_loc_time_download_source_s_type_servers_ptr*);
10848c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers (XDR *, rpc_struct_loc_time_download_source_s_type_servers);
10858c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_time_download_source_s_type (XDR *, rpc_loc_time_download_source_s_type*);
10868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  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*);
10878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers (XDR *, rpc_struct_loc_predicted_orbits_data_source_s_type_servers);
10888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type (XDR *, rpc_loc_predicted_orbits_data_source_s_type*);
10898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_pos_inj_request_s_type (XDR *, rpc_loc_pos_inj_request_s_type*);
10908c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_request_payload_u_type (XDR *, rpc_loc_assist_data_request_payload_u_type*);
10918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_request_s_type (XDR *, rpc_loc_assist_data_request_s_type*);
10928c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_connection_handle (XDR *, rpc_loc_server_connection_handle*);
10938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_protocol_e_type (XDR *, rpc_loc_server_protocol_e_type*);
10948c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_connection_e_type (XDR *, rpc_loc_server_connection_e_type*);
10958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_request_e_type (XDR *, rpc_loc_server_request_e_type*);
10968c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_open_req_s_type (XDR *, rpc_loc_server_open_req_s_type*);
10978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_multi_open_req_s_type (XDR *, rpc_loc_server_multi_open_req_s_type*);
10988c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_close_req_s_type (XDR *, rpc_loc_server_close_req_s_type*);
10998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_request_u_type (XDR *, rpc_loc_server_request_u_type*);
11008c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_request_s_type (XDR *, rpc_loc_server_request_s_type*);
11018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_qwip_request_e_type (XDR *, rpc_loc_qwip_request_e_type*);
11028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_qwip_request_s_type (XDR *, rpc_loc_qwip_request_s_type*);
11038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_reserved_payload_s_type (XDR *, rpc_loc_reserved_payload_s_type*);
11048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_e_type (XDR *, rpc_loc_ioctl_e_type*);
11058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_api_version_s_type (XDR *, rpc_loc_api_version_s_type*);
11068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_fix_recurrence_e_type (XDR *, rpc_loc_fix_recurrence_e_type*);
11078c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_operation_mode_e_type (XDR *, rpc_loc_operation_mode_e_type*);
11088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_notify_e_type (XDR *, rpc_loc_notify_e_type*);
11098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_fix_criteria_s_type (XDR *, rpc_loc_fix_criteria_s_type*);
11108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_user_resp_e_type (XDR *, rpc_loc_ni_user_resp_e_type*);
11118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_user_verify_s_type (XDR *, rpc_loc_user_verify_s_type*);
11128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type (XDR *, rpc_loc_predicted_orbits_data_format_e_type*);
11138c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_s_type (XDR *, rpc_loc_predicted_orbits_data_s_type*);
11148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type (XDR *, rpc_loc_predicted_orbits_data_validity_report_s_type*);
11158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type (XDR *, rpc_loc_predicted_orbits_auto_download_config_s_type*);
11168c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_time_s_type (XDR *, rpc_loc_assist_data_time_s_type*);
11178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_pos_valid_mask_type (XDR *, rpc_loc_assist_pos_valid_mask_type*);
11188c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_pos_s_type (XDR *, rpc_loc_assist_data_pos_s_type*);
11198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_open_status_e_type (XDR *, rpc_loc_server_open_status_e_type*);
11208c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_pdp_type_e_type (XDR *, rpc_loc_server_pdp_type_e_type*);
11218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_open_status_s_type (XDR *, rpc_loc_server_open_status_s_type*);
11228c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_multi_open_status_s_type (XDR *, rpc_loc_server_multi_open_status_s_type*);
11238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_close_status_e_type (XDR *, rpc_loc_server_close_status_e_type*);
11248c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_close_status_s_type (XDR *, rpc_loc_server_close_status_s_type*);
11258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_wiper_fix_time_s_type (XDR *, rpc_loc_wiper_fix_time_s_type*);
11268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_wiper_fix_pos_s_type (XDR *, rpc_loc_wiper_fix_pos_s_type*);
11278c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_wiper_ap_info_s_type (XDR *, rpc_loc_wiper_ap_info_s_type*);
11288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_wiper_ap_set_s_type (XDR *, rpc_loc_wiper_ap_set_s_type*);
11298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_wiper_position_report_s_type (XDR *, rpc_loc_wiper_position_report_s_type*);
11308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_wiper_status_e_type (XDR *, rpc_loc_wiper_status_e_type*);
11318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_fs_operation_e_type (XDR *, rpc_loc_fs_operation_e_type*);
11328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_efs_data_s_type (XDR *, rpc_loc_efs_data_s_type*);
11338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_error_estimate_config_e_type (XDR *, rpc_loc_error_estimate_config_e_type*);
11348c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_apn_profiles_type (XDR *, rpc_loc_apn_profiles_type*);
11358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_lock_e_type (XDR *, rpc_loc_lock_e_type*);
11368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_nmea_sentence_type (XDR *, rpc_loc_nmea_sentence_type*);
11378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_type (XDR *, rpc_loc_assist_data_type*);
11388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_delete_s_type (XDR *, rpc_loc_assist_data_delete_s_type*);
11398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_data_u_type (XDR *, rpc_loc_ioctl_data_u_type*);
11408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_callback_data_u_type (XDR *, rpc_loc_ioctl_callback_data_u_type*);
11418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_callback_s_type (XDR *, rpc_loc_ioctl_callback_s_type*);
11428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_event_payload_u_type (XDR *, rpc_loc_event_payload_u_type*);
11438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
11448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#else /* K&R C */
11458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_client_handle_type ();
11468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_event_mask_type ();
11478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_position_valid_mask_type ();
11488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_pos_technology_mask_type ();
11498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_session_status_e_type ();
11508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_calendar_time_s_type ();
11518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_parsed_position_s_type ();
11528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_system_e_type ();
11538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_status_e_type ();
11548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_info_valid_mask_type ();
11558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_info_s_type ();
11568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_gnss_info_valid_mask_type ();
11578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_gnss_info_s_type ();
11588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_nmea_report_s_type ();
11598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_status_event_e_type ();
11608c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_engine_state_e_type ();
11618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_fix_session_state_e_type ();
11628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_status_event_payload_u_type ();
11638c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_status_event_s_type ();
11648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_e_type ();
11658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_ipv4_type ();
11668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_url_type ();
11678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_ipv6_type ();
11688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_u_type ();
11698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_info_s_type ();
11708c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_notify_verify_e_type ();
11718c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_event_e_type ();
11728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type ();
11738c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type ();
11748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type ();
11758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_requester_id_s_type ();
11768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type ();
11778c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_pos_method_e_type ();
11788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type ();
11798c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_requestor_id_s_type ();
11808c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_client_name_s_type ();
11818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_qop_s_type ();
11828c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type ();
11838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_ext_client_address_s_type ();
11848c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_location_type_e_type ();
11858c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_deferred_location_s_type ();
11868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_codeword_string_s_type ();
11878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_service_type_id_s_type ();
11888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type ();
11898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_service_interaction_e_type ();
11908c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_service_interaction_req_s_type ();
11918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_event_payload_u_type ();
11928c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_event_s_type ();
11938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_request_e_type ();
11948c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr ();
11958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers ();
11968c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_time_download_source_s_type ();
11978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr ();
11988c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers ();
11998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type ();
12008c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_pos_inj_request_s_type ();
12018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_request_payload_u_type ();
12028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_request_s_type ();
12038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_connection_handle ();
12048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_protocol_e_type ();
12058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_connection_e_type ();
12068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_request_e_type ();
12078c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_open_req_s_type ();
12088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_multi_open_req_s_type ();
12098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_close_req_s_type ();
12108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_request_u_type ();
12118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_request_s_type ();
12128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_qwip_request_e_type ();
12138c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_qwip_request_s_type ();
12148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_reserved_payload_s_type ();
12158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_e_type ();
12168c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_api_version_s_type ();
12178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_fix_recurrence_e_type ();
12188c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_operation_mode_e_type ();
12198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_notify_e_type ();
12208c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_fix_criteria_s_type ();
12218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_user_resp_e_type ();
12228c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_user_verify_s_type ();
12238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type ();
12248c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_s_type ();
12258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type ();
12268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type ();
12278c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_time_s_type ();
12288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_pos_valid_mask_type ();
12298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_pos_s_type ();
12308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_open_status_e_type ();
12318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_pdp_type_e_type ();
12328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_open_status_s_type ();
12338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_multi_open_status_s_type ();
12348c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_close_status_e_type ();
12358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_close_status_s_type ();
12368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_wiper_fix_time_s_type ();
12378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_wiper_fix_pos_s_type ();
12388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_wiper_ap_info_s_type ();
12398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_wiper_ap_set_s_type ();
12408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_wiper_position_report_s_type ();
12418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_wiper_status_e_type ();
12428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_fs_operation_e_type ();
12438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_efs_data_s_type ();
12448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_error_estimate_config_e_type ();
12458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_apn_profiles_type ();
12468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_lock_e_type ();
12478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_nmea_sentence_type ();
12488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_type ();
12498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_delete_s_type ();
12508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_data_u_type ();
12518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_callback_data_u_type ();
12528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_callback_s_type ();
12538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_event_payload_u_type ();
12548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
12558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif /* K&R C */
12568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
12578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#ifdef __cplusplus
12588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam}
12598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif
12608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
12618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif /* !_LOC_API_COMMON_RPC_H_RPCGEN */
1262