18c2d3d5afc51d3f35150f748f263870367771b6fEd Tam/*
28c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * Please do not edit this file.
38c2d3d5afc51d3f35150f748f263870367771b6fEd Tam * It was generated using rpcgen.
48c2d3d5afc51d3f35150f748f263870367771b6fEd Tam */
58c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
68c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#ifndef _LOC_API_COMMON_H_RPCGEN
78c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define _LOC_API_COMMON_H_RPCGEN
88c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
98c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#include <rpc/rpc.h>
108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#include "loc_api_fixup.h"
118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#include <pthread.h>
138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#ifdef __cplusplus
158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern "C" {
168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif
178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_NI_NOTIFY_VERIFY_REQUEST 0x00000010
198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_IOCTL_REPORT 0x00000080
208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_LOCATION_SERVER_REQUEST 0x00000040
218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_RESERVED 0x8000000000000000
228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_PARSED_POSITION_REPORT 0x00000001
238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_ASSISTANCE_DATA_REQUEST 0x00000020
248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_NMEA_POSITION_REPORT 0x00000008
258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_SATELLITE_REPORT 0x00000002
268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_STATUS_REPORT 0x00000100
278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_OPEN_VERSION 0x00010001
288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_CLOSE_VERSION 0x00010001
298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_START_FIX_VERSION 0x00010001
308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_STOP_FIX_VERSION 0x00010001
318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_IOCTL_VERSION 0x00010001
328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_EVENT_CB_F_TYPE_VERSION 0x00010001
338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_APIAPI_VERSION_IS_HASHKEY 0
348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_API_MAJOR_NUM 0x0001
358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef bool_t rpc_boolean;
378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef u_long rpc_uint32;
398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef u_short rpc_uint16;
418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef u_char rpc_uint8;
438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef long rpc_int32;
458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef u_char rpc_byte;
478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef u_quad_t rpc_uint64;
498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_int32 rpc_loc_client_handle_type;
518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint64 rpc_loc_event_mask_type;
538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint64 rpc_loc_position_valid_mask_type;
558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_pos_technology_mask_type;
578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_session_status_e_type {
598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_SUCCESS = 0,
608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_IN_PROGESS = 1,
618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_GENERAL_FAILURE = 2,
628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_TIMEOUT = 3,
638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_USER_END = 4,
648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_BAD_PARAMETER = 5,
658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_PHONE_OFFLINE = 6,
668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_ENGINE_LOCKED = 7,
678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SESS_STATUS_MAX = 268435456,
688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_session_status_e_type rpc_loc_session_status_e_type;
708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
718c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_calendar_time_s_type {
728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 year;
738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char month;
748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char day_of_week;
758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char day;
768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char hour;
778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char minute;
788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char second;
798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 millisecond;
808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_calendar_time_s_type rpc_loc_calendar_time_s_type;
828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_parsed_position_s_type {
848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_position_valid_mask_type valid_mask;
858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_session_status_e_type session_status;
868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_calendar_time_s_type timestamp_calendar;
878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint64 timestamp_utc;
888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint8 leap_seconds;
898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float time_unc;
908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	double latitude;
918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	double longitude;
928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float altitude_wrt_ellipsoid;
938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float altitude_wrt_mean_sea_level;
948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float speed_horizontal;
958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float speed_vertical;
968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float heading;
978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float hor_unc_circular;
988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float hor_unc_ellipse_semi_major;
998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float hor_unc_ellipse_semi_minor;
1008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float hor_unc_ellipse_orient_azimuth;
1018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float vert_unc;
1028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float speed_unc;
1038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float heading_unc;
1048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char confidence_horizontal;
1058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char confidence_vertical;
1068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float magnetic_deviation;
1078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_pos_technology_mask_type technology_mask;
1088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_parsed_position_s_type rpc_loc_parsed_position_s_type;
1108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_sv_system_e_type {
1128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_SYSTEM_GPS = 1,
1138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_SYSTEM_GALILEO = 2,
1148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_SYSTEM_SBAS = 3,
1158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_SYSTEM_COMPASS = 4,
1168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_SYSTEM_GLONASS = 5,
1178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_SYSTEM_MAX = 268435456,
1188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_sv_system_e_type rpc_loc_sv_system_e_type;
1208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_sv_status_e_type {
1228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_STATUS_IDLE = 1,
1238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_STATUS_SEARCH = 2,
1248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_STATUS_TRACK = 3,
1258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SV_STATUS_MAX = 268435456,
1268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1278c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_sv_status_e_type rpc_loc_sv_status_e_type;
1288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_sv_info_valid_mask_type;
1308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_sv_info_s_type {
1328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_sv_info_valid_mask_type valid_mask;
1338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_sv_system_e_type system;
1348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint8 prn;
1358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint8 health_status;
1368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_sv_status_e_type process_status;
1378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_boolean has_eph;
1388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_boolean has_alm;
1398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float elevation;
1408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float azimuth;
1418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float snr;
1428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_sv_info_s_type rpc_loc_sv_info_s_type;
1448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_gnss_info_valid_mask_type;
1468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_gnss_info_s_type {
1488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_gnss_info_valid_mask_type valid_mask;
1498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float position_dop;
1508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float horizontal_dop;
1518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float vertical_dop;
1528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_boolean altitude_assumed;
1538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 sv_count;
1548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
1558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int sv_list_len;
1568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_sv_info_s_type *sv_list_val;
1578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} sv_list;
1588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_gnss_info_s_type rpc_loc_gnss_info_s_type;
1608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_nmea_report_s_type {
1628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 length;
1638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
1648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int nmea_sentences_len;
1658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *nmea_sentences_val;
1668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} nmea_sentences;
1678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_nmea_report_s_type rpc_loc_nmea_report_s_type;
1698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1708c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_status_event_e_type {
1718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_STATUS_EVENT_ENGINE_STATE = 1,
1728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_STATUS_EVENT_MAX = 268435456,
1738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_status_event_e_type rpc_loc_status_event_e_type;
1758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_engine_state_e_type {
1778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_ENGINE_STATE_ON = 1,
1788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_ENGINE_STATE_OFF = 2,
1798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_ENGINE_STATE_MAX = 268435456,
1808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_engine_state_e_type rpc_loc_engine_state_e_type;
1828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_status_event_payload_u_type {
1848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_status_event_e_type disc;
1858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
1868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_engine_state_e_type engine_state;
1878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_status_event_payload_u_type_u;
1888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_status_event_payload_u_type rpc_loc_status_event_payload_u_type;
1908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_status_event_s_type {
1928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_status_event_e_type event;
1938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_status_event_payload_u_type payload;
1948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
1958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_status_event_s_type rpc_loc_status_event_s_type;
1968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
1978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_addr_e_type {
1988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_ADDR_IPV4 = 1,
1998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_ADDR_URL = 2,
2008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_ADDR_MAX = 268435456,
2018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_addr_e_type rpc_loc_server_addr_e_type;
2038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_ipv4_type {
2058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 addr;
2068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 port;
2078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_ipv4_type rpc_loc_server_addr_ipv4_type;
2098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_url_type {
2118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 length;
2128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
2138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int addr_len;
2148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *addr_val;
2158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} addr;
2168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_url_type rpc_loc_server_addr_url_type;
2188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_addr_u_type {
2208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_addr_e_type disc;
2218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
2228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_addr_ipv4_type ipv4;
2238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_addr_url_type url;
2248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_server_addr_u_type_u;
2258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_addr_u_type rpc_loc_server_addr_u_type;
2278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_info_s_type {
2298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_addr_e_type addr_type;
2308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_addr_u_type addr_info;
2318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_info_s_type rpc_loc_server_info_s_type;
2338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2348c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_notify_verify_e_type {
2358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_USER_NO_NOTIFY_NO_VERIFY = 1,
2368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_USER_NOTIFY_ONLY = 2,
2378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_USER_NOTIFY_VERIFY_ALLOW_NO_RESP = 3,
2388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_USER_NOTIFY_VERIFY_NOT_ALLOW_NO_RESP = 4,
2398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_USER_PRIVACY_OVERRIDE = 5,
2408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_USER_NOTIFY_VERITY_TYPE_MAX = 268435456,
2418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_notify_verify_e_type rpc_loc_ni_notify_verify_e_type;
2438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_event_e_type {
2458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_EVENT_VX_NOTIFY_VERIFY_REQ = 1,
2468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_EVENT_SUPL_NOTIFY_VERIFY_REQ = 2,
2478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_EVENT_UMTS_CP_NOTIFY_VERIFY_REQ = 3,
2488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_EVENT_MAX = 268435456,
2498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_event_e_type rpc_loc_ni_event_e_type;
2518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_datacoding_scheme_e_type {
2538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_ISO646IRV = 0,
2548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_ISO8859 = 1,
2558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_UTF8 = 2,
2568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_UTF16 = 3,
2578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_UCS2 = 4,
2588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_GSM_DEFAULT = 5,
2598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_SHIFT_JIS = 6,
2608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_JIS = 7,
2618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_EUC = 8,
2628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_GB2312 = 9,
2638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_CNS11643 = 10,
2648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_KSC1001 = 11,
2658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_PRESUPL_ENCODING_UNKNOWN = 2147483647,
2668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_GERMAN = 12,
2678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_ENGLISH = 13,
2688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_ITALIAN = 14,
2698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_FRENCH = 15,
2708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_SPANISH = 16,
2718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_DUTCH = 17,
2728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_SWEDISH = 18,
2738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_DANISH = 19,
2748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_PORTUGUESE = 20,
2758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_FINNISH = 21,
2768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_NORWEGIAN = 22,
2778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_GREEK = 23,
2788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_TURKISH = 24,
2798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_HUNGARIAN = 25,
2808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_POLISH = 26,
2818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SS_LANGUAGE_UNSPEC = 27,
2828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SUPL_UTF8 = 28,
2838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SUPL_UCS2 = 29,
2848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SUPL_GSM_DEFAULT = 30,
2858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_SUPL_ENCODING_UNKNOWN = 2147483647,
2868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
2878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_datacoding_scheme_e_type rpc_loc_ni_datacoding_scheme_e_type;
2888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
2898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type {
2908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_OCTET = 0,
2918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_EXN_PROTOCOL_MSG = 1,
2928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_ASCII = 2,
2938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_IA5 = 3,
2948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_UNICODE = 4,
2958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_SHIFT_JIS = 5,
2968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_KOREAN = 6,
2978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_LATIN_HEBREW = 7,
2988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_LATIN = 8,
2998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_GSM = 9,
3008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_VX_ENCODING_TYPE_MAX = 268435456,
3018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_vx_requester_id_encoding_scheme_e_type rpc_loc_ni_vx_requester_id_encoding_scheme_e_type;
3038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_vx_pos_mode_e_type {
3058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_VX_MS_ASSISTED_ONLY = 1,
3068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_VX_MS_BASED_ONLY = 2,
3078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_VX_MS_ASSISTED_PREF_MSBASED_ALLWD = 3,
3088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_VX_MS_BASED_PREF_ASSISTED_ALLWD = 4,
3098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_VX_POS_MODE_MAX = 268435456,
3108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_vx_pos_mode_e_type rpc_loc_ni_vx_pos_mode_e_type;
3128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3138c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_vx_requester_id_s_type {
3148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char requester_id_length;
3158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	char requester_id[200];
3168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_vx_requester_id_s_type rpc_loc_ni_vx_requester_id_s_type;
3188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_vx_notify_verify_req_s_type {
3208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_notify_verify_e_type notification_priv_type;
3218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char pos_qos_incl;
3228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char pos_qos;
3238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 num_fixes;
3248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 tbf;
3258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_vx_pos_mode_e_type pos_mode;
3268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_vx_requester_id_encoding_scheme_e_type encoding_scheme;
3278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_vx_requester_id_s_type requester_id;
3288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 user_resp_timer_val;
3298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_vx_notify_verify_req_s_type rpc_loc_ni_vx_notify_verify_req_s_type;
3318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_supl_pos_method_e_type {
3338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED = 1,
3348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_AGPS_SETBASED = 2,
3358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_AGPS_SETASSISTED_PREF = 3,
3368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_AGPS_SETBASED_PREF = 4,
3378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_AUTONOMOUS_GPS = 5,
3388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_AFLT = 6,
3398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_ECID = 7,
3408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_EOTD = 8,
3418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_OTDOA = 9,
3428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_NO_POSITION = 10,
3438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_POSMETHOD_MAX = 268435456,
3448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_supl_pos_method_e_type rpc_loc_ni_supl_pos_method_e_type;
3468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_slp_session_id_s_type {
3488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char presence;
3498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	char session_id[4];
3508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_info_s_type slp_address;
3518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_slp_session_id_s_type rpc_loc_ni_supl_slp_session_id_s_type;
3538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_requestor_id_s_type {
3558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char data_coding_scheme;
3568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
3578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int requestor_id_string_len;
3588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *requestor_id_string_val;
3598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} requestor_id_string;
3608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char string_len;
3618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_requestor_id_s_type rpc_loc_ni_requestor_id_s_type;
3638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_client_name_s_type {
3658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char data_coding_scheme;
3668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
3678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int client_name_string_len;
3688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *client_name_string_val;
3698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} client_name_string;
3708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char string_len;
3718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_client_name_s_type rpc_loc_ni_supl_client_name_s_type;
3738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_qop_s_type {
3758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char bit_mask;
3768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char horacc;
3778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char veracc;
3788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char maxLocAge;
3798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char delay;
3808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_qop_s_type rpc_loc_ni_supl_qop_s_type;
3828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_supl_notify_verify_req_s_type {
3848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_notify_verify_e_type notification_priv_type;
3858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 flags;
3868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_supl_slp_session_id_s_type supl_slp_session_id;
3878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	char supl_hash[8];
3888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
3898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_supl_pos_method_e_type pos_method;
3908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_requestor_id_s_type requestor_id;
3918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_supl_client_name_s_type client_name;
3928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_supl_qop_s_type supl_qop;
3938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 user_response_timer;
3948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
3958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_supl_notify_verify_req_s_type rpc_loc_ni_supl_notify_verify_req_s_type;
3968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
3978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_ext_client_address_s_type {
3988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char ext_client_address_len;
3998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
4008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int ext_client_address_len;
4018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *ext_client_address_val;
4028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} ext_client_address;
4038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_ext_client_address_s_type rpc_loc_ni_ext_client_address_s_type;
4058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_location_type_e_type {
4078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LOCATIONTYPE_CURRENT_LOCATION = 1,
4088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LOCATIONTYPE_CURRENT_OR_LAST_KNOWN_LOCATION = 2,
4098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LOCATIONTYPE_INITIAL_LOCATION = 3,
4108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LOCATIONTYPE_MAX = 268435456,
4118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_location_type_e_type rpc_loc_ni_location_type_e_type;
4138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_deferred_location_s_type {
4158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char unused_bits;
4168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char ms_available;
4178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4188c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_deferred_location_s_type rpc_loc_ni_deferred_location_s_type;
4198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4208c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_codeword_string_s_type {
4218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char data_coding_scheme;
4228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
4238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int lcs_codeword_string_len;
4248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *lcs_codeword_string_val;
4258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} lcs_codeword_string;
4268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char string_len;
4278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_codeword_string_s_type rpc_loc_ni_codeword_string_s_type;
4298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_service_type_id_s_type {
4318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char lcs_service_type_id;
4328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_service_type_id_s_type rpc_loc_ni_service_type_id_s_type;
4348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_umts_cp_notify_verify_req_s_type {
4368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_notify_verify_e_type notification_priv_type;
4378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char invoke_id;
4388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 flags;
4398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char notification_length;
4408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
4418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int notification_text_len;
4428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *notification_text_val;
4438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} notification_text;
4448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_datacoding_scheme_e_type datacoding_scheme;
4458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_ext_client_address_s_type ext_client_address_data;
4468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_location_type_e_type location_type;
4478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_deferred_location_s_type deferred_location;
4488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_requestor_id_s_type requestor_id;
4498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_codeword_string_s_type codeword_string;
4508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_service_type_id_s_type service_type_id;
4518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 user_response_timer;
4528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_umts_cp_notify_verify_req_s_type rpc_loc_ni_umts_cp_notify_verify_req_s_type;
4548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_event_payload_u_type {
4568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_event_e_type disc;
4578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
4588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_ni_vx_notify_verify_req_s_type vx_req;
4598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_ni_supl_notify_verify_req_s_type supl_req;
4608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_ni_umts_cp_notify_verify_req_s_type umts_cp_req;
4618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_ni_event_payload_u_type_u;
4628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4638c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_event_payload_u_type rpc_loc_ni_event_payload_u_type;
4648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ni_event_s_type {
4668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_event_e_type event;
4678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_event_payload_u_type payload;
4688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ni_event_s_type rpc_loc_ni_event_s_type;
4708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4718c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_assist_data_request_e_type {
4728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_ASSIST_DATA_TIME_REQ = 1,
4738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_ASSIST_DATA_PREDICTED_ORBITS_REQ = 2,
4748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_ASSIST_DATA_MAX = 268435456,
4758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_assist_data_request_e_type rpc_loc_assist_data_request_e_type;
4778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef char *rpc_struct_loc_time_download_source_s_type_servers_ptr;
4798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4808c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_struct_loc_time_download_source_s_type_servers_ptr rpc_struct_loc_time_download_source_s_type_servers[3];
4818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4828c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_time_download_source_s_type {
4838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 delay_threshold;
4848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_struct_loc_time_download_source_s_type_servers servers;
4858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_time_download_source_s_type rpc_loc_time_download_source_s_type;
4878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef char *rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr;
4898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4908c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr rpc_struct_loc_predicted_orbits_data_source_s_type_servers[3];
4918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4928c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_data_source_s_type {
4938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 max_file_size;
4948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 max_part_size;
4958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_struct_loc_predicted_orbits_data_source_s_type_servers servers;
4968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
4978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_data_source_s_type rpc_loc_predicted_orbits_data_source_s_type;
4988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
4998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_request_payload_u_type {
5008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_assist_data_request_e_type disc;
5018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
5028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_time_download_source_s_type time_download;
5038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_predicted_orbits_data_source_s_type data_download;
5048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_assist_data_request_payload_u_type_u;
5058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_request_payload_u_type rpc_loc_assist_data_request_payload_u_type;
5078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_request_s_type {
5098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_assist_data_request_e_type event;
5108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_assist_data_request_payload_u_type payload;
5118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_request_s_type rpc_loc_assist_data_request_s_type;
5138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_server_connection_handle;
5158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5168c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_protocol_e_type {
5178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_PROTOCOL_DEFAULT = 0,
5188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_PROTOCOL_SUPL = 1,
5198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_PROTOCOL_VX_MPC = 2,
5208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_PROTOCOL_VX_PDE = 3,
5218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_PROTOCOL_MAX = 16777216,
5228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_protocol_e_type rpc_loc_server_protocol_e_type;
5248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_request_e_type {
5268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_REQUEST_OPEN = 1,
5278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_REQUEST_CLOSE = 2,
5288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_REQUEST_MAX = 268435456,
5298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_request_e_type rpc_loc_server_request_e_type;
5318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_open_req_s_type {
5338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_connection_handle conn_handle;
5348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_protocol_e_type protocol;
5358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_open_req_s_type rpc_loc_server_open_req_s_type;
5378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_close_req_s_type {
5398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_connection_handle conn_handle;
5408c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_close_req_s_type rpc_loc_server_close_req_s_type;
5428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_request_u_type {
5448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_request_e_type disc;
5458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
5468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_open_req_s_type open_req;
5478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_close_req_s_type close_req;
5488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_server_request_u_type_u;
5498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_request_u_type rpc_loc_server_request_u_type;
5518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_request_s_type {
5538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_request_e_type event;
5548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_request_u_type payload;
5558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_request_s_type rpc_loc_server_request_s_type;
5578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_reserved_payload_s_type {
5598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 data_size;
5608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
5618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int data_len;
5628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *data_val;
5638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} data;
5648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
5658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_reserved_payload_s_type rpc_loc_reserved_payload_s_type;
5668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
5678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ioctl_e_type {
5688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_API_VERSION = 1,
5698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_FIX_CRITERIA = 2,
5708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_FIX_CRITERIA = 3,
5718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SERVICE_START_INDEX = 400,
5728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INFORM_NI_USER_RESPONSE = 400,
5738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INJECT_PREDICTED_ORBITS_DATA = 401,
5748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_VALIDITY = 402,
5758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_QUERY_PREDICTED_ORBITS_DATA_SOURCE = 403,
5768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_PREDICTED_ORBITS_DATA_AUTO_DOWNLOAD = 404,
5778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INJECT_UTC_TIME = 405,
5788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INJECT_RTC_VALUE = 406,
5798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INJECT_POSITION = 407,
5808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_QUERY_ENGINE_STATE = 408,
5818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INFORM_SERVER_OPEN_STATUS = 409,
5828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_INFORM_SERVER_CLOSE_STATUS = 410,
5838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_NV_SETTINGS_START_INDEX = 800,
5848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_ENGINE_LOCK = 800,
5858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_ENGINE_LOCK = 801,
5868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_SBAS_CONFIG = 802,
5878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_SBAS_CONFIG = 803,
5888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_NMEA_TYPES = 804,
5898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_NMEA_TYPES = 805,
5908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_CDMA_PDE_SERVER_ADDR = 806,
5918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_CDMA_PDE_SERVER_ADDR = 807,
5928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_CDMA_MPC_SERVER_ADDR = 808,
5938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_CDMA_MPC_SERVER_ADDR = 809,
5948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_UMTS_SLP_SERVER_ADDR = 810,
5958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_UMTS_SLP_SERVER_ADDR = 811,
5968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_ON_DEMAND_LPM = 812,
5978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_ON_DEMAND_LPM = 813,
5988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_PROPRIETARY_START_INDEX = 1000,
5998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_DELETE_ASSIST_DATA = 1000,
6008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_SET_CUSTOM_PDE_SERVER_ADDR = 1001,
6018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_GET_CUSTOM_PDE_SERVER_ADDR = 1002,
6028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_IOCTL_THIRD_PARTY_START_INDEX = 1073741824,
6038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ioctl_e_type rpc_loc_ioctl_e_type;
6058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_api_version_s_type {
6078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char major;
6088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char minor;
6098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_api_version_s_type rpc_loc_api_version_s_type;
6118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_fix_recurrence_e_type {
6138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_PERIODIC_FIX = 1,
6148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SINGLE_FIX = 2,
6158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_FIX_SESSION_TYPE_MAX = 268435456,
6168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_fix_recurrence_e_type rpc_loc_fix_recurrence_e_type;
6188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_operation_mode_e_type {
6208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_DEFAULT = 1,
6218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_MSB = 2,
6228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_MSA = 3,
6238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_STANDALONE = 4,
6248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_SPEED_OPTIMAL = 5,
6258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_ACCURACY_OPTIMAL = 6,
6268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_DATA_OPTIMAL = 7,
6278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_OPER_MODE_MAX = 268435456,
6288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_operation_mode_e_type rpc_loc_operation_mode_e_type;
6308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_notify_e_type {
6328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NOTIFY_ON_INTERVAL = 1,
6338c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NOTIFY_ON_DISTANCE = 2,
6348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NOTIFY_ON_ANY = 3,
6358c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NOTIFY_ON_ALL = 4,
6368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NOTIFY_TYPE_MAX = 268435456,
6378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_notify_e_type rpc_loc_notify_e_type;
6398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_fix_criteria_s_type {
6418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 valid_mask;
6428c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_fix_recurrence_e_type recurrence_type;
6438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_operation_mode_e_type preferred_operation_mode;
6448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 preferred_accuracy;
6458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 preferred_response_time;
6468c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_boolean intermediate_pos_report_enabled;
6478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_notify_e_type notify_type;
6488c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 min_interval;
6498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float min_distance;
6508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 min_dist_sample_interval;
6518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_fix_criteria_s_type rpc_loc_fix_criteria_s_type;
6538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_ni_user_resp_e_type {
6558c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LCS_NOTIFY_VERIFY_ACCEPT = 1,
6568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LCS_NOTIFY_VERIFY_DENY = 2,
6578c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LCS_NOTIFY_VERIFY_NORESP = 3,
6588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_NI_LCS_NOTIFY_VERIFY_MAX = 268435456,
6598c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6608c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_ni_user_resp_e_type rpc_loc_ni_user_resp_e_type;
6618c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_user_verify_s_type {
6638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_user_resp_e_type user_resp;
6648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ni_event_s_type ni_event_pass_back;
6658c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_user_verify_s_type rpc_loc_user_verify_s_type;
6678c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_predicted_orbits_data_format_e_type {
6698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_PREDICTED_ORBITS_XTRA = 0,
6708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_PREDICTED_ORBITS_FORMAT_MAX = 268435456,
6718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_predicted_orbits_data_format_e_type rpc_loc_predicted_orbits_data_format_e_type;
6738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_data_s_type {
6758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_predicted_orbits_data_format_e_type format_type;
6768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 total_size;
6778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint8 total_parts;
6788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint8 part;
6798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 part_len;
6808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	struct {
6818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		u_int data_ptr_len;
6828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		char *data_ptr_val;
6838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} data_ptr;
6848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6858c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_data_s_type rpc_loc_predicted_orbits_data_s_type;
6868c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_data_validity_report_s_type {
6888c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint64 start_time_utc;
6898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint16 valid_duration_hrs;
6908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_data_validity_report_s_type rpc_loc_predicted_orbits_data_validity_report_s_type;
6928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_predicted_orbits_auto_download_config_s_type {
6948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_boolean enable;
6958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char auto_check_every_hrs;
6968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
6978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_predicted_orbits_auto_download_config_s_type rpc_loc_predicted_orbits_auto_download_config_s_type;
6988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
6998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_time_s_type {
7008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint64 time_utc;
7018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 uncertainty;
7028c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_time_s_type rpc_loc_assist_data_time_s_type;
7048c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint64 rpc_loc_assist_pos_valid_mask_type;
7068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7078c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_pos_s_type {
7088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_assist_pos_valid_mask_type valid_mask;
7098c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint64 timestamp_utc;
7108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	double latitude;
7118c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	double longitude;
7128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float altitude_wrt_ellipsoid;
7138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float altitude_wrt_mean_sea_level;
7148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float hor_unc_circular;
7158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	float vert_unc;
7168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char confidence_horizontal;
7178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_char confidence_vertical;
7188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_pos_s_type rpc_loc_assist_data_pos_s_type;
7208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_open_status_e_type {
7228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_OPEN_SUCCESS = 1,
7238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_OPEN_FAIL = 2,
7248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_OPEN_STATUS_MAX = 268435456,
7258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_open_status_e_type rpc_loc_server_open_status_e_type;
7278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7288c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_open_status_s_type {
7298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_connection_handle conn_handle;
7308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_open_status_e_type open_status;
7318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	char *apn_name;
7328c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_open_status_s_type rpc_loc_server_open_status_s_type;
7348c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_server_close_status_e_type {
7368c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_CLOSE_SUCCESS = 1,
7378c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_CLOSE_FAIL = 2,
7388c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_SERVER_CLOSE_STATUS_MAX = 268435456,
7398c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_server_close_status_e_type rpc_loc_server_close_status_e_type;
7418c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_server_close_status_s_type {
7438c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_connection_handle conn_handle;
7448c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_server_close_status_e_type close_status;
7458c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_server_close_status_s_type rpc_loc_server_close_status_s_type;
7478c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamenum rpc_loc_lock_e_type {
7498c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_LOCK_NONE = 1,
7508c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_LOCK_MI = 2,
7518c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_LOCK_MT = 3,
7528c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_LOCK_ALL = 4,
7538c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	RPC_LOC_LOCK_MAX = 268435456,
7548c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef enum rpc_loc_lock_e_type rpc_loc_lock_e_type;
7568c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_nmea_sentence_type;
7588c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef rpc_uint32 rpc_loc_assist_data_type;
7608c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_assist_data_delete_s_type {
7628c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_assist_data_type type;
7638c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_uint32 reserved[8];
7648c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_assist_data_delete_s_type rpc_loc_assist_data_delete_s_type;
7668c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ioctl_data_u_type {
7688c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ioctl_e_type disc;
7698c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
7708c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_fix_criteria_s_type fix_criteria;
7718c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_user_verify_s_type user_verify_resp;
7728c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_predicted_orbits_data_s_type predicted_orbits_data;
7738c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_predicted_orbits_auto_download_config_s_type predicted_orbits_auto_download;
7748c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_assist_data_time_s_type assistance_data_time;
7758c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_assist_data_pos_s_type assistance_data_position;
7768c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_open_status_s_type conn_open_status;
7778c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_close_status_s_type conn_close_status;
7788c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_lock_e_type engine_lock;
7798c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_boolean sbas_mode;
7808c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_nmea_sentence_type nmea_types;
7818c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_boolean on_demand_lpm;
7828c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_info_s_type server_addr;
7838c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_assist_data_delete_s_type assist_data_delete;
7848c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_ioctl_data_u_type_u;
7858c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
7868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ioctl_data_u_type rpc_loc_ioctl_data_u_type;
7878c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
7888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ioctl_callback_data_u_type {
7898c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ioctl_e_type disc;
7908c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
7918c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_api_version_s_type api_version;
7928c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_fix_criteria_s_type fix_criteria;
7938c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_lock_e_type engine_lock;
7948c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_boolean sbas_mode;
7958c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_nmea_sentence_type nmea_types;
7968c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_boolean on_demand_lpm;
7978c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_info_s_type server_addr;
7988c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_predicted_orbits_data_source_s_type predicted_orbits_data_source;
7998c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_predicted_orbits_data_validity_report_s_type predicted_orbits_data_validity;
8008c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_ioctl_callback_data_u_type_u;
8018c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ioctl_callback_data_u_type rpc_loc_ioctl_callback_data_u_type;
8038c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_ioctl_callback_s_type {
8058c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ioctl_e_type type;
8068c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_int32 status;
8078c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	rpc_loc_ioctl_callback_data_u_type data;
8088c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_ioctl_callback_s_type rpc_loc_ioctl_callback_s_type;
8108c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamstruct rpc_loc_event_payload_u_type {
8128c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	u_quad_t disc;
8138c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	union {
8148c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_parsed_position_s_type parsed_location_report;
8158c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_gnss_info_s_type gnss_report;
8168c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_nmea_report_s_type nmea_report;
8178c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_ni_event_s_type ni_request;
8188c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_assist_data_request_s_type assist_data_request;
8198c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_server_request_s_type loc_server_request;
8208c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_ioctl_callback_s_type ioctl_report;
8218c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_status_event_s_type status_report;
8228c2d3d5afc51d3f35150f748f263870367771b6fEd Tam		rpc_loc_reserved_payload_s_type reserved;
8238c2d3d5afc51d3f35150f748f263870367771b6fEd Tam	} rpc_loc_event_payload_u_type_u;
8248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam};
8258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamtypedef struct rpc_loc_event_payload_u_type rpc_loc_event_payload_u_type;
8268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_NULL_VERSION 0x00010001
8278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#define RPC_LOC_API_RPC_GLUE_CODE_INFO_REMOTE_VERSION 0x00010001
8288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam/* the xdr functions */
8308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
8318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#if defined(__STDC__) || defined(__cplusplus)
8328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_boolean (XDR *, rpc_boolean*);
8338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_uint32 (XDR *, rpc_uint32*);
8348c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_uint16 (XDR *, rpc_uint16*);
8358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_uint8 (XDR *, rpc_uint8*);
8368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_int32 (XDR *, rpc_int32*);
8378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_byte (XDR *, rpc_byte*);
8388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_uint64 (XDR *, rpc_uint64*);
8398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_client_handle_type (XDR *, rpc_loc_client_handle_type*);
8408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_event_mask_type (XDR *, rpc_loc_event_mask_type*);
8418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_position_valid_mask_type (XDR *, rpc_loc_position_valid_mask_type*);
8428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_pos_technology_mask_type (XDR *, rpc_loc_pos_technology_mask_type*);
8438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_session_status_e_type (XDR *, rpc_loc_session_status_e_type*);
8448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_calendar_time_s_type (XDR *, rpc_loc_calendar_time_s_type*);
8458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_parsed_position_s_type (XDR *, rpc_loc_parsed_position_s_type*);
8468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_system_e_type (XDR *, rpc_loc_sv_system_e_type*);
8478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_status_e_type (XDR *, rpc_loc_sv_status_e_type*);
8488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_info_valid_mask_type (XDR *, rpc_loc_sv_info_valid_mask_type*);
8498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_sv_info_s_type (XDR *, rpc_loc_sv_info_s_type*);
8508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_gnss_info_valid_mask_type (XDR *, rpc_loc_gnss_info_valid_mask_type*);
8518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_gnss_info_s_type (XDR *, rpc_loc_gnss_info_s_type*);
8528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_nmea_report_s_type (XDR *, rpc_loc_nmea_report_s_type*);
8538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_status_event_e_type (XDR *, rpc_loc_status_event_e_type*);
8548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_engine_state_e_type (XDR *, rpc_loc_engine_state_e_type*);
8558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_status_event_payload_u_type (XDR *, rpc_loc_status_event_payload_u_type*);
8568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_status_event_s_type (XDR *, rpc_loc_status_event_s_type*);
8578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_e_type (XDR *, rpc_loc_server_addr_e_type*);
8588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_ipv4_type (XDR *, rpc_loc_server_addr_ipv4_type*);
8598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_url_type (XDR *, rpc_loc_server_addr_url_type*);
8608c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_addr_u_type (XDR *, rpc_loc_server_addr_u_type*);
8618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_info_s_type (XDR *, rpc_loc_server_info_s_type*);
8628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_notify_verify_e_type (XDR *, rpc_loc_ni_notify_verify_e_type*);
8638c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_event_e_type (XDR *, rpc_loc_ni_event_e_type*);
8648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type (XDR *, rpc_loc_ni_datacoding_scheme_e_type*);
8658c2d3d5afc51d3f35150f748f263870367771b6fEd 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*);
8668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type (XDR *, rpc_loc_ni_vx_pos_mode_e_type*);
8678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_requester_id_s_type (XDR *, rpc_loc_ni_vx_requester_id_s_type*);
8688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type (XDR *, rpc_loc_ni_vx_notify_verify_req_s_type*);
8698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_pos_method_e_type (XDR *, rpc_loc_ni_supl_pos_method_e_type*);
8708c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type (XDR *, rpc_loc_ni_supl_slp_session_id_s_type*);
8718c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_requestor_id_s_type (XDR *, rpc_loc_ni_requestor_id_s_type*);
8728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_client_name_s_type (XDR *, rpc_loc_ni_supl_client_name_s_type*);
8738c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_qop_s_type (XDR *, rpc_loc_ni_supl_qop_s_type*);
8748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type (XDR *, rpc_loc_ni_supl_notify_verify_req_s_type*);
8758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_ext_client_address_s_type (XDR *, rpc_loc_ni_ext_client_address_s_type*);
8768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_location_type_e_type (XDR *, rpc_loc_ni_location_type_e_type*);
8778c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_deferred_location_s_type (XDR *, rpc_loc_ni_deferred_location_s_type*);
8788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_codeword_string_s_type (XDR *, rpc_loc_ni_codeword_string_s_type*);
8798c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_service_type_id_s_type (XDR *, rpc_loc_ni_service_type_id_s_type*);
8808c2d3d5afc51d3f35150f748f263870367771b6fEd 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*);
8818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_event_payload_u_type (XDR *, rpc_loc_ni_event_payload_u_type*);
8828c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_event_s_type (XDR *, rpc_loc_ni_event_s_type*);
8838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_request_e_type (XDR *, rpc_loc_assist_data_request_e_type*);
8848c2d3d5afc51d3f35150f748f263870367771b6fEd 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*);
8858c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers (XDR *, rpc_struct_loc_time_download_source_s_type_servers);
8868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_time_download_source_s_type (XDR *, rpc_loc_time_download_source_s_type*);
8878c2d3d5afc51d3f35150f748f263870367771b6fEd 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*);
8888c2d3d5afc51d3f35150f748f263870367771b6fEd 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);
8898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type (XDR *, rpc_loc_predicted_orbits_data_source_s_type*);
8908c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_request_payload_u_type (XDR *, rpc_loc_assist_data_request_payload_u_type*);
8918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_request_s_type (XDR *, rpc_loc_assist_data_request_s_type*);
8928c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_connection_handle (XDR *, rpc_loc_server_connection_handle*);
8938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_protocol_e_type (XDR *, rpc_loc_server_protocol_e_type*);
8948c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_request_e_type (XDR *, rpc_loc_server_request_e_type*);
8958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_open_req_s_type (XDR *, rpc_loc_server_open_req_s_type*);
8968c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_close_req_s_type (XDR *, rpc_loc_server_close_req_s_type*);
8978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_request_u_type (XDR *, rpc_loc_server_request_u_type*);
8988c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_request_s_type (XDR *, rpc_loc_server_request_s_type*);
8998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_reserved_payload_s_type (XDR *, rpc_loc_reserved_payload_s_type*);
9008c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_e_type (XDR *, rpc_loc_ioctl_e_type*);
9018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_api_version_s_type (XDR *, rpc_loc_api_version_s_type*);
9028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_fix_recurrence_e_type (XDR *, rpc_loc_fix_recurrence_e_type*);
9038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_operation_mode_e_type (XDR *, rpc_loc_operation_mode_e_type*);
9048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_notify_e_type (XDR *, rpc_loc_notify_e_type*);
9058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_fix_criteria_s_type (XDR *, rpc_loc_fix_criteria_s_type*);
9068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ni_user_resp_e_type (XDR *, rpc_loc_ni_user_resp_e_type*);
9078c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_user_verify_s_type (XDR *, rpc_loc_user_verify_s_type*);
9088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type (XDR *, rpc_loc_predicted_orbits_data_format_e_type*);
9098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_s_type (XDR *, rpc_loc_predicted_orbits_data_s_type*);
9108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type (XDR *, rpc_loc_predicted_orbits_data_validity_report_s_type*);
9118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type (XDR *, rpc_loc_predicted_orbits_auto_download_config_s_type*);
9128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_time_s_type (XDR *, rpc_loc_assist_data_time_s_type*);
9138c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_pos_valid_mask_type (XDR *, rpc_loc_assist_pos_valid_mask_type*);
9148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_pos_s_type (XDR *, rpc_loc_assist_data_pos_s_type*);
9158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_open_status_e_type (XDR *, rpc_loc_server_open_status_e_type*);
9168c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_open_status_s_type (XDR *, rpc_loc_server_open_status_s_type*);
9178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_close_status_e_type (XDR *, rpc_loc_server_close_status_e_type*);
9188c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_server_close_status_s_type (XDR *, rpc_loc_server_close_status_s_type*);
9198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_lock_e_type (XDR *, rpc_loc_lock_e_type*);
9208c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_nmea_sentence_type (XDR *, rpc_loc_nmea_sentence_type*);
9218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_type (XDR *, rpc_loc_assist_data_type*);
9228c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_assist_data_delete_s_type (XDR *, rpc_loc_assist_data_delete_s_type*);
9238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_data_u_type (XDR *, rpc_loc_ioctl_data_u_type*);
9248c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_callback_data_u_type (XDR *, rpc_loc_ioctl_callback_data_u_type*);
9258c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_ioctl_callback_s_type (XDR *, rpc_loc_ioctl_callback_s_type*);
9268c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern  bool_t xdr_rpc_loc_event_payload_u_type (XDR *, rpc_loc_event_payload_u_type*);
9278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
9288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#else /* K&R C */
9298c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_boolean ();
9308c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_uint32 ();
9318c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_uint16 ();
9328c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_uint8 ();
9338c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_int32 ();
9348c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_byte ();
9358c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_uint64 ();
9368c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_client_handle_type ();
9378c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_event_mask_type ();
9388c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_position_valid_mask_type ();
9398c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_pos_technology_mask_type ();
9408c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_session_status_e_type ();
9418c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_calendar_time_s_type ();
9428c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_parsed_position_s_type ();
9438c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_system_e_type ();
9448c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_status_e_type ();
9458c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_info_valid_mask_type ();
9468c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_sv_info_s_type ();
9478c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_gnss_info_valid_mask_type ();
9488c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_gnss_info_s_type ();
9498c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_nmea_report_s_type ();
9508c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_status_event_e_type ();
9518c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_engine_state_e_type ();
9528c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_status_event_payload_u_type ();
9538c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_status_event_s_type ();
9548c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_e_type ();
9558c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_ipv4_type ();
9568c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_url_type ();
9578c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_addr_u_type ();
9588c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_info_s_type ();
9598c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_notify_verify_e_type ();
9608c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_event_e_type ();
9618c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_datacoding_scheme_e_type ();
9628c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_requester_id_encoding_scheme_e_type ();
9638c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_pos_mode_e_type ();
9648c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_requester_id_s_type ();
9658c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_vx_notify_verify_req_s_type ();
9668c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_pos_method_e_type ();
9678c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_slp_session_id_s_type ();
9688c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_requestor_id_s_type ();
9698c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_client_name_s_type ();
9708c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_qop_s_type ();
9718c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_supl_notify_verify_req_s_type ();
9728c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_ext_client_address_s_type ();
9738c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_location_type_e_type ();
9748c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_deferred_location_s_type ();
9758c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_codeword_string_s_type ();
9768c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_service_type_id_s_type ();
9778c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_umts_cp_notify_verify_req_s_type ();
9788c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_event_payload_u_type ();
9798c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_event_s_type ();
9808c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_request_e_type ();
9818c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers_ptr ();
9828c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_time_download_source_s_type_servers ();
9838c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_time_download_source_s_type ();
9848c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers_ptr ();
9858c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_struct_loc_predicted_orbits_data_source_s_type_servers ();
9868c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_source_s_type ();
9878c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_request_payload_u_type ();
9888c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_request_s_type ();
9898c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_connection_handle ();
9908c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_protocol_e_type ();
9918c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_request_e_type ();
9928c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_open_req_s_type ();
9938c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_close_req_s_type ();
9948c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_request_u_type ();
9958c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_request_s_type ();
9968c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_reserved_payload_s_type ();
9978c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_e_type ();
9988c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_api_version_s_type ();
9998c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_fix_recurrence_e_type ();
10008c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_operation_mode_e_type ();
10018c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_notify_e_type ();
10028c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_fix_criteria_s_type ();
10038c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ni_user_resp_e_type ();
10048c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_user_verify_s_type ();
10058c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_format_e_type ();
10068c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_s_type ();
10078c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_data_validity_report_s_type ();
10088c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_predicted_orbits_auto_download_config_s_type ();
10098c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_time_s_type ();
10108c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_pos_valid_mask_type ();
10118c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_pos_s_type ();
10128c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_open_status_e_type ();
10138c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_open_status_s_type ();
10148c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_close_status_e_type ();
10158c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_server_close_status_s_type ();
10168c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_lock_e_type ();
10178c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_nmea_sentence_type ();
10188c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_type ();
10198c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_assist_data_delete_s_type ();
10208c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_data_u_type ();
10218c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_callback_data_u_type ();
10228c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_ioctl_callback_s_type ();
10238c2d3d5afc51d3f35150f748f263870367771b6fEd Tamextern bool_t xdr_rpc_loc_event_payload_u_type ();
10248c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10258c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif /* K&R C */
10268c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10278c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#ifdef __cplusplus
10288c2d3d5afc51d3f35150f748f263870367771b6fEd Tam}
10298c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif
10308c2d3d5afc51d3f35150f748f263870367771b6fEd Tam
10318c2d3d5afc51d3f35150f748f263870367771b6fEd Tam#endif /* !_LOC_API_COMMON_H_RPCGEN */
1032