Home | History | Annotate | Download | only in xdr
      1 /* Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
      2  *
      3  * Redistribution and use in source and binary forms, with or without
      4  * modification, are permitted provided that the following conditions are
      5  * met:
      6  *     * Redistributions of source code must retain the above copyright
      7  *       notice, this list of conditions and the following disclaimer.
      8  *     * Redistributions in binary form must reproduce the above
      9  *       copyright notice, this list of conditions and the following
     10  *       disclaimer in the documentation and/or other materials provided
     11  *       with the distribution.
     12  *     * Neither the name of The Linux Foundation, nor the names of its
     13  *       contributors may be used to endorse or promote products derived
     14  *       from this software without specific prior written permission.
     15  *
     16  * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
     17  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
     18  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
     19  * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
     20  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     21  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     22  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
     23  * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     24  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
     25  * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
     26  * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     27  *
     28  */
     29 /* LOC_API TOOL VERSION: 4.48 */
     30 /* GENERATED: TUE JUN 14 2011 */
     31 /*=============================================================================
     32                           L O C _ A P I _ C B . X D R
     33 
     34 GENERAL DESCRIPTION
     35   This is an AUTO GENERATED file that provides an xdr compatible definition of
     36   an api that represents the grouping of the different callback functions the
     37   loc_api API supports.
     38 
     39   ---------------------------------------------------------------------------
     40 
     41 
     42   ---------------------------------------------------------------------------
     43 =============================================================================*/
     44 
     45 /*=============================================================================
     46 
     47                               Edit History
     48 
     49                              AUTO GENERATED
     50 
     51 Generated by following versions of Htorpc modules:
     52 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/htorpc.pl#1
     53 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Start.pm#1
     54 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Htoxdr.pm#1
     55 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/XDR.pm#3
     56 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Output.pm#5
     57 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Parser.pm#1
     58 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/Metacomments.pm#1
     59 Id: //source/qcom/qct/core/mproc/tools/rel/2h09/htorpc/lib/Htorpc/SymbolTable.pm#1
     60 
     61 loc_api Definition File(s):
     62 Id: //source/qcom/qct/modem/api/gps/main/latest/loc_api.h#24
     63 =============================================================================*/
     64 /*=============================================================================
     65 $Header$
     66 =============================================================================*/
     67 
     68 
     69 
     70 
     71 /*
     72  * These are struct declarations for the function arguments
     73  */
     74 
     75 struct rpc_loc_event_cb_f_type_args {
     76   rpc_uint32 cb_id;
     77   rpc_loc_client_handle_type loc_handle;
     78   rpc_loc_event_mask_type loc_event;
     79   rpc_loc_event_payload_u_type *loc_event_payload;
     80 };
     81 
     82 
     83 
     84 
     85 
     86 /*
     87  * These are struct declaratios for the function results
     88  */
     89 
     90 struct rpc_loc_event_cb_f_type_rets {
     91   rpc_int32 loc_event_cb_f_type_result;
     92 };
     93 
     94 
     95 
     96 /*
     97  * XDR definition of the LOC_API callback program ( vers. 0x00050006 )
     98  */
     99 
    100 program LOC_APICBPROG {
    101   version LOC_APICBVERS_0001 {
    102 
    103 	rpc_loc_event_cb_f_type_rets
    104 		rpc_loc_event_cb_f_type( rpc_loc_event_cb_f_type_args ) = 1;
    105 
    106 
    107 
    108 
    109   } = 0x00050001;
    110 
    111 version LOC_APICBVERS_0002 {
    112 
    113 /* Following elements added in enum rpc_loc_assist_data_request_e_type in 0x00050002
    114 RPC_LOC_ASSIST_DATA_POSITION_INJECTION_REQ
    115 */
    116 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050002
    117 RPC_LOC_IOCTL_GET_XTRA_T_SESSION_CONTROL
    118 RPC_LOC_IOCTL_RESERVED_CMD
    119 RPC_LOC_IOCTL_SET_XTRA_T_SESSION_CONTROL
    120 */
    121 
    122 	int
    123 	rpc_loc_api_cb_null( void ) = 0xffffff00;
    124 
    125       } = 0x00050002;
    126 
    127 version LOC_APICBVERS_0003 {
    128 
    129 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050003
    130 RPC_LOC_IOCTL_SET_DATA_ENABLE
    131 RPC_LOC_IOCTL_SET_LBS_APN_PROFILE
    132 RPC_LOC_IOCTL_GET_XTRA_APN_PROFILE
    133 RPC_LOC_IOCTL_GET_LBS_APN_PROFILE
    134 RPC_LOC_IOCTL_SET_XTRA_APN_PROFILE
    135 */
    136 
    137 	int
    138 	rpc_loc_api_cb_null( void ) = 0xffffff00;
    139 
    140       } = 0x00050003;
    141 
    142 version LOC_APICBVERS_0004 {
    143 
    144 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050004
    145 RPC_LOC_IOCTL_GET_SUPL_VERSION
    146 RPC_LOC_IOCTL_SET_SUPL_VERSION
    147 */
    148 
    149 	int
    150 	rpc_loc_api_cb_null( void ) = 0xffffff00;
    151 
    152       } = 0x00050004;
    153 
    154 version LOC_APICBVERS_0005 {
    155 
    156 /* Following elements added in enum rpc_loc_server_addr_e_type in 0x00050005
    157 RPC_LOC_SERVER_ADDR_IPV6
    158 */
    159 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050005
    160 RPC_LOC_IOCTL_ERROR_ESTIMATE_CONFIG
    161 */
    162 
    163 	int
    164 	rpc_loc_api_cb_null( void ) = 0xffffff00;
    165 
    166       } = 0x00050005;
    167 
    168 
    169 
    170     version LOC_APICBVERS_0006 {
    171 
    172 /* Following elements added in enum rpc_loc_ioctl_e_type in 0x00050006
    173 RPC_LOC_IOCTL_INFORM_SERVER_MULTI_OPEN_STATUS
    174 */
    175 /* Following elements added in enum rpc_loc_server_request_e_type in 0x00050006
    176 RPC_LOC_SERVER_REQUEST_MULTI_OPEN
    177 */
    178 
    179 	int
    180 	rpc_loc_api_cb_null( void ) = 0xffffff00;
    181 
    182       } = 0x00050006;
    183 
    184 
    185 } = 0x3100008C;
    186 
    187 const LOC_APICBVERS = 0x00050006;
    188