1/* LOC_API TOOL VERSION: 3.28 */ 2/*============================================================================= 3 L O C _ A P I _ C B . X D R 4 5GENERAL DESCRIPTION 6 This is an AUTO GENERATED file that provides an xdr compatible definition of 7 an api that represents the grouping of the different callback functions the 8 loc_api API supports. 9 10 --------------------------------------------------------------------------- 11Copyright (c) 2009, QUALCOMM USA, INC. 12 13All rights reserved. 14 15Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 16 17� Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 18 19� 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. 20 21� 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. 22 23THIS 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. 24 --------------------------------------------------------------------------- 25=============================================================================*/ 26 27/*============================================================================= 28 29 Edit History 30 31 AUTO GENERATED 32 33Generated by following versions of Htorpc modules: 34Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/htorpc.pl#9 35Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/Start.pm#4 36Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/Htoxdr.pm#1 37Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/XDR.pm#7 38Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/Output.pm#26 39Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/Parser.pm#3 40Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/Metacomments.pm#2 41Id: //source/qcom/qct/core/mproc/tools/rel/03.01/htorpc/lib/Htorpc/SymbolTable.pm#4 42 43=============================================================================*/ 44/*============================================================================= 45$Header$ 46=============================================================================*/ 47 48 49 50 51/* 52 * These are struct declarations for the function arguments 53 */ 54 55struct rpc_loc_event_cb_f_type_args { 56 rpc_uint32 cb_id; 57 rpc_loc_client_handle_type loc_handle; 58 rpc_loc_event_mask_type loc_event; 59 rpc_loc_event_payload_u_type *loc_event_payload; 60}; 61 62 63 64 65 66/* 67 * These are struct declaratios for the function results 68 */ 69 70struct rpc_loc_event_cb_f_type_rets { 71 rpc_int32 loc_event_cb_f_type_result; 72}; 73 74 75 76/* 77 * XDR definition of the LOC_API callback program ( vers. 0x00010001 ) 78 */ 79 80program LOC_APICBPROG { 81 version LOC_APICBVERS_0001 { 82 83 rpc_loc_event_cb_f_type_rets 84 rpc_loc_event_cb_f_type( rpc_loc_event_cb_f_type_args ) = 1; 85 86 87 } = 0x00010001; 88} = 0x3100008c; 89 90const LOC_APICBVERS = 0x00010001; 91