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