From 68d303dd9725e2663a2da74d6692ff5229e1237f Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Tue, 6 Mar 2018 17:46:53 +0100 Subject: [PATCH] Apply code formatting --- src/core/libs/supl2/asn-rrlp/Accuracy.h | 41 +-- src/core/libs/supl2/asn-rrlp/AccuracyOpt.h | 32 +- src/core/libs/supl2/asn-rrlp/AcquisAssist.h | 34 +- src/core/libs/supl2/asn-rrlp/AcquisElement.h | 52 ++-- .../libs/supl2/asn-rrlp/AddionalAngleFields.h | 34 +- .../supl2/asn-rrlp/AddionalDopplerFields.h | 34 +- .../supl2/asn-rrlp/AdditionalAssistanceData.h | 38 +-- .../supl2/asn-rrlp/AdditionalDopplerFields.h | 34 +- src/core/libs/supl2/asn-rrlp/AlertFlag.h | 41 +-- .../supl2/asn-rrlp/Almanac-KeplerianSet.h | 50 +-- src/core/libs/supl2/asn-rrlp/Almanac.h | 34 +- src/core/libs/supl2/asn-rrlp/AlmanacElement.h | 54 ++-- src/core/libs/supl2/asn-rrlp/AntiSpoofFlag.h | 41 +-- .../supl2/asn-rrlp/AssistBTSData-R98-ExpOTD.h | 34 +- src/core/libs/supl2/asn-rrlp/AssistBTSData.h | 44 +-- src/core/libs/supl2/asn-rrlp/AssistanceData.h | 62 ++-- src/core/libs/supl2/asn-rrlp/BCCHCarrier.h | 41 +-- src/core/libs/supl2/asn-rrlp/BIT_STRING.h | 56 ++-- src/core/libs/supl2/asn-rrlp/BOOLEAN.h | 43 +-- src/core/libs/supl2/asn-rrlp/BSIC.h | 41 +-- src/core/libs/supl2/asn-rrlp/BSICAndCarrier.h | 34 +- src/core/libs/supl2/asn-rrlp/BTSPosition.h | 41 +-- .../libs/supl2/asn-rrlp/BadSignalElement.h | 34 +- src/core/libs/supl2/asn-rrlp/BitNumber.h | 41 +-- .../libs/supl2/asn-rrlp/CalcAssistanceBTS.h | 34 +- src/core/libs/supl2/asn-rrlp/CellID.h | 41 +-- src/core/libs/supl2/asn-rrlp/CellIDAndLAC.h | 34 +- src/core/libs/supl2/asn-rrlp/ControlHeader.h | 68 ++-- .../libs/supl2/asn-rrlp/DGANSSSgnElement.h | 40 +-- .../libs/supl2/asn-rrlp/DGPSCorrections.h | 36 ++- src/core/libs/supl2/asn-rrlp/EOTDQuality.h | 34 +- .../supl2/asn-rrlp/EnvironmentCharacter.h | 58 ++-- .../asn-rrlp/EphemerisSubframe1Reserved.h | 38 +-- src/core/libs/supl2/asn-rrlp/ErrorCodes.h | 64 ++-- .../libs/supl2/asn-rrlp/ExpOTDUncertainty.h | 41 +-- src/core/libs/supl2/asn-rrlp/ExpectedOTD.h | 41 +-- .../asn-rrlp/Ext-GeographicalInformation.h | 41 +-- .../libs/supl2/asn-rrlp/Extended-reference.h | 34 +- .../libs/supl2/asn-rrlp/ExtensionContainer.h | 39 +-- src/core/libs/supl2/asn-rrlp/FineRTD.h | 41 +-- src/core/libs/supl2/asn-rrlp/FixType.h | 52 ++-- src/core/libs/supl2/asn-rrlp/FrameDrift.h | 41 +-- src/core/libs/supl2/asn-rrlp/FrameNumber.h | 41 +-- .../libs/supl2/asn-rrlp/GANSS-AssistData.h | 32 +- .../libs/supl2/asn-rrlp/GANSS-ControlHeader.h | 40 +-- .../libs/supl2/asn-rrlp/GANSS-MsrSetElement.h | 44 +-- .../libs/supl2/asn-rrlp/GANSS-SgnElement.h | 48 +-- .../supl2/asn-rrlp/GANSS-SgnTypeElement.h | 34 +- .../libs/supl2/asn-rrlp/GANSSAlmanacElement.h | 58 ++-- .../libs/supl2/asn-rrlp/GANSSAlmanacModel.h | 40 +-- .../libs/supl2/asn-rrlp/GANSSAssistanceData.h | 41 +-- .../libs/supl2/asn-rrlp/GANSSClockModel.h | 58 ++-- .../supl2/asn-rrlp/GANSSCommonAssistData.h | 46 +-- src/core/libs/supl2/asn-rrlp/GANSSDataBit.h | 41 +-- .../libs/supl2/asn-rrlp/GANSSDataBitAssist.h | 38 +-- .../supl2/asn-rrlp/GANSSDiffCorrections.h | 34 +- .../asn-rrlp/GANSSGenericAssistDataElement.h | 68 ++-- .../libs/supl2/asn-rrlp/GANSSIonoStormFlags.h | 40 +-- .../supl2/asn-rrlp/GANSSIonosphereModel.h | 36 ++- .../supl2/asn-rrlp/GANSSIonosphericModel.h | 40 +-- .../libs/supl2/asn-rrlp/GANSSLocationInfo.h | 54 ++-- .../libs/supl2/asn-rrlp/GANSSMeasureInfo.h | 32 +- src/core/libs/supl2/asn-rrlp/GANSSNavModel.h | 40 +-- .../libs/supl2/asn-rrlp/GANSSOrbitModel.h | 58 ++-- .../supl2/asn-rrlp/GANSSPositioningMethod.h | 52 ++-- .../supl2/asn-rrlp/GANSSRealTimeIntegrity.h | 32 +- .../libs/supl2/asn-rrlp/GANSSRefLocation.h | 32 +- .../asn-rrlp/GANSSRefMeasurementAssist.h | 34 +- .../asn-rrlp/GANSSRefMeasurementElement.h | 52 ++-- .../libs/supl2/asn-rrlp/GANSSRefTimeInfo.h | 38 +-- .../libs/supl2/asn-rrlp/GANSSReferenceTime.h | 38 +-- .../supl2/asn-rrlp/GANSSSatelliteElement.h | 42 +-- src/core/libs/supl2/asn-rrlp/GANSSSignalID.h | 41 +-- .../asn-rrlp/GANSSTOD-GSMTimeAssociation.h | 42 +-- src/core/libs/supl2/asn-rrlp/GANSSTOD.h | 41 +-- .../libs/supl2/asn-rrlp/GANSSTODUncertainty.h | 41 +-- src/core/libs/supl2/asn-rrlp/GANSSTODm.h | 41 +-- .../supl2/asn-rrlp/GANSSTimeModelElement.h | 42 +-- src/core/libs/supl2/asn-rrlp/GANSSUTCModel.h | 46 +-- src/core/libs/supl2/asn-rrlp/GPS-AssistData.h | 32 +- .../libs/supl2/asn-rrlp/GPS-MeasureInfo.h | 32 +- src/core/libs/supl2/asn-rrlp/GPS-MsrElement.h | 44 +-- .../libs/supl2/asn-rrlp/GPS-MsrSetElement.h | 36 ++- .../libs/supl2/asn-rrlp/GPSAssistanceData.h | 41 +-- .../asn-rrlp/GPSReferenceTimeUncertainty.h | 41 +-- src/core/libs/supl2/asn-rrlp/GPSTOW23b.h | 41 +-- src/core/libs/supl2/asn-rrlp/GPSTOW24b.h | 41 +-- src/core/libs/supl2/asn-rrlp/GPSTOWAssist.h | 39 +-- .../libs/supl2/asn-rrlp/GPSTOWAssistElement.h | 40 +-- src/core/libs/supl2/asn-rrlp/GPSTime.h | 34 +- .../asn-rrlp/GPSTimeAssistanceMeasurements.h | 38 +-- src/core/libs/supl2/asn-rrlp/GPSWeek.h | 41 +-- src/core/libs/supl2/asn-rrlp/GSMTime.h | 40 +-- src/core/libs/supl2/asn-rrlp/INTEGER.h | 136 ++++---- .../libs/supl2/asn-rrlp/IonosphericModel.h | 46 +-- src/core/libs/supl2/asn-rrlp/LAC.h | 41 +-- src/core/libs/supl2/asn-rrlp/LocErrorReason.h | 80 ++--- src/core/libs/supl2/asn-rrlp/LocationError.h | 40 +-- src/core/libs/supl2/asn-rrlp/LocationInfo.h | 38 +-- .../libs/supl2/asn-rrlp/MeasureResponseTime.h | 41 +-- src/core/libs/supl2/asn-rrlp/MethodType.h | 64 ++-- src/core/libs/supl2/asn-rrlp/ModuloTimeSlot.h | 41 +-- .../libs/supl2/asn-rrlp/MoreAssDataToBeSent.h | 54 ++-- src/core/libs/supl2/asn-rrlp/MpathIndic.h | 58 ++-- .../supl2/asn-rrlp/MsrAssistBTS-R98-ExpOTD.h | 34 +- src/core/libs/supl2/asn-rrlp/MsrAssistBTS.h | 46 +-- .../supl2/asn-rrlp/MsrAssistData-R98-ExpOTD.h | 32 +- src/core/libs/supl2/asn-rrlp/MsrAssistData.h | 32 +- .../libs/supl2/asn-rrlp/MsrPosition-Req.h | 62 ++-- .../libs/supl2/asn-rrlp/MsrPosition-Rsp.h | 68 ++-- .../libs/supl2/asn-rrlp/MultiFrameCarrier.h | 34 +- .../libs/supl2/asn-rrlp/MultiFrameOffset.h | 41 +-- src/core/libs/supl2/asn-rrlp/MultipleSets.h | 36 ++- src/core/libs/supl2/asn-rrlp/NULL.h | 43 +-- .../libs/supl2/asn-rrlp/NativeEnumerated.h | 29 +- src/core/libs/supl2/asn-rrlp/NativeInteger.h | 39 +-- .../supl2/asn-rrlp/NavModel-KeplerianSet.h | 62 ++-- .../libs/supl2/asn-rrlp/NavModelElement.h | 34 +- .../libs/supl2/asn-rrlp/NavigationModel.h | 32 +- .../libs/supl2/asn-rrlp/NeighborIdentity.h | 72 +++-- .../libs/supl2/asn-rrlp/NumOfMeasurements.h | 41 +-- src/core/libs/supl2/asn-rrlp/OCTET_STRING.h | 110 +++---- src/core/libs/supl2/asn-rrlp/OPEN_TYPE.h | 57 ++-- .../libs/supl2/asn-rrlp/OTD-FirstSetMsrs.h | 39 +-- .../supl2/asn-rrlp/OTD-MeasureInfo-5-Ext.h | 41 +-- .../supl2/asn-rrlp/OTD-MeasureInfo-R98-Ext.h | 32 +- .../libs/supl2/asn-rrlp/OTD-MeasureInfo.h | 38 +-- .../libs/supl2/asn-rrlp/OTD-Measurement.h | 36 ++- .../supl2/asn-rrlp/OTD-MeasurementWithID.h | 38 +-- .../asn-rrlp/OTD-MsrElementFirst-R98-Ext.h | 36 ++- .../libs/supl2/asn-rrlp/OTD-MsrElementFirst.h | 48 +-- .../libs/supl2/asn-rrlp/OTD-MsrElementRest.h | 48 +-- .../libs/supl2/asn-rrlp/OTD-MsrsOfOtherSets.h | 56 ++-- src/core/libs/supl2/asn-rrlp/OTDValue.h | 41 +-- src/core/libs/supl2/asn-rrlp/PDU.h | 30 +- src/core/libs/supl2/asn-rrlp/PositionData.h | 54 ++-- .../libs/supl2/asn-rrlp/PositionInstruct.h | 40 +-- src/core/libs/supl2/asn-rrlp/PositionMethod.h | 56 ++-- src/core/libs/supl2/asn-rrlp/ProtocolError.h | 42 +-- src/core/libs/supl2/asn-rrlp/RRLP-Component.h | 74 ++--- src/core/libs/supl2/asn-rrlp/RefLocation.h | 32 +- src/core/libs/supl2/asn-rrlp/RefQuality.h | 41 +-- .../libs/supl2/asn-rrlp/ReferenceAssistData.h | 38 +-- src/core/libs/supl2/asn-rrlp/ReferenceFrame.h | 34 +- .../libs/supl2/asn-rrlp/ReferenceIdentity.h | 32 +- .../supl2/asn-rrlp/ReferenceIdentityType.h | 68 ++-- .../libs/supl2/asn-rrlp/ReferenceRelation.h | 56 ++-- src/core/libs/supl2/asn-rrlp/ReferenceTime.h | 42 +-- src/core/libs/supl2/asn-rrlp/ReferenceWGS84.h | 36 ++- .../Rel-5-MsrPosition-Rsp-Extension.h | 44 +-- .../asn-rrlp/Rel-5-ProtocolError-Extension.h | 38 +-- .../Rel-7-MsrPosition-Rsp-Extension.h | 40 +-- .../Rel-98-MsrPosition-Rsp-Extension.h | 53 ++-- .../asn-rrlp/Rel5-AssistanceData-Extension.h | 34 +- .../asn-rrlp/Rel5-MsrPosition-Req-Extension.h | 34 +- .../asn-rrlp/Rel7-AssistanceData-Extension.h | 38 +-- .../asn-rrlp/Rel7-MsrPosition-Req-Extension.h | 44 +-- .../asn-rrlp/Rel98-AssistanceData-Extension.h | 42 +-- .../libs/supl2/asn-rrlp/Rel98-Ext-ExpOTD.h | 40 +-- .../Rel98-MsrPosition-Req-Extension.h | 42 +-- src/core/libs/supl2/asn-rrlp/RelDistance.h | 41 +-- src/core/libs/supl2/asn-rrlp/RelativeAlt.h | 41 +-- src/core/libs/supl2/asn-rrlp/RequestIndex.h | 41 +-- .../supl2/asn-rrlp/RequiredResponseTime.h | 41 +-- src/core/libs/supl2/asn-rrlp/RoughRTD.h | 41 +-- src/core/libs/supl2/asn-rrlp/SVID.h | 41 +-- src/core/libs/supl2/asn-rrlp/SVIDMASK.h | 41 +-- src/core/libs/supl2/asn-rrlp/SatElement.h | 48 +-- src/core/libs/supl2/asn-rrlp/SatStatus.h | 66 ++-- src/core/libs/supl2/asn-rrlp/SatelliteID.h | 41 +-- .../supl2/asn-rrlp/SeqOf-BadSatelliteSet.h | 35 ++- .../libs/supl2/asn-rrlp/SeqOf-GANSSDataBits.h | 35 ++- .../libs/supl2/asn-rrlp/SeqOfAcquisElement.h | 39 +-- .../libs/supl2/asn-rrlp/SeqOfAlmanacElement.h | 39 +-- .../supl2/asn-rrlp/SeqOfBadSignalElement.h | 39 +-- .../supl2/asn-rrlp/SeqOfDGANSSSgnElement.h | 39 +-- .../supl2/asn-rrlp/SeqOfGANSS-MsrSetElement.h | 39 +-- .../supl2/asn-rrlp/SeqOfGANSS-SgnElement.h | 39 +-- .../asn-rrlp/SeqOfGANSS-SgnTypeElement.h | 39 +-- .../supl2/asn-rrlp/SeqOfGANSSAlmanacElement.h | 39 +-- .../SeqOfGANSSGenericAssistDataElement.h | 39 +-- .../SeqOfGANSSRefMeasurementElement.h | 39 +-- .../asn-rrlp/SeqOfGANSSSatelliteElement.h | 39 +-- .../libs/supl2/asn-rrlp/SeqOfGANSSTimeModel.h | 39 +-- .../libs/supl2/asn-rrlp/SeqOfGPS-MsrElement.h | 39 +-- .../supl2/asn-rrlp/SeqOfGPS-MsrSetElement.h | 39 +-- .../asn-rrlp/SeqOfMsrAssistBTS-R98-ExpOTD.h | 39 +-- .../libs/supl2/asn-rrlp/SeqOfMsrAssistBTS.h | 39 +-- .../supl2/asn-rrlp/SeqOfNavModelElement.h | 39 +-- .../asn-rrlp/SeqOfOTD-FirstSetMsrs-R98-Ext.h | 39 +-- .../supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs.h | 39 +-- .../supl2/asn-rrlp/SeqOfOTD-MsrElementRest.h | 39 +-- .../supl2/asn-rrlp/SeqOfOTD-MsrsOfOtherSets.h | 39 +-- .../asn-rrlp/SeqOfReferenceIdentityType.h | 39 +-- .../libs/supl2/asn-rrlp/SeqOfSatElement.h | 39 +-- .../libs/supl2/asn-rrlp/SeqOfSgnTypeElement.h | 39 +-- .../asn-rrlp/SeqOfStandardClockModelElement.h | 39 +-- .../SeqOfSystemInfoAssistBTS-R98-ExpOTD.h | 39 +-- .../supl2/asn-rrlp/SeqOfSystemInfoAssistBTS.h | 39 +-- src/core/libs/supl2/asn-rrlp/SgnTypeElement.h | 36 ++- .../asn-rrlp/StandardClockModelElement.h | 44 +-- src/core/libs/supl2/asn-rrlp/StdResolution.h | 41 +-- .../asn-rrlp/SystemInfoAssistBTS-R98-ExpOTD.h | 56 ++-- .../libs/supl2/asn-rrlp/SystemInfoAssistBTS.h | 56 ++-- .../SystemInfoAssistData-R98-ExpOTD.h | 32 +- .../supl2/asn-rrlp/SystemInfoAssistData.h | 32 +- .../libs/supl2/asn-rrlp/SystemInfoIndex.h | 41 +-- src/core/libs/supl2/asn-rrlp/TA0.h | 41 +-- src/core/libs/supl2/asn-rrlp/TA1.h | 41 +-- src/core/libs/supl2/asn-rrlp/TA2.h | 41 +-- .../libs/supl2/asn-rrlp/TLMReservedBits.h | 41 +-- src/core/libs/supl2/asn-rrlp/TLMWord.h | 41 +-- .../supl2/asn-rrlp/TOA-MeasurementsOfRef.h | 34 +- src/core/libs/supl2/asn-rrlp/TimeRelation.h | 38 +-- src/core/libs/supl2/asn-rrlp/TimeSlot.h | 41 +-- src/core/libs/supl2/asn-rrlp/TimeSlotScheme.h | 54 ++-- src/core/libs/supl2/asn-rrlp/UTCModel.h | 46 +-- src/core/libs/supl2/asn-rrlp/UlPseudoSegInd.h | 54 ++-- .../supl2/asn-rrlp/UncompressedEphemeris.h | 92 +++--- .../libs/supl2/asn-rrlp/UseMultipleSets.h | 54 ++-- .../libs/supl2/asn-rrlp/VelocityEstimate.h | 39 +-- .../libs/supl2/asn-rrlp/asn_SEQUENCE_OF.h | 33 +- src/core/libs/supl2/asn-rrlp/asn_SET_OF.h | 45 +-- .../libs/supl2/asn-rrlp/asn_application.h | 139 +++++---- src/core/libs/supl2/asn-rrlp/asn_bit_data.h | 85 ++--- src/core/libs/supl2/asn-rrlp/asn_codecs.h | 129 ++++---- .../libs/supl2/asn-rrlp/asn_codecs_prim.h | 59 ++-- src/core/libs/supl2/asn-rrlp/asn_internal.h | 220 +++++++------ src/core/libs/supl2/asn-rrlp/asn_ioc.h | 64 ++-- .../libs/supl2/asn-rrlp/asn_random_fill.h | 14 +- src/core/libs/supl2/asn-rrlp/asn_system.h | 127 ++++---- src/core/libs/supl2/asn-rrlp/ber_decoder.h | 61 ++-- src/core/libs/supl2/asn-rrlp/ber_tlv_length.h | 29 +- src/core/libs/supl2/asn-rrlp/ber_tlv_tag.h | 48 +-- src/core/libs/supl2/asn-rrlp/constr_CHOICE.h | 84 ++--- .../libs/supl2/asn-rrlp/constr_SEQUENCE.h | 68 ++-- .../libs/supl2/asn-rrlp/constr_SEQUENCE_OF.h | 41 +-- src/core/libs/supl2/asn-rrlp/constr_SET_OF.h | 54 ++-- src/core/libs/supl2/asn-rrlp/constr_TYPE.h | 290 +++++++++--------- src/core/libs/supl2/asn-rrlp/constraints.h | 48 +-- src/core/libs/supl2/asn-rrlp/der_encoder.h | 71 ++--- src/core/libs/supl2/asn-rrlp/oer_decoder.h | 61 ++-- src/core/libs/supl2/asn-rrlp/oer_encoder.h | 71 ++--- src/core/libs/supl2/asn-rrlp/oer_support.h | 39 +-- src/core/libs/supl2/asn-rrlp/per_decoder.h | 59 ++-- src/core/libs/supl2/asn-rrlp/per_encoder.h | 67 ++-- src/core/libs/supl2/asn-rrlp/per_opentype.h | 29 +- src/core/libs/supl2/asn-rrlp/per_support.h | 108 +++---- src/core/libs/supl2/asn-rrlp/xer_decoder.h | 117 +++---- src/core/libs/supl2/asn-rrlp/xer_encoder.h | 89 +++--- src/core/libs/supl2/asn-rrlp/xer_support.h | 42 +-- .../libs/supl2/asn-supl2/FrequencyInfoTDD.h | 34 +- .../supl2/asn-supl2/GANSSPositionMethod.h | 40 +-- .../supl2/asn-supl2/GANSSPositionMethods.h | 39 +-- .../asn-supl2/GANSSPositioningMethodTypes.h | 38 +-- src/core/libs/supl2/asn-supl2/GANSSSignals.h | 60 ++-- .../supl2/asn-supl2/GANSSSignalsDescription.h | 36 ++- .../libs/supl2/asn-supl2/GANSSextEphTime.h | 36 ++- .../libs/supl2/asn-supl2/GANSSsignalsInfo.h | 39 +-- .../libs/supl2/asn-supl2/GNSSPosTechnology.h | 44 +-- src/core/libs/supl2/asn-supl2/GPSTime.h | 36 ++- src/core/libs/supl2/asn-supl2/GSMAreaId.h | 40 +-- .../asn-supl2/GanssAdditionalDataChoices.h | 40 +-- src/core/libs/supl2/asn-supl2/GanssDataBits.h | 36 ++- .../supl2/asn-supl2/GanssExtendedEphCheck.h | 36 ++- .../asn-supl2/GanssNavigationModelData.h | 44 +-- .../supl2/asn-supl2/GanssReqGenericData.h | 72 ++--- .../GanssRequestedCommonAssistanceDataList.h | 42 +-- .../GanssRequestedGenericAssistanceDataList.h | 39 +-- .../libs/supl2/asn-supl2/GeneralizedTime.h | 73 ++--- src/core/libs/supl2/asn-supl2/GeoAreaIndex.h | 37 +-- .../libs/supl2/asn-supl2/GeoAreaMappingList.h | 35 ++- .../supl2/asn-supl2/GeoAreaShapesSupported.h | 36 ++- .../supl2/asn-supl2/GeographicTargetArea.h | 66 ++-- .../asn-supl2/GeographicTargetAreaList.h | 39 +-- .../libs/supl2/asn-supl2/GsmCellInformation.h | 48 +-- src/core/libs/supl2/asn-supl2/HRPDAreaId.h | 34 +- .../libs/supl2/asn-supl2/HistoricReporting.h | 40 +-- .../libs/supl2/asn-supl2/Horandveruncert.h | 44 +-- src/core/libs/supl2/asn-supl2/Horandvervel.h | 40 +-- src/core/libs/supl2/asn-supl2/Horvel.h | 36 ++- src/core/libs/supl2/asn-supl2/Horveluncert.h | 38 +-- .../supl2/asn-supl2/HrpdCellInformation.h | 42 +-- src/core/libs/supl2/asn-supl2/IPAddress.h | 56 ++-- src/core/libs/supl2/asn-supl2/KeyIdentity.h | 37 +-- src/core/libs/supl2/asn-supl2/KeyIdentity4.h | 37 +-- src/core/libs/supl2/asn-supl2/LTEAreaId.h | 38 +-- src/core/libs/supl2/asn-supl2/LocationData.h | 38 +-- .../asn-supl2/LocationEncodingDescriptor.h | 52 ++-- src/core/libs/supl2/asn-supl2/LocationId.h | 36 ++- .../libs/supl2/asn-supl2/LocationIdData.h | 38 +-- .../libs/supl2/asn-supl2/LteCellInformation.h | 50 +-- src/core/libs/supl2/asn-supl2/MAC.h | 37 +-- src/core/libs/supl2/asn-supl2/MCC-MNC-Digit.h | 37 +-- src/core/libs/supl2/asn-supl2/MCC.h | 35 ++- src/core/libs/supl2/asn-supl2/MNC.h | 35 ++- .../libs/supl2/asn-supl2/MeasResultEUTRA.h | 64 ++-- .../supl2/asn-supl2/MeasResultListEUTRA.h | 39 +-- .../libs/supl2/asn-supl2/MeasuredResults.h | 42 +-- .../supl2/asn-supl2/MeasuredResultsList.h | 39 +-- .../supl2/asn-supl2/MultipleLocationIds.h | 39 +-- src/core/libs/supl2/asn-supl2/NMR.h | 39 +-- src/core/libs/supl2/asn-supl2/NMRelement.h | 38 +-- .../libs/supl2/asn-supl2/NavigationModel.h | 46 +-- src/core/libs/supl2/asn-supl2/Notification.h | 50 +-- .../libs/supl2/asn-supl2/NotificationMode.h | 52 ++-- .../supl2/asn-supl2/NotificationResponse.h | 52 ++-- .../libs/supl2/asn-supl2/NotificationType.h | 58 ++-- src/core/libs/supl2/asn-supl2/OPEN_TYPE.h | 57 ++-- src/core/libs/supl2/asn-supl2/PLMN-Identity.h | 38 +-- src/core/libs/supl2/asn-supl2/Pathloss.h | 37 +-- .../libs/supl2/asn-supl2/PeriodicParams.h | 38 +-- src/core/libs/supl2/asn-supl2/PhysCellId.h | 37 +-- src/core/libs/supl2/asn-supl2/PolygonArea.h | 34 +- .../libs/supl2/asn-supl2/PolygonDescription.h | 39 +-- src/core/libs/supl2/asn-supl2/PosMethod.h | 82 ++--- src/core/libs/supl2/asn-supl2/PosPayLoad.h | 68 ++-- src/core/libs/supl2/asn-supl2/PosProtocol.h | 44 +-- .../supl2/asn-supl2/PosProtocolVersion3GPP.h | 38 +-- .../supl2/asn-supl2/PosProtocolVersion3GPP2.h | 39 +-- src/core/libs/supl2/asn-supl2/PosTechnology.h | 52 ++-- src/core/libs/supl2/asn-supl2/Position.h | 42 +-- src/core/libs/supl2/asn-supl2/PositionData.h | 46 +-- .../libs/supl2/asn-supl2/PositionEstimate.h | 76 ++--- src/core/libs/supl2/asn-supl2/PrefMethod.h | 52 ++-- .../libs/supl2/asn-supl2/PrimaryCCPCH-RSCP.h | 37 +-- .../libs/supl2/asn-supl2/PrimaryCPICH-Info.h | 32 +- src/core/libs/supl2/asn-supl2/ProtLevel.h | 52 ++-- .../libs/supl2/asn-supl2/ProtectionLevel.h | 40 +-- src/core/libs/supl2/asn-supl2/QoP.h | 40 +-- src/core/libs/supl2/asn-supl2/RSRP-Range.h | 37 +-- src/core/libs/supl2/asn-supl2/RSRQ-Range.h | 37 +-- src/core/libs/supl2/asn-supl2/RTD.h | 38 +-- src/core/libs/supl2/asn-supl2/RTDUnits.h | 58 ++-- src/core/libs/supl2/asn-supl2/RelativeTime.h | 37 +-- .../supl2/asn-supl2/RepeatedReportingParams.h | 36 ++- src/core/libs/supl2/asn-supl2/ReportData.h | 48 +-- .../libs/supl2/asn-supl2/ReportDataList.h | 39 +-- .../libs/supl2/asn-supl2/ReportedLocation.h | 36 ++- src/core/libs/supl2/asn-supl2/ReportingCap.h | 44 +-- .../libs/supl2/asn-supl2/ReportingCriteria.h | 42 +-- src/core/libs/supl2/asn-supl2/ReportingMode.h | 44 +-- .../asn-supl2/ReqDataBitAssistanceList.h | 50 +-- .../supl2/asn-supl2/RequestedAssistData.h | 60 ++-- src/core/libs/supl2/asn-supl2/ResultCode.h | 62 ++-- .../supl2/asn-supl2/SET-GANSSReferenceTime.h | 110 ++++--- src/core/libs/supl2/asn-supl2/SETAuthKey.h | 62 ++-- .../libs/supl2/asn-supl2/SETCapabilities.h | 44 +-- src/core/libs/supl2/asn-supl2/SETId.h | 78 ++--- src/core/libs/supl2/asn-supl2/SLPAddress.h | 62 ++-- src/core/libs/supl2/asn-supl2/SLPMode.h | 50 +-- src/core/libs/supl2/asn-supl2/SPCSETKey.h | 37 +-- .../libs/supl2/asn-supl2/SPCSETKeylifetime.h | 37 +-- src/core/libs/supl2/asn-supl2/SPCTID.h | 36 ++- .../SUPL-TRIGGERED-RESPONSE_RepMode.h | 54 ++-- src/core/libs/supl2/asn-supl2/SUPLAUTHREQ.h | 40 +-- src/core/libs/supl2/asn-supl2/SUPLAUTHRESP.h | 38 +-- src/core/libs/supl2/asn-supl2/SUPLEND.h | 46 +-- src/core/libs/supl2/asn-supl2/SUPLINIT.h | 58 ++-- src/core/libs/supl2/asn-supl2/SUPLPOS.h | 44 +-- src/core/libs/supl2/asn-supl2/SUPLPOSINIT.h | 56 ++-- src/core/libs/supl2/asn-supl2/SUPLRESPONSE.h | 50 +-- src/core/libs/supl2/asn-supl2/SUPLSTART.h | 46 +-- src/core/libs/supl2/asn-supl2/SatelliteInfo.h | 39 +-- .../supl2/asn-supl2/SatelliteInfoElement.h | 36 ++- .../asn-supl2/SatellitesListRelatedData.h | 36 ++- .../asn-supl2/SatellitesListRelatedDataList.h | 39 +-- .../supl2/asn-supl2/ServiceCapabilities.h | 46 +-- .../libs/supl2/asn-supl2/ServicesSupported.h | 36 ++- .../supl2/asn-supl2/SessionCapabilities.h | 38 +-- src/core/libs/supl2/asn-supl2/SessionID.h | 40 +-- .../libs/supl2/asn-supl2/SessionInformation.h | 34 +- src/core/libs/supl2/asn-supl2/SessionList.h | 39 +-- src/core/libs/supl2/asn-supl2/SetSessionID.h | 34 +- src/core/libs/supl2/asn-supl2/SlpSessionID.h | 34 +- src/core/libs/supl2/asn-supl2/Status.h | 54 ++-- src/core/libs/supl2/asn-supl2/StatusCode.h | 98 +++--- .../Supported3GPP2PosProtocolVersion.h | 38 +-- .../libs/supl2/asn-supl2/SupportedBearers.h | 48 +-- .../asn-supl2/SupportedNetworkInformation.h | 70 +++-- .../libs/supl2/asn-supl2/SupportedWCDMAInfo.h | 34 +- .../supl2/asn-supl2/SupportedWLANApData.h | 53 ++-- .../asn-supl2/SupportedWLANApsChannel11a.h | 62 ++-- .../asn-supl2/SupportedWLANApsChannel11bg.h | 58 ++-- .../supl2/asn-supl2/SupportedWLANApsList.h | 58 ++-- .../libs/supl2/asn-supl2/SupportedWLANInfo.h | 56 ++-- src/core/libs/supl2/asn-supl2/TAResolution.h | 54 ++-- src/core/libs/supl2/asn-supl2/TGSN.h | 37 +-- src/core/libs/supl2/asn-supl2/ThirdParty.h | 39 +-- src/core/libs/supl2/asn-supl2/ThirdPartyID.h | 86 +++--- src/core/libs/supl2/asn-supl2/TimeStamp.h | 56 ++-- src/core/libs/supl2/asn-supl2/TimeWindow.h | 34 +- .../libs/supl2/asn-supl2/TimeslotISCP-List.h | 35 ++- src/core/libs/supl2/asn-supl2/TimeslotISCP.h | 37 +-- src/core/libs/supl2/asn-supl2/TimingAdvance.h | 38 +-- .../libs/supl2/asn-supl2/TrackingAreaCode.h | 37 +-- src/core/libs/supl2/asn-supl2/TriggerParams.h | 62 ++-- src/core/libs/supl2/asn-supl2/TriggerType.h | 52 ++-- src/core/libs/supl2/asn-supl2/UARFCN.h | 37 +-- src/core/libs/supl2/asn-supl2/ULP-PDU.h | 34 +- src/core/libs/supl2/asn-supl2/UMBAreaId.h | 38 +-- src/core/libs/supl2/asn-supl2/UTCTime.h | 49 +-- .../libs/supl2/asn-supl2/UTRA-CarrierRSSI.h | 37 +-- .../asn-supl2/UTRAN-GANSSReferenceTime.h | 97 +++--- .../UTRAN-GANSSReferenceTimeAssistance.h | 38 +-- .../UTRAN-GANSSReferenceTimeResult.h | 36 ++- .../supl2/asn-supl2/UTRAN-GPSReferenceTime.h | 106 ++++--- .../UTRAN-GPSReferenceTimeAssistance.h | 36 ++- .../asn-supl2/UTRAN-GPSReferenceTimeResult.h | 110 ++++--- .../supl2/asn-supl2/UTRANGANSSDriftRate.h | 76 ++--- .../libs/supl2/asn-supl2/UTRANGPSDriftRate.h | 76 ++--- src/core/libs/supl2/asn-supl2/UlpMessage.h | 112 +++---- .../libs/supl2/asn-supl2/UmbCellInformation.h | 46 +-- src/core/libs/supl2/asn-supl2/Velocity.h | 70 +++-- src/core/libs/supl2/asn-supl2/Ver.h | 37 +-- .../supl2/asn-supl2/Ver2-CellInfo-extension.h | 74 ++--- .../asn-supl2/Ver2-Notification-extension.h | 34 +- .../asn-supl2/Ver2-PosPayLoad-extension.h | 60 ++-- .../asn-supl2/Ver2-PosProtocol-extension.h | 48 +-- .../asn-supl2/Ver2-PosTechnology-extension.h | 38 +-- .../Ver2-RequestedAssistData-extension.h | 50 +-- .../Ver2-SETCapabilities-extension.h | 42 +-- .../supl2/asn-supl2/Ver2-SUPL-END-extension.h | 38 +-- .../asn-supl2/Ver2-SUPL-INIT-extension.h | 60 ++-- .../asn-supl2/Ver2-SUPL-POS-INIT-extension.h | 46 +-- .../supl2/asn-supl2/Ver2-SUPL-POS-extension.h | 50 +-- .../asn-supl2/Ver2-SUPL-RESPONSE-extension.h | 54 ++-- .../asn-supl2/Ver2-SUPL-START-extension.h | 50 +-- .../libs/supl2/asn-supl2/Ver2-SUPLNOTIFY.h | 34 +- .../supl2/asn-supl2/Ver2-SUPLNOTIFYRESPONSE.h | 34 +- .../libs/supl2/asn-supl2/Ver2-SUPLREPORT.h | 50 +-- .../libs/supl2/asn-supl2/Ver2-SUPLSETINIT.h | 44 +-- .../asn-supl2/Ver2-SUPLTRIGGEREDRESPONSE.h | 64 ++-- .../supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTART.h | 72 ++--- .../supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTOP.h | 34 +- .../asn-supl2/Ver2-ULP-Components_RepMode.h | 38 +-- src/core/libs/supl2/asn-supl2/Version.h | 36 ++- src/core/libs/supl2/asn-supl2/VisibleString.h | 37 +-- src/core/libs/supl2/asn-supl2/WCDMAAreaId.h | 40 +-- src/core/libs/supl2/asn-supl2/WLANAreaId.h | 34 +- .../supl2/asn-supl2/WcdmaCellInformation.h | 56 ++-- src/core/libs/supl2/asn-supl2/WimaxAreaId.h | 34 +- .../libs/supl2/asn-supl2/WimaxBSInformation.h | 44 +-- src/core/libs/supl2/asn-supl2/WimaxBsID.h | 36 ++- src/core/libs/supl2/asn-supl2/WimaxNMR.h | 54 ++-- src/core/libs/supl2/asn-supl2/WimaxNMRList.h | 39 +-- src/core/libs/supl2/asn-supl2/WimaxRTD.h | 36 ++- .../libs/supl2/asn-supl2/WlanAPInformation.h | 81 ++--- src/core/libs/supl2/asn-supl2/asn_SET_OF.h | 45 +-- src/core/libs/supl2/asn-supl2/asn_codecs.h | 129 ++++---- src/core/libs/supl2/asn-supl2/asn_internal.h | 220 +++++++------ .../libs/supl2/asn-supl2/asn_random_fill.h | 14 +- src/core/libs/supl2/asn-supl2/asn_system.h | 127 ++++---- .../libs/supl2/asn-supl2/ber_tlv_length.h | 29 +- src/core/libs/supl2/asn-supl2/ber_tlv_tag.h | 48 +-- src/core/libs/supl2/asn-supl2/config.h | 16 +- src/core/libs/supl2/asn-supl2/per_opentype.h | 29 +- src/core/libs/supl2/asn-supl2/xer_support.h | 42 +-- 458 files changed, 11506 insertions(+), 10450 deletions(-) diff --git a/src/core/libs/supl2/asn-rrlp/Accuracy.h b/src/core/libs/supl2/asn-rrlp/Accuracy.h index a9e94f22f..12da0150a 100644 --- a/src/core/libs/supl2/asn-rrlp/Accuracy.h +++ b/src/core/libs/supl2/asn-rrlp/Accuracy.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Accuracy_H_ -#define _Accuracy_H_ +#ifndef _Accuracy_H_ +#define _Accuracy_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Accuracy */ -typedef long Accuracy_t; + /* Accuracy */ + typedef long Accuracy_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Accuracy_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Accuracy; -asn_struct_free_f Accuracy_free; -asn_struct_print_f Accuracy_print; -asn_constr_check_f Accuracy_constraint; -ber_type_decoder_f Accuracy_decode_ber; -der_type_encoder_f Accuracy_encode_der; -xer_type_decoder_f Accuracy_decode_xer; -xer_type_encoder_f Accuracy_encode_xer; -oer_type_decoder_f Accuracy_decode_oer; -oer_type_encoder_f Accuracy_encode_oer; -per_type_decoder_f Accuracy_decode_uper; -per_type_encoder_f Accuracy_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_Accuracy_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_Accuracy; + asn_struct_free_f Accuracy_free; + asn_struct_print_f Accuracy_print; + asn_constr_check_f Accuracy_constraint; + ber_type_decoder_f Accuracy_decode_ber; + der_type_encoder_f Accuracy_encode_der; + xer_type_decoder_f Accuracy_decode_xer; + xer_type_encoder_f Accuracy_encode_xer; + oer_type_decoder_f Accuracy_decode_oer; + oer_type_encoder_f Accuracy_encode_oer; + per_type_decoder_f Accuracy_decode_uper; + per_type_encoder_f Accuracy_encode_uper; #ifdef __cplusplus } #endif -#endif /* _Accuracy_H_ */ +#endif /* _Accuracy_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AccuracyOpt.h b/src/core/libs/supl2/asn-rrlp/AccuracyOpt.h index c8f141a59..2d37e41e3 100644 --- a/src/core/libs/supl2/asn-rrlp/AccuracyOpt.h +++ b/src/core/libs/supl2/asn-rrlp/AccuracyOpt.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AccuracyOpt_H_ -#define _AccuracyOpt_H_ +#ifndef _AccuracyOpt_H_ +#define _AccuracyOpt_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AccuracyOpt */ -typedef struct AccuracyOpt { - Accuracy_t *accuracy /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AccuracyOpt_t; + /* AccuracyOpt */ + typedef struct AccuracyOpt + { + Accuracy_t *accuracy /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AccuracyOpt; -extern asn_SEQUENCE_specifics_t asn_SPC_AccuracyOpt_specs_1; -extern asn_TYPE_member_t asn_MBR_AccuracyOpt_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AccuracyOpt_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AccuracyOpt; + extern asn_SEQUENCE_specifics_t asn_SPC_AccuracyOpt_specs_1; + extern asn_TYPE_member_t asn_MBR_AccuracyOpt_1[1]; #ifdef __cplusplus } #endif -#endif /* _AccuracyOpt_H_ */ +#endif /* _AccuracyOpt_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AcquisAssist.h b/src/core/libs/supl2/asn-rrlp/AcquisAssist.h index 6ca1c8e5e..46fd5a13c 100644 --- a/src/core/libs/supl2/asn-rrlp/AcquisAssist.h +++ b/src/core/libs/supl2/asn-rrlp/AcquisAssist.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AcquisAssist_H_ -#define _AcquisAssist_H_ +#ifndef _AcquisAssist_H_ +#define _AcquisAssist_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AcquisAssist */ -typedef struct AcquisAssist { - TimeRelation_t timeRelation; - SeqOfAcquisElement_t acquisList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AcquisAssist_t; + /* AcquisAssist */ + typedef struct AcquisAssist + { + TimeRelation_t timeRelation; + SeqOfAcquisElement_t acquisList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AcquisAssist; -extern asn_SEQUENCE_specifics_t asn_SPC_AcquisAssist_specs_1; -extern asn_TYPE_member_t asn_MBR_AcquisAssist_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AcquisAssist_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AcquisAssist; + extern asn_SEQUENCE_specifics_t asn_SPC_AcquisAssist_specs_1; + extern asn_TYPE_member_t asn_MBR_AcquisAssist_1[2]; #ifdef __cplusplus } #endif -#endif /* _AcquisAssist_H_ */ +#endif /* _AcquisAssist_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AcquisElement.h b/src/core/libs/supl2/asn-rrlp/AcquisElement.h index ba092fd80..44388c577 100644 --- a/src/core/libs/supl2/asn-rrlp/AcquisElement.h +++ b/src/core/libs/supl2/asn-rrlp/AcquisElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AcquisElement_H_ -#define _AcquisElement_H_ +#ifndef _AcquisElement_H_ +#define _AcquisElement_H_ #include @@ -16,32 +16,34 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct AddionalDopplerFields; -struct AddionalAngleFields; + /* Forward declarations */ + struct AddionalDopplerFields; + struct AddionalAngleFields; -/* AcquisElement */ -typedef struct AcquisElement { - SatelliteID_t svid; - long doppler0; - struct AddionalDopplerFields *addionalDoppler /* OPTIONAL */; - long codePhase; - long intCodePhase; - long gpsBitNumber; - long codePhaseSearchWindow; - struct AddionalAngleFields *addionalAngle /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AcquisElement_t; + /* AcquisElement */ + typedef struct AcquisElement + { + SatelliteID_t svid; + long doppler0; + struct AddionalDopplerFields *addionalDoppler /* OPTIONAL */; + long codePhase; + long intCodePhase; + long gpsBitNumber; + long codePhaseSearchWindow; + struct AddionalAngleFields *addionalAngle /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AcquisElement; -extern asn_SEQUENCE_specifics_t asn_SPC_AcquisElement_specs_1; -extern asn_TYPE_member_t asn_MBR_AcquisElement_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AcquisElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AcquisElement; + extern asn_SEQUENCE_specifics_t asn_SPC_AcquisElement_specs_1; + extern asn_TYPE_member_t asn_MBR_AcquisElement_1[8]; #ifdef __cplusplus } @@ -51,5 +53,5 @@ extern asn_TYPE_member_t asn_MBR_AcquisElement_1[8]; #include "AddionalDopplerFields.h" #include "AddionalAngleFields.h" -#endif /* _AcquisElement_H_ */ +#endif /* _AcquisElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AddionalAngleFields.h b/src/core/libs/supl2/asn-rrlp/AddionalAngleFields.h index efca26eb1..a70888162 100644 --- a/src/core/libs/supl2/asn-rrlp/AddionalAngleFields.h +++ b/src/core/libs/supl2/asn-rrlp/AddionalAngleFields.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AddionalAngleFields_H_ -#define _AddionalAngleFields_H_ +#ifndef _AddionalAngleFields_H_ +#define _AddionalAngleFields_H_ #include @@ -15,26 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AddionalAngleFields */ -typedef struct AddionalAngleFields { - long azimuth; - long elevation; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AddionalAngleFields_t; + /* AddionalAngleFields */ + typedef struct AddionalAngleFields + { + long azimuth; + long elevation; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AddionalAngleFields; -extern asn_SEQUENCE_specifics_t asn_SPC_AddionalAngleFields_specs_1; -extern asn_TYPE_member_t asn_MBR_AddionalAngleFields_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AddionalAngleFields_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AddionalAngleFields; + extern asn_SEQUENCE_specifics_t asn_SPC_AddionalAngleFields_specs_1; + extern asn_TYPE_member_t asn_MBR_AddionalAngleFields_1[2]; #ifdef __cplusplus } #endif -#endif /* _AddionalAngleFields_H_ */ +#endif /* _AddionalAngleFields_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AddionalDopplerFields.h b/src/core/libs/supl2/asn-rrlp/AddionalDopplerFields.h index d68e8d182..7ebcf71a7 100644 --- a/src/core/libs/supl2/asn-rrlp/AddionalDopplerFields.h +++ b/src/core/libs/supl2/asn-rrlp/AddionalDopplerFields.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AddionalDopplerFields_H_ -#define _AddionalDopplerFields_H_ +#ifndef _AddionalDopplerFields_H_ +#define _AddionalDopplerFields_H_ #include @@ -15,26 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AddionalDopplerFields */ -typedef struct AddionalDopplerFields { - long doppler1; - long dopplerUncertainty; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AddionalDopplerFields_t; + /* AddionalDopplerFields */ + typedef struct AddionalDopplerFields + { + long doppler1; + long dopplerUncertainty; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AddionalDopplerFields; -extern asn_SEQUENCE_specifics_t asn_SPC_AddionalDopplerFields_specs_1; -extern asn_TYPE_member_t asn_MBR_AddionalDopplerFields_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AddionalDopplerFields_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AddionalDopplerFields; + extern asn_SEQUENCE_specifics_t asn_SPC_AddionalDopplerFields_specs_1; + extern asn_TYPE_member_t asn_MBR_AddionalDopplerFields_1[2]; #ifdef __cplusplus } #endif -#endif /* _AddionalDopplerFields_H_ */ +#endif /* _AddionalDopplerFields_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AdditionalAssistanceData.h b/src/core/libs/supl2/asn-rrlp/AdditionalAssistanceData.h index 30b01322d..d9eba91e4 100644 --- a/src/core/libs/supl2/asn-rrlp/AdditionalAssistanceData.h +++ b/src/core/libs/supl2/asn-rrlp/AdditionalAssistanceData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AdditionalAssistanceData_H_ -#define _AdditionalAssistanceData_H_ +#ifndef _AdditionalAssistanceData_H_ +#define _AdditionalAssistanceData_H_ #include @@ -17,31 +17,33 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AdditionalAssistanceData */ -typedef struct AdditionalAssistanceData { - GPSAssistanceData_t *gpsAssistanceData /* OPTIONAL */; - ExtensionContainer_t *extensionContainer /* OPTIONAL */; - /* + /* AdditionalAssistanceData */ + typedef struct AdditionalAssistanceData + { + GPSAssistanceData_t *gpsAssistanceData /* OPTIONAL */; + ExtensionContainer_t *extensionContainer /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - GANSSAssistanceData_t *ganssAssistanceData /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AdditionalAssistanceData_t; + GANSSAssistanceData_t *ganssAssistanceData /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AdditionalAssistanceData; -extern asn_SEQUENCE_specifics_t asn_SPC_AdditionalAssistanceData_specs_1; -extern asn_TYPE_member_t asn_MBR_AdditionalAssistanceData_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AdditionalAssistanceData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AdditionalAssistanceData; + extern asn_SEQUENCE_specifics_t asn_SPC_AdditionalAssistanceData_specs_1; + extern asn_TYPE_member_t asn_MBR_AdditionalAssistanceData_1[3]; #ifdef __cplusplus } #endif -#endif /* _AdditionalAssistanceData_H_ */ +#endif /* _AdditionalAssistanceData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AdditionalDopplerFields.h b/src/core/libs/supl2/asn-rrlp/AdditionalDopplerFields.h index bb0771824..ae4800bd1 100644 --- a/src/core/libs/supl2/asn-rrlp/AdditionalDopplerFields.h +++ b/src/core/libs/supl2/asn-rrlp/AdditionalDopplerFields.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AdditionalDopplerFields_H_ -#define _AdditionalDopplerFields_H_ +#ifndef _AdditionalDopplerFields_H_ +#define _AdditionalDopplerFields_H_ #include @@ -15,26 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AdditionalDopplerFields */ -typedef struct AdditionalDopplerFields { - long doppler1; - long dopplerUncertainty; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AdditionalDopplerFields_t; + /* AdditionalDopplerFields */ + typedef struct AdditionalDopplerFields + { + long doppler1; + long dopplerUncertainty; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AdditionalDopplerFields; -extern asn_SEQUENCE_specifics_t asn_SPC_AdditionalDopplerFields_specs_1; -extern asn_TYPE_member_t asn_MBR_AdditionalDopplerFields_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AdditionalDopplerFields_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AdditionalDopplerFields; + extern asn_SEQUENCE_specifics_t asn_SPC_AdditionalDopplerFields_specs_1; + extern asn_TYPE_member_t asn_MBR_AdditionalDopplerFields_1[2]; #ifdef __cplusplus } #endif -#endif /* _AdditionalDopplerFields_H_ */ +#endif /* _AdditionalDopplerFields_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AlertFlag.h b/src/core/libs/supl2/asn-rrlp/AlertFlag.h index 6d82a293e..c3ee3c3a4 100644 --- a/src/core/libs/supl2/asn-rrlp/AlertFlag.h +++ b/src/core/libs/supl2/asn-rrlp/AlertFlag.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AlertFlag_H_ -#define _AlertFlag_H_ +#ifndef _AlertFlag_H_ +#define _AlertFlag_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AlertFlag */ -typedef long AlertFlag_t; + /* AlertFlag */ + typedef long AlertFlag_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_AlertFlag_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_AlertFlag; -asn_struct_free_f AlertFlag_free; -asn_struct_print_f AlertFlag_print; -asn_constr_check_f AlertFlag_constraint; -ber_type_decoder_f AlertFlag_decode_ber; -der_type_encoder_f AlertFlag_encode_der; -xer_type_decoder_f AlertFlag_decode_xer; -xer_type_encoder_f AlertFlag_encode_xer; -oer_type_decoder_f AlertFlag_decode_oer; -oer_type_encoder_f AlertFlag_encode_oer; -per_type_decoder_f AlertFlag_decode_uper; -per_type_encoder_f AlertFlag_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_AlertFlag_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_AlertFlag; + asn_struct_free_f AlertFlag_free; + asn_struct_print_f AlertFlag_print; + asn_constr_check_f AlertFlag_constraint; + ber_type_decoder_f AlertFlag_decode_ber; + der_type_encoder_f AlertFlag_encode_der; + xer_type_decoder_f AlertFlag_decode_xer; + xer_type_encoder_f AlertFlag_encode_xer; + oer_type_decoder_f AlertFlag_decode_oer; + oer_type_encoder_f AlertFlag_encode_oer; + per_type_decoder_f AlertFlag_decode_uper; + per_type_encoder_f AlertFlag_encode_uper; #ifdef __cplusplus } #endif -#endif /* _AlertFlag_H_ */ +#endif /* _AlertFlag_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Almanac-KeplerianSet.h b/src/core/libs/supl2/asn-rrlp/Almanac-KeplerianSet.h index e10312c5b..aa20dca06 100644 --- a/src/core/libs/supl2/asn-rrlp/Almanac-KeplerianSet.h +++ b/src/core/libs/supl2/asn-rrlp/Almanac-KeplerianSet.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Almanac_KeplerianSet_H_ -#define _Almanac_KeplerianSet_H_ +#ifndef _Almanac_KeplerianSet_H_ +#define _Almanac_KeplerianSet_H_ #include @@ -15,34 +15,36 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Almanac-KeplerianSet */ -typedef struct Almanac_KeplerianSet { - long kepAlmanacE; - long kepAlmanacDeltaI; - long kepAlmanacOmegaDot; - long kepSVHealth; - long kepAlmanacAPowerHalf; - long kepAlmanacOmega0; - long kepAlmanacW; - long kepAlmanacM0; - long kepAlmanacAF0; - long kepAlmanacAF1; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Almanac_KeplerianSet_t; + /* Almanac-KeplerianSet */ + typedef struct Almanac_KeplerianSet + { + long kepAlmanacE; + long kepAlmanacDeltaI; + long kepAlmanacOmegaDot; + long kepSVHealth; + long kepAlmanacAPowerHalf; + long kepAlmanacOmega0; + long kepAlmanacW; + long kepAlmanacM0; + long kepAlmanacAF0; + long kepAlmanacAF1; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Almanac_KeplerianSet; -extern asn_SEQUENCE_specifics_t asn_SPC_Almanac_KeplerianSet_specs_1; -extern asn_TYPE_member_t asn_MBR_Almanac_KeplerianSet_1[10]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Almanac_KeplerianSet_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Almanac_KeplerianSet; + extern asn_SEQUENCE_specifics_t asn_SPC_Almanac_KeplerianSet_specs_1; + extern asn_TYPE_member_t asn_MBR_Almanac_KeplerianSet_1[10]; #ifdef __cplusplus } #endif -#endif /* _Almanac_KeplerianSet_H_ */ +#endif /* _Almanac_KeplerianSet_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Almanac.h b/src/core/libs/supl2/asn-rrlp/Almanac.h index 6b23b109d..b12e3c1ad 100644 --- a/src/core/libs/supl2/asn-rrlp/Almanac.h +++ b/src/core/libs/supl2/asn-rrlp/Almanac.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Almanac_H_ -#define _Almanac_H_ +#ifndef _Almanac_H_ +#define _Almanac_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Almanac */ -typedef struct Almanac { - long alamanacWNa; - SeqOfAlmanacElement_t almanacList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Almanac_t; + /* Almanac */ + typedef struct Almanac + { + long alamanacWNa; + SeqOfAlmanacElement_t almanacList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Almanac; -extern asn_SEQUENCE_specifics_t asn_SPC_Almanac_specs_1; -extern asn_TYPE_member_t asn_MBR_Almanac_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Almanac_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Almanac; + extern asn_SEQUENCE_specifics_t asn_SPC_Almanac_specs_1; + extern asn_TYPE_member_t asn_MBR_Almanac_1[2]; #ifdef __cplusplus } #endif -#endif /* _Almanac_H_ */ +#endif /* _Almanac_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AlmanacElement.h b/src/core/libs/supl2/asn-rrlp/AlmanacElement.h index 07f497c82..89a96fe9f 100644 --- a/src/core/libs/supl2/asn-rrlp/AlmanacElement.h +++ b/src/core/libs/supl2/asn-rrlp/AlmanacElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AlmanacElement_H_ -#define _AlmanacElement_H_ +#ifndef _AlmanacElement_H_ +#define _AlmanacElement_H_ #include @@ -16,36 +16,38 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AlmanacElement */ -typedef struct AlmanacElement { - SatelliteID_t satelliteID; - long almanacE; - long alamanacToa; - long almanacKsii; - long almanacOmegaDot; - long almanacSVhealth; - long almanacAPowerHalf; - long almanacOmega0; - long almanacW; - long almanacM0; - long almanacAF0; - long almanacAF1; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AlmanacElement_t; + /* AlmanacElement */ + typedef struct AlmanacElement + { + SatelliteID_t satelliteID; + long almanacE; + long alamanacToa; + long almanacKsii; + long almanacOmegaDot; + long almanacSVhealth; + long almanacAPowerHalf; + long almanacOmega0; + long almanacW; + long almanacM0; + long almanacAF0; + long almanacAF1; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AlmanacElement; -extern asn_SEQUENCE_specifics_t asn_SPC_AlmanacElement_specs_1; -extern asn_TYPE_member_t asn_MBR_AlmanacElement_1[12]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AlmanacElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AlmanacElement; + extern asn_SEQUENCE_specifics_t asn_SPC_AlmanacElement_specs_1; + extern asn_TYPE_member_t asn_MBR_AlmanacElement_1[12]; #ifdef __cplusplus } #endif -#endif /* _AlmanacElement_H_ */ +#endif /* _AlmanacElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AntiSpoofFlag.h b/src/core/libs/supl2/asn-rrlp/AntiSpoofFlag.h index ab21a1fa5..4c7437c0f 100644 --- a/src/core/libs/supl2/asn-rrlp/AntiSpoofFlag.h +++ b/src/core/libs/supl2/asn-rrlp/AntiSpoofFlag.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AntiSpoofFlag_H_ -#define _AntiSpoofFlag_H_ +#ifndef _AntiSpoofFlag_H_ +#define _AntiSpoofFlag_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AntiSpoofFlag */ -typedef long AntiSpoofFlag_t; + /* AntiSpoofFlag */ + typedef long AntiSpoofFlag_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_AntiSpoofFlag_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_AntiSpoofFlag; -asn_struct_free_f AntiSpoofFlag_free; -asn_struct_print_f AntiSpoofFlag_print; -asn_constr_check_f AntiSpoofFlag_constraint; -ber_type_decoder_f AntiSpoofFlag_decode_ber; -der_type_encoder_f AntiSpoofFlag_encode_der; -xer_type_decoder_f AntiSpoofFlag_decode_xer; -xer_type_encoder_f AntiSpoofFlag_encode_xer; -oer_type_decoder_f AntiSpoofFlag_decode_oer; -oer_type_encoder_f AntiSpoofFlag_encode_oer; -per_type_decoder_f AntiSpoofFlag_decode_uper; -per_type_encoder_f AntiSpoofFlag_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_AntiSpoofFlag_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_AntiSpoofFlag; + asn_struct_free_f AntiSpoofFlag_free; + asn_struct_print_f AntiSpoofFlag_print; + asn_constr_check_f AntiSpoofFlag_constraint; + ber_type_decoder_f AntiSpoofFlag_decode_ber; + der_type_encoder_f AntiSpoofFlag_encode_der; + xer_type_decoder_f AntiSpoofFlag_decode_xer; + xer_type_encoder_f AntiSpoofFlag_encode_xer; + oer_type_decoder_f AntiSpoofFlag_decode_oer; + oer_type_encoder_f AntiSpoofFlag_encode_oer; + per_type_decoder_f AntiSpoofFlag_decode_uper; + per_type_encoder_f AntiSpoofFlag_encode_uper; #ifdef __cplusplus } #endif -#endif /* _AntiSpoofFlag_H_ */ +#endif /* _AntiSpoofFlag_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AssistBTSData-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/AssistBTSData-R98-ExpOTD.h index d0177e19e..4ca391aef 100644 --- a/src/core/libs/supl2/asn-rrlp/AssistBTSData-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/AssistBTSData-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AssistBTSData_R98_ExpOTD_H_ -#define _AssistBTSData_R98_ExpOTD_H_ +#ifndef _AssistBTSData_R98_ExpOTD_H_ +#define _AssistBTSData_R98_ExpOTD_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* AssistBTSData-R98-ExpOTD */ -typedef struct AssistBTSData_R98_ExpOTD { - ExpectedOTD_t expectedOTD; - ExpOTDUncertainty_t expOTDuncertainty; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AssistBTSData_R98_ExpOTD_t; + /* AssistBTSData-R98-ExpOTD */ + typedef struct AssistBTSData_R98_ExpOTD + { + ExpectedOTD_t expectedOTD; + ExpOTDUncertainty_t expOTDuncertainty; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData_R98_ExpOTD; -extern asn_SEQUENCE_specifics_t asn_SPC_AssistBTSData_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_AssistBTSData_R98_ExpOTD_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AssistBTSData_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData_R98_ExpOTD; + extern asn_SEQUENCE_specifics_t asn_SPC_AssistBTSData_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_AssistBTSData_R98_ExpOTD_1[2]; #ifdef __cplusplus } #endif -#endif /* _AssistBTSData_R98_ExpOTD_H_ */ +#endif /* _AssistBTSData_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AssistBTSData.h b/src/core/libs/supl2/asn-rrlp/AssistBTSData.h index eb3c9dd98..2e8f694bf 100644 --- a/src/core/libs/supl2/asn-rrlp/AssistBTSData.h +++ b/src/core/libs/supl2/asn-rrlp/AssistBTSData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AssistBTSData_H_ -#define _AssistBTSData_H_ +#ifndef _AssistBTSData_H_ +#define _AssistBTSData_H_ #include @@ -18,28 +18,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct CalcAssistanceBTS; + /* Forward declarations */ + struct CalcAssistanceBTS; -/* AssistBTSData */ -typedef struct AssistBTSData { - BSIC_t bsic; - MultiFrameOffset_t multiFrameOffset; - TimeSlotScheme_t timeSlotScheme; - RoughRTD_t roughRTD; - struct CalcAssistanceBTS *calcAssistanceBTS /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AssistBTSData_t; + /* AssistBTSData */ + typedef struct AssistBTSData + { + BSIC_t bsic; + MultiFrameOffset_t multiFrameOffset; + TimeSlotScheme_t timeSlotScheme; + RoughRTD_t roughRTD; + struct CalcAssistanceBTS *calcAssistanceBTS /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData; -extern asn_SEQUENCE_specifics_t asn_SPC_AssistBTSData_specs_1; -extern asn_TYPE_member_t asn_MBR_AssistBTSData_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AssistBTSData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData; + extern asn_SEQUENCE_specifics_t asn_SPC_AssistBTSData_specs_1; + extern asn_TYPE_member_t asn_MBR_AssistBTSData_1[5]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_AssistBTSData_1[5]; /* Referred external types */ #include "CalcAssistanceBTS.h" -#endif /* _AssistBTSData_H_ */ +#endif /* _AssistBTSData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/AssistanceData.h b/src/core/libs/supl2/asn-rrlp/AssistanceData.h index 53c484e50..be2c794b6 100644 --- a/src/core/libs/supl2/asn-rrlp/AssistanceData.h +++ b/src/core/libs/supl2/asn-rrlp/AssistanceData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _AssistanceData_H_ -#define _AssistanceData_H_ +#ifndef _AssistanceData_H_ +#define _AssistanceData_H_ #include @@ -16,40 +16,42 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReferenceAssistData; -struct MsrAssistData; -struct SystemInfoAssistData; -struct GPS_AssistData; -struct Rel98_AssistanceData_Extension; -struct Rel5_AssistanceData_Extension; + /* Forward declarations */ + struct ReferenceAssistData; + struct MsrAssistData; + struct SystemInfoAssistData; + struct GPS_AssistData; + struct Rel98_AssistanceData_Extension; + struct Rel5_AssistanceData_Extension; -/* AssistanceData */ -typedef struct AssistanceData { - struct ReferenceAssistData *referenceAssistData /* OPTIONAL */; - struct MsrAssistData *msrAssistData /* OPTIONAL */; - struct SystemInfoAssistData *systemInfoAssistData /* OPTIONAL */; - struct GPS_AssistData *gps_AssistData /* OPTIONAL */; - MoreAssDataToBeSent_t *moreAssDataToBeSent /* OPTIONAL */; - ExtensionContainer_t *extensionContainer /* OPTIONAL */; - /* + /* AssistanceData */ + typedef struct AssistanceData + { + struct ReferenceAssistData *referenceAssistData /* OPTIONAL */; + struct MsrAssistData *msrAssistData /* OPTIONAL */; + struct SystemInfoAssistData *systemInfoAssistData /* OPTIONAL */; + struct GPS_AssistData *gps_AssistData /* OPTIONAL */; + MoreAssDataToBeSent_t *moreAssDataToBeSent /* OPTIONAL */; + ExtensionContainer_t *extensionContainer /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Rel98_AssistanceData_Extension *rel98_AssistanceData_Extension /* OPTIONAL */; - struct Rel5_AssistanceData_Extension *rel5_AssistanceData_Extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} AssistanceData_t; + struct Rel98_AssistanceData_Extension *rel98_AssistanceData_Extension /* OPTIONAL */; + struct Rel5_AssistanceData_Extension *rel5_AssistanceData_Extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_AssistanceData; -extern asn_SEQUENCE_specifics_t asn_SPC_AssistanceData_specs_1; -extern asn_TYPE_member_t asn_MBR_AssistanceData_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } AssistanceData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_AssistanceData; + extern asn_SEQUENCE_specifics_t asn_SPC_AssistanceData_specs_1; + extern asn_TYPE_member_t asn_MBR_AssistanceData_1[8]; #ifdef __cplusplus } @@ -63,5 +65,5 @@ extern asn_TYPE_member_t asn_MBR_AssistanceData_1[8]; #include "Rel98-AssistanceData-Extension.h" #include "Rel5-AssistanceData-Extension.h" -#endif /* _AssistanceData_H_ */ +#endif /* _AssistanceData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/BCCHCarrier.h b/src/core/libs/supl2/asn-rrlp/BCCHCarrier.h index c358d1c4c..289efc9a4 100644 --- a/src/core/libs/supl2/asn-rrlp/BCCHCarrier.h +++ b/src/core/libs/supl2/asn-rrlp/BCCHCarrier.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _BCCHCarrier_H_ -#define _BCCHCarrier_H_ +#ifndef _BCCHCarrier_H_ +#define _BCCHCarrier_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* BCCHCarrier */ -typedef long BCCHCarrier_t; + /* BCCHCarrier */ + typedef long BCCHCarrier_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_BCCHCarrier_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_BCCHCarrier; -asn_struct_free_f BCCHCarrier_free; -asn_struct_print_f BCCHCarrier_print; -asn_constr_check_f BCCHCarrier_constraint; -ber_type_decoder_f BCCHCarrier_decode_ber; -der_type_encoder_f BCCHCarrier_encode_der; -xer_type_decoder_f BCCHCarrier_decode_xer; -xer_type_encoder_f BCCHCarrier_encode_xer; -oer_type_decoder_f BCCHCarrier_decode_oer; -oer_type_encoder_f BCCHCarrier_encode_oer; -per_type_decoder_f BCCHCarrier_decode_uper; -per_type_encoder_f BCCHCarrier_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_BCCHCarrier_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_BCCHCarrier; + asn_struct_free_f BCCHCarrier_free; + asn_struct_print_f BCCHCarrier_print; + asn_constr_check_f BCCHCarrier_constraint; + ber_type_decoder_f BCCHCarrier_decode_ber; + der_type_encoder_f BCCHCarrier_encode_der; + xer_type_decoder_f BCCHCarrier_decode_xer; + xer_type_encoder_f BCCHCarrier_encode_xer; + oer_type_decoder_f BCCHCarrier_decode_oer; + oer_type_encoder_f BCCHCarrier_encode_oer; + per_type_decoder_f BCCHCarrier_decode_uper; + per_type_encoder_f BCCHCarrier_encode_uper; #ifdef __cplusplus } #endif -#endif /* _BCCHCarrier_H_ */ +#endif /* _BCCHCarrier_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/BIT_STRING.h b/src/core/libs/supl2/asn-rrlp/BIT_STRING.h index bd2d23db0..b6f9883fc 100644 --- a/src/core/libs/supl2/asn-rrlp/BIT_STRING.h +++ b/src/core/libs/supl2/asn-rrlp/BIT_STRING.h @@ -2,45 +2,47 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BIT_STRING_H_ -#define _BIT_STRING_H_ +#ifndef _BIT_STRING_H_ +#define _BIT_STRING_H_ -#include /* Some help from OCTET STRING */ +#include /* Some help from OCTET STRING */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef struct BIT_STRING_s { - uint8_t *buf; /* BIT STRING body */ - size_t size; /* Size of the above buffer */ + typedef struct BIT_STRING_s + { + uint8_t *buf; /* BIT STRING body */ + size_t size; /* Size of the above buffer */ - int bits_unused;/* Unused trailing bits in the last octet (0..7) */ + int bits_unused; /* Unused trailing bits in the last octet (0..7) */ - asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ -} BIT_STRING_t; + asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ + } BIT_STRING_t; -extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING; -extern asn_TYPE_operation_t asn_OP_BIT_STRING; -extern asn_OCTET_STRING_specifics_t asn_SPC_BIT_STRING_specs; + extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING; + extern asn_TYPE_operation_t asn_OP_BIT_STRING; + extern asn_OCTET_STRING_specifics_t asn_SPC_BIT_STRING_specs; -asn_struct_print_f BIT_STRING_print; /* Human-readable output */ -asn_struct_compare_f BIT_STRING_compare; -asn_constr_check_f BIT_STRING_constraint; -xer_type_encoder_f BIT_STRING_encode_xer; -oer_type_decoder_f BIT_STRING_decode_oer; -oer_type_encoder_f BIT_STRING_encode_oer; -per_type_decoder_f BIT_STRING_decode_uper; -per_type_encoder_f BIT_STRING_encode_uper; -asn_random_fill_f BIT_STRING_random_fill; + asn_struct_print_f BIT_STRING_print; /* Human-readable output */ + asn_struct_compare_f BIT_STRING_compare; + asn_constr_check_f BIT_STRING_constraint; + xer_type_encoder_f BIT_STRING_encode_xer; + oer_type_decoder_f BIT_STRING_decode_oer; + oer_type_encoder_f BIT_STRING_encode_oer; + per_type_decoder_f BIT_STRING_decode_uper; + per_type_encoder_f BIT_STRING_encode_uper; + asn_random_fill_f BIT_STRING_random_fill; -#define BIT_STRING_free OCTET_STRING_free -#define BIT_STRING_decode_ber OCTET_STRING_decode_ber -#define BIT_STRING_encode_der OCTET_STRING_encode_der -#define BIT_STRING_decode_xer OCTET_STRING_decode_xer_binary +#define BIT_STRING_free OCTET_STRING_free +#define BIT_STRING_decode_ber OCTET_STRING_decode_ber +#define BIT_STRING_encode_der OCTET_STRING_encode_der +#define BIT_STRING_decode_xer OCTET_STRING_decode_xer_binary #ifdef __cplusplus } #endif -#endif /* _BIT_STRING_H_ */ +#endif /* _BIT_STRING_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/BOOLEAN.h b/src/core/libs/supl2/asn-rrlp/BOOLEAN.h index 7e6b8fb59..884e0822b 100644 --- a/src/core/libs/supl2/asn-rrlp/BOOLEAN.h +++ b/src/core/libs/supl2/asn-rrlp/BOOLEAN.h @@ -2,42 +2,43 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BOOLEAN_H_ -#define _BOOLEAN_H_ +#ifndef _BOOLEAN_H_ +#define _BOOLEAN_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * The underlying integer may contain various values, but everything * non-zero is capped to 0xff by the DER encoder. The BER decoder may * yield non-zero values different from 1, beware. */ -typedef int BOOLEAN_t; + typedef int BOOLEAN_t; -extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN; -extern asn_TYPE_operation_t asn_OP_BOOLEAN; + extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN; + extern asn_TYPE_operation_t asn_OP_BOOLEAN; -asn_struct_free_f BOOLEAN_free; -asn_struct_print_f BOOLEAN_print; -asn_struct_compare_f BOOLEAN_compare; -ber_type_decoder_f BOOLEAN_decode_ber; -der_type_encoder_f BOOLEAN_encode_der; -oer_type_decoder_f BOOLEAN_decode_oer; -oer_type_encoder_f BOOLEAN_encode_oer; -per_type_decoder_f BOOLEAN_decode_uper; -per_type_encoder_f BOOLEAN_encode_uper; -xer_type_decoder_f BOOLEAN_decode_xer; -xer_type_encoder_f BOOLEAN_encode_xer; -asn_random_fill_f BOOLEAN_random_fill; + asn_struct_free_f BOOLEAN_free; + asn_struct_print_f BOOLEAN_print; + asn_struct_compare_f BOOLEAN_compare; + ber_type_decoder_f BOOLEAN_decode_ber; + der_type_encoder_f BOOLEAN_encode_der; + oer_type_decoder_f BOOLEAN_decode_oer; + oer_type_encoder_f BOOLEAN_encode_oer; + per_type_decoder_f BOOLEAN_decode_uper; + per_type_encoder_f BOOLEAN_encode_uper; + xer_type_decoder_f BOOLEAN_decode_xer; + xer_type_encoder_f BOOLEAN_encode_xer; + asn_random_fill_f BOOLEAN_random_fill; -#define BOOLEAN_constraint asn_generic_no_constraint +#define BOOLEAN_constraint asn_generic_no_constraint #ifdef __cplusplus } #endif -#endif /* _BOOLEAN_H_ */ +#endif /* _BOOLEAN_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/BSIC.h b/src/core/libs/supl2/asn-rrlp/BSIC.h index 601c7eea7..adf4491b0 100644 --- a/src/core/libs/supl2/asn-rrlp/BSIC.h +++ b/src/core/libs/supl2/asn-rrlp/BSIC.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _BSIC_H_ -#define _BSIC_H_ +#ifndef _BSIC_H_ +#define _BSIC_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* BSIC */ -typedef long BSIC_t; + /* BSIC */ + typedef long BSIC_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_BSIC_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_BSIC; -asn_struct_free_f BSIC_free; -asn_struct_print_f BSIC_print; -asn_constr_check_f BSIC_constraint; -ber_type_decoder_f BSIC_decode_ber; -der_type_encoder_f BSIC_encode_der; -xer_type_decoder_f BSIC_decode_xer; -xer_type_encoder_f BSIC_encode_xer; -oer_type_decoder_f BSIC_decode_oer; -oer_type_encoder_f BSIC_encode_oer; -per_type_decoder_f BSIC_decode_uper; -per_type_encoder_f BSIC_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_BSIC_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_BSIC; + asn_struct_free_f BSIC_free; + asn_struct_print_f BSIC_print; + asn_constr_check_f BSIC_constraint; + ber_type_decoder_f BSIC_decode_ber; + der_type_encoder_f BSIC_encode_der; + xer_type_decoder_f BSIC_decode_xer; + xer_type_encoder_f BSIC_encode_xer; + oer_type_decoder_f BSIC_decode_oer; + oer_type_encoder_f BSIC_encode_oer; + per_type_decoder_f BSIC_decode_uper; + per_type_encoder_f BSIC_encode_uper; #ifdef __cplusplus } #endif -#endif /* _BSIC_H_ */ +#endif /* _BSIC_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/BSICAndCarrier.h b/src/core/libs/supl2/asn-rrlp/BSICAndCarrier.h index 2dbce23c9..92674f981 100644 --- a/src/core/libs/supl2/asn-rrlp/BSICAndCarrier.h +++ b/src/core/libs/supl2/asn-rrlp/BSICAndCarrier.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _BSICAndCarrier_H_ -#define _BSICAndCarrier_H_ +#ifndef _BSICAndCarrier_H_ +#define _BSICAndCarrier_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* BSICAndCarrier */ -typedef struct BSICAndCarrier { - BCCHCarrier_t carrier; - BSIC_t bsic; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BSICAndCarrier_t; + /* BSICAndCarrier */ + typedef struct BSICAndCarrier + { + BCCHCarrier_t carrier; + BSIC_t bsic; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BSICAndCarrier; -extern asn_SEQUENCE_specifics_t asn_SPC_BSICAndCarrier_specs_1; -extern asn_TYPE_member_t asn_MBR_BSICAndCarrier_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } BSICAndCarrier_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_BSICAndCarrier; + extern asn_SEQUENCE_specifics_t asn_SPC_BSICAndCarrier_specs_1; + extern asn_TYPE_member_t asn_MBR_BSICAndCarrier_1[2]; #ifdef __cplusplus } #endif -#endif /* _BSICAndCarrier_H_ */ +#endif /* _BSICAndCarrier_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/BTSPosition.h b/src/core/libs/supl2/asn-rrlp/BTSPosition.h index 174b52997..d566f3321 100644 --- a/src/core/libs/supl2/asn-rrlp/BTSPosition.h +++ b/src/core/libs/supl2/asn-rrlp/BTSPosition.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _BTSPosition_H_ -#define _BTSPosition_H_ +#ifndef _BTSPosition_H_ +#define _BTSPosition_H_ #include @@ -14,30 +14,31 @@ #include "Ext-GeographicalInformation.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* BTSPosition */ -typedef Ext_GeographicalInformation_t BTSPosition_t; + /* BTSPosition */ + typedef Ext_GeographicalInformation_t BTSPosition_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_BTSPosition_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_BTSPosition; -asn_struct_free_f BTSPosition_free; -asn_struct_print_f BTSPosition_print; -asn_constr_check_f BTSPosition_constraint; -ber_type_decoder_f BTSPosition_decode_ber; -der_type_encoder_f BTSPosition_encode_der; -xer_type_decoder_f BTSPosition_decode_xer; -xer_type_encoder_f BTSPosition_encode_xer; -oer_type_decoder_f BTSPosition_decode_oer; -oer_type_encoder_f BTSPosition_encode_oer; -per_type_decoder_f BTSPosition_decode_uper; -per_type_encoder_f BTSPosition_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_BTSPosition_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_BTSPosition; + asn_struct_free_f BTSPosition_free; + asn_struct_print_f BTSPosition_print; + asn_constr_check_f BTSPosition_constraint; + ber_type_decoder_f BTSPosition_decode_ber; + der_type_encoder_f BTSPosition_encode_der; + xer_type_decoder_f BTSPosition_decode_xer; + xer_type_encoder_f BTSPosition_encode_xer; + oer_type_decoder_f BTSPosition_decode_oer; + oer_type_encoder_f BTSPosition_encode_oer; + per_type_decoder_f BTSPosition_decode_uper; + per_type_encoder_f BTSPosition_encode_uper; #ifdef __cplusplus } #endif -#endif /* _BTSPosition_H_ */ +#endif /* _BTSPosition_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/BadSignalElement.h b/src/core/libs/supl2/asn-rrlp/BadSignalElement.h index e452bd8df..a5c49ed41 100644 --- a/src/core/libs/supl2/asn-rrlp/BadSignalElement.h +++ b/src/core/libs/supl2/asn-rrlp/BadSignalElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _BadSignalElement_H_ -#define _BadSignalElement_H_ +#ifndef _BadSignalElement_H_ +#define _BadSignalElement_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* BadSignalElement */ -typedef struct BadSignalElement { - SVID_t badSVID; - long *badSignalID /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} BadSignalElement_t; + /* BadSignalElement */ + typedef struct BadSignalElement + { + SVID_t badSVID; + long *badSignalID /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_BadSignalElement; -extern asn_SEQUENCE_specifics_t asn_SPC_BadSignalElement_specs_1; -extern asn_TYPE_member_t asn_MBR_BadSignalElement_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } BadSignalElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_BadSignalElement; + extern asn_SEQUENCE_specifics_t asn_SPC_BadSignalElement_specs_1; + extern asn_TYPE_member_t asn_MBR_BadSignalElement_1[2]; #ifdef __cplusplus } #endif -#endif /* _BadSignalElement_H_ */ +#endif /* _BadSignalElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/BitNumber.h b/src/core/libs/supl2/asn-rrlp/BitNumber.h index 848dd8cf7..dbc22666c 100644 --- a/src/core/libs/supl2/asn-rrlp/BitNumber.h +++ b/src/core/libs/supl2/asn-rrlp/BitNumber.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _BitNumber_H_ -#define _BitNumber_H_ +#ifndef _BitNumber_H_ +#define _BitNumber_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* BitNumber */ -typedef long BitNumber_t; + /* BitNumber */ + typedef long BitNumber_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_BitNumber_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_BitNumber; -asn_struct_free_f BitNumber_free; -asn_struct_print_f BitNumber_print; -asn_constr_check_f BitNumber_constraint; -ber_type_decoder_f BitNumber_decode_ber; -der_type_encoder_f BitNumber_encode_der; -xer_type_decoder_f BitNumber_decode_xer; -xer_type_encoder_f BitNumber_encode_xer; -oer_type_decoder_f BitNumber_decode_oer; -oer_type_encoder_f BitNumber_encode_oer; -per_type_decoder_f BitNumber_decode_uper; -per_type_encoder_f BitNumber_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_BitNumber_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_BitNumber; + asn_struct_free_f BitNumber_free; + asn_struct_print_f BitNumber_print; + asn_constr_check_f BitNumber_constraint; + ber_type_decoder_f BitNumber_decode_ber; + der_type_encoder_f BitNumber_encode_der; + xer_type_decoder_f BitNumber_decode_xer; + xer_type_encoder_f BitNumber_encode_xer; + oer_type_decoder_f BitNumber_decode_oer; + oer_type_encoder_f BitNumber_encode_oer; + per_type_decoder_f BitNumber_decode_uper; + per_type_encoder_f BitNumber_encode_uper; #ifdef __cplusplus } #endif -#endif /* _BitNumber_H_ */ +#endif /* _BitNumber_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/CalcAssistanceBTS.h b/src/core/libs/supl2/asn-rrlp/CalcAssistanceBTS.h index bd69b2fbc..c47f022c3 100644 --- a/src/core/libs/supl2/asn-rrlp/CalcAssistanceBTS.h +++ b/src/core/libs/supl2/asn-rrlp/CalcAssistanceBTS.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _CalcAssistanceBTS_H_ -#define _CalcAssistanceBTS_H_ +#ifndef _CalcAssistanceBTS_H_ +#define _CalcAssistanceBTS_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* CalcAssistanceBTS */ -typedef struct CalcAssistanceBTS { - FineRTD_t fineRTD; - ReferenceWGS84_t referenceWGS84; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CalcAssistanceBTS_t; + /* CalcAssistanceBTS */ + typedef struct CalcAssistanceBTS + { + FineRTD_t fineRTD; + ReferenceWGS84_t referenceWGS84; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CalcAssistanceBTS; -extern asn_SEQUENCE_specifics_t asn_SPC_CalcAssistanceBTS_specs_1; -extern asn_TYPE_member_t asn_MBR_CalcAssistanceBTS_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } CalcAssistanceBTS_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_CalcAssistanceBTS; + extern asn_SEQUENCE_specifics_t asn_SPC_CalcAssistanceBTS_specs_1; + extern asn_TYPE_member_t asn_MBR_CalcAssistanceBTS_1[2]; #ifdef __cplusplus } #endif -#endif /* _CalcAssistanceBTS_H_ */ +#endif /* _CalcAssistanceBTS_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/CellID.h b/src/core/libs/supl2/asn-rrlp/CellID.h index e85cae967..fa4d6be23 100644 --- a/src/core/libs/supl2/asn-rrlp/CellID.h +++ b/src/core/libs/supl2/asn-rrlp/CellID.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _CellID_H_ -#define _CellID_H_ +#ifndef _CellID_H_ +#define _CellID_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* CellID */ -typedef long CellID_t; + /* CellID */ + typedef long CellID_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_CellID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_CellID; -asn_struct_free_f CellID_free; -asn_struct_print_f CellID_print; -asn_constr_check_f CellID_constraint; -ber_type_decoder_f CellID_decode_ber; -der_type_encoder_f CellID_encode_der; -xer_type_decoder_f CellID_decode_xer; -xer_type_encoder_f CellID_encode_xer; -oer_type_decoder_f CellID_decode_oer; -oer_type_encoder_f CellID_encode_oer; -per_type_decoder_f CellID_decode_uper; -per_type_encoder_f CellID_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_CellID_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_CellID; + asn_struct_free_f CellID_free; + asn_struct_print_f CellID_print; + asn_constr_check_f CellID_constraint; + ber_type_decoder_f CellID_decode_ber; + der_type_encoder_f CellID_encode_der; + xer_type_decoder_f CellID_decode_xer; + xer_type_encoder_f CellID_encode_xer; + oer_type_decoder_f CellID_decode_oer; + oer_type_encoder_f CellID_encode_oer; + per_type_decoder_f CellID_decode_uper; + per_type_encoder_f CellID_encode_uper; #ifdef __cplusplus } #endif -#endif /* _CellID_H_ */ +#endif /* _CellID_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/CellIDAndLAC.h b/src/core/libs/supl2/asn-rrlp/CellIDAndLAC.h index 54e55b43e..d382d7541 100644 --- a/src/core/libs/supl2/asn-rrlp/CellIDAndLAC.h +++ b/src/core/libs/supl2/asn-rrlp/CellIDAndLAC.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _CellIDAndLAC_H_ -#define _CellIDAndLAC_H_ +#ifndef _CellIDAndLAC_H_ +#define _CellIDAndLAC_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* CellIDAndLAC */ -typedef struct CellIDAndLAC { - LAC_t referenceLAC; - CellID_t referenceCI; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} CellIDAndLAC_t; + /* CellIDAndLAC */ + typedef struct CellIDAndLAC + { + LAC_t referenceLAC; + CellID_t referenceCI; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_CellIDAndLAC; -extern asn_SEQUENCE_specifics_t asn_SPC_CellIDAndLAC_specs_1; -extern asn_TYPE_member_t asn_MBR_CellIDAndLAC_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } CellIDAndLAC_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_CellIDAndLAC; + extern asn_SEQUENCE_specifics_t asn_SPC_CellIDAndLAC_specs_1; + extern asn_TYPE_member_t asn_MBR_CellIDAndLAC_1[2]; #ifdef __cplusplus } #endif -#endif /* _CellIDAndLAC_H_ */ +#endif /* _CellIDAndLAC_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ControlHeader.h b/src/core/libs/supl2/asn-rrlp/ControlHeader.h index 7d6aadb91..4c6657f4c 100644 --- a/src/core/libs/supl2/asn-rrlp/ControlHeader.h +++ b/src/core/libs/supl2/asn-rrlp/ControlHeader.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ControlHeader_H_ -#define _ControlHeader_H_ +#ifndef _ControlHeader_H_ +#define _ControlHeader_H_ #include @@ -14,40 +14,42 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReferenceTime; -struct RefLocation; -struct DGPSCorrections; -struct NavigationModel; -struct IonosphericModel; -struct UTCModel; -struct Almanac; -struct AcquisAssist; -struct SeqOf_BadSatelliteSet; + /* Forward declarations */ + struct ReferenceTime; + struct RefLocation; + struct DGPSCorrections; + struct NavigationModel; + struct IonosphericModel; + struct UTCModel; + struct Almanac; + struct AcquisAssist; + struct SeqOf_BadSatelliteSet; -/* ControlHeader */ -typedef struct ControlHeader { - struct ReferenceTime *referenceTime /* OPTIONAL */; - struct RefLocation *refLocation /* OPTIONAL */; - struct DGPSCorrections *dgpsCorrections /* OPTIONAL */; - struct NavigationModel *navigationModel /* OPTIONAL */; - struct IonosphericModel *ionosphericModel /* OPTIONAL */; - struct UTCModel *utcModel /* OPTIONAL */; - struct Almanac *almanac /* OPTIONAL */; - struct AcquisAssist *acquisAssist /* OPTIONAL */; - struct SeqOf_BadSatelliteSet *realTimeIntegrity /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ControlHeader_t; + /* ControlHeader */ + typedef struct ControlHeader + { + struct ReferenceTime *referenceTime /* OPTIONAL */; + struct RefLocation *refLocation /* OPTIONAL */; + struct DGPSCorrections *dgpsCorrections /* OPTIONAL */; + struct NavigationModel *navigationModel /* OPTIONAL */; + struct IonosphericModel *ionosphericModel /* OPTIONAL */; + struct UTCModel *utcModel /* OPTIONAL */; + struct Almanac *almanac /* OPTIONAL */; + struct AcquisAssist *acquisAssist /* OPTIONAL */; + struct SeqOf_BadSatelliteSet *realTimeIntegrity /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ControlHeader; -extern asn_SEQUENCE_specifics_t asn_SPC_ControlHeader_specs_1; -extern asn_TYPE_member_t asn_MBR_ControlHeader_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ControlHeader_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ControlHeader; + extern asn_SEQUENCE_specifics_t asn_SPC_ControlHeader_specs_1; + extern asn_TYPE_member_t asn_MBR_ControlHeader_1[9]; #ifdef __cplusplus } @@ -64,5 +66,5 @@ extern asn_TYPE_member_t asn_MBR_ControlHeader_1[9]; #include "AcquisAssist.h" #include "SeqOf-BadSatelliteSet.h" -#endif /* _ControlHeader_H_ */ +#endif /* _ControlHeader_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/DGANSSSgnElement.h b/src/core/libs/supl2/asn-rrlp/DGANSSSgnElement.h index c7ffc771c..2bc655876 100644 --- a/src/core/libs/supl2/asn-rrlp/DGANSSSgnElement.h +++ b/src/core/libs/supl2/asn-rrlp/DGANSSSgnElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _DGANSSSgnElement_H_ -#define _DGANSSSgnElement_H_ +#ifndef _DGANSSSgnElement_H_ +#define _DGANSSSgnElement_H_ #include @@ -16,29 +16,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* DGANSSSgnElement */ -typedef struct DGANSSSgnElement { - SVID_t svID; - long iod; - long udre; - long pseudoRangeCor; - long rangeRateCor; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DGANSSSgnElement_t; + /* DGANSSSgnElement */ + typedef struct DGANSSSgnElement + { + SVID_t svID; + long iod; + long udre; + long pseudoRangeCor; + long rangeRateCor; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DGANSSSgnElement; -extern asn_SEQUENCE_specifics_t asn_SPC_DGANSSSgnElement_specs_1; -extern asn_TYPE_member_t asn_MBR_DGANSSSgnElement_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } DGANSSSgnElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_DGANSSSgnElement; + extern asn_SEQUENCE_specifics_t asn_SPC_DGANSSSgnElement_specs_1; + extern asn_TYPE_member_t asn_MBR_DGANSSSgnElement_1[5]; #ifdef __cplusplus } #endif -#endif /* _DGANSSSgnElement_H_ */ +#endif /* _DGANSSSgnElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/DGPSCorrections.h b/src/core/libs/supl2/asn-rrlp/DGPSCorrections.h index 3b9408c54..92e11b38b 100644 --- a/src/core/libs/supl2/asn-rrlp/DGPSCorrections.h +++ b/src/core/libs/supl2/asn-rrlp/DGPSCorrections.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _DGPSCorrections_H_ -#define _DGPSCorrections_H_ +#ifndef _DGPSCorrections_H_ +#define _DGPSCorrections_H_ #include @@ -16,27 +16,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* DGPSCorrections */ -typedef struct DGPSCorrections { - long gpsTOW; - long status; - SeqOfSatElement_t satList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} DGPSCorrections_t; + /* DGPSCorrections */ + typedef struct DGPSCorrections + { + long gpsTOW; + long status; + SeqOfSatElement_t satList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_DGPSCorrections; -extern asn_SEQUENCE_specifics_t asn_SPC_DGPSCorrections_specs_1; -extern asn_TYPE_member_t asn_MBR_DGPSCorrections_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } DGPSCorrections_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_DGPSCorrections; + extern asn_SEQUENCE_specifics_t asn_SPC_DGPSCorrections_specs_1; + extern asn_TYPE_member_t asn_MBR_DGPSCorrections_1[3]; #ifdef __cplusplus } #endif -#endif /* _DGPSCorrections_H_ */ +#endif /* _DGPSCorrections_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/EOTDQuality.h b/src/core/libs/supl2/asn-rrlp/EOTDQuality.h index 33a9b4192..65c1b81dc 100644 --- a/src/core/libs/supl2/asn-rrlp/EOTDQuality.h +++ b/src/core/libs/supl2/asn-rrlp/EOTDQuality.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _EOTDQuality_H_ -#define _EOTDQuality_H_ +#ifndef _EOTDQuality_H_ +#define _EOTDQuality_H_ #include @@ -15,26 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* EOTDQuality */ -typedef struct EOTDQuality { - long nbrOfMeasurements; - long stdOfEOTD; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} EOTDQuality_t; + /* EOTDQuality */ + typedef struct EOTDQuality + { + long nbrOfMeasurements; + long stdOfEOTD; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_EOTDQuality; -extern asn_SEQUENCE_specifics_t asn_SPC_EOTDQuality_specs_1; -extern asn_TYPE_member_t asn_MBR_EOTDQuality_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } EOTDQuality_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_EOTDQuality; + extern asn_SEQUENCE_specifics_t asn_SPC_EOTDQuality_specs_1; + extern asn_TYPE_member_t asn_MBR_EOTDQuality_1[2]; #ifdef __cplusplus } #endif -#endif /* _EOTDQuality_H_ */ +#endif /* _EOTDQuality_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/EnvironmentCharacter.h b/src/core/libs/supl2/asn-rrlp/EnvironmentCharacter.h index ae697e432..328ff5df3 100644 --- a/src/core/libs/supl2/asn-rrlp/EnvironmentCharacter.h +++ b/src/core/libs/supl2/asn-rrlp/EnvironmentCharacter.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _EnvironmentCharacter_H_ -#define _EnvironmentCharacter_H_ +#ifndef _EnvironmentCharacter_H_ +#define _EnvironmentCharacter_H_ #include @@ -14,41 +14,43 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum EnvironmentCharacter { - EnvironmentCharacter_badArea = 0, - EnvironmentCharacter_notBadArea = 1, - EnvironmentCharacter_mixedArea = 2 - /* + /* Dependencies */ + typedef enum EnvironmentCharacter + { + EnvironmentCharacter_badArea = 0, + EnvironmentCharacter_notBadArea = 1, + EnvironmentCharacter_mixedArea = 2 + /* * Enumeration is extensible */ -} e_EnvironmentCharacter; + } e_EnvironmentCharacter; -/* EnvironmentCharacter */ -typedef long EnvironmentCharacter_t; + /* EnvironmentCharacter */ + typedef long EnvironmentCharacter_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_EnvironmentCharacter_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_EnvironmentCharacter; -extern const asn_INTEGER_specifics_t asn_SPC_EnvironmentCharacter_specs_1; -asn_struct_free_f EnvironmentCharacter_free; -asn_struct_print_f EnvironmentCharacter_print; -asn_constr_check_f EnvironmentCharacter_constraint; -ber_type_decoder_f EnvironmentCharacter_decode_ber; -der_type_encoder_f EnvironmentCharacter_encode_der; -xer_type_decoder_f EnvironmentCharacter_decode_xer; -xer_type_encoder_f EnvironmentCharacter_encode_xer; -oer_type_decoder_f EnvironmentCharacter_decode_oer; -oer_type_encoder_f EnvironmentCharacter_encode_oer; -per_type_decoder_f EnvironmentCharacter_decode_uper; -per_type_encoder_f EnvironmentCharacter_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_EnvironmentCharacter_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_EnvironmentCharacter; + extern const asn_INTEGER_specifics_t asn_SPC_EnvironmentCharacter_specs_1; + asn_struct_free_f EnvironmentCharacter_free; + asn_struct_print_f EnvironmentCharacter_print; + asn_constr_check_f EnvironmentCharacter_constraint; + ber_type_decoder_f EnvironmentCharacter_decode_ber; + der_type_encoder_f EnvironmentCharacter_encode_der; + xer_type_decoder_f EnvironmentCharacter_decode_xer; + xer_type_encoder_f EnvironmentCharacter_encode_xer; + oer_type_decoder_f EnvironmentCharacter_decode_oer; + oer_type_encoder_f EnvironmentCharacter_encode_oer; + per_type_decoder_f EnvironmentCharacter_decode_uper; + per_type_encoder_f EnvironmentCharacter_encode_uper; #ifdef __cplusplus } #endif -#endif /* _EnvironmentCharacter_H_ */ +#endif /* _EnvironmentCharacter_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/EphemerisSubframe1Reserved.h b/src/core/libs/supl2/asn-rrlp/EphemerisSubframe1Reserved.h index 018d7a181..f3c02423c 100644 --- a/src/core/libs/supl2/asn-rrlp/EphemerisSubframe1Reserved.h +++ b/src/core/libs/supl2/asn-rrlp/EphemerisSubframe1Reserved.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _EphemerisSubframe1Reserved_H_ -#define _EphemerisSubframe1Reserved_H_ +#ifndef _EphemerisSubframe1Reserved_H_ +#define _EphemerisSubframe1Reserved_H_ #include @@ -15,28 +15,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* EphemerisSubframe1Reserved */ -typedef struct EphemerisSubframe1Reserved { - long reserved1; - long reserved2; - long reserved3; - long reserved4; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} EphemerisSubframe1Reserved_t; + /* EphemerisSubframe1Reserved */ + typedef struct EphemerisSubframe1Reserved + { + long reserved1; + long reserved2; + long reserved3; + long reserved4; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_EphemerisSubframe1Reserved; -extern asn_SEQUENCE_specifics_t asn_SPC_EphemerisSubframe1Reserved_specs_1; -extern asn_TYPE_member_t asn_MBR_EphemerisSubframe1Reserved_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } EphemerisSubframe1Reserved_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_EphemerisSubframe1Reserved; + extern asn_SEQUENCE_specifics_t asn_SPC_EphemerisSubframe1Reserved_specs_1; + extern asn_TYPE_member_t asn_MBR_EphemerisSubframe1Reserved_1[4]; #ifdef __cplusplus } #endif -#endif /* _EphemerisSubframe1Reserved_H_ */ +#endif /* _EphemerisSubframe1Reserved_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ErrorCodes.h b/src/core/libs/supl2/asn-rrlp/ErrorCodes.h index 3f901f09c..f48be6b35 100644 --- a/src/core/libs/supl2/asn-rrlp/ErrorCodes.h +++ b/src/core/libs/supl2/asn-rrlp/ErrorCodes.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ErrorCodes_H_ -#define _ErrorCodes_H_ +#ifndef _ErrorCodes_H_ +#define _ErrorCodes_H_ #include @@ -14,44 +14,46 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum ErrorCodes { - ErrorCodes_unDefined = 0, - ErrorCodes_missingComponet = 1, - ErrorCodes_incorrectData = 2, - ErrorCodes_missingIEorComponentElement = 3, - ErrorCodes_messageTooShort = 4, - ErrorCodes_unknowReferenceNumber = 5 - /* + /* Dependencies */ + typedef enum ErrorCodes + { + ErrorCodes_unDefined = 0, + ErrorCodes_missingComponet = 1, + ErrorCodes_incorrectData = 2, + ErrorCodes_missingIEorComponentElement = 3, + ErrorCodes_messageTooShort = 4, + ErrorCodes_unknowReferenceNumber = 5 + /* * Enumeration is extensible */ -} e_ErrorCodes; + } e_ErrorCodes; -/* ErrorCodes */ -typedef long ErrorCodes_t; + /* ErrorCodes */ + typedef long ErrorCodes_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ErrorCodes_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ErrorCodes; -extern const asn_INTEGER_specifics_t asn_SPC_ErrorCodes_specs_1; -asn_struct_free_f ErrorCodes_free; -asn_struct_print_f ErrorCodes_print; -asn_constr_check_f ErrorCodes_constraint; -ber_type_decoder_f ErrorCodes_decode_ber; -der_type_encoder_f ErrorCodes_encode_der; -xer_type_decoder_f ErrorCodes_decode_xer; -xer_type_encoder_f ErrorCodes_encode_xer; -oer_type_decoder_f ErrorCodes_decode_oer; -oer_type_encoder_f ErrorCodes_encode_oer; -per_type_decoder_f ErrorCodes_decode_uper; -per_type_encoder_f ErrorCodes_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ErrorCodes_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ErrorCodes; + extern const asn_INTEGER_specifics_t asn_SPC_ErrorCodes_specs_1; + asn_struct_free_f ErrorCodes_free; + asn_struct_print_f ErrorCodes_print; + asn_constr_check_f ErrorCodes_constraint; + ber_type_decoder_f ErrorCodes_decode_ber; + der_type_encoder_f ErrorCodes_encode_der; + xer_type_decoder_f ErrorCodes_decode_xer; + xer_type_encoder_f ErrorCodes_encode_xer; + oer_type_decoder_f ErrorCodes_decode_oer; + oer_type_encoder_f ErrorCodes_encode_oer; + per_type_decoder_f ErrorCodes_decode_uper; + per_type_encoder_f ErrorCodes_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ErrorCodes_H_ */ +#endif /* _ErrorCodes_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ExpOTDUncertainty.h b/src/core/libs/supl2/asn-rrlp/ExpOTDUncertainty.h index 171abedfd..c06658fa3 100644 --- a/src/core/libs/supl2/asn-rrlp/ExpOTDUncertainty.h +++ b/src/core/libs/supl2/asn-rrlp/ExpOTDUncertainty.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ExpOTDUncertainty_H_ -#define _ExpOTDUncertainty_H_ +#ifndef _ExpOTDUncertainty_H_ +#define _ExpOTDUncertainty_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ExpOTDUncertainty */ -typedef long ExpOTDUncertainty_t; + /* ExpOTDUncertainty */ + typedef long ExpOTDUncertainty_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ExpOTDUncertainty_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ExpOTDUncertainty; -asn_struct_free_f ExpOTDUncertainty_free; -asn_struct_print_f ExpOTDUncertainty_print; -asn_constr_check_f ExpOTDUncertainty_constraint; -ber_type_decoder_f ExpOTDUncertainty_decode_ber; -der_type_encoder_f ExpOTDUncertainty_encode_der; -xer_type_decoder_f ExpOTDUncertainty_decode_xer; -xer_type_encoder_f ExpOTDUncertainty_encode_xer; -oer_type_decoder_f ExpOTDUncertainty_decode_oer; -oer_type_encoder_f ExpOTDUncertainty_encode_oer; -per_type_decoder_f ExpOTDUncertainty_decode_uper; -per_type_encoder_f ExpOTDUncertainty_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ExpOTDUncertainty_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ExpOTDUncertainty; + asn_struct_free_f ExpOTDUncertainty_free; + asn_struct_print_f ExpOTDUncertainty_print; + asn_constr_check_f ExpOTDUncertainty_constraint; + ber_type_decoder_f ExpOTDUncertainty_decode_ber; + der_type_encoder_f ExpOTDUncertainty_encode_der; + xer_type_decoder_f ExpOTDUncertainty_decode_xer; + xer_type_encoder_f ExpOTDUncertainty_encode_xer; + oer_type_decoder_f ExpOTDUncertainty_decode_oer; + oer_type_encoder_f ExpOTDUncertainty_encode_oer; + per_type_decoder_f ExpOTDUncertainty_decode_uper; + per_type_encoder_f ExpOTDUncertainty_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ExpOTDUncertainty_H_ */ +#endif /* _ExpOTDUncertainty_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ExpectedOTD.h b/src/core/libs/supl2/asn-rrlp/ExpectedOTD.h index b627fedac..b5017aced 100644 --- a/src/core/libs/supl2/asn-rrlp/ExpectedOTD.h +++ b/src/core/libs/supl2/asn-rrlp/ExpectedOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ExpectedOTD_H_ -#define _ExpectedOTD_H_ +#ifndef _ExpectedOTD_H_ +#define _ExpectedOTD_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ExpectedOTD */ -typedef long ExpectedOTD_t; + /* ExpectedOTD */ + typedef long ExpectedOTD_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ExpectedOTD_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ExpectedOTD; -asn_struct_free_f ExpectedOTD_free; -asn_struct_print_f ExpectedOTD_print; -asn_constr_check_f ExpectedOTD_constraint; -ber_type_decoder_f ExpectedOTD_decode_ber; -der_type_encoder_f ExpectedOTD_encode_der; -xer_type_decoder_f ExpectedOTD_decode_xer; -xer_type_encoder_f ExpectedOTD_encode_xer; -oer_type_decoder_f ExpectedOTD_decode_oer; -oer_type_encoder_f ExpectedOTD_encode_oer; -per_type_decoder_f ExpectedOTD_decode_uper; -per_type_encoder_f ExpectedOTD_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ExpectedOTD_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ExpectedOTD; + asn_struct_free_f ExpectedOTD_free; + asn_struct_print_f ExpectedOTD_print; + asn_constr_check_f ExpectedOTD_constraint; + ber_type_decoder_f ExpectedOTD_decode_ber; + der_type_encoder_f ExpectedOTD_encode_der; + xer_type_decoder_f ExpectedOTD_decode_xer; + xer_type_encoder_f ExpectedOTD_encode_xer; + oer_type_decoder_f ExpectedOTD_decode_oer; + oer_type_encoder_f ExpectedOTD_encode_oer; + per_type_decoder_f ExpectedOTD_decode_uper; + per_type_encoder_f ExpectedOTD_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ExpectedOTD_H_ */ +#endif /* _ExpectedOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Ext-GeographicalInformation.h b/src/core/libs/supl2/asn-rrlp/Ext-GeographicalInformation.h index 32bd49cfe..4efbb4667 100644 --- a/src/core/libs/supl2/asn-rrlp/Ext-GeographicalInformation.h +++ b/src/core/libs/supl2/asn-rrlp/Ext-GeographicalInformation.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Ext_GeographicalInformation_H_ -#define _Ext_GeographicalInformation_H_ +#ifndef _Ext_GeographicalInformation_H_ +#define _Ext_GeographicalInformation_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ext-GeographicalInformation */ -typedef OCTET_STRING_t Ext_GeographicalInformation_t; + /* Ext-GeographicalInformation */ + typedef OCTET_STRING_t Ext_GeographicalInformation_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Ext_GeographicalInformation_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Ext_GeographicalInformation; -asn_struct_free_f Ext_GeographicalInformation_free; -asn_struct_print_f Ext_GeographicalInformation_print; -asn_constr_check_f Ext_GeographicalInformation_constraint; -ber_type_decoder_f Ext_GeographicalInformation_decode_ber; -der_type_encoder_f Ext_GeographicalInformation_encode_der; -xer_type_decoder_f Ext_GeographicalInformation_decode_xer; -xer_type_encoder_f Ext_GeographicalInformation_encode_xer; -oer_type_decoder_f Ext_GeographicalInformation_decode_oer; -oer_type_encoder_f Ext_GeographicalInformation_encode_oer; -per_type_decoder_f Ext_GeographicalInformation_decode_uper; -per_type_encoder_f Ext_GeographicalInformation_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_Ext_GeographicalInformation_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_Ext_GeographicalInformation; + asn_struct_free_f Ext_GeographicalInformation_free; + asn_struct_print_f Ext_GeographicalInformation_print; + asn_constr_check_f Ext_GeographicalInformation_constraint; + ber_type_decoder_f Ext_GeographicalInformation_decode_ber; + der_type_encoder_f Ext_GeographicalInformation_encode_der; + xer_type_decoder_f Ext_GeographicalInformation_decode_xer; + xer_type_encoder_f Ext_GeographicalInformation_encode_xer; + oer_type_decoder_f Ext_GeographicalInformation_decode_oer; + oer_type_encoder_f Ext_GeographicalInformation_encode_oer; + per_type_decoder_f Ext_GeographicalInformation_decode_uper; + per_type_encoder_f Ext_GeographicalInformation_encode_uper; #ifdef __cplusplus } #endif -#endif /* _Ext_GeographicalInformation_H_ */ +#endif /* _Ext_GeographicalInformation_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Extended-reference.h b/src/core/libs/supl2/asn-rrlp/Extended-reference.h index 769d66475..e43d7b961 100644 --- a/src/core/libs/supl2/asn-rrlp/Extended-reference.h +++ b/src/core/libs/supl2/asn-rrlp/Extended-reference.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Extended_reference_H_ -#define _Extended_reference_H_ +#ifndef _Extended_reference_H_ +#define _Extended_reference_H_ #include @@ -15,26 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Extended-reference */ -typedef struct Extended_reference { - long smlc_code; - long transaction_ID; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Extended_reference_t; + /* Extended-reference */ + typedef struct Extended_reference + { + long smlc_code; + long transaction_ID; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Extended_reference; -extern asn_SEQUENCE_specifics_t asn_SPC_Extended_reference_specs_1; -extern asn_TYPE_member_t asn_MBR_Extended_reference_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Extended_reference_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Extended_reference; + extern asn_SEQUENCE_specifics_t asn_SPC_Extended_reference_specs_1; + extern asn_TYPE_member_t asn_MBR_Extended_reference_1[2]; #ifdef __cplusplus } #endif -#endif /* _Extended_reference_H_ */ +#endif /* _Extended_reference_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ExtensionContainer.h b/src/core/libs/supl2/asn-rrlp/ExtensionContainer.h index 1706b50b1..1097ab300 100644 --- a/src/core/libs/supl2/asn-rrlp/ExtensionContainer.h +++ b/src/core/libs/supl2/asn-rrlp/ExtensionContainer.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ExtensionContainer_H_ -#define _ExtensionContainer_H_ +#ifndef _ExtensionContainer_H_ +#define _ExtensionContainer_H_ #include @@ -14,29 +14,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ExtensionContainer */ -typedef long ExtensionContainer_t; + /* ExtensionContainer */ + typedef long ExtensionContainer_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ExtensionContainer; -asn_struct_free_f ExtensionContainer_free; -asn_struct_print_f ExtensionContainer_print; -asn_constr_check_f ExtensionContainer_constraint; -ber_type_decoder_f ExtensionContainer_decode_ber; -der_type_encoder_f ExtensionContainer_encode_der; -xer_type_decoder_f ExtensionContainer_decode_xer; -xer_type_encoder_f ExtensionContainer_encode_xer; -oer_type_decoder_f ExtensionContainer_decode_oer; -oer_type_encoder_f ExtensionContainer_encode_oer; -per_type_decoder_f ExtensionContainer_decode_uper; -per_type_encoder_f ExtensionContainer_encode_uper; + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ExtensionContainer; + asn_struct_free_f ExtensionContainer_free; + asn_struct_print_f ExtensionContainer_print; + asn_constr_check_f ExtensionContainer_constraint; + ber_type_decoder_f ExtensionContainer_decode_ber; + der_type_encoder_f ExtensionContainer_encode_der; + xer_type_decoder_f ExtensionContainer_decode_xer; + xer_type_encoder_f ExtensionContainer_encode_xer; + oer_type_decoder_f ExtensionContainer_decode_oer; + oer_type_encoder_f ExtensionContainer_encode_oer; + per_type_decoder_f ExtensionContainer_decode_uper; + per_type_encoder_f ExtensionContainer_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ExtensionContainer_H_ */ +#endif /* _ExtensionContainer_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/FineRTD.h b/src/core/libs/supl2/asn-rrlp/FineRTD.h index 34057ce83..1133d746e 100644 --- a/src/core/libs/supl2/asn-rrlp/FineRTD.h +++ b/src/core/libs/supl2/asn-rrlp/FineRTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _FineRTD_H_ -#define _FineRTD_H_ +#ifndef _FineRTD_H_ +#define _FineRTD_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* FineRTD */ -typedef long FineRTD_t; + /* FineRTD */ + typedef long FineRTD_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_FineRTD_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_FineRTD; -asn_struct_free_f FineRTD_free; -asn_struct_print_f FineRTD_print; -asn_constr_check_f FineRTD_constraint; -ber_type_decoder_f FineRTD_decode_ber; -der_type_encoder_f FineRTD_encode_der; -xer_type_decoder_f FineRTD_decode_xer; -xer_type_encoder_f FineRTD_encode_xer; -oer_type_decoder_f FineRTD_decode_oer; -oer_type_encoder_f FineRTD_encode_oer; -per_type_decoder_f FineRTD_decode_uper; -per_type_encoder_f FineRTD_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_FineRTD_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_FineRTD; + asn_struct_free_f FineRTD_free; + asn_struct_print_f FineRTD_print; + asn_constr_check_f FineRTD_constraint; + ber_type_decoder_f FineRTD_decode_ber; + der_type_encoder_f FineRTD_encode_der; + xer_type_decoder_f FineRTD_decode_xer; + xer_type_encoder_f FineRTD_encode_xer; + oer_type_decoder_f FineRTD_decode_oer; + oer_type_encoder_f FineRTD_encode_oer; + per_type_decoder_f FineRTD_decode_uper; + per_type_encoder_f FineRTD_encode_uper; #ifdef __cplusplus } #endif -#endif /* _FineRTD_H_ */ +#endif /* _FineRTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/FixType.h b/src/core/libs/supl2/asn-rrlp/FixType.h index 723b26a46..8e53d68bf 100644 --- a/src/core/libs/supl2/asn-rrlp/FixType.h +++ b/src/core/libs/supl2/asn-rrlp/FixType.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _FixType_H_ -#define _FixType_H_ +#ifndef _FixType_H_ +#define _FixType_H_ #include @@ -14,36 +14,38 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum FixType { - FixType_twoDFix = 0, - FixType_threeDFix = 1 -} e_FixType; + /* Dependencies */ + typedef enum FixType + { + FixType_twoDFix = 0, + FixType_threeDFix = 1 + } e_FixType; -/* FixType */ -typedef long FixType_t; + /* FixType */ + typedef long FixType_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_FixType_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_FixType; -asn_struct_free_f FixType_free; -asn_struct_print_f FixType_print; -asn_constr_check_f FixType_constraint; -ber_type_decoder_f FixType_decode_ber; -der_type_encoder_f FixType_encode_der; -xer_type_decoder_f FixType_decode_xer; -xer_type_encoder_f FixType_encode_xer; -oer_type_decoder_f FixType_decode_oer; -oer_type_encoder_f FixType_encode_oer; -per_type_decoder_f FixType_decode_uper; -per_type_encoder_f FixType_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_FixType_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_FixType; + asn_struct_free_f FixType_free; + asn_struct_print_f FixType_print; + asn_constr_check_f FixType_constraint; + ber_type_decoder_f FixType_decode_ber; + der_type_encoder_f FixType_encode_der; + xer_type_decoder_f FixType_decode_xer; + xer_type_encoder_f FixType_encode_xer; + oer_type_decoder_f FixType_decode_oer; + oer_type_encoder_f FixType_encode_oer; + per_type_decoder_f FixType_decode_uper; + per_type_encoder_f FixType_encode_uper; #ifdef __cplusplus } #endif -#endif /* _FixType_H_ */ +#endif /* _FixType_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/FrameDrift.h b/src/core/libs/supl2/asn-rrlp/FrameDrift.h index 25d8bdf19..fa857a1f0 100644 --- a/src/core/libs/supl2/asn-rrlp/FrameDrift.h +++ b/src/core/libs/supl2/asn-rrlp/FrameDrift.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _FrameDrift_H_ -#define _FrameDrift_H_ +#ifndef _FrameDrift_H_ +#define _FrameDrift_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* FrameDrift */ -typedef long FrameDrift_t; + /* FrameDrift */ + typedef long FrameDrift_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_FrameDrift_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_FrameDrift; -asn_struct_free_f FrameDrift_free; -asn_struct_print_f FrameDrift_print; -asn_constr_check_f FrameDrift_constraint; -ber_type_decoder_f FrameDrift_decode_ber; -der_type_encoder_f FrameDrift_encode_der; -xer_type_decoder_f FrameDrift_decode_xer; -xer_type_encoder_f FrameDrift_encode_xer; -oer_type_decoder_f FrameDrift_decode_oer; -oer_type_encoder_f FrameDrift_encode_oer; -per_type_decoder_f FrameDrift_decode_uper; -per_type_encoder_f FrameDrift_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_FrameDrift_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_FrameDrift; + asn_struct_free_f FrameDrift_free; + asn_struct_print_f FrameDrift_print; + asn_constr_check_f FrameDrift_constraint; + ber_type_decoder_f FrameDrift_decode_ber; + der_type_encoder_f FrameDrift_encode_der; + xer_type_decoder_f FrameDrift_decode_xer; + xer_type_encoder_f FrameDrift_encode_xer; + oer_type_decoder_f FrameDrift_decode_oer; + oer_type_encoder_f FrameDrift_encode_oer; + per_type_decoder_f FrameDrift_decode_uper; + per_type_encoder_f FrameDrift_encode_uper; #ifdef __cplusplus } #endif -#endif /* _FrameDrift_H_ */ +#endif /* _FrameDrift_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/FrameNumber.h b/src/core/libs/supl2/asn-rrlp/FrameNumber.h index 53b40fda3..8b9183261 100644 --- a/src/core/libs/supl2/asn-rrlp/FrameNumber.h +++ b/src/core/libs/supl2/asn-rrlp/FrameNumber.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _FrameNumber_H_ -#define _FrameNumber_H_ +#ifndef _FrameNumber_H_ +#define _FrameNumber_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* FrameNumber */ -typedef long FrameNumber_t; + /* FrameNumber */ + typedef long FrameNumber_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_FrameNumber_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_FrameNumber; -asn_struct_free_f FrameNumber_free; -asn_struct_print_f FrameNumber_print; -asn_constr_check_f FrameNumber_constraint; -ber_type_decoder_f FrameNumber_decode_ber; -der_type_encoder_f FrameNumber_encode_der; -xer_type_decoder_f FrameNumber_decode_xer; -xer_type_encoder_f FrameNumber_encode_xer; -oer_type_decoder_f FrameNumber_decode_oer; -oer_type_encoder_f FrameNumber_encode_oer; -per_type_decoder_f FrameNumber_decode_uper; -per_type_encoder_f FrameNumber_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_FrameNumber_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_FrameNumber; + asn_struct_free_f FrameNumber_free; + asn_struct_print_f FrameNumber_print; + asn_constr_check_f FrameNumber_constraint; + ber_type_decoder_f FrameNumber_decode_ber; + der_type_encoder_f FrameNumber_encode_der; + xer_type_decoder_f FrameNumber_decode_xer; + xer_type_encoder_f FrameNumber_encode_xer; + oer_type_decoder_f FrameNumber_decode_oer; + oer_type_encoder_f FrameNumber_encode_oer; + per_type_decoder_f FrameNumber_decode_uper; + per_type_encoder_f FrameNumber_encode_uper; #ifdef __cplusplus } #endif -#endif /* _FrameNumber_H_ */ +#endif /* _FrameNumber_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSS-AssistData.h b/src/core/libs/supl2/asn-rrlp/GANSS-AssistData.h index b87da58ef..5d794858f 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSS-AssistData.h +++ b/src/core/libs/supl2/asn-rrlp/GANSS-AssistData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSS_AssistData_H_ -#define _GANSS_AssistData_H_ +#ifndef _GANSS_AssistData_H_ +#define _GANSS_AssistData_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSS-AssistData */ -typedef struct GANSS_AssistData { - GANSS_ControlHeader_t ganss_controlHeader; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSS_AssistData_t; + /* GANSS-AssistData */ + typedef struct GANSS_AssistData + { + GANSS_ControlHeader_t ganss_controlHeader; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSS_AssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_AssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSS_AssistData_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSS_AssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSS_AssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_AssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSS_AssistData_1[1]; #ifdef __cplusplus } #endif -#endif /* _GANSS_AssistData_H_ */ +#endif /* _GANSS_AssistData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSS-ControlHeader.h b/src/core/libs/supl2/asn-rrlp/GANSS-ControlHeader.h index d8dc3f8ac..d5b174e4e 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSS-ControlHeader.h +++ b/src/core/libs/supl2/asn-rrlp/GANSS-ControlHeader.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSS_ControlHeader_H_ -#define _GANSS_ControlHeader_H_ +#ifndef _GANSS_ControlHeader_H_ +#define _GANSS_ControlHeader_H_ #include @@ -14,26 +14,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSCommonAssistData; -struct SeqOfGANSSGenericAssistDataElement; + /* Forward declarations */ + struct GANSSCommonAssistData; + struct SeqOfGANSSGenericAssistDataElement; -/* GANSS-ControlHeader */ -typedef struct GANSS_ControlHeader { - struct GANSSCommonAssistData *ganssCommonAssistData /* OPTIONAL */; - struct SeqOfGANSSGenericAssistDataElement *ganssGenericAssistDataList /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSS_ControlHeader_t; + /* GANSS-ControlHeader */ + typedef struct GANSS_ControlHeader + { + struct GANSSCommonAssistData *ganssCommonAssistData /* OPTIONAL */; + struct SeqOfGANSSGenericAssistDataElement *ganssGenericAssistDataList /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSS_ControlHeader; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_ControlHeader_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSS_ControlHeader_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSS_ControlHeader_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSS_ControlHeader; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_ControlHeader_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSS_ControlHeader_1[2]; #ifdef __cplusplus } @@ -43,5 +45,5 @@ extern asn_TYPE_member_t asn_MBR_GANSS_ControlHeader_1[2]; #include "GANSSCommonAssistData.h" #include "SeqOfGANSSGenericAssistDataElement.h" -#endif /* _GANSS_ControlHeader_H_ */ +#endif /* _GANSS_ControlHeader_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSS-MsrSetElement.h b/src/core/libs/supl2/asn-rrlp/GANSS-MsrSetElement.h index 617ad8cef..83f2c0a69 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSS-MsrSetElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSS-MsrSetElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSS_MsrSetElement_H_ -#define _GANSS_MsrSetElement_H_ +#ifndef _GANSS_MsrSetElement_H_ +#define _GANSS_MsrSetElement_H_ #include @@ -18,28 +18,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReferenceFrame; + /* Forward declarations */ + struct ReferenceFrame; -/* GANSS-MsrSetElement */ -typedef struct GANSS_MsrSetElement { - struct ReferenceFrame *referenceFrame /* OPTIONAL */; - GANSSTODm_t *ganssTODm /* OPTIONAL */; - long *deltaGNASSTOD /* OPTIONAL */; - GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */; - SeqOfGANSS_SgnTypeElement_t ganss_SgnTypeList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSS_MsrSetElement_t; + /* GANSS-MsrSetElement */ + typedef struct GANSS_MsrSetElement + { + struct ReferenceFrame *referenceFrame /* OPTIONAL */; + GANSSTODm_t *ganssTODm /* OPTIONAL */; + long *deltaGNASSTOD /* OPTIONAL */; + GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */; + SeqOfGANSS_SgnTypeElement_t ganss_SgnTypeList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSS_MsrSetElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_MsrSetElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSS_MsrSetElement_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSS_MsrSetElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSS_MsrSetElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_MsrSetElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSS_MsrSetElement_1[5]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_GANSS_MsrSetElement_1[5]; /* Referred external types */ #include "ReferenceFrame.h" -#endif /* _GANSS_MsrSetElement_H_ */ +#endif /* _GANSS_MsrSetElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSS-SgnElement.h b/src/core/libs/supl2/asn-rrlp/GANSS-SgnElement.h index 3ccf6298c..15a115dc8 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSS-SgnElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSS-SgnElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSS_SgnElement_H_ -#define _GANSS_SgnElement_H_ +#ifndef _GANSS_SgnElement_H_ +#define _GANSS_SgnElement_H_ #include @@ -17,33 +17,35 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSS-SgnElement */ -typedef struct GANSS_SgnElement { - SVID_t svID; - long cNo; - MpathIndic_t mpathDet; - long *carrierQualityInd /* OPTIONAL */; - long codePhase; - long *integerCodePhase /* OPTIONAL */; - long codePhaseRMSError; - long *doppler /* OPTIONAL */; - long *adr /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSS_SgnElement_t; + /* GANSS-SgnElement */ + typedef struct GANSS_SgnElement + { + SVID_t svID; + long cNo; + MpathIndic_t mpathDet; + long *carrierQualityInd /* OPTIONAL */; + long codePhase; + long *integerCodePhase /* OPTIONAL */; + long codePhaseRMSError; + long *doppler /* OPTIONAL */; + long *adr /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_SgnElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSS_SgnElement_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSS_SgnElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_SgnElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSS_SgnElement_1[9]; #ifdef __cplusplus } #endif -#endif /* _GANSS_SgnElement_H_ */ +#endif /* _GANSS_SgnElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSS-SgnTypeElement.h b/src/core/libs/supl2/asn-rrlp/GANSS-SgnTypeElement.h index e3418e14b..31df9683a 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSS-SgnTypeElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSS-SgnTypeElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSS_SgnTypeElement_H_ -#define _GANSS_SgnTypeElement_H_ +#ifndef _GANSS_SgnTypeElement_H_ +#define _GANSS_SgnTypeElement_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSS-SgnTypeElement */ -typedef struct GANSS_SgnTypeElement { - long ganssSignalID; - SeqOfGANSS_SgnElement_t ganss_SgnList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSS_SgnTypeElement_t; + /* GANSS-SgnTypeElement */ + typedef struct GANSS_SgnTypeElement + { + long ganssSignalID; + SeqOfGANSS_SgnElement_t ganss_SgnList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnTypeElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_SgnTypeElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSS_SgnTypeElement_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSS_SgnTypeElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnTypeElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSS_SgnTypeElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSS_SgnTypeElement_1[2]; #ifdef __cplusplus } #endif -#endif /* _GANSS_SgnTypeElement_H_ */ +#endif /* _GANSS_SgnTypeElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSAlmanacElement.h b/src/core/libs/supl2/asn-rrlp/GANSSAlmanacElement.h index a2ac17796..ca9e05256 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSAlmanacElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSAlmanacElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSAlmanacElement_H_ -#define _GANSSAlmanacElement_H_ +#ifndef _GANSSAlmanacElement_H_ +#define _GANSSAlmanacElement_H_ #include @@ -15,41 +15,45 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum GANSSAlmanacElement_PR { - GANSSAlmanacElement_PR_NOTHING, /* No components present */ - GANSSAlmanacElement_PR_keplerianAlmanacSet - /* Extensions may appear below */ - -} GANSSAlmanacElement_PR; + /* Dependencies */ + typedef enum GANSSAlmanacElement_PR + { + GANSSAlmanacElement_PR_NOTHING, /* No components present */ + GANSSAlmanacElement_PR_keplerianAlmanacSet + /* Extensions may appear below */ -/* GANSSAlmanacElement */ -typedef struct GANSSAlmanacElement { - GANSSAlmanacElement_PR present; - union GANSSAlmanacElement_u { - Almanac_KeplerianSet_t keplerianAlmanacSet; - /* + } GANSSAlmanacElement_PR; + + /* GANSSAlmanacElement */ + typedef struct GANSSAlmanacElement + { + GANSSAlmanacElement_PR present; + union GANSSAlmanacElement_u + { + Almanac_KeplerianSet_t keplerianAlmanacSet; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSAlmanacElement_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacElement; -extern asn_CHOICE_specifics_t asn_SPC_GANSSAlmanacElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSAlmanacElement_1[1]; -extern asn_per_constraints_t asn_PER_type_GANSSAlmanacElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSAlmanacElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacElement; + extern asn_CHOICE_specifics_t asn_SPC_GANSSAlmanacElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSAlmanacElement_1[1]; + extern asn_per_constraints_t asn_PER_type_GANSSAlmanacElement_constr_1; #ifdef __cplusplus } #endif -#endif /* _GANSSAlmanacElement_H_ */ +#endif /* _GANSSAlmanacElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSAlmanacModel.h b/src/core/libs/supl2/asn-rrlp/GANSSAlmanacModel.h index 591a93213..d8075a049 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSAlmanacModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSAlmanacModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSAlmanacModel_H_ -#define _GANSSAlmanacModel_H_ +#ifndef _GANSSAlmanacModel_H_ +#define _GANSSAlmanacModel_H_ #include @@ -17,29 +17,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSAlmanacModel */ -typedef struct GANSSAlmanacModel { - long weekNumber; - SVIDMASK_t svIDMask; - long *toa /* OPTIONAL */; - long *ioda /* OPTIONAL */; - SeqOfGANSSAlmanacElement_t ganssAlmanacList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSAlmanacModel_t; + /* GANSSAlmanacModel */ + typedef struct GANSSAlmanacModel + { + long weekNumber; + SVIDMASK_t svIDMask; + long *toa /* OPTIONAL */; + long *ioda /* OPTIONAL */; + SeqOfGANSSAlmanacElement_t ganssAlmanacList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacModel; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSAlmanacModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSAlmanacModel_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSAlmanacModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacModel; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSAlmanacModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSAlmanacModel_1[5]; #ifdef __cplusplus } #endif -#endif /* _GANSSAlmanacModel_H_ */ +#endif /* _GANSSAlmanacModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSAssistanceData.h b/src/core/libs/supl2/asn-rrlp/GANSSAssistanceData.h index f0179d0d1..1e7b45903 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSAssistanceData.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSAssistanceData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSAssistanceData_H_ -#define _GANSSAssistanceData_H_ +#ifndef _GANSSAssistanceData_H_ +#define _GANSSAssistanceData_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSAssistanceData */ -typedef OCTET_STRING_t GANSSAssistanceData_t; + /* GANSSAssistanceData */ + typedef OCTET_STRING_t GANSSAssistanceData_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSAssistanceData_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSAssistanceData; -asn_struct_free_f GANSSAssistanceData_free; -asn_struct_print_f GANSSAssistanceData_print; -asn_constr_check_f GANSSAssistanceData_constraint; -ber_type_decoder_f GANSSAssistanceData_decode_ber; -der_type_encoder_f GANSSAssistanceData_encode_der; -xer_type_decoder_f GANSSAssistanceData_decode_xer; -xer_type_encoder_f GANSSAssistanceData_encode_xer; -oer_type_decoder_f GANSSAssistanceData_decode_oer; -oer_type_encoder_f GANSSAssistanceData_encode_oer; -per_type_decoder_f GANSSAssistanceData_decode_uper; -per_type_encoder_f GANSSAssistanceData_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSAssistanceData_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSAssistanceData; + asn_struct_free_f GANSSAssistanceData_free; + asn_struct_print_f GANSSAssistanceData_print; + asn_constr_check_f GANSSAssistanceData_constraint; + ber_type_decoder_f GANSSAssistanceData_decode_ber; + der_type_encoder_f GANSSAssistanceData_encode_der; + xer_type_decoder_f GANSSAssistanceData_decode_xer; + xer_type_encoder_f GANSSAssistanceData_encode_xer; + oer_type_decoder_f GANSSAssistanceData_decode_oer; + oer_type_encoder_f GANSSAssistanceData_encode_oer; + per_type_decoder_f GANSSAssistanceData_decode_uper; + per_type_encoder_f GANSSAssistanceData_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSAssistanceData_H_ */ +#endif /* _GANSSAssistanceData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSClockModel.h b/src/core/libs/supl2/asn-rrlp/GANSSClockModel.h index ed4b97267..32afb55f3 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSClockModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSClockModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSClockModel_H_ -#define _GANSSClockModel_H_ +#ifndef _GANSSClockModel_H_ +#define _GANSSClockModel_H_ #include @@ -15,41 +15,45 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum GANSSClockModel_PR { - GANSSClockModel_PR_NOTHING, /* No components present */ - GANSSClockModel_PR_standardClockModelList - /* Extensions may appear below */ - -} GANSSClockModel_PR; + /* Dependencies */ + typedef enum GANSSClockModel_PR + { + GANSSClockModel_PR_NOTHING, /* No components present */ + GANSSClockModel_PR_standardClockModelList + /* Extensions may appear below */ -/* GANSSClockModel */ -typedef struct GANSSClockModel { - GANSSClockModel_PR present; - union GANSSClockModel_u { - SeqOfStandardClockModelElement_t standardClockModelList; - /* + } GANSSClockModel_PR; + + /* GANSSClockModel */ + typedef struct GANSSClockModel + { + GANSSClockModel_PR present; + union GANSSClockModel_u + { + SeqOfStandardClockModelElement_t standardClockModelList; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSClockModel_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSClockModel; -extern asn_CHOICE_specifics_t asn_SPC_GANSSClockModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSClockModel_1[1]; -extern asn_per_constraints_t asn_PER_type_GANSSClockModel_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSClockModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSClockModel; + extern asn_CHOICE_specifics_t asn_SPC_GANSSClockModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSClockModel_1[1]; + extern asn_per_constraints_t asn_PER_type_GANSSClockModel_constr_1; #ifdef __cplusplus } #endif -#endif /* _GANSSClockModel_H_ */ +#endif /* _GANSSClockModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSCommonAssistData.h b/src/core/libs/supl2/asn-rrlp/GANSSCommonAssistData.h index e3c5051d1..30819c461 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSCommonAssistData.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSCommonAssistData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSCommonAssistData_H_ -#define _GANSSCommonAssistData_H_ +#ifndef _GANSSCommonAssistData_H_ +#define _GANSSCommonAssistData_H_ #include @@ -14,32 +14,34 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSReferenceTime; -struct GANSSRefLocation; -struct GANSSIonosphericModel; + /* Forward declarations */ + struct GANSSReferenceTime; + struct GANSSRefLocation; + struct GANSSIonosphericModel; -/* GANSSCommonAssistData */ -typedef struct GANSSCommonAssistData { - struct GANSSReferenceTime *ganssReferenceTime /* OPTIONAL */; - struct GANSSRefLocation *ganssRefLocation /* OPTIONAL */; - struct GANSSIonosphericModel *ganssIonosphericModel /* OPTIONAL */; - /* + /* GANSSCommonAssistData */ + typedef struct GANSSCommonAssistData + { + struct GANSSReferenceTime *ganssReferenceTime /* OPTIONAL */; + struct GANSSRefLocation *ganssRefLocation /* OPTIONAL */; + struct GANSSIonosphericModel *ganssIonosphericModel /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSCommonAssistData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSCommonAssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSCommonAssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSCommonAssistData_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSCommonAssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSCommonAssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSCommonAssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSCommonAssistData_1[3]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_GANSSCommonAssistData_1[3]; #include "GANSSRefLocation.h" #include "GANSSIonosphericModel.h" -#endif /* _GANSSCommonAssistData_H_ */ +#endif /* _GANSSCommonAssistData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSDataBit.h b/src/core/libs/supl2/asn-rrlp/GANSSDataBit.h index ed357e26b..a4f328b80 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSDataBit.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSDataBit.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSDataBit_H_ -#define _GANSSDataBit_H_ +#ifndef _GANSSDataBit_H_ +#define _GANSSDataBit_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSDataBit */ -typedef long GANSSDataBit_t; + /* GANSSDataBit */ + typedef long GANSSDataBit_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSDataBit_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBit; -asn_struct_free_f GANSSDataBit_free; -asn_struct_print_f GANSSDataBit_print; -asn_constr_check_f GANSSDataBit_constraint; -ber_type_decoder_f GANSSDataBit_decode_ber; -der_type_encoder_f GANSSDataBit_encode_der; -xer_type_decoder_f GANSSDataBit_decode_xer; -xer_type_encoder_f GANSSDataBit_encode_xer; -oer_type_decoder_f GANSSDataBit_decode_oer; -oer_type_encoder_f GANSSDataBit_encode_oer; -per_type_decoder_f GANSSDataBit_decode_uper; -per_type_encoder_f GANSSDataBit_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSDataBit_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBit; + asn_struct_free_f GANSSDataBit_free; + asn_struct_print_f GANSSDataBit_print; + asn_constr_check_f GANSSDataBit_constraint; + ber_type_decoder_f GANSSDataBit_decode_ber; + der_type_encoder_f GANSSDataBit_encode_der; + xer_type_decoder_f GANSSDataBit_decode_xer; + xer_type_encoder_f GANSSDataBit_encode_xer; + oer_type_decoder_f GANSSDataBit_decode_oer; + oer_type_encoder_f GANSSDataBit_encode_oer; + per_type_decoder_f GANSSDataBit_decode_uper; + per_type_encoder_f GANSSDataBit_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSDataBit_H_ */ +#endif /* _GANSSDataBit_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSDataBitAssist.h b/src/core/libs/supl2/asn-rrlp/GANSSDataBitAssist.h index dc871d640..38a5d95ec 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSDataBitAssist.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSDataBitAssist.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSDataBitAssist_H_ -#define _GANSSDataBitAssist_H_ +#ifndef _GANSSDataBitAssist_H_ +#define _GANSSDataBitAssist_H_ #include @@ -17,28 +17,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSDataBitAssist */ -typedef struct GANSSDataBitAssist { - long ganssTOD; - SVID_t svID; - long ganssDataTypeID; - SeqOf_GANSSDataBits_t ganssDataBits; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSDataBitAssist_t; + /* GANSSDataBitAssist */ + typedef struct GANSSDataBitAssist + { + long ganssTOD; + SVID_t svID; + long ganssDataTypeID; + SeqOf_GANSSDataBits_t ganssDataBits; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBitAssist; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSDataBitAssist_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSDataBitAssist_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSDataBitAssist_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBitAssist; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSDataBitAssist_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSDataBitAssist_1[4]; #ifdef __cplusplus } #endif -#endif /* _GANSSDataBitAssist_H_ */ +#endif /* _GANSSDataBitAssist_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSDiffCorrections.h b/src/core/libs/supl2/asn-rrlp/GANSSDiffCorrections.h index f3a8598b3..6f5a4e5c8 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSDiffCorrections.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSDiffCorrections.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSDiffCorrections_H_ -#define _GANSSDiffCorrections_H_ +#ifndef _GANSSDiffCorrections_H_ +#define _GANSSDiffCorrections_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSDiffCorrections */ -typedef struct GANSSDiffCorrections { - long dganssRefTime; - SeqOfSgnTypeElement_t sgnTypeList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSDiffCorrections_t; + /* GANSSDiffCorrections */ + typedef struct GANSSDiffCorrections + { + long dganssRefTime; + SeqOfSgnTypeElement_t sgnTypeList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSDiffCorrections; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSDiffCorrections_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSDiffCorrections_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSDiffCorrections_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSDiffCorrections; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSDiffCorrections_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSDiffCorrections_1[2]; #ifdef __cplusplus } #endif -#endif /* _GANSSDiffCorrections_H_ */ +#endif /* _GANSSDiffCorrections_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSGenericAssistDataElement.h b/src/core/libs/supl2/asn-rrlp/GANSSGenericAssistDataElement.h index b5e299304..809892a0e 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSGenericAssistDataElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSGenericAssistDataElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSGenericAssistDataElement_H_ -#define _GANSSGenericAssistDataElement_H_ +#ifndef _GANSSGenericAssistDataElement_H_ +#define _GANSSGenericAssistDataElement_H_ #include @@ -15,43 +15,45 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SeqOfGANSSTimeModel; -struct GANSSDiffCorrections; -struct GANSSNavModel; -struct GANSSRealTimeIntegrity; -struct GANSSDataBitAssist; -struct GANSSRefMeasurementAssist; -struct GANSSAlmanacModel; -struct GANSSUTCModel; + /* Forward declarations */ + struct SeqOfGANSSTimeModel; + struct GANSSDiffCorrections; + struct GANSSNavModel; + struct GANSSRealTimeIntegrity; + struct GANSSDataBitAssist; + struct GANSSRefMeasurementAssist; + struct GANSSAlmanacModel; + struct GANSSUTCModel; -/* GANSSGenericAssistDataElement */ -typedef struct GANSSGenericAssistDataElement { - long *ganssID /* OPTIONAL */; - struct SeqOfGANSSTimeModel *ganssTimeModel /* OPTIONAL */; - struct GANSSDiffCorrections *ganssDiffCorrections /* OPTIONAL */; - struct GANSSNavModel *ganssNavigationModel /* OPTIONAL */; - struct GANSSRealTimeIntegrity *ganssRealTimeIntegrity /* OPTIONAL */; - struct GANSSDataBitAssist *ganssDataBitAssist /* OPTIONAL */; - struct GANSSRefMeasurementAssist *ganssRefMeasurementAssist /* OPTIONAL */; - struct GANSSAlmanacModel *ganssAlmanacModel /* OPTIONAL */; - struct GANSSUTCModel *ganssUTCModel /* OPTIONAL */; - /* + /* GANSSGenericAssistDataElement */ + typedef struct GANSSGenericAssistDataElement + { + long *ganssID /* OPTIONAL */; + struct SeqOfGANSSTimeModel *ganssTimeModel /* OPTIONAL */; + struct GANSSDiffCorrections *ganssDiffCorrections /* OPTIONAL */; + struct GANSSNavModel *ganssNavigationModel /* OPTIONAL */; + struct GANSSRealTimeIntegrity *ganssRealTimeIntegrity /* OPTIONAL */; + struct GANSSDataBitAssist *ganssDataBitAssist /* OPTIONAL */; + struct GANSSRefMeasurementAssist *ganssRefMeasurementAssist /* OPTIONAL */; + struct GANSSAlmanacModel *ganssAlmanacModel /* OPTIONAL */; + struct GANSSUTCModel *ganssUTCModel /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSGenericAssistDataElement_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSGenericAssistDataElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSGenericAssistDataElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSGenericAssistDataElement_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSGenericAssistDataElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSGenericAssistDataElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSGenericAssistDataElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSGenericAssistDataElement_1[9]; #ifdef __cplusplus } @@ -67,5 +69,5 @@ extern asn_TYPE_member_t asn_MBR_GANSSGenericAssistDataElement_1[9]; #include "GANSSAlmanacModel.h" #include "GANSSUTCModel.h" -#endif /* _GANSSGenericAssistDataElement_H_ */ +#endif /* _GANSSGenericAssistDataElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSIonoStormFlags.h b/src/core/libs/supl2/asn-rrlp/GANSSIonoStormFlags.h index 12ed6c599..38df18a42 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSIonoStormFlags.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSIonoStormFlags.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSIonoStormFlags_H_ -#define _GANSSIonoStormFlags_H_ +#ifndef _GANSSIonoStormFlags_H_ +#define _GANSSIonoStormFlags_H_ #include @@ -15,29 +15,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSIonoStormFlags */ -typedef struct GANSSIonoStormFlags { - long ionoStormFlag1; - long ionoStormFlag2; - long ionoStormFlag3; - long ionoStormFlag4; - long ionoStormFlag5; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSIonoStormFlags_t; + /* GANSSIonoStormFlags */ + typedef struct GANSSIonoStormFlags + { + long ionoStormFlag1; + long ionoStormFlag2; + long ionoStormFlag3; + long ionoStormFlag4; + long ionoStormFlag5; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSIonoStormFlags; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSIonoStormFlags_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSIonoStormFlags_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSIonoStormFlags_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSIonoStormFlags; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSIonoStormFlags_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSIonoStormFlags_1[5]; #ifdef __cplusplus } #endif -#endif /* _GANSSIonoStormFlags_H_ */ +#endif /* _GANSSIonoStormFlags_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSIonosphereModel.h b/src/core/libs/supl2/asn-rrlp/GANSSIonosphereModel.h index a1725b991..ea33c33f9 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSIonosphereModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSIonosphereModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSIonosphereModel_H_ -#define _GANSSIonosphereModel_H_ +#ifndef _GANSSIonosphereModel_H_ +#define _GANSSIonosphereModel_H_ #include @@ -15,27 +15,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSIonosphereModel */ -typedef struct GANSSIonosphereModel { - long ai0; - long ai1; - long ai2; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSIonosphereModel_t; + /* GANSSIonosphereModel */ + typedef struct GANSSIonosphereModel + { + long ai0; + long ai1; + long ai2; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphereModel; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSIonosphereModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSIonosphereModel_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSIonosphereModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphereModel; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSIonosphereModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSIonosphereModel_1[3]; #ifdef __cplusplus } #endif -#endif /* _GANSSIonosphereModel_H_ */ +#endif /* _GANSSIonosphereModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSIonosphericModel.h b/src/core/libs/supl2/asn-rrlp/GANSSIonosphericModel.h index 9e9e54289..6b393ae8b 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSIonosphericModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSIonosphericModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSIonosphericModel_H_ -#define _GANSSIonosphericModel_H_ +#ifndef _GANSSIonosphericModel_H_ +#define _GANSSIonosphericModel_H_ #include @@ -15,29 +15,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSIonoStormFlags; + /* Forward declarations */ + struct GANSSIonoStormFlags; -/* GANSSIonosphericModel */ -typedef struct GANSSIonosphericModel { - GANSSIonosphereModel_t ganssIonoModel; - struct GANSSIonoStormFlags *ganssIonoStormFlags /* OPTIONAL */; - /* + /* GANSSIonosphericModel */ + typedef struct GANSSIonosphericModel + { + GANSSIonosphereModel_t ganssIonoModel; + struct GANSSIonoStormFlags *ganssIonoStormFlags /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSIonosphericModel_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphericModel; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSIonosphericModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSIonosphericModel_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSIonosphericModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphericModel; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSIonosphericModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSIonosphericModel_1[2]; #ifdef __cplusplus } @@ -46,5 +48,5 @@ extern asn_TYPE_member_t asn_MBR_GANSSIonosphericModel_1[2]; /* Referred external types */ #include "GANSSIonoStormFlags.h" -#endif /* _GANSSIonosphericModel_H_ */ +#endif /* _GANSSIonosphericModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSLocationInfo.h b/src/core/libs/supl2/asn-rrlp/GANSSLocationInfo.h index ad714533c..3a67ce275 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSLocationInfo.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSLocationInfo.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSLocationInfo_H_ -#define _GANSSLocationInfo_H_ +#ifndef _GANSSLocationInfo_H_ +#define _GANSSLocationInfo_H_ #include @@ -20,36 +20,38 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReferenceFrame; + /* Forward declarations */ + struct ReferenceFrame; -/* GANSSLocationInfo */ -typedef struct GANSSLocationInfo { - struct ReferenceFrame *referenceFrame /* OPTIONAL */; - GANSSTODm_t *ganssTODm /* OPTIONAL */; - long *ganssTODFrac /* OPTIONAL */; - GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */; - long *ganssTimeID /* OPTIONAL */; - FixType_t fixType; - PositionData_t posData; - long *stationaryIndication /* OPTIONAL */; - Ext_GeographicalInformation_t posEstimate; - /* + /* GANSSLocationInfo */ + typedef struct GANSSLocationInfo + { + struct ReferenceFrame *referenceFrame /* OPTIONAL */; + GANSSTODm_t *ganssTODm /* OPTIONAL */; + long *ganssTODFrac /* OPTIONAL */; + GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */; + long *ganssTimeID /* OPTIONAL */; + FixType_t fixType; + PositionData_t posData; + long *stationaryIndication /* OPTIONAL */; + Ext_GeographicalInformation_t posEstimate; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSLocationInfo_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSLocationInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSLocationInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSLocationInfo_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSLocationInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSLocationInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSLocationInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSLocationInfo_1[9]; #ifdef __cplusplus } @@ -58,5 +60,5 @@ extern asn_TYPE_member_t asn_MBR_GANSSLocationInfo_1[9]; /* Referred external types */ #include "ReferenceFrame.h" -#endif /* _GANSSLocationInfo_H_ */ +#endif /* _GANSSLocationInfo_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSMeasureInfo.h b/src/core/libs/supl2/asn-rrlp/GANSSMeasureInfo.h index d085cda91..04731353c 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSMeasureInfo.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSMeasureInfo.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSMeasureInfo_H_ -#define _GANSSMeasureInfo_H_ +#ifndef _GANSSMeasureInfo_H_ +#define _GANSSMeasureInfo_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSMeasureInfo */ -typedef struct GANSSMeasureInfo { - SeqOfGANSS_MsrSetElement_t ganssMsrSetList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSMeasureInfo_t; + /* GANSSMeasureInfo */ + typedef struct GANSSMeasureInfo + { + SeqOfGANSS_MsrSetElement_t ganssMsrSetList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSMeasureInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSMeasureInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSMeasureInfo_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSMeasureInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSMeasureInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSMeasureInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSMeasureInfo_1[1]; #ifdef __cplusplus } #endif -#endif /* _GANSSMeasureInfo_H_ */ +#endif /* _GANSSMeasureInfo_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSNavModel.h b/src/core/libs/supl2/asn-rrlp/GANSSNavModel.h index a311ccc57..a8859c148 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSNavModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSNavModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSNavModel_H_ -#define _GANSSNavModel_H_ +#ifndef _GANSSNavModel_H_ +#define _GANSSNavModel_H_ #include @@ -16,29 +16,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSNavModel */ -typedef struct GANSSNavModel { - long nonBroadcastIndFlag; - long *toeMSB /* OPTIONAL */; - long *eMSB /* OPTIONAL */; - long *sqrtAMBS /* OPTIONAL */; - SeqOfGANSSSatelliteElement_t ganssSatelliteList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSNavModel_t; + /* GANSSNavModel */ + typedef struct GANSSNavModel + { + long nonBroadcastIndFlag; + long *toeMSB /* OPTIONAL */; + long *eMSB /* OPTIONAL */; + long *sqrtAMBS /* OPTIONAL */; + SeqOfGANSSSatelliteElement_t ganssSatelliteList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSNavModel; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSNavModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSNavModel_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSNavModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSNavModel; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSNavModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSNavModel_1[5]; #ifdef __cplusplus } #endif -#endif /* _GANSSNavModel_H_ */ +#endif /* _GANSSNavModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSOrbitModel.h b/src/core/libs/supl2/asn-rrlp/GANSSOrbitModel.h index 16c38c4d1..ec7c57a14 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSOrbitModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSOrbitModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSOrbitModel_H_ -#define _GANSSOrbitModel_H_ +#ifndef _GANSSOrbitModel_H_ +#define _GANSSOrbitModel_H_ #include @@ -15,41 +15,45 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum GANSSOrbitModel_PR { - GANSSOrbitModel_PR_NOTHING, /* No components present */ - GANSSOrbitModel_PR_keplerianSet - /* Extensions may appear below */ - -} GANSSOrbitModel_PR; + /* Dependencies */ + typedef enum GANSSOrbitModel_PR + { + GANSSOrbitModel_PR_NOTHING, /* No components present */ + GANSSOrbitModel_PR_keplerianSet + /* Extensions may appear below */ -/* GANSSOrbitModel */ -typedef struct GANSSOrbitModel { - GANSSOrbitModel_PR present; - union GANSSOrbitModel_u { - NavModel_KeplerianSet_t keplerianSet; - /* + } GANSSOrbitModel_PR; + + /* GANSSOrbitModel */ + typedef struct GANSSOrbitModel + { + GANSSOrbitModel_PR present; + union GANSSOrbitModel_u + { + NavModel_KeplerianSet_t keplerianSet; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSOrbitModel_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSOrbitModel; -extern asn_CHOICE_specifics_t asn_SPC_GANSSOrbitModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSOrbitModel_1[1]; -extern asn_per_constraints_t asn_PER_type_GANSSOrbitModel_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSOrbitModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSOrbitModel; + extern asn_CHOICE_specifics_t asn_SPC_GANSSOrbitModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSOrbitModel_1[1]; + extern asn_per_constraints_t asn_PER_type_GANSSOrbitModel_constr_1; #ifdef __cplusplus } #endif -#endif /* _GANSSOrbitModel_H_ */ +#endif /* _GANSSOrbitModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSPositioningMethod.h b/src/core/libs/supl2/asn-rrlp/GANSSPositioningMethod.h index 23cff419e..1a4b76bce 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSPositioningMethod.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSPositioningMethod.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSPositioningMethod_H_ -#define _GANSSPositioningMethod_H_ +#ifndef _GANSSPositioningMethod_H_ +#define _GANSSPositioningMethod_H_ #include @@ -14,36 +14,38 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum GANSSPositioningMethod { - GANSSPositioningMethod_gps = 0, - GANSSPositioningMethod_galileo = 1 -} e_GANSSPositioningMethod; + /* Dependencies */ + typedef enum GANSSPositioningMethod + { + GANSSPositioningMethod_gps = 0, + GANSSPositioningMethod_galileo = 1 + } e_GANSSPositioningMethod; -/* GANSSPositioningMethod */ -typedef BIT_STRING_t GANSSPositioningMethod_t; + /* GANSSPositioningMethod */ + typedef BIT_STRING_t GANSSPositioningMethod_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSPositioningMethod_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSPositioningMethod; -asn_struct_free_f GANSSPositioningMethod_free; -asn_struct_print_f GANSSPositioningMethod_print; -asn_constr_check_f GANSSPositioningMethod_constraint; -ber_type_decoder_f GANSSPositioningMethod_decode_ber; -der_type_encoder_f GANSSPositioningMethod_encode_der; -xer_type_decoder_f GANSSPositioningMethod_decode_xer; -xer_type_encoder_f GANSSPositioningMethod_encode_xer; -oer_type_decoder_f GANSSPositioningMethod_decode_oer; -oer_type_encoder_f GANSSPositioningMethod_encode_oer; -per_type_decoder_f GANSSPositioningMethod_decode_uper; -per_type_encoder_f GANSSPositioningMethod_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSPositioningMethod_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSPositioningMethod; + asn_struct_free_f GANSSPositioningMethod_free; + asn_struct_print_f GANSSPositioningMethod_print; + asn_constr_check_f GANSSPositioningMethod_constraint; + ber_type_decoder_f GANSSPositioningMethod_decode_ber; + der_type_encoder_f GANSSPositioningMethod_encode_der; + xer_type_decoder_f GANSSPositioningMethod_decode_xer; + xer_type_encoder_f GANSSPositioningMethod_encode_xer; + oer_type_decoder_f GANSSPositioningMethod_decode_oer; + oer_type_encoder_f GANSSPositioningMethod_encode_oer; + per_type_decoder_f GANSSPositioningMethod_decode_uper; + per_type_encoder_f GANSSPositioningMethod_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSPositioningMethod_H_ */ +#endif /* _GANSSPositioningMethod_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSRealTimeIntegrity.h b/src/core/libs/supl2/asn-rrlp/GANSSRealTimeIntegrity.h index c250e7fa8..e3dd013e6 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSRealTimeIntegrity.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSRealTimeIntegrity.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSRealTimeIntegrity_H_ -#define _GANSSRealTimeIntegrity_H_ +#ifndef _GANSSRealTimeIntegrity_H_ +#define _GANSSRealTimeIntegrity_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSRealTimeIntegrity */ -typedef struct GANSSRealTimeIntegrity { - SeqOfBadSignalElement_t ganssBadSignalList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSRealTimeIntegrity_t; + /* GANSSRealTimeIntegrity */ + typedef struct GANSSRealTimeIntegrity + { + SeqOfBadSignalElement_t ganssBadSignalList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSRealTimeIntegrity; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRealTimeIntegrity_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSRealTimeIntegrity_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSRealTimeIntegrity_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSRealTimeIntegrity; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRealTimeIntegrity_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSRealTimeIntegrity_1[1]; #ifdef __cplusplus } #endif -#endif /* _GANSSRealTimeIntegrity_H_ */ +#endif /* _GANSSRealTimeIntegrity_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSRefLocation.h b/src/core/libs/supl2/asn-rrlp/GANSSRefLocation.h index 6a02dd0f1..bc66a2996 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSRefLocation.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSRefLocation.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSRefLocation_H_ -#define _GANSSRefLocation_H_ +#ifndef _GANSSRefLocation_H_ +#define _GANSSRefLocation_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSRefLocation */ -typedef struct GANSSRefLocation { - Ext_GeographicalInformation_t threeDLocation; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSRefLocation_t; + /* GANSSRefLocation */ + typedef struct GANSSRefLocation + { + Ext_GeographicalInformation_t threeDLocation; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSRefLocation; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefLocation_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSRefLocation_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSRefLocation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSRefLocation; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefLocation_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSRefLocation_1[1]; #ifdef __cplusplus } #endif -#endif /* _GANSSRefLocation_H_ */ +#endif /* _GANSSRefLocation_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementAssist.h b/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementAssist.h index 0ff2c1459..5ba2de0d7 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementAssist.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementAssist.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSRefMeasurementAssist_H_ -#define _GANSSRefMeasurementAssist_H_ +#ifndef _GANSSRefMeasurementAssist_H_ +#define _GANSSRefMeasurementAssist_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSRefMeasurementAssist */ -typedef struct GANSSRefMeasurementAssist { - long *ganssSignalID /* OPTIONAL */; - SeqOfGANSSRefMeasurementElement_t ganssRefMeasAssitList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSRefMeasurementAssist_t; + /* GANSSRefMeasurementAssist */ + typedef struct GANSSRefMeasurementAssist + { + long *ganssSignalID /* OPTIONAL */; + SeqOfGANSSRefMeasurementElement_t ganssRefMeasAssitList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementAssist; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefMeasurementAssist_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSRefMeasurementAssist_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSRefMeasurementAssist_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementAssist; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefMeasurementAssist_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSRefMeasurementAssist_1[2]; #ifdef __cplusplus } #endif -#endif /* _GANSSRefMeasurementAssist_H_ */ +#endif /* _GANSSRefMeasurementAssist_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementElement.h b/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementElement.h index 10a6638bc..a0b461747 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSRefMeasurementElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSRefMeasurementElement_H_ -#define _GANSSRefMeasurementElement_H_ +#ifndef _GANSSRefMeasurementElement_H_ +#define _GANSSRefMeasurementElement_H_ #include @@ -16,35 +16,37 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct AdditionalDopplerFields; -struct AddionalAngleFields; + /* Forward declarations */ + struct AdditionalDopplerFields; + struct AddionalAngleFields; -/* GANSSRefMeasurementElement */ -typedef struct GANSSRefMeasurementElement { - SVID_t svID; - long doppler0; - struct AdditionalDopplerFields *additionalDoppler /* OPTIONAL */; - long codePhase; - long intCodePhase; - long codePhaseSearchWindow; - struct AddionalAngleFields *additionalAngle /* OPTIONAL */; - /* + /* GANSSRefMeasurementElement */ + typedef struct GANSSRefMeasurementElement + { + SVID_t svID; + long doppler0; + struct AdditionalDopplerFields *additionalDoppler /* OPTIONAL */; + long codePhase; + long intCodePhase; + long codePhaseSearchWindow; + struct AddionalAngleFields *additionalAngle /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSRefMeasurementElement_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefMeasurementElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSRefMeasurementElement_1[7]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSRefMeasurementElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefMeasurementElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSRefMeasurementElement_1[7]; #ifdef __cplusplus } @@ -54,5 +56,5 @@ extern asn_TYPE_member_t asn_MBR_GANSSRefMeasurementElement_1[7]; #include "AdditionalDopplerFields.h" #include "AddionalAngleFields.h" -#endif /* _GANSSRefMeasurementElement_H_ */ +#endif /* _GANSSRefMeasurementElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSRefTimeInfo.h b/src/core/libs/supl2/asn-rrlp/GANSSRefTimeInfo.h index 42c9e7e30..8682e5aa7 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSRefTimeInfo.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSRefTimeInfo.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSRefTimeInfo_H_ -#define _GANSSRefTimeInfo_H_ +#ifndef _GANSSRefTimeInfo_H_ +#define _GANSSRefTimeInfo_H_ #include @@ -17,28 +17,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSRefTimeInfo */ -typedef struct GANSSRefTimeInfo { - long *ganssDay /* OPTIONAL */; - GANSSTOD_t ganssTOD; - GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */; - long *ganssTimeID /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSRefTimeInfo_t; + /* GANSSRefTimeInfo */ + typedef struct GANSSRefTimeInfo + { + long *ganssDay /* OPTIONAL */; + GANSSTOD_t ganssTOD; + GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */; + long *ganssTimeID /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSRefTimeInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefTimeInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSRefTimeInfo_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSRefTimeInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSRefTimeInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSRefTimeInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSRefTimeInfo_1[4]; #ifdef __cplusplus } #endif -#endif /* _GANSSRefTimeInfo_H_ */ +#endif /* _GANSSRefTimeInfo_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSReferenceTime.h b/src/core/libs/supl2/asn-rrlp/GANSSReferenceTime.h index 524b1f03e..587bdabdc 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSReferenceTime.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSReferenceTime.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSReferenceTime_H_ -#define _GANSSReferenceTime_H_ +#ifndef _GANSSReferenceTime_H_ +#define _GANSSReferenceTime_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSTOD_GSMTimeAssociation; + /* Forward declarations */ + struct GANSSTOD_GSMTimeAssociation; -/* GANSSReferenceTime */ -typedef struct GANSSReferenceTime { - GANSSRefTimeInfo_t ganssRefTimeInfo; - struct GANSSTOD_GSMTimeAssociation *ganssTOD_GSMTimeAssociation /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSReferenceTime_t; + /* GANSSReferenceTime */ + typedef struct GANSSReferenceTime + { + GANSSRefTimeInfo_t ganssRefTimeInfo; + struct GANSSTOD_GSMTimeAssociation *ganssTOD_GSMTimeAssociation /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSReferenceTime; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSReferenceTime_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSReferenceTime_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSReferenceTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSReferenceTime; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSReferenceTime_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSReferenceTime_1[2]; #ifdef __cplusplus } @@ -42,5 +44,5 @@ extern asn_TYPE_member_t asn_MBR_GANSSReferenceTime_1[2]; /* Referred external types */ #include "GANSSTOD-GSMTimeAssociation.h" -#endif /* _GANSSReferenceTime_H_ */ +#endif /* _GANSSReferenceTime_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSSatelliteElement.h b/src/core/libs/supl2/asn-rrlp/GANSSSatelliteElement.h index ad651af08..b7b6f106a 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSSatelliteElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSSatelliteElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSSatelliteElement_H_ -#define _GANSSSatelliteElement_H_ +#ifndef _GANSSSatelliteElement_H_ +#define _GANSSSatelliteElement_H_ #include @@ -18,33 +18,35 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSSatelliteElement */ -typedef struct GANSSSatelliteElement { - SVID_t svID; - long svHealth; - long iod; - GANSSClockModel_t ganssClockModel; - GANSSOrbitModel_t ganssOrbitModel; - /* + /* GANSSSatelliteElement */ + typedef struct GANSSSatelliteElement + { + SVID_t svID; + long svHealth; + long iod; + GANSSClockModel_t ganssClockModel; + GANSSOrbitModel_t ganssOrbitModel; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSSatelliteElement_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSSatelliteElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSSatelliteElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSSatelliteElement_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSSatelliteElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSSatelliteElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSSatelliteElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSSatelliteElement_1[5]; #ifdef __cplusplus } #endif -#endif /* _GANSSSatelliteElement_H_ */ +#endif /* _GANSSSatelliteElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSSignalID.h b/src/core/libs/supl2/asn-rrlp/GANSSSignalID.h index eb44a3b5c..c60d61e23 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSSignalID.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSSignalID.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSSignalID_H_ -#define _GANSSSignalID_H_ +#ifndef _GANSSSignalID_H_ +#define _GANSSSignalID_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSSignalID */ -typedef long GANSSSignalID_t; + /* GANSSSignalID */ + typedef long GANSSSignalID_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSSignalID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSSignalID; -asn_struct_free_f GANSSSignalID_free; -asn_struct_print_f GANSSSignalID_print; -asn_constr_check_f GANSSSignalID_constraint; -ber_type_decoder_f GANSSSignalID_decode_ber; -der_type_encoder_f GANSSSignalID_encode_der; -xer_type_decoder_f GANSSSignalID_decode_xer; -xer_type_encoder_f GANSSSignalID_encode_xer; -oer_type_decoder_f GANSSSignalID_decode_oer; -oer_type_encoder_f GANSSSignalID_encode_oer; -per_type_decoder_f GANSSSignalID_decode_uper; -per_type_encoder_f GANSSSignalID_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSSignalID_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSSignalID; + asn_struct_free_f GANSSSignalID_free; + asn_struct_print_f GANSSSignalID_print; + asn_constr_check_f GANSSSignalID_constraint; + ber_type_decoder_f GANSSSignalID_decode_ber; + der_type_encoder_f GANSSSignalID_encode_der; + xer_type_decoder_f GANSSSignalID_decode_xer; + xer_type_encoder_f GANSSSignalID_encode_xer; + oer_type_decoder_f GANSSSignalID_decode_oer; + oer_type_encoder_f GANSSSignalID_encode_oer; + per_type_decoder_f GANSSSignalID_decode_uper; + per_type_encoder_f GANSSSignalID_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSSignalID_H_ */ +#endif /* _GANSSSignalID_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSTOD-GSMTimeAssociation.h b/src/core/libs/supl2/asn-rrlp/GANSSTOD-GSMTimeAssociation.h index 4d7bcde62..b4b8317ae 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSTOD-GSMTimeAssociation.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSTOD-GSMTimeAssociation.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSTOD_GSMTimeAssociation_H_ -#define _GANSSTOD_GSMTimeAssociation_H_ +#ifndef _GANSSTOD_GSMTimeAssociation_H_ +#define _GANSSTOD_GSMTimeAssociation_H_ #include @@ -20,30 +20,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSTOD-GSMTimeAssociation */ -typedef struct GANSSTOD_GSMTimeAssociation { - BCCHCarrier_t bcchCarrier; - BSIC_t bsic; - FrameNumber_t frameNumber; - TimeSlot_t timeSlot; - BitNumber_t bitNumber; - FrameDrift_t *frameDrift /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSTOD_GSMTimeAssociation_t; + /* GANSSTOD-GSMTimeAssociation */ + typedef struct GANSSTOD_GSMTimeAssociation + { + BCCHCarrier_t bcchCarrier; + BSIC_t bsic; + FrameNumber_t frameNumber; + TimeSlot_t timeSlot; + BitNumber_t bitNumber; + FrameDrift_t *frameDrift /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSTOD_GSMTimeAssociation; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSTOD_GSMTimeAssociation_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSTOD_GSMTimeAssociation_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSTOD_GSMTimeAssociation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSTOD_GSMTimeAssociation; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSTOD_GSMTimeAssociation_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSTOD_GSMTimeAssociation_1[6]; #ifdef __cplusplus } #endif -#endif /* _GANSSTOD_GSMTimeAssociation_H_ */ +#endif /* _GANSSTOD_GSMTimeAssociation_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSTOD.h b/src/core/libs/supl2/asn-rrlp/GANSSTOD.h index 8807422dd..f6922259f 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSTOD.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSTOD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSTOD_H_ -#define _GANSSTOD_H_ +#ifndef _GANSSTOD_H_ +#define _GANSSTOD_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSTOD */ -typedef long GANSSTOD_t; + /* GANSSTOD */ + typedef long GANSSTOD_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSTOD_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSTOD; -asn_struct_free_f GANSSTOD_free; -asn_struct_print_f GANSSTOD_print; -asn_constr_check_f GANSSTOD_constraint; -ber_type_decoder_f GANSSTOD_decode_ber; -der_type_encoder_f GANSSTOD_encode_der; -xer_type_decoder_f GANSSTOD_decode_xer; -xer_type_encoder_f GANSSTOD_encode_xer; -oer_type_decoder_f GANSSTOD_decode_oer; -oer_type_encoder_f GANSSTOD_encode_oer; -per_type_decoder_f GANSSTOD_decode_uper; -per_type_encoder_f GANSSTOD_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSTOD_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSTOD; + asn_struct_free_f GANSSTOD_free; + asn_struct_print_f GANSSTOD_print; + asn_constr_check_f GANSSTOD_constraint; + ber_type_decoder_f GANSSTOD_decode_ber; + der_type_encoder_f GANSSTOD_encode_der; + xer_type_decoder_f GANSSTOD_decode_xer; + xer_type_encoder_f GANSSTOD_encode_xer; + oer_type_decoder_f GANSSTOD_decode_oer; + oer_type_encoder_f GANSSTOD_encode_oer; + per_type_decoder_f GANSSTOD_decode_uper; + per_type_encoder_f GANSSTOD_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSTOD_H_ */ +#endif /* _GANSSTOD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSTODUncertainty.h b/src/core/libs/supl2/asn-rrlp/GANSSTODUncertainty.h index 65ea01c1b..d2cb0fc4b 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSTODUncertainty.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSTODUncertainty.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSTODUncertainty_H_ -#define _GANSSTODUncertainty_H_ +#ifndef _GANSSTODUncertainty_H_ +#define _GANSSTODUncertainty_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSTODUncertainty */ -typedef long GANSSTODUncertainty_t; + /* GANSSTODUncertainty */ + typedef long GANSSTODUncertainty_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSTODUncertainty_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSTODUncertainty; -asn_struct_free_f GANSSTODUncertainty_free; -asn_struct_print_f GANSSTODUncertainty_print; -asn_constr_check_f GANSSTODUncertainty_constraint; -ber_type_decoder_f GANSSTODUncertainty_decode_ber; -der_type_encoder_f GANSSTODUncertainty_encode_der; -xer_type_decoder_f GANSSTODUncertainty_decode_xer; -xer_type_encoder_f GANSSTODUncertainty_encode_xer; -oer_type_decoder_f GANSSTODUncertainty_decode_oer; -oer_type_encoder_f GANSSTODUncertainty_encode_oer; -per_type_decoder_f GANSSTODUncertainty_decode_uper; -per_type_encoder_f GANSSTODUncertainty_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSTODUncertainty_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSTODUncertainty; + asn_struct_free_f GANSSTODUncertainty_free; + asn_struct_print_f GANSSTODUncertainty_print; + asn_constr_check_f GANSSTODUncertainty_constraint; + ber_type_decoder_f GANSSTODUncertainty_decode_ber; + der_type_encoder_f GANSSTODUncertainty_encode_der; + xer_type_decoder_f GANSSTODUncertainty_decode_xer; + xer_type_encoder_f GANSSTODUncertainty_encode_xer; + oer_type_decoder_f GANSSTODUncertainty_decode_oer; + oer_type_encoder_f GANSSTODUncertainty_encode_oer; + per_type_decoder_f GANSSTODUncertainty_decode_uper; + per_type_encoder_f GANSSTODUncertainty_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSTODUncertainty_H_ */ +#endif /* _GANSSTODUncertainty_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSTODm.h b/src/core/libs/supl2/asn-rrlp/GANSSTODm.h index fb374dac9..5217dc3b2 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSTODm.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSTODm.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSTODm_H_ -#define _GANSSTODm_H_ +#ifndef _GANSSTODm_H_ +#define _GANSSTODm_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSTODm */ -typedef long GANSSTODm_t; + /* GANSSTODm */ + typedef long GANSSTODm_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSTODm_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSTODm; -asn_struct_free_f GANSSTODm_free; -asn_struct_print_f GANSSTODm_print; -asn_constr_check_f GANSSTODm_constraint; -ber_type_decoder_f GANSSTODm_decode_ber; -der_type_encoder_f GANSSTODm_encode_der; -xer_type_decoder_f GANSSTODm_decode_xer; -xer_type_encoder_f GANSSTODm_encode_xer; -oer_type_decoder_f GANSSTODm_decode_oer; -oer_type_encoder_f GANSSTODm_encode_oer; -per_type_decoder_f GANSSTODm_decode_uper; -per_type_encoder_f GANSSTODm_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSTODm_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSTODm; + asn_struct_free_f GANSSTODm_free; + asn_struct_print_f GANSSTODm_print; + asn_constr_check_f GANSSTODm_constraint; + ber_type_decoder_f GANSSTODm_decode_ber; + der_type_encoder_f GANSSTODm_encode_der; + xer_type_decoder_f GANSSTODm_decode_xer; + xer_type_encoder_f GANSSTODm_encode_xer; + oer_type_decoder_f GANSSTODm_decode_oer; + oer_type_encoder_f GANSSTODm_encode_oer; + per_type_decoder_f GANSSTODm_decode_uper; + per_type_encoder_f GANSSTODm_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSTODm_H_ */ +#endif /* _GANSSTODm_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSTimeModelElement.h b/src/core/libs/supl2/asn-rrlp/GANSSTimeModelElement.h index 89e97a5eb..55e75a13d 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSTimeModelElement.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSTimeModelElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSTimeModelElement_H_ -#define _GANSSTimeModelElement_H_ +#ifndef _GANSSTimeModelElement_H_ +#define _GANSSTimeModelElement_H_ #include @@ -18,30 +18,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSTimeModelElement */ -typedef struct GANSSTimeModelElement { - long ganssTimeModelRefTime; - TA0_t tA0; - TA1_t *tA1 /* OPTIONAL */; - TA2_t *tA2 /* OPTIONAL */; - long gnssTOID; - long *weekNumber /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSTimeModelElement_t; + /* GANSSTimeModelElement */ + typedef struct GANSSTimeModelElement + { + long ganssTimeModelRefTime; + TA0_t tA0; + TA1_t *tA1 /* OPTIONAL */; + TA2_t *tA2 /* OPTIONAL */; + long gnssTOID; + long *weekNumber /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSTimeModelElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSTimeModelElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSTimeModelElement_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSTimeModelElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSTimeModelElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSTimeModelElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSTimeModelElement_1[6]; #ifdef __cplusplus } #endif -#endif /* _GANSSTimeModelElement_H_ */ +#endif /* _GANSSTimeModelElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GANSSUTCModel.h b/src/core/libs/supl2/asn-rrlp/GANSSUTCModel.h index d919766f2..f31de0c5f 100644 --- a/src/core/libs/supl2/asn-rrlp/GANSSUTCModel.h +++ b/src/core/libs/supl2/asn-rrlp/GANSSUTCModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GANSSUTCModel_H_ -#define _GANSSUTCModel_H_ +#ifndef _GANSSUTCModel_H_ +#define _GANSSUTCModel_H_ #include @@ -15,32 +15,34 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSUTCModel */ -typedef struct GANSSUTCModel { - long ganssUtcA1; - long ganssUtcA0; - long ganssUtcTot; - long ganssUtcWNt; - long ganssUtcDeltaTls; - long ganssUtcWNlsf; - long ganssUtcDN; - long ganssUtcDeltaTlsf; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSUTCModel_t; + /* GANSSUTCModel */ + typedef struct GANSSUTCModel + { + long ganssUtcA1; + long ganssUtcA0; + long ganssUtcTot; + long ganssUtcWNt; + long ganssUtcDeltaTls; + long ganssUtcWNlsf; + long ganssUtcDN; + long ganssUtcDeltaTlsf; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSUTCModel; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSUTCModel_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSUTCModel_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSUTCModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSUTCModel; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSUTCModel_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSUTCModel_1[8]; #ifdef __cplusplus } #endif -#endif /* _GANSSUTCModel_H_ */ +#endif /* _GANSSUTCModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPS-AssistData.h b/src/core/libs/supl2/asn-rrlp/GPS-AssistData.h index e283d0c64..14e5dc73f 100644 --- a/src/core/libs/supl2/asn-rrlp/GPS-AssistData.h +++ b/src/core/libs/supl2/asn-rrlp/GPS-AssistData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPS_AssistData_H_ -#define _GPS_AssistData_H_ +#ifndef _GPS_AssistData_H_ +#define _GPS_AssistData_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPS-AssistData */ -typedef struct GPS_AssistData { - ControlHeader_t controlHeader; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPS_AssistData_t; + /* GPS-AssistData */ + typedef struct GPS_AssistData + { + ControlHeader_t controlHeader; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPS_AssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_GPS_AssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_GPS_AssistData_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPS_AssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPS_AssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_GPS_AssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_GPS_AssistData_1[1]; #ifdef __cplusplus } #endif -#endif /* _GPS_AssistData_H_ */ +#endif /* _GPS_AssistData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPS-MeasureInfo.h b/src/core/libs/supl2/asn-rrlp/GPS-MeasureInfo.h index d81450857..14153d55e 100644 --- a/src/core/libs/supl2/asn-rrlp/GPS-MeasureInfo.h +++ b/src/core/libs/supl2/asn-rrlp/GPS-MeasureInfo.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPS_MeasureInfo_H_ -#define _GPS_MeasureInfo_H_ +#ifndef _GPS_MeasureInfo_H_ +#define _GPS_MeasureInfo_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPS-MeasureInfo */ -typedef struct GPS_MeasureInfo { - SeqOfGPS_MsrSetElement_t gpsMsrSetList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPS_MeasureInfo_t; + /* GPS-MeasureInfo */ + typedef struct GPS_MeasureInfo + { + SeqOfGPS_MsrSetElement_t gpsMsrSetList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPS_MeasureInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_GPS_MeasureInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_GPS_MeasureInfo_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPS_MeasureInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPS_MeasureInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_GPS_MeasureInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_GPS_MeasureInfo_1[1]; #ifdef __cplusplus } #endif -#endif /* _GPS_MeasureInfo_H_ */ +#endif /* _GPS_MeasureInfo_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPS-MsrElement.h b/src/core/libs/supl2/asn-rrlp/GPS-MsrElement.h index 51b016507..d8fd88867 100644 --- a/src/core/libs/supl2/asn-rrlp/GPS-MsrElement.h +++ b/src/core/libs/supl2/asn-rrlp/GPS-MsrElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPS_MsrElement_H_ -#define _GPS_MsrElement_H_ +#ifndef _GPS_MsrElement_H_ +#define _GPS_MsrElement_H_ #include @@ -17,31 +17,33 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPS-MsrElement */ -typedef struct GPS_MsrElement { - SatelliteID_t satelliteID; - long cNo; - long doppler; - long wholeChips; - long fracChips; - MpathIndic_t mpathIndic; - long pseuRangeRMSErr; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPS_MsrElement_t; + /* GPS-MsrElement */ + typedef struct GPS_MsrElement + { + SatelliteID_t satelliteID; + long cNo; + long doppler; + long wholeChips; + long fracChips; + MpathIndic_t mpathIndic; + long pseuRangeRMSErr; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPS_MsrElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GPS_MsrElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GPS_MsrElement_1[7]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPS_MsrElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPS_MsrElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GPS_MsrElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GPS_MsrElement_1[7]; #ifdef __cplusplus } #endif -#endif /* _GPS_MsrElement_H_ */ +#endif /* _GPS_MsrElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPS-MsrSetElement.h b/src/core/libs/supl2/asn-rrlp/GPS-MsrSetElement.h index 616457e17..f8b572d10 100644 --- a/src/core/libs/supl2/asn-rrlp/GPS-MsrSetElement.h +++ b/src/core/libs/supl2/asn-rrlp/GPS-MsrSetElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPS_MsrSetElement_H_ -#define _GPS_MsrSetElement_H_ +#ifndef _GPS_MsrSetElement_H_ +#define _GPS_MsrSetElement_H_ #include @@ -17,27 +17,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPS-MsrSetElement */ -typedef struct GPS_MsrSetElement { - long *refFrame /* OPTIONAL */; - GPSTOW24b_t gpsTOW; - SeqOfGPS_MsrElement_t gps_msrList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPS_MsrSetElement_t; + /* GPS-MsrSetElement */ + typedef struct GPS_MsrSetElement + { + long *refFrame /* OPTIONAL */; + GPSTOW24b_t gpsTOW; + SeqOfGPS_MsrElement_t gps_msrList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPS_MsrSetElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GPS_MsrSetElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GPS_MsrSetElement_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPS_MsrSetElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPS_MsrSetElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GPS_MsrSetElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GPS_MsrSetElement_1[3]; #ifdef __cplusplus } #endif -#endif /* _GPS_MsrSetElement_H_ */ +#endif /* _GPS_MsrSetElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSAssistanceData.h b/src/core/libs/supl2/asn-rrlp/GPSAssistanceData.h index 5ad25fef0..921edbc17 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSAssistanceData.h +++ b/src/core/libs/supl2/asn-rrlp/GPSAssistanceData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSAssistanceData_H_ -#define _GPSAssistanceData_H_ +#ifndef _GPSAssistanceData_H_ +#define _GPSAssistanceData_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSAssistanceData */ -typedef OCTET_STRING_t GPSAssistanceData_t; + /* GPSAssistanceData */ + typedef OCTET_STRING_t GPSAssistanceData_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GPSAssistanceData_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GPSAssistanceData; -asn_struct_free_f GPSAssistanceData_free; -asn_struct_print_f GPSAssistanceData_print; -asn_constr_check_f GPSAssistanceData_constraint; -ber_type_decoder_f GPSAssistanceData_decode_ber; -der_type_encoder_f GPSAssistanceData_encode_der; -xer_type_decoder_f GPSAssistanceData_decode_xer; -xer_type_encoder_f GPSAssistanceData_encode_xer; -oer_type_decoder_f GPSAssistanceData_decode_oer; -oer_type_encoder_f GPSAssistanceData_encode_oer; -per_type_decoder_f GPSAssistanceData_decode_uper; -per_type_encoder_f GPSAssistanceData_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GPSAssistanceData_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GPSAssistanceData; + asn_struct_free_f GPSAssistanceData_free; + asn_struct_print_f GPSAssistanceData_print; + asn_constr_check_f GPSAssistanceData_constraint; + ber_type_decoder_f GPSAssistanceData_decode_ber; + der_type_encoder_f GPSAssistanceData_encode_der; + xer_type_decoder_f GPSAssistanceData_decode_xer; + xer_type_encoder_f GPSAssistanceData_encode_xer; + oer_type_decoder_f GPSAssistanceData_decode_oer; + oer_type_encoder_f GPSAssistanceData_encode_oer; + per_type_decoder_f GPSAssistanceData_decode_uper; + per_type_encoder_f GPSAssistanceData_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GPSAssistanceData_H_ */ +#endif /* _GPSAssistanceData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSReferenceTimeUncertainty.h b/src/core/libs/supl2/asn-rrlp/GPSReferenceTimeUncertainty.h index aaf04c4e1..234cf3e95 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSReferenceTimeUncertainty.h +++ b/src/core/libs/supl2/asn-rrlp/GPSReferenceTimeUncertainty.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSReferenceTimeUncertainty_H_ -#define _GPSReferenceTimeUncertainty_H_ +#ifndef _GPSReferenceTimeUncertainty_H_ +#define _GPSReferenceTimeUncertainty_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSReferenceTimeUncertainty */ -typedef long GPSReferenceTimeUncertainty_t; + /* GPSReferenceTimeUncertainty */ + typedef long GPSReferenceTimeUncertainty_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GPSReferenceTimeUncertainty_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GPSReferenceTimeUncertainty; -asn_struct_free_f GPSReferenceTimeUncertainty_free; -asn_struct_print_f GPSReferenceTimeUncertainty_print; -asn_constr_check_f GPSReferenceTimeUncertainty_constraint; -ber_type_decoder_f GPSReferenceTimeUncertainty_decode_ber; -der_type_encoder_f GPSReferenceTimeUncertainty_encode_der; -xer_type_decoder_f GPSReferenceTimeUncertainty_decode_xer; -xer_type_encoder_f GPSReferenceTimeUncertainty_encode_xer; -oer_type_decoder_f GPSReferenceTimeUncertainty_decode_oer; -oer_type_encoder_f GPSReferenceTimeUncertainty_encode_oer; -per_type_decoder_f GPSReferenceTimeUncertainty_decode_uper; -per_type_encoder_f GPSReferenceTimeUncertainty_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GPSReferenceTimeUncertainty_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GPSReferenceTimeUncertainty; + asn_struct_free_f GPSReferenceTimeUncertainty_free; + asn_struct_print_f GPSReferenceTimeUncertainty_print; + asn_constr_check_f GPSReferenceTimeUncertainty_constraint; + ber_type_decoder_f GPSReferenceTimeUncertainty_decode_ber; + der_type_encoder_f GPSReferenceTimeUncertainty_encode_der; + xer_type_decoder_f GPSReferenceTimeUncertainty_decode_xer; + xer_type_encoder_f GPSReferenceTimeUncertainty_encode_xer; + oer_type_decoder_f GPSReferenceTimeUncertainty_decode_oer; + oer_type_encoder_f GPSReferenceTimeUncertainty_encode_oer; + per_type_decoder_f GPSReferenceTimeUncertainty_decode_uper; + per_type_encoder_f GPSReferenceTimeUncertainty_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GPSReferenceTimeUncertainty_H_ */ +#endif /* _GPSReferenceTimeUncertainty_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSTOW23b.h b/src/core/libs/supl2/asn-rrlp/GPSTOW23b.h index c68354a11..910c78f30 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSTOW23b.h +++ b/src/core/libs/supl2/asn-rrlp/GPSTOW23b.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSTOW23b_H_ -#define _GPSTOW23b_H_ +#ifndef _GPSTOW23b_H_ +#define _GPSTOW23b_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSTOW23b */ -typedef long GPSTOW23b_t; + /* GPSTOW23b */ + typedef long GPSTOW23b_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GPSTOW23b_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GPSTOW23b; -asn_struct_free_f GPSTOW23b_free; -asn_struct_print_f GPSTOW23b_print; -asn_constr_check_f GPSTOW23b_constraint; -ber_type_decoder_f GPSTOW23b_decode_ber; -der_type_encoder_f GPSTOW23b_encode_der; -xer_type_decoder_f GPSTOW23b_decode_xer; -xer_type_encoder_f GPSTOW23b_encode_xer; -oer_type_decoder_f GPSTOW23b_decode_oer; -oer_type_encoder_f GPSTOW23b_encode_oer; -per_type_decoder_f GPSTOW23b_decode_uper; -per_type_encoder_f GPSTOW23b_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GPSTOW23b_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GPSTOW23b; + asn_struct_free_f GPSTOW23b_free; + asn_struct_print_f GPSTOW23b_print; + asn_constr_check_f GPSTOW23b_constraint; + ber_type_decoder_f GPSTOW23b_decode_ber; + der_type_encoder_f GPSTOW23b_encode_der; + xer_type_decoder_f GPSTOW23b_decode_xer; + xer_type_encoder_f GPSTOW23b_encode_xer; + oer_type_decoder_f GPSTOW23b_decode_oer; + oer_type_encoder_f GPSTOW23b_encode_oer; + per_type_decoder_f GPSTOW23b_decode_uper; + per_type_encoder_f GPSTOW23b_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GPSTOW23b_H_ */ +#endif /* _GPSTOW23b_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSTOW24b.h b/src/core/libs/supl2/asn-rrlp/GPSTOW24b.h index 5c52e373c..4bb6cee1f 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSTOW24b.h +++ b/src/core/libs/supl2/asn-rrlp/GPSTOW24b.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSTOW24b_H_ -#define _GPSTOW24b_H_ +#ifndef _GPSTOW24b_H_ +#define _GPSTOW24b_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSTOW24b */ -typedef long GPSTOW24b_t; + /* GPSTOW24b */ + typedef long GPSTOW24b_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GPSTOW24b_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GPSTOW24b; -asn_struct_free_f GPSTOW24b_free; -asn_struct_print_f GPSTOW24b_print; -asn_constr_check_f GPSTOW24b_constraint; -ber_type_decoder_f GPSTOW24b_decode_ber; -der_type_encoder_f GPSTOW24b_encode_der; -xer_type_decoder_f GPSTOW24b_decode_xer; -xer_type_encoder_f GPSTOW24b_encode_xer; -oer_type_decoder_f GPSTOW24b_decode_oer; -oer_type_encoder_f GPSTOW24b_encode_oer; -per_type_decoder_f GPSTOW24b_decode_uper; -per_type_encoder_f GPSTOW24b_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GPSTOW24b_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GPSTOW24b; + asn_struct_free_f GPSTOW24b_free; + asn_struct_print_f GPSTOW24b_print; + asn_constr_check_f GPSTOW24b_constraint; + ber_type_decoder_f GPSTOW24b_decode_ber; + der_type_encoder_f GPSTOW24b_encode_der; + xer_type_decoder_f GPSTOW24b_decode_xer; + xer_type_encoder_f GPSTOW24b_encode_xer; + oer_type_decoder_f GPSTOW24b_decode_oer; + oer_type_encoder_f GPSTOW24b_encode_oer; + per_type_decoder_f GPSTOW24b_decode_uper; + per_type_encoder_f GPSTOW24b_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GPSTOW24b_H_ */ +#endif /* _GPSTOW24b_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSTOWAssist.h b/src/core/libs/supl2/asn-rrlp/GPSTOWAssist.h index 97736b3bd..77f8c1ff6 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSTOWAssist.h +++ b/src/core/libs/supl2/asn-rrlp/GPSTOWAssist.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSTOWAssist_H_ -#define _GPSTOWAssist_H_ +#ifndef _GPSTOWAssist_H_ +#define _GPSTOWAssist_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GPSTOWAssistElement; + /* Forward declarations */ + struct GPSTOWAssistElement; -/* GPSTOWAssist */ -typedef struct GPSTOWAssist { - A_SEQUENCE_OF(struct GPSTOWAssistElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPSTOWAssist_t; + /* GPSTOWAssist */ + typedef struct GPSTOWAssist + { + A_SEQUENCE_OF(struct GPSTOWAssistElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPSTOWAssist; -extern asn_SET_OF_specifics_t asn_SPC_GPSTOWAssist_specs_1; -extern asn_TYPE_member_t asn_MBR_GPSTOWAssist_1[1]; -extern asn_per_constraints_t asn_PER_type_GPSTOWAssist_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPSTOWAssist_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPSTOWAssist; + extern asn_SET_OF_specifics_t asn_SPC_GPSTOWAssist_specs_1; + extern asn_TYPE_member_t asn_MBR_GPSTOWAssist_1[1]; + extern asn_per_constraints_t asn_PER_type_GPSTOWAssist_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_GPSTOWAssist_constr_1; /* Referred external types */ #include "GPSTOWAssistElement.h" -#endif /* _GPSTOWAssist_H_ */ +#endif /* _GPSTOWAssist_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSTOWAssistElement.h b/src/core/libs/supl2/asn-rrlp/GPSTOWAssistElement.h index 9c4998dec..fe33a4b29 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSTOWAssistElement.h +++ b/src/core/libs/supl2/asn-rrlp/GPSTOWAssistElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSTOWAssistElement_H_ -#define _GPSTOWAssistElement_H_ +#ifndef _GPSTOWAssistElement_H_ +#define _GPSTOWAssistElement_H_ #include @@ -19,29 +19,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSTOWAssistElement */ -typedef struct GPSTOWAssistElement { - SatelliteID_t satelliteID; - TLMWord_t tlmWord; - AntiSpoofFlag_t antiSpoof; - AlertFlag_t alert; - TLMReservedBits_t tlmRsvdBits; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPSTOWAssistElement_t; + /* GPSTOWAssistElement */ + typedef struct GPSTOWAssistElement + { + SatelliteID_t satelliteID; + TLMWord_t tlmWord; + AntiSpoofFlag_t antiSpoof; + AlertFlag_t alert; + TLMReservedBits_t tlmRsvdBits; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPSTOWAssistElement; -extern asn_SEQUENCE_specifics_t asn_SPC_GPSTOWAssistElement_specs_1; -extern asn_TYPE_member_t asn_MBR_GPSTOWAssistElement_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPSTOWAssistElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPSTOWAssistElement; + extern asn_SEQUENCE_specifics_t asn_SPC_GPSTOWAssistElement_specs_1; + extern asn_TYPE_member_t asn_MBR_GPSTOWAssistElement_1[5]; #ifdef __cplusplus } #endif -#endif /* _GPSTOWAssistElement_H_ */ +#endif /* _GPSTOWAssistElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSTime.h b/src/core/libs/supl2/asn-rrlp/GPSTime.h index 519dd561e..629ff5163 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSTime.h +++ b/src/core/libs/supl2/asn-rrlp/GPSTime.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSTime_H_ -#define _GPSTime_H_ +#ifndef _GPSTime_H_ +#define _GPSTime_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSTime */ -typedef struct GPSTime { - GPSTOW23b_t gpsTOW23b; - GPSWeek_t gpsWeek; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPSTime_t; + /* GPSTime */ + typedef struct GPSTime + { + GPSTOW23b_t gpsTOW23b; + GPSWeek_t gpsWeek; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPSTime; -extern asn_SEQUENCE_specifics_t asn_SPC_GPSTime_specs_1; -extern asn_TYPE_member_t asn_MBR_GPSTime_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPSTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPSTime; + extern asn_SEQUENCE_specifics_t asn_SPC_GPSTime_specs_1; + extern asn_TYPE_member_t asn_MBR_GPSTime_1[2]; #ifdef __cplusplus } #endif -#endif /* _GPSTime_H_ */ +#endif /* _GPSTime_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSTimeAssistanceMeasurements.h b/src/core/libs/supl2/asn-rrlp/GPSTimeAssistanceMeasurements.h index 0ac4c1ff8..376fc0b57 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSTimeAssistanceMeasurements.h +++ b/src/core/libs/supl2/asn-rrlp/GPSTimeAssistanceMeasurements.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSTimeAssistanceMeasurements_H_ -#define _GPSTimeAssistanceMeasurements_H_ +#ifndef _GPSTimeAssistanceMeasurements_H_ +#define _GPSTimeAssistanceMeasurements_H_ #include @@ -16,28 +16,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSTimeAssistanceMeasurements */ -typedef struct GPSTimeAssistanceMeasurements { - long referenceFrameMSB; - long *gpsTowSubms /* OPTIONAL */; - long *deltaTow /* OPTIONAL */; - GPSReferenceTimeUncertainty_t *gpsReferenceTimeUncertainty /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPSTimeAssistanceMeasurements_t; + /* GPSTimeAssistanceMeasurements */ + typedef struct GPSTimeAssistanceMeasurements + { + long referenceFrameMSB; + long *gpsTowSubms /* OPTIONAL */; + long *deltaTow /* OPTIONAL */; + GPSReferenceTimeUncertainty_t *gpsReferenceTimeUncertainty /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPSTimeAssistanceMeasurements; -extern asn_SEQUENCE_specifics_t asn_SPC_GPSTimeAssistanceMeasurements_specs_1; -extern asn_TYPE_member_t asn_MBR_GPSTimeAssistanceMeasurements_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPSTimeAssistanceMeasurements_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPSTimeAssistanceMeasurements; + extern asn_SEQUENCE_specifics_t asn_SPC_GPSTimeAssistanceMeasurements_specs_1; + extern asn_TYPE_member_t asn_MBR_GPSTimeAssistanceMeasurements_1[4]; #ifdef __cplusplus } #endif -#endif /* _GPSTimeAssistanceMeasurements_H_ */ +#endif /* _GPSTimeAssistanceMeasurements_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GPSWeek.h b/src/core/libs/supl2/asn-rrlp/GPSWeek.h index b4dc76b8b..83d95dea7 100644 --- a/src/core/libs/supl2/asn-rrlp/GPSWeek.h +++ b/src/core/libs/supl2/asn-rrlp/GPSWeek.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GPSWeek_H_ -#define _GPSWeek_H_ +#ifndef _GPSWeek_H_ +#define _GPSWeek_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSWeek */ -typedef long GPSWeek_t; + /* GPSWeek */ + typedef long GPSWeek_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GPSWeek_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GPSWeek; -asn_struct_free_f GPSWeek_free; -asn_struct_print_f GPSWeek_print; -asn_constr_check_f GPSWeek_constraint; -ber_type_decoder_f GPSWeek_decode_ber; -der_type_encoder_f GPSWeek_encode_der; -xer_type_decoder_f GPSWeek_decode_xer; -xer_type_encoder_f GPSWeek_encode_xer; -oer_type_decoder_f GPSWeek_decode_oer; -oer_type_encoder_f GPSWeek_encode_oer; -per_type_decoder_f GPSWeek_decode_uper; -per_type_encoder_f GPSWeek_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GPSWeek_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GPSWeek; + asn_struct_free_f GPSWeek_free; + asn_struct_print_f GPSWeek_print; + asn_constr_check_f GPSWeek_constraint; + ber_type_decoder_f GPSWeek_decode_ber; + der_type_encoder_f GPSWeek_encode_der; + xer_type_decoder_f GPSWeek_decode_xer; + xer_type_encoder_f GPSWeek_encode_xer; + oer_type_decoder_f GPSWeek_decode_oer; + oer_type_encoder_f GPSWeek_encode_oer; + per_type_decoder_f GPSWeek_decode_uper; + per_type_encoder_f GPSWeek_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GPSWeek_H_ */ +#endif /* _GPSWeek_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/GSMTime.h b/src/core/libs/supl2/asn-rrlp/GSMTime.h index 6f5ae94ef..047bc12c4 100644 --- a/src/core/libs/supl2/asn-rrlp/GSMTime.h +++ b/src/core/libs/supl2/asn-rrlp/GSMTime.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _GSMTime_H_ -#define _GSMTime_H_ +#ifndef _GSMTime_H_ +#define _GSMTime_H_ #include @@ -19,29 +19,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GSMTime */ -typedef struct GSMTime { - BCCHCarrier_t bcchCarrier; - BSIC_t bsic; - FrameNumber_t frameNumber; - TimeSlot_t timeSlot; - BitNumber_t bitNumber; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GSMTime_t; + /* GSMTime */ + typedef struct GSMTime + { + BCCHCarrier_t bcchCarrier; + BSIC_t bsic; + FrameNumber_t frameNumber; + TimeSlot_t timeSlot; + BitNumber_t bitNumber; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GSMTime; -extern asn_SEQUENCE_specifics_t asn_SPC_GSMTime_specs_1; -extern asn_TYPE_member_t asn_MBR_GSMTime_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GSMTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GSMTime; + extern asn_SEQUENCE_specifics_t asn_SPC_GSMTime_specs_1; + extern asn_TYPE_member_t asn_MBR_GSMTime_1[5]; #ifdef __cplusplus } #endif -#endif /* _GSMTime_H_ */ +#endif /* _GSMTime_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/INTEGER.h b/src/core/libs/supl2/asn-rrlp/INTEGER.h index cc760ffa9..2a8702b66 100644 --- a/src/core/libs/supl2/asn-rrlp/INTEGER.h +++ b/src/core/libs/supl2/asn-rrlp/INTEGER.h @@ -2,58 +2,61 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _INTEGER_H_ -#define _INTEGER_H_ +#ifndef _INTEGER_H_ +#define _INTEGER_H_ #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef ASN__PRIMITIVE_TYPE_t INTEGER_t; + typedef ASN__PRIMITIVE_TYPE_t INTEGER_t; -extern asn_TYPE_descriptor_t asn_DEF_INTEGER; -extern asn_TYPE_operation_t asn_OP_INTEGER; + extern asn_TYPE_descriptor_t asn_DEF_INTEGER; + extern asn_TYPE_operation_t asn_OP_INTEGER; -/* Map with to integer value association */ -typedef struct asn_INTEGER_enum_map_s { - long nat_value; /* associated native integer value */ - size_t enum_len; /* strlen("tag") */ - const char *enum_name; /* "tag" */ -} asn_INTEGER_enum_map_t; + /* Map with to integer value association */ + typedef struct asn_INTEGER_enum_map_s + { + long nat_value; /* associated native integer value */ + size_t enum_len; /* strlen("tag") */ + const char *enum_name; /* "tag" */ + } asn_INTEGER_enum_map_t; -/* This type describes an enumeration for INTEGER and ENUMERATED types */ -typedef struct asn_INTEGER_specifics_s { - const asn_INTEGER_enum_map_t *value2enum; /* N -> "tag"; sorted by N */ - const unsigned int *enum2value; /* "tag" => N; sorted by tag */ - int map_count; /* Elements in either map */ - int extension; /* This map is extensible */ - int strict_enumeration; /* Enumeration set is fixed */ - int field_width; /* Size of native integer */ - int field_unsigned; /* Signed=0, unsigned=1 */ -} asn_INTEGER_specifics_t; + /* This type describes an enumeration for INTEGER and ENUMERATED types */ + typedef struct asn_INTEGER_specifics_s + { + const asn_INTEGER_enum_map_t *value2enum; /* N -> "tag"; sorted by N */ + const unsigned int *enum2value; /* "tag" => N; sorted by tag */ + int map_count; /* Elements in either map */ + int extension; /* This map is extensible */ + int strict_enumeration; /* Enumeration set is fixed */ + int field_width; /* Size of native integer */ + int field_unsigned; /* Signed=0, unsigned=1 */ + } asn_INTEGER_specifics_t; -#define INTEGER_free ASN__PRIMITIVE_TYPE_free -#define INTEGER_decode_ber ber_decode_primitive -#define INTEGER_constraint asn_generic_no_constraint -asn_struct_print_f INTEGER_print; -asn_struct_compare_f INTEGER_compare; -der_type_encoder_f INTEGER_encode_der; -xer_type_decoder_f INTEGER_decode_xer; -xer_type_encoder_f INTEGER_encode_xer; -oer_type_decoder_f INTEGER_decode_oer; -oer_type_encoder_f INTEGER_encode_oer; -per_type_decoder_f INTEGER_decode_uper; -per_type_encoder_f INTEGER_encode_uper; -asn_random_fill_f INTEGER_random_fill; +#define INTEGER_free ASN__PRIMITIVE_TYPE_free +#define INTEGER_decode_ber ber_decode_primitive +#define INTEGER_constraint asn_generic_no_constraint + asn_struct_print_f INTEGER_print; + asn_struct_compare_f INTEGER_compare; + der_type_encoder_f INTEGER_encode_der; + xer_type_decoder_f INTEGER_decode_xer; + xer_type_encoder_f INTEGER_encode_xer; + oer_type_decoder_f INTEGER_decode_oer; + oer_type_encoder_f INTEGER_encode_oer; + per_type_decoder_f INTEGER_decode_uper; + per_type_encoder_f INTEGER_encode_uper; + asn_random_fill_f INTEGER_random_fill; -/*********************************** + /*********************************** * Some handy conversion routines. * ***********************************/ -/* + /* * Natiwe size-independent conversion of native integers to/from INTEGER. * (l_size) is in bytes. * Returns 0 if it was possible to convert, -1 otherwise. @@ -61,44 +64,45 @@ asn_random_fill_f INTEGER_random_fill; * -1/ERANGE: Value encoded is out of range for long representation * -1/ENOMEM: Memory allocation failed (in asn_*2INTEGER()). */ -int asn_INTEGER2imax(const INTEGER_t *i, intmax_t *l); -int asn_INTEGER2umax(const INTEGER_t *i, uintmax_t *l); -int asn_imax2INTEGER(INTEGER_t *i, intmax_t l); -int asn_umax2INTEGER(INTEGER_t *i, uintmax_t l); + int asn_INTEGER2imax(const INTEGER_t *i, intmax_t *l); + int asn_INTEGER2umax(const INTEGER_t *i, uintmax_t *l); + int asn_imax2INTEGER(INTEGER_t *i, intmax_t l); + int asn_umax2INTEGER(INTEGER_t *i, uintmax_t l); -/* + /* * Size-specific conversion helpers. */ -int asn_INTEGER2long(const INTEGER_t *i, long *l); -int asn_INTEGER2ulong(const INTEGER_t *i, unsigned long *l); -int asn_long2INTEGER(INTEGER_t *i, long l); -int asn_ulong2INTEGER(INTEGER_t *i, unsigned long l); + int asn_INTEGER2long(const INTEGER_t *i, long *l); + int asn_INTEGER2ulong(const INTEGER_t *i, unsigned long *l); + int asn_long2INTEGER(INTEGER_t *i, long l); + int asn_ulong2INTEGER(INTEGER_t *i, unsigned long l); -/* A version of strtol/strtoimax(3) with nicer error reporting. */ -enum asn_strtox_result_e { - ASN_STRTOX_ERROR_RANGE = -3, /* Input outside of supported numeric range */ - ASN_STRTOX_ERROR_INVAL = -2, /* Invalid data encountered (e.g., "+-") */ - ASN_STRTOX_EXPECT_MORE = -1, /* More data expected (e.g. "+") */ - ASN_STRTOX_OK = 0, /* Conversion succeded, number ends at (*end) */ - ASN_STRTOX_EXTRA_DATA = 1 /* Conversion succeded, but the string has extra stuff */ -}; -enum asn_strtox_result_e asn_strtol_lim(const char *str, const char **end, - long *l); -enum asn_strtox_result_e asn_strtoul_lim(const char *str, const char **end, - unsigned long *l); -enum asn_strtox_result_e asn_strtoimax_lim(const char *str, const char **end, - intmax_t *l); -enum asn_strtox_result_e asn_strtoumax_lim(const char *str, const char **end, - uintmax_t *l); + /* A version of strtol/strtoimax(3) with nicer error reporting. */ + enum asn_strtox_result_e + { + ASN_STRTOX_ERROR_RANGE = -3, /* Input outside of supported numeric range */ + ASN_STRTOX_ERROR_INVAL = -2, /* Invalid data encountered (e.g., "+-") */ + ASN_STRTOX_EXPECT_MORE = -1, /* More data expected (e.g. "+") */ + ASN_STRTOX_OK = 0, /* Conversion succeded, number ends at (*end) */ + ASN_STRTOX_EXTRA_DATA = 1 /* Conversion succeded, but the string has extra stuff */ + }; + enum asn_strtox_result_e asn_strtol_lim(const char *str, const char **end, + long *l); + enum asn_strtox_result_e asn_strtoul_lim(const char *str, const char **end, + unsigned long *l); + enum asn_strtox_result_e asn_strtoimax_lim(const char *str, const char **end, + intmax_t *l); + enum asn_strtox_result_e asn_strtoumax_lim(const char *str, const char **end, + uintmax_t *l); -/* + /* * Convert the integer value into the corresponding enumeration map entry. */ -const asn_INTEGER_enum_map_t *INTEGER_map_value2enum( - const asn_INTEGER_specifics_t *specs, long value); + const asn_INTEGER_enum_map_t *INTEGER_map_value2enum( + const asn_INTEGER_specifics_t *specs, long value); #ifdef __cplusplus } #endif -#endif /* _INTEGER_H_ */ +#endif /* _INTEGER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/IonosphericModel.h b/src/core/libs/supl2/asn-rrlp/IonosphericModel.h index 5ec3daf2a..5b4f68185 100644 --- a/src/core/libs/supl2/asn-rrlp/IonosphericModel.h +++ b/src/core/libs/supl2/asn-rrlp/IonosphericModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _IonosphericModel_H_ -#define _IonosphericModel_H_ +#ifndef _IonosphericModel_H_ +#define _IonosphericModel_H_ #include @@ -15,32 +15,34 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* IonosphericModel */ -typedef struct IonosphericModel { - long alfa0; - long alfa1; - long alfa2; - long alfa3; - long beta0; - long beta1; - long beta2; - long beta3; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IonosphericModel_t; + /* IonosphericModel */ + typedef struct IonosphericModel + { + long alfa0; + long alfa1; + long alfa2; + long alfa3; + long beta0; + long beta1; + long beta2; + long beta3; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IonosphericModel; -extern asn_SEQUENCE_specifics_t asn_SPC_IonosphericModel_specs_1; -extern asn_TYPE_member_t asn_MBR_IonosphericModel_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } IonosphericModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_IonosphericModel; + extern asn_SEQUENCE_specifics_t asn_SPC_IonosphericModel_specs_1; + extern asn_TYPE_member_t asn_MBR_IonosphericModel_1[8]; #ifdef __cplusplus } #endif -#endif /* _IonosphericModel_H_ */ +#endif /* _IonosphericModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/LAC.h b/src/core/libs/supl2/asn-rrlp/LAC.h index 21286e390..3bf98c791 100644 --- a/src/core/libs/supl2/asn-rrlp/LAC.h +++ b/src/core/libs/supl2/asn-rrlp/LAC.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _LAC_H_ -#define _LAC_H_ +#ifndef _LAC_H_ +#define _LAC_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* LAC */ -typedef long LAC_t; + /* LAC */ + typedef long LAC_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_LAC_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_LAC; -asn_struct_free_f LAC_free; -asn_struct_print_f LAC_print; -asn_constr_check_f LAC_constraint; -ber_type_decoder_f LAC_decode_ber; -der_type_encoder_f LAC_encode_der; -xer_type_decoder_f LAC_decode_xer; -xer_type_encoder_f LAC_encode_xer; -oer_type_decoder_f LAC_decode_oer; -oer_type_encoder_f LAC_encode_oer; -per_type_decoder_f LAC_decode_uper; -per_type_encoder_f LAC_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_LAC_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_LAC; + asn_struct_free_f LAC_free; + asn_struct_print_f LAC_print; + asn_constr_check_f LAC_constraint; + ber_type_decoder_f LAC_decode_ber; + der_type_encoder_f LAC_encode_der; + xer_type_decoder_f LAC_decode_xer; + xer_type_encoder_f LAC_encode_xer; + oer_type_decoder_f LAC_decode_oer; + oer_type_encoder_f LAC_encode_oer; + per_type_decoder_f LAC_decode_uper; + per_type_encoder_f LAC_encode_uper; #ifdef __cplusplus } #endif -#endif /* _LAC_H_ */ +#endif /* _LAC_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/LocErrorReason.h b/src/core/libs/supl2/asn-rrlp/LocErrorReason.h index 11557f78c..f4dc2821f 100644 --- a/src/core/libs/supl2/asn-rrlp/LocErrorReason.h +++ b/src/core/libs/supl2/asn-rrlp/LocErrorReason.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _LocErrorReason_H_ -#define _LocErrorReason_H_ +#ifndef _LocErrorReason_H_ +#define _LocErrorReason_H_ #include @@ -14,52 +14,54 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum LocErrorReason { - LocErrorReason_unDefined = 0, - LocErrorReason_notEnoughBTSs = 1, - LocErrorReason_notEnoughSats = 2, - LocErrorReason_eotdLocCalAssDataMissing = 3, - LocErrorReason_eotdAssDataMissing = 4, - LocErrorReason_gpsLocCalAssDataMissing = 5, - LocErrorReason_gpsAssDataMissing = 6, - LocErrorReason_methodNotSupported = 7, - LocErrorReason_notProcessed = 8, - LocErrorReason_refBTSForGPSNotServingBTS = 9, - LocErrorReason_refBTSForEOTDNotServingBTS = 10, - /* + /* Dependencies */ + typedef enum LocErrorReason + { + LocErrorReason_unDefined = 0, + LocErrorReason_notEnoughBTSs = 1, + LocErrorReason_notEnoughSats = 2, + LocErrorReason_eotdLocCalAssDataMissing = 3, + LocErrorReason_eotdAssDataMissing = 4, + LocErrorReason_gpsLocCalAssDataMissing = 5, + LocErrorReason_gpsAssDataMissing = 6, + LocErrorReason_methodNotSupported = 7, + LocErrorReason_notProcessed = 8, + LocErrorReason_refBTSForGPSNotServingBTS = 9, + LocErrorReason_refBTSForEOTDNotServingBTS = 10, + /* * Enumeration is extensible */ - LocErrorReason_notEnoughGANSSSats = 11, - LocErrorReason_ganssAssDataMissing = 12, - LocErrorReason_refBTSForGANSSNotServingBTS = 13 -} e_LocErrorReason; + LocErrorReason_notEnoughGANSSSats = 11, + LocErrorReason_ganssAssDataMissing = 12, + LocErrorReason_refBTSForGANSSNotServingBTS = 13 + } e_LocErrorReason; -/* LocErrorReason */ -typedef long LocErrorReason_t; + /* LocErrorReason */ + typedef long LocErrorReason_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_LocErrorReason_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_LocErrorReason; -extern const asn_INTEGER_specifics_t asn_SPC_LocErrorReason_specs_1; -asn_struct_free_f LocErrorReason_free; -asn_struct_print_f LocErrorReason_print; -asn_constr_check_f LocErrorReason_constraint; -ber_type_decoder_f LocErrorReason_decode_ber; -der_type_encoder_f LocErrorReason_encode_der; -xer_type_decoder_f LocErrorReason_decode_xer; -xer_type_encoder_f LocErrorReason_encode_xer; -oer_type_decoder_f LocErrorReason_decode_oer; -oer_type_encoder_f LocErrorReason_encode_oer; -per_type_decoder_f LocErrorReason_decode_uper; -per_type_encoder_f LocErrorReason_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_LocErrorReason_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_LocErrorReason; + extern const asn_INTEGER_specifics_t asn_SPC_LocErrorReason_specs_1; + asn_struct_free_f LocErrorReason_free; + asn_struct_print_f LocErrorReason_print; + asn_constr_check_f LocErrorReason_constraint; + ber_type_decoder_f LocErrorReason_decode_ber; + der_type_encoder_f LocErrorReason_encode_der; + xer_type_decoder_f LocErrorReason_decode_xer; + xer_type_encoder_f LocErrorReason_encode_xer; + oer_type_decoder_f LocErrorReason_decode_oer; + oer_type_encoder_f LocErrorReason_encode_oer; + per_type_decoder_f LocErrorReason_decode_uper; + per_type_encoder_f LocErrorReason_encode_uper; #ifdef __cplusplus } #endif -#endif /* _LocErrorReason_H_ */ +#endif /* _LocErrorReason_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/LocationError.h b/src/core/libs/supl2/asn-rrlp/LocationError.h index c7da1b2c1..f4e827bda 100644 --- a/src/core/libs/supl2/asn-rrlp/LocationError.h +++ b/src/core/libs/supl2/asn-rrlp/LocationError.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _LocationError_H_ -#define _LocationError_H_ +#ifndef _LocationError_H_ +#define _LocationError_H_ #include @@ -15,29 +15,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct AdditionalAssistanceData; + /* Forward declarations */ + struct AdditionalAssistanceData; -/* LocationError */ -typedef struct LocationError { - LocErrorReason_t locErrorReason; - struct AdditionalAssistanceData *additionalAssistanceData /* OPTIONAL */; - /* + /* LocationError */ + typedef struct LocationError + { + LocErrorReason_t locErrorReason; + struct AdditionalAssistanceData *additionalAssistanceData /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LocationError_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LocationError; -extern asn_SEQUENCE_specifics_t asn_SPC_LocationError_specs_1; -extern asn_TYPE_member_t asn_MBR_LocationError_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LocationError_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_LocationError; + extern asn_SEQUENCE_specifics_t asn_SPC_LocationError_specs_1; + extern asn_TYPE_member_t asn_MBR_LocationError_1[2]; #ifdef __cplusplus } @@ -46,5 +48,5 @@ extern asn_TYPE_member_t asn_MBR_LocationError_1[2]; /* Referred external types */ #include "AdditionalAssistanceData.h" -#endif /* _LocationError_H_ */ +#endif /* _LocationError_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/LocationInfo.h b/src/core/libs/supl2/asn-rrlp/LocationInfo.h index 7d74f85d4..cb9e3729e 100644 --- a/src/core/libs/supl2/asn-rrlp/LocationInfo.h +++ b/src/core/libs/supl2/asn-rrlp/LocationInfo.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _LocationInfo_H_ -#define _LocationInfo_H_ +#ifndef _LocationInfo_H_ +#define _LocationInfo_H_ #include @@ -17,28 +17,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* LocationInfo */ -typedef struct LocationInfo { - long refFrame; - long *gpsTOW /* OPTIONAL */; - FixType_t fixType; - Ext_GeographicalInformation_t posEstimate; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LocationInfo_t; + /* LocationInfo */ + typedef struct LocationInfo + { + long refFrame; + long *gpsTOW /* OPTIONAL */; + FixType_t fixType; + Ext_GeographicalInformation_t posEstimate; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LocationInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_LocationInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_LocationInfo_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LocationInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_LocationInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_LocationInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_LocationInfo_1[4]; #ifdef __cplusplus } #endif -#endif /* _LocationInfo_H_ */ +#endif /* _LocationInfo_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MeasureResponseTime.h b/src/core/libs/supl2/asn-rrlp/MeasureResponseTime.h index 293bdeb46..9200cba24 100644 --- a/src/core/libs/supl2/asn-rrlp/MeasureResponseTime.h +++ b/src/core/libs/supl2/asn-rrlp/MeasureResponseTime.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MeasureResponseTime_H_ -#define _MeasureResponseTime_H_ +#ifndef _MeasureResponseTime_H_ +#define _MeasureResponseTime_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MeasureResponseTime */ -typedef long MeasureResponseTime_t; + /* MeasureResponseTime */ + typedef long MeasureResponseTime_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_MeasureResponseTime_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_MeasureResponseTime; -asn_struct_free_f MeasureResponseTime_free; -asn_struct_print_f MeasureResponseTime_print; -asn_constr_check_f MeasureResponseTime_constraint; -ber_type_decoder_f MeasureResponseTime_decode_ber; -der_type_encoder_f MeasureResponseTime_encode_der; -xer_type_decoder_f MeasureResponseTime_decode_xer; -xer_type_encoder_f MeasureResponseTime_encode_xer; -oer_type_decoder_f MeasureResponseTime_decode_oer; -oer_type_encoder_f MeasureResponseTime_encode_oer; -per_type_decoder_f MeasureResponseTime_decode_uper; -per_type_encoder_f MeasureResponseTime_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_MeasureResponseTime_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_MeasureResponseTime; + asn_struct_free_f MeasureResponseTime_free; + asn_struct_print_f MeasureResponseTime_print; + asn_constr_check_f MeasureResponseTime_constraint; + ber_type_decoder_f MeasureResponseTime_decode_ber; + der_type_encoder_f MeasureResponseTime_encode_der; + xer_type_decoder_f MeasureResponseTime_decode_xer; + xer_type_encoder_f MeasureResponseTime_encode_xer; + oer_type_decoder_f MeasureResponseTime_decode_oer; + oer_type_encoder_f MeasureResponseTime_encode_oer; + per_type_decoder_f MeasureResponseTime_decode_uper; + per_type_encoder_f MeasureResponseTime_encode_uper; #ifdef __cplusplus } #endif -#endif /* _MeasureResponseTime_H_ */ +#endif /* _MeasureResponseTime_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MethodType.h b/src/core/libs/supl2/asn-rrlp/MethodType.h index 1b339eec2..cd9ff1523 100644 --- a/src/core/libs/supl2/asn-rrlp/MethodType.h +++ b/src/core/libs/supl2/asn-rrlp/MethodType.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MethodType_H_ -#define _MethodType_H_ +#ifndef _MethodType_H_ +#define _MethodType_H_ #include @@ -16,41 +16,45 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum MethodType_PR { - MethodType_PR_NOTHING, /* No components present */ - MethodType_PR_msAssisted, - MethodType_PR_msBased, - MethodType_PR_msBasedPref, - MethodType_PR_msAssistedPref -} MethodType_PR; + /* Dependencies */ + typedef enum MethodType_PR + { + MethodType_PR_NOTHING, /* No components present */ + MethodType_PR_msAssisted, + MethodType_PR_msBased, + MethodType_PR_msBasedPref, + MethodType_PR_msAssistedPref + } MethodType_PR; -/* MethodType */ -typedef struct MethodType { - MethodType_PR present; - union MethodType_u { - AccuracyOpt_t msAssisted; - Accuracy_t msBased; - Accuracy_t msBasedPref; - Accuracy_t msAssistedPref; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MethodType_t; + /* MethodType */ + typedef struct MethodType + { + MethodType_PR present; + union MethodType_u + { + AccuracyOpt_t msAssisted; + Accuracy_t msBased; + Accuracy_t msBasedPref; + Accuracy_t msAssistedPref; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MethodType; -extern asn_CHOICE_specifics_t asn_SPC_MethodType_specs_1; -extern asn_TYPE_member_t asn_MBR_MethodType_1[4]; -extern asn_per_constraints_t asn_PER_type_MethodType_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MethodType_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MethodType; + extern asn_CHOICE_specifics_t asn_SPC_MethodType_specs_1; + extern asn_TYPE_member_t asn_MBR_MethodType_1[4]; + extern asn_per_constraints_t asn_PER_type_MethodType_constr_1; #ifdef __cplusplus } #endif -#endif /* _MethodType_H_ */ +#endif /* _MethodType_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ModuloTimeSlot.h b/src/core/libs/supl2/asn-rrlp/ModuloTimeSlot.h index daad04ebc..fc0961fdc 100644 --- a/src/core/libs/supl2/asn-rrlp/ModuloTimeSlot.h +++ b/src/core/libs/supl2/asn-rrlp/ModuloTimeSlot.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ModuloTimeSlot_H_ -#define _ModuloTimeSlot_H_ +#ifndef _ModuloTimeSlot_H_ +#define _ModuloTimeSlot_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ModuloTimeSlot */ -typedef long ModuloTimeSlot_t; + /* ModuloTimeSlot */ + typedef long ModuloTimeSlot_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ModuloTimeSlot_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ModuloTimeSlot; -asn_struct_free_f ModuloTimeSlot_free; -asn_struct_print_f ModuloTimeSlot_print; -asn_constr_check_f ModuloTimeSlot_constraint; -ber_type_decoder_f ModuloTimeSlot_decode_ber; -der_type_encoder_f ModuloTimeSlot_encode_der; -xer_type_decoder_f ModuloTimeSlot_decode_xer; -xer_type_encoder_f ModuloTimeSlot_encode_xer; -oer_type_decoder_f ModuloTimeSlot_decode_oer; -oer_type_encoder_f ModuloTimeSlot_encode_oer; -per_type_decoder_f ModuloTimeSlot_decode_uper; -per_type_encoder_f ModuloTimeSlot_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ModuloTimeSlot_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ModuloTimeSlot; + asn_struct_free_f ModuloTimeSlot_free; + asn_struct_print_f ModuloTimeSlot_print; + asn_constr_check_f ModuloTimeSlot_constraint; + ber_type_decoder_f ModuloTimeSlot_decode_ber; + der_type_encoder_f ModuloTimeSlot_encode_der; + xer_type_decoder_f ModuloTimeSlot_decode_xer; + xer_type_encoder_f ModuloTimeSlot_encode_xer; + oer_type_decoder_f ModuloTimeSlot_decode_oer; + oer_type_encoder_f ModuloTimeSlot_encode_oer; + per_type_decoder_f ModuloTimeSlot_decode_uper; + per_type_encoder_f ModuloTimeSlot_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ModuloTimeSlot_H_ */ +#endif /* _ModuloTimeSlot_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MoreAssDataToBeSent.h b/src/core/libs/supl2/asn-rrlp/MoreAssDataToBeSent.h index 1ee7b4fb5..df7adf7a5 100644 --- a/src/core/libs/supl2/asn-rrlp/MoreAssDataToBeSent.h +++ b/src/core/libs/supl2/asn-rrlp/MoreAssDataToBeSent.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MoreAssDataToBeSent_H_ -#define _MoreAssDataToBeSent_H_ +#ifndef _MoreAssDataToBeSent_H_ +#define _MoreAssDataToBeSent_H_ #include @@ -14,37 +14,39 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum MoreAssDataToBeSent { - MoreAssDataToBeSent_noMoreMessages = 0, - MoreAssDataToBeSent_moreMessagesOnTheWay = 1 -} e_MoreAssDataToBeSent; + /* Dependencies */ + typedef enum MoreAssDataToBeSent + { + MoreAssDataToBeSent_noMoreMessages = 0, + MoreAssDataToBeSent_moreMessagesOnTheWay = 1 + } e_MoreAssDataToBeSent; -/* MoreAssDataToBeSent */ -typedef long MoreAssDataToBeSent_t; + /* MoreAssDataToBeSent */ + typedef long MoreAssDataToBeSent_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_MoreAssDataToBeSent_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_MoreAssDataToBeSent; -extern const asn_INTEGER_specifics_t asn_SPC_MoreAssDataToBeSent_specs_1; -asn_struct_free_f MoreAssDataToBeSent_free; -asn_struct_print_f MoreAssDataToBeSent_print; -asn_constr_check_f MoreAssDataToBeSent_constraint; -ber_type_decoder_f MoreAssDataToBeSent_decode_ber; -der_type_encoder_f MoreAssDataToBeSent_encode_der; -xer_type_decoder_f MoreAssDataToBeSent_decode_xer; -xer_type_encoder_f MoreAssDataToBeSent_encode_xer; -oer_type_decoder_f MoreAssDataToBeSent_decode_oer; -oer_type_encoder_f MoreAssDataToBeSent_encode_oer; -per_type_decoder_f MoreAssDataToBeSent_decode_uper; -per_type_encoder_f MoreAssDataToBeSent_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_MoreAssDataToBeSent_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_MoreAssDataToBeSent; + extern const asn_INTEGER_specifics_t asn_SPC_MoreAssDataToBeSent_specs_1; + asn_struct_free_f MoreAssDataToBeSent_free; + asn_struct_print_f MoreAssDataToBeSent_print; + asn_constr_check_f MoreAssDataToBeSent_constraint; + ber_type_decoder_f MoreAssDataToBeSent_decode_ber; + der_type_encoder_f MoreAssDataToBeSent_encode_der; + xer_type_decoder_f MoreAssDataToBeSent_decode_xer; + xer_type_encoder_f MoreAssDataToBeSent_encode_xer; + oer_type_decoder_f MoreAssDataToBeSent_decode_oer; + oer_type_encoder_f MoreAssDataToBeSent_encode_oer; + per_type_decoder_f MoreAssDataToBeSent_decode_uper; + per_type_encoder_f MoreAssDataToBeSent_encode_uper; #ifdef __cplusplus } #endif -#endif /* _MoreAssDataToBeSent_H_ */ +#endif /* _MoreAssDataToBeSent_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MpathIndic.h b/src/core/libs/supl2/asn-rrlp/MpathIndic.h index d38947bda..91564c029 100644 --- a/src/core/libs/supl2/asn-rrlp/MpathIndic.h +++ b/src/core/libs/supl2/asn-rrlp/MpathIndic.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MpathIndic_H_ -#define _MpathIndic_H_ +#ifndef _MpathIndic_H_ +#define _MpathIndic_H_ #include @@ -14,39 +14,41 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum MpathIndic { - MpathIndic_notMeasured = 0, - MpathIndic_low = 1, - MpathIndic_medium = 2, - MpathIndic_high = 3 -} e_MpathIndic; + /* Dependencies */ + typedef enum MpathIndic + { + MpathIndic_notMeasured = 0, + MpathIndic_low = 1, + MpathIndic_medium = 2, + MpathIndic_high = 3 + } e_MpathIndic; -/* MpathIndic */ -typedef long MpathIndic_t; + /* MpathIndic */ + typedef long MpathIndic_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_MpathIndic_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_MpathIndic; -extern const asn_INTEGER_specifics_t asn_SPC_MpathIndic_specs_1; -asn_struct_free_f MpathIndic_free; -asn_struct_print_f MpathIndic_print; -asn_constr_check_f MpathIndic_constraint; -ber_type_decoder_f MpathIndic_decode_ber; -der_type_encoder_f MpathIndic_encode_der; -xer_type_decoder_f MpathIndic_decode_xer; -xer_type_encoder_f MpathIndic_encode_xer; -oer_type_decoder_f MpathIndic_decode_oer; -oer_type_encoder_f MpathIndic_encode_oer; -per_type_decoder_f MpathIndic_decode_uper; -per_type_encoder_f MpathIndic_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_MpathIndic_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_MpathIndic; + extern const asn_INTEGER_specifics_t asn_SPC_MpathIndic_specs_1; + asn_struct_free_f MpathIndic_free; + asn_struct_print_f MpathIndic_print; + asn_constr_check_f MpathIndic_constraint; + ber_type_decoder_f MpathIndic_decode_ber; + der_type_encoder_f MpathIndic_encode_der; + xer_type_decoder_f MpathIndic_decode_xer; + xer_type_encoder_f MpathIndic_encode_xer; + oer_type_decoder_f MpathIndic_decode_oer; + oer_type_encoder_f MpathIndic_encode_oer; + per_type_decoder_f MpathIndic_decode_uper; + per_type_encoder_f MpathIndic_encode_uper; #ifdef __cplusplus } #endif -#endif /* _MpathIndic_H_ */ +#endif /* _MpathIndic_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MsrAssistBTS-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/MsrAssistBTS-R98-ExpOTD.h index bd38215c0..7e6114b89 100644 --- a/src/core/libs/supl2/asn-rrlp/MsrAssistBTS-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/MsrAssistBTS-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MsrAssistBTS_R98_ExpOTD_H_ -#define _MsrAssistBTS_R98_ExpOTD_H_ +#ifndef _MsrAssistBTS_R98_ExpOTD_H_ +#define _MsrAssistBTS_R98_ExpOTD_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MsrAssistBTS-R98-ExpOTD */ -typedef struct MsrAssistBTS_R98_ExpOTD { - ExpectedOTD_t expectedOTD; - ExpOTDUncertainty_t expOTDUncertainty; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MsrAssistBTS_R98_ExpOTD_t; + /* MsrAssistBTS-R98-ExpOTD */ + typedef struct MsrAssistBTS_R98_ExpOTD + { + ExpectedOTD_t expectedOTD; + ExpOTDUncertainty_t expOTDUncertainty; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MsrAssistBTS_R98_ExpOTD; -extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistBTS_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_MsrAssistBTS_R98_ExpOTD_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MsrAssistBTS_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MsrAssistBTS_R98_ExpOTD; + extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistBTS_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_MsrAssistBTS_R98_ExpOTD_1[2]; #ifdef __cplusplus } #endif -#endif /* _MsrAssistBTS_R98_ExpOTD_H_ */ +#endif /* _MsrAssistBTS_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MsrAssistBTS.h b/src/core/libs/supl2/asn-rrlp/MsrAssistBTS.h index 9891d33c5..d74c4064c 100644 --- a/src/core/libs/supl2/asn-rrlp/MsrAssistBTS.h +++ b/src/core/libs/supl2/asn-rrlp/MsrAssistBTS.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MsrAssistBTS_H_ -#define _MsrAssistBTS_H_ +#ifndef _MsrAssistBTS_H_ +#define _MsrAssistBTS_H_ #include @@ -19,29 +19,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct CalcAssistanceBTS; + /* Forward declarations */ + struct CalcAssistanceBTS; -/* MsrAssistBTS */ -typedef struct MsrAssistBTS { - BCCHCarrier_t bcchCarrier; - BSIC_t bsic; - MultiFrameOffset_t multiFrameOffset; - TimeSlotScheme_t timeSlotScheme; - RoughRTD_t roughRTD; - struct CalcAssistanceBTS *calcAssistanceBTS /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MsrAssistBTS_t; + /* MsrAssistBTS */ + typedef struct MsrAssistBTS + { + BCCHCarrier_t bcchCarrier; + BSIC_t bsic; + MultiFrameOffset_t multiFrameOffset; + TimeSlotScheme_t timeSlotScheme; + RoughRTD_t roughRTD; + struct CalcAssistanceBTS *calcAssistanceBTS /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MsrAssistBTS; -extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistBTS_specs_1; -extern asn_TYPE_member_t asn_MBR_MsrAssistBTS_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MsrAssistBTS_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MsrAssistBTS; + extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistBTS_specs_1; + extern asn_TYPE_member_t asn_MBR_MsrAssistBTS_1[6]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_MsrAssistBTS_1[6]; /* Referred external types */ #include "CalcAssistanceBTS.h" -#endif /* _MsrAssistBTS_H_ */ +#endif /* _MsrAssistBTS_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MsrAssistData-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/MsrAssistData-R98-ExpOTD.h index 0e78fb4c2..f4553b02c 100644 --- a/src/core/libs/supl2/asn-rrlp/MsrAssistData-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/MsrAssistData-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MsrAssistData_R98_ExpOTD_H_ -#define _MsrAssistData_R98_ExpOTD_H_ +#ifndef _MsrAssistData_R98_ExpOTD_H_ +#define _MsrAssistData_R98_ExpOTD_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MsrAssistData-R98-ExpOTD */ -typedef struct MsrAssistData_R98_ExpOTD { - SeqOfMsrAssistBTS_R98_ExpOTD_t msrAssistList_R98_ExpOTD; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MsrAssistData_R98_ExpOTD_t; + /* MsrAssistData-R98-ExpOTD */ + typedef struct MsrAssistData_R98_ExpOTD + { + SeqOfMsrAssistBTS_R98_ExpOTD_t msrAssistList_R98_ExpOTD; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MsrAssistData_R98_ExpOTD; -extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistData_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_MsrAssistData_R98_ExpOTD_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MsrAssistData_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MsrAssistData_R98_ExpOTD; + extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistData_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_MsrAssistData_R98_ExpOTD_1[1]; #ifdef __cplusplus } #endif -#endif /* _MsrAssistData_R98_ExpOTD_H_ */ +#endif /* _MsrAssistData_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MsrAssistData.h b/src/core/libs/supl2/asn-rrlp/MsrAssistData.h index ac614c283..438eb70c3 100644 --- a/src/core/libs/supl2/asn-rrlp/MsrAssistData.h +++ b/src/core/libs/supl2/asn-rrlp/MsrAssistData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MsrAssistData_H_ -#define _MsrAssistData_H_ +#ifndef _MsrAssistData_H_ +#define _MsrAssistData_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MsrAssistData */ -typedef struct MsrAssistData { - SeqOfMsrAssistBTS_t msrAssistList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MsrAssistData_t; + /* MsrAssistData */ + typedef struct MsrAssistData + { + SeqOfMsrAssistBTS_t msrAssistList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MsrAssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_MsrAssistData_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MsrAssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MsrAssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_MsrAssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_MsrAssistData_1[1]; #ifdef __cplusplus } #endif -#endif /* _MsrAssistData_H_ */ +#endif /* _MsrAssistData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MsrPosition-Req.h b/src/core/libs/supl2/asn-rrlp/MsrPosition-Req.h index 0fad32bb5..a705bc7d7 100644 --- a/src/core/libs/supl2/asn-rrlp/MsrPosition-Req.h +++ b/src/core/libs/supl2/asn-rrlp/MsrPosition-Req.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MsrPosition_Req_H_ -#define _MsrPosition_Req_H_ +#ifndef _MsrPosition_Req_H_ +#define _MsrPosition_Req_H_ #include @@ -16,40 +16,42 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReferenceAssistData; -struct MsrAssistData; -struct SystemInfoAssistData; -struct GPS_AssistData; -struct Rel98_MsrPosition_Req_Extension; -struct Rel5_MsrPosition_Req_Extension; + /* Forward declarations */ + struct ReferenceAssistData; + struct MsrAssistData; + struct SystemInfoAssistData; + struct GPS_AssistData; + struct Rel98_MsrPosition_Req_Extension; + struct Rel5_MsrPosition_Req_Extension; -/* MsrPosition-Req */ -typedef struct MsrPosition_Req { - PositionInstruct_t positionInstruct; - struct ReferenceAssistData *referenceAssistData /* OPTIONAL */; - struct MsrAssistData *msrAssistData /* OPTIONAL */; - struct SystemInfoAssistData *systemInfoAssistData /* OPTIONAL */; - struct GPS_AssistData *gps_AssistData /* OPTIONAL */; - ExtensionContainer_t *extensionContainer /* OPTIONAL */; - /* + /* MsrPosition-Req */ + typedef struct MsrPosition_Req + { + PositionInstruct_t positionInstruct; + struct ReferenceAssistData *referenceAssistData /* OPTIONAL */; + struct MsrAssistData *msrAssistData /* OPTIONAL */; + struct SystemInfoAssistData *systemInfoAssistData /* OPTIONAL */; + struct GPS_AssistData *gps_AssistData /* OPTIONAL */; + ExtensionContainer_t *extensionContainer /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Rel98_MsrPosition_Req_Extension *rel98_MsrPosition_Req_extension /* OPTIONAL */; - struct Rel5_MsrPosition_Req_Extension *rel5_MsrPosition_Req_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MsrPosition_Req_t; + struct Rel98_MsrPosition_Req_Extension *rel98_MsrPosition_Req_extension /* OPTIONAL */; + struct Rel5_MsrPosition_Req_Extension *rel5_MsrPosition_Req_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MsrPosition_Req; -extern asn_SEQUENCE_specifics_t asn_SPC_MsrPosition_Req_specs_1; -extern asn_TYPE_member_t asn_MBR_MsrPosition_Req_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MsrPosition_Req_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MsrPosition_Req; + extern asn_SEQUENCE_specifics_t asn_SPC_MsrPosition_Req_specs_1; + extern asn_TYPE_member_t asn_MBR_MsrPosition_Req_1[8]; #ifdef __cplusplus } @@ -63,5 +65,5 @@ extern asn_TYPE_member_t asn_MBR_MsrPosition_Req_1[8]; #include "Rel98-MsrPosition-Req-Extension.h" #include "Rel5-MsrPosition-Req-Extension.h" -#endif /* _MsrPosition_Req_H_ */ +#endif /* _MsrPosition_Req_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MsrPosition-Rsp.h b/src/core/libs/supl2/asn-rrlp/MsrPosition-Rsp.h index 6057bf8a1..c5e1427b8 100644 --- a/src/core/libs/supl2/asn-rrlp/MsrPosition-Rsp.h +++ b/src/core/libs/supl2/asn-rrlp/MsrPosition-Rsp.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MsrPosition_Rsp_H_ -#define _MsrPosition_Rsp_H_ +#ifndef _MsrPosition_Rsp_H_ +#define _MsrPosition_Rsp_H_ #include @@ -15,43 +15,45 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MultipleSets; -struct ReferenceIdentity; -struct OTD_MeasureInfo; -struct LocationInfo; -struct GPS_MeasureInfo; -struct LocationError; -struct Rel_98_MsrPosition_Rsp_Extension; -struct Rel_5_MsrPosition_Rsp_Extension; + /* Forward declarations */ + struct MultipleSets; + struct ReferenceIdentity; + struct OTD_MeasureInfo; + struct LocationInfo; + struct GPS_MeasureInfo; + struct LocationError; + struct Rel_98_MsrPosition_Rsp_Extension; + struct Rel_5_MsrPosition_Rsp_Extension; -/* MsrPosition-Rsp */ -typedef struct MsrPosition_Rsp { - struct MultipleSets *multipleSets /* OPTIONAL */; - struct ReferenceIdentity *referenceIdentity /* OPTIONAL */; - struct OTD_MeasureInfo *otd_MeasureInfo /* OPTIONAL */; - struct LocationInfo *locationInfo /* OPTIONAL */; - struct GPS_MeasureInfo *gps_MeasureInfo /* OPTIONAL */; - struct LocationError *locationError /* OPTIONAL */; - ExtensionContainer_t *extensionContainer /* OPTIONAL */; - /* + /* MsrPosition-Rsp */ + typedef struct MsrPosition_Rsp + { + struct MultipleSets *multipleSets /* OPTIONAL */; + struct ReferenceIdentity *referenceIdentity /* OPTIONAL */; + struct OTD_MeasureInfo *otd_MeasureInfo /* OPTIONAL */; + struct LocationInfo *locationInfo /* OPTIONAL */; + struct GPS_MeasureInfo *gps_MeasureInfo /* OPTIONAL */; + struct LocationError *locationError /* OPTIONAL */; + ExtensionContainer_t *extensionContainer /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Rel_98_MsrPosition_Rsp_Extension *rel_98_MsrPosition_Rsp_Extension /* OPTIONAL */; - struct Rel_5_MsrPosition_Rsp_Extension *rel_5_MsrPosition_Rsp_Extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MsrPosition_Rsp_t; + struct Rel_98_MsrPosition_Rsp_Extension *rel_98_MsrPosition_Rsp_Extension /* OPTIONAL */; + struct Rel_5_MsrPosition_Rsp_Extension *rel_5_MsrPosition_Rsp_Extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MsrPosition_Rsp; -extern asn_SEQUENCE_specifics_t asn_SPC_MsrPosition_Rsp_specs_1; -extern asn_TYPE_member_t asn_MBR_MsrPosition_Rsp_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MsrPosition_Rsp_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MsrPosition_Rsp; + extern asn_SEQUENCE_specifics_t asn_SPC_MsrPosition_Rsp_specs_1; + extern asn_TYPE_member_t asn_MBR_MsrPosition_Rsp_1[9]; #ifdef __cplusplus } @@ -67,5 +69,5 @@ extern asn_TYPE_member_t asn_MBR_MsrPosition_Rsp_1[9]; #include "Rel-98-MsrPosition-Rsp-Extension.h" #include "Rel-5-MsrPosition-Rsp-Extension.h" -#endif /* _MsrPosition_Rsp_H_ */ +#endif /* _MsrPosition_Rsp_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MultiFrameCarrier.h b/src/core/libs/supl2/asn-rrlp/MultiFrameCarrier.h index e9628316e..06a79cf95 100644 --- a/src/core/libs/supl2/asn-rrlp/MultiFrameCarrier.h +++ b/src/core/libs/supl2/asn-rrlp/MultiFrameCarrier.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MultiFrameCarrier_H_ -#define _MultiFrameCarrier_H_ +#ifndef _MultiFrameCarrier_H_ +#define _MultiFrameCarrier_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MultiFrameCarrier */ -typedef struct MultiFrameCarrier { - BCCHCarrier_t bcchCarrier; - MultiFrameOffset_t multiFrameOffset; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MultiFrameCarrier_t; + /* MultiFrameCarrier */ + typedef struct MultiFrameCarrier + { + BCCHCarrier_t bcchCarrier; + MultiFrameOffset_t multiFrameOffset; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MultiFrameCarrier; -extern asn_SEQUENCE_specifics_t asn_SPC_MultiFrameCarrier_specs_1; -extern asn_TYPE_member_t asn_MBR_MultiFrameCarrier_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MultiFrameCarrier_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MultiFrameCarrier; + extern asn_SEQUENCE_specifics_t asn_SPC_MultiFrameCarrier_specs_1; + extern asn_TYPE_member_t asn_MBR_MultiFrameCarrier_1[2]; #ifdef __cplusplus } #endif -#endif /* _MultiFrameCarrier_H_ */ +#endif /* _MultiFrameCarrier_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MultiFrameOffset.h b/src/core/libs/supl2/asn-rrlp/MultiFrameOffset.h index d95f7106f..2bc8ffb33 100644 --- a/src/core/libs/supl2/asn-rrlp/MultiFrameOffset.h +++ b/src/core/libs/supl2/asn-rrlp/MultiFrameOffset.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MultiFrameOffset_H_ -#define _MultiFrameOffset_H_ +#ifndef _MultiFrameOffset_H_ +#define _MultiFrameOffset_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MultiFrameOffset */ -typedef long MultiFrameOffset_t; + /* MultiFrameOffset */ + typedef long MultiFrameOffset_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_MultiFrameOffset_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_MultiFrameOffset; -asn_struct_free_f MultiFrameOffset_free; -asn_struct_print_f MultiFrameOffset_print; -asn_constr_check_f MultiFrameOffset_constraint; -ber_type_decoder_f MultiFrameOffset_decode_ber; -der_type_encoder_f MultiFrameOffset_encode_der; -xer_type_decoder_f MultiFrameOffset_decode_xer; -xer_type_encoder_f MultiFrameOffset_encode_xer; -oer_type_decoder_f MultiFrameOffset_decode_oer; -oer_type_encoder_f MultiFrameOffset_encode_oer; -per_type_decoder_f MultiFrameOffset_decode_uper; -per_type_encoder_f MultiFrameOffset_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_MultiFrameOffset_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_MultiFrameOffset; + asn_struct_free_f MultiFrameOffset_free; + asn_struct_print_f MultiFrameOffset_print; + asn_constr_check_f MultiFrameOffset_constraint; + ber_type_decoder_f MultiFrameOffset_decode_ber; + der_type_encoder_f MultiFrameOffset_encode_der; + xer_type_decoder_f MultiFrameOffset_decode_xer; + xer_type_encoder_f MultiFrameOffset_encode_xer; + oer_type_decoder_f MultiFrameOffset_decode_oer; + oer_type_encoder_f MultiFrameOffset_encode_oer; + per_type_decoder_f MultiFrameOffset_decode_uper; + per_type_encoder_f MultiFrameOffset_encode_uper; #ifdef __cplusplus } #endif -#endif /* _MultiFrameOffset_H_ */ +#endif /* _MultiFrameOffset_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/MultipleSets.h b/src/core/libs/supl2/asn-rrlp/MultipleSets.h index 17deb2104..a38b3ef03 100644 --- a/src/core/libs/supl2/asn-rrlp/MultipleSets.h +++ b/src/core/libs/supl2/asn-rrlp/MultipleSets.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _MultipleSets_H_ -#define _MultipleSets_H_ +#ifndef _MultipleSets_H_ +#define _MultipleSets_H_ #include @@ -16,27 +16,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MultipleSets */ -typedef struct MultipleSets { - long nbrOfSets; - long nbrOfReferenceBTSs; - ReferenceRelation_t *referenceRelation /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MultipleSets_t; + /* MultipleSets */ + typedef struct MultipleSets + { + long nbrOfSets; + long nbrOfReferenceBTSs; + ReferenceRelation_t *referenceRelation /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MultipleSets; -extern asn_SEQUENCE_specifics_t asn_SPC_MultipleSets_specs_1; -extern asn_TYPE_member_t asn_MBR_MultipleSets_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MultipleSets_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MultipleSets; + extern asn_SEQUENCE_specifics_t asn_SPC_MultipleSets_specs_1; + extern asn_TYPE_member_t asn_MBR_MultipleSets_1[3]; #ifdef __cplusplus } #endif -#endif /* _MultipleSets_H_ */ +#endif /* _MultipleSets_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/NULL.h b/src/core/libs/supl2/asn-rrlp/NULL.h index 50f53ca06..3baac2c43 100644 --- a/src/core/libs/supl2/asn-rrlp/NULL.h +++ b/src/core/libs/supl2/asn-rrlp/NULL.h @@ -2,42 +2,43 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_TYPE_NULL_H -#define ASN_TYPE_NULL_H +#ifndef ASN_TYPE_NULL_H +#define ASN_TYPE_NULL_H #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * The value of the NULL type is meaningless: see BOOLEAN if you want to * carry true/false semantics. */ -typedef int NULL_t; + typedef int NULL_t; -extern asn_TYPE_descriptor_t asn_DEF_NULL; -extern asn_TYPE_operation_t asn_OP_NULL; + extern asn_TYPE_descriptor_t asn_DEF_NULL; + extern asn_TYPE_operation_t asn_OP_NULL; -asn_struct_print_f NULL_print; -asn_struct_compare_f NULL_compare; -der_type_encoder_f NULL_encode_der; -xer_type_decoder_f NULL_decode_xer; -xer_type_encoder_f NULL_encode_xer; -oer_type_decoder_f NULL_decode_oer; -oer_type_encoder_f NULL_encode_oer; -per_type_decoder_f NULL_decode_uper; -per_type_encoder_f NULL_encode_uper; -asn_random_fill_f NULL_random_fill; + asn_struct_print_f NULL_print; + asn_struct_compare_f NULL_compare; + der_type_encoder_f NULL_encode_der; + xer_type_decoder_f NULL_decode_xer; + xer_type_encoder_f NULL_encode_xer; + oer_type_decoder_f NULL_decode_oer; + oer_type_encoder_f NULL_encode_oer; + per_type_decoder_f NULL_decode_uper; + per_type_encoder_f NULL_encode_uper; + asn_random_fill_f NULL_random_fill; -#define NULL_free BOOLEAN_free -#define NULL_decode_ber BOOLEAN_decode_ber -#define NULL_constraint asn_generic_no_constraint +#define NULL_free BOOLEAN_free +#define NULL_decode_ber BOOLEAN_decode_ber +#define NULL_constraint asn_generic_no_constraint #ifdef __cplusplus } #endif -#endif /* NULL_H */ +#endif /* NULL_H */ diff --git a/src/core/libs/supl2/asn-rrlp/NativeEnumerated.h b/src/core/libs/supl2/asn-rrlp/NativeEnumerated.h index 4d897a0ba..4f8d0f0d5 100644 --- a/src/core/libs/supl2/asn-rrlp/NativeEnumerated.h +++ b/src/core/libs/supl2/asn-rrlp/NativeEnumerated.h @@ -9,27 +9,28 @@ * will do). * This type may be used when integer range is limited by subtype constraints. */ -#ifndef _NativeEnumerated_H_ -#define _NativeEnumerated_H_ +#ifndef _NativeEnumerated_H_ +#define _NativeEnumerated_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated; -extern asn_TYPE_operation_t asn_OP_NativeEnumerated; + extern asn_TYPE_descriptor_t asn_DEF_NativeEnumerated; + extern asn_TYPE_operation_t asn_OP_NativeEnumerated; -xer_type_encoder_f NativeEnumerated_encode_xer; -oer_type_decoder_f NativeEnumerated_decode_oer; -oer_type_encoder_f NativeEnumerated_encode_oer; -per_type_decoder_f NativeEnumerated_decode_uper; -per_type_encoder_f NativeEnumerated_encode_uper; + xer_type_encoder_f NativeEnumerated_encode_xer; + oer_type_decoder_f NativeEnumerated_decode_oer; + oer_type_encoder_f NativeEnumerated_encode_oer; + per_type_decoder_f NativeEnumerated_decode_uper; + per_type_encoder_f NativeEnumerated_encode_uper; -#define NativeEnumerated_free NativeInteger_free -#define NativeEnumerated_print NativeInteger_print -#define NativeEnumerated_compare NativeInteger_compare +#define NativeEnumerated_free NativeInteger_free +#define NativeEnumerated_print NativeInteger_print +#define NativeEnumerated_compare NativeInteger_compare #define NativeEnumerated_random_fill NativeInteger_random_fill #define NativeEnumerated_constraint asn_generic_no_constraint #define NativeEnumerated_decode_ber NativeInteger_decode_ber @@ -40,4 +41,4 @@ per_type_encoder_f NativeEnumerated_encode_uper; } #endif -#endif /* _NativeEnumerated_H_ */ +#endif /* _NativeEnumerated_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/NativeInteger.h b/src/core/libs/supl2/asn-rrlp/NativeInteger.h index e2741c201..7d041711e 100644 --- a/src/core/libs/supl2/asn-rrlp/NativeInteger.h +++ b/src/core/libs/supl2/asn-rrlp/NativeInteger.h @@ -9,36 +9,37 @@ * will do). * This type may be used when integer range is limited by subtype constraints. */ -#ifndef _NativeInteger_H_ -#define _NativeInteger_H_ +#ifndef _NativeInteger_H_ +#define _NativeInteger_H_ #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -extern asn_TYPE_descriptor_t asn_DEF_NativeInteger; -extern asn_TYPE_operation_t asn_OP_NativeInteger; + extern asn_TYPE_descriptor_t asn_DEF_NativeInteger; + extern asn_TYPE_operation_t asn_OP_NativeInteger; -asn_struct_free_f NativeInteger_free; -asn_struct_print_f NativeInteger_print; -asn_struct_compare_f NativeInteger_compare; -ber_type_decoder_f NativeInteger_decode_ber; -der_type_encoder_f NativeInteger_encode_der; -xer_type_decoder_f NativeInteger_decode_xer; -xer_type_encoder_f NativeInteger_encode_xer; -oer_type_decoder_f NativeInteger_decode_oer; -oer_type_encoder_f NativeInteger_encode_oer; -per_type_decoder_f NativeInteger_decode_uper; -per_type_encoder_f NativeInteger_encode_uper; -asn_random_fill_f NativeInteger_random_fill; + asn_struct_free_f NativeInteger_free; + asn_struct_print_f NativeInteger_print; + asn_struct_compare_f NativeInteger_compare; + ber_type_decoder_f NativeInteger_decode_ber; + der_type_encoder_f NativeInteger_encode_der; + xer_type_decoder_f NativeInteger_decode_xer; + xer_type_encoder_f NativeInteger_encode_xer; + oer_type_decoder_f NativeInteger_decode_oer; + oer_type_encoder_f NativeInteger_encode_oer; + per_type_decoder_f NativeInteger_decode_uper; + per_type_encoder_f NativeInteger_encode_uper; + asn_random_fill_f NativeInteger_random_fill; -#define NativeInteger_constraint asn_generic_no_constraint +#define NativeInteger_constraint asn_generic_no_constraint #ifdef __cplusplus } #endif -#endif /* _NativeInteger_H_ */ +#endif /* _NativeInteger_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/NavModel-KeplerianSet.h b/src/core/libs/supl2/asn-rrlp/NavModel-KeplerianSet.h index 89c84d158..b0170cb57 100644 --- a/src/core/libs/supl2/asn-rrlp/NavModel-KeplerianSet.h +++ b/src/core/libs/supl2/asn-rrlp/NavModel-KeplerianSet.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _NavModel_KeplerianSet_H_ -#define _NavModel_KeplerianSet_H_ +#ifndef _NavModel_KeplerianSet_H_ +#define _NavModel_KeplerianSet_H_ #include @@ -15,40 +15,42 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* NavModel-KeplerianSet */ -typedef struct NavModel_KeplerianSet { - long keplerToeLSB; - long keplerW; - long keplerDeltaN; - long keplerM0; - long keplerOmegaDot; - long keplerELSB; - long keplerIDot; - long keplerAPowerHalfLSB; - long keplerI0; - long keplerOmega0; - long keplerCrs; - long keplerCis; - long keplerCus; - long keplerCrc; - long keplerCic; - long keplerCuc; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NavModel_KeplerianSet_t; + /* NavModel-KeplerianSet */ + typedef struct NavModel_KeplerianSet + { + long keplerToeLSB; + long keplerW; + long keplerDeltaN; + long keplerM0; + long keplerOmegaDot; + long keplerELSB; + long keplerIDot; + long keplerAPowerHalfLSB; + long keplerI0; + long keplerOmega0; + long keplerCrs; + long keplerCis; + long keplerCus; + long keplerCrc; + long keplerCic; + long keplerCuc; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NavModel_KeplerianSet; -extern asn_SEQUENCE_specifics_t asn_SPC_NavModel_KeplerianSet_specs_1; -extern asn_TYPE_member_t asn_MBR_NavModel_KeplerianSet_1[16]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NavModel_KeplerianSet_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NavModel_KeplerianSet; + extern asn_SEQUENCE_specifics_t asn_SPC_NavModel_KeplerianSet_specs_1; + extern asn_TYPE_member_t asn_MBR_NavModel_KeplerianSet_1[16]; #ifdef __cplusplus } #endif -#endif /* _NavModel_KeplerianSet_H_ */ +#endif /* _NavModel_KeplerianSet_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/NavModelElement.h b/src/core/libs/supl2/asn-rrlp/NavModelElement.h index 0bfb8b4ae..7720b0521 100644 --- a/src/core/libs/supl2/asn-rrlp/NavModelElement.h +++ b/src/core/libs/supl2/asn-rrlp/NavModelElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _NavModelElement_H_ -#define _NavModelElement_H_ +#ifndef _NavModelElement_H_ +#define _NavModelElement_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* NavModelElement */ -typedef struct NavModelElement { - SatelliteID_t satelliteID; - SatStatus_t satStatus; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NavModelElement_t; + /* NavModelElement */ + typedef struct NavModelElement + { + SatelliteID_t satelliteID; + SatStatus_t satStatus; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NavModelElement; -extern asn_SEQUENCE_specifics_t asn_SPC_NavModelElement_specs_1; -extern asn_TYPE_member_t asn_MBR_NavModelElement_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NavModelElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NavModelElement; + extern asn_SEQUENCE_specifics_t asn_SPC_NavModelElement_specs_1; + extern asn_TYPE_member_t asn_MBR_NavModelElement_1[2]; #ifdef __cplusplus } #endif -#endif /* _NavModelElement_H_ */ +#endif /* _NavModelElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/NavigationModel.h b/src/core/libs/supl2/asn-rrlp/NavigationModel.h index 342d4721c..4bf4606a9 100644 --- a/src/core/libs/supl2/asn-rrlp/NavigationModel.h +++ b/src/core/libs/supl2/asn-rrlp/NavigationModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _NavigationModel_H_ -#define _NavigationModel_H_ +#ifndef _NavigationModel_H_ +#define _NavigationModel_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* NavigationModel */ -typedef struct NavigationModel { - SeqOfNavModelElement_t navModelList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NavigationModel_t; + /* NavigationModel */ + typedef struct NavigationModel + { + SeqOfNavModelElement_t navModelList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NavigationModel; -extern asn_SEQUENCE_specifics_t asn_SPC_NavigationModel_specs_1; -extern asn_TYPE_member_t asn_MBR_NavigationModel_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NavigationModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NavigationModel; + extern asn_SEQUENCE_specifics_t asn_SPC_NavigationModel_specs_1; + extern asn_TYPE_member_t asn_MBR_NavigationModel_1[1]; #ifdef __cplusplus } #endif -#endif /* _NavigationModel_H_ */ +#endif /* _NavigationModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/NeighborIdentity.h b/src/core/libs/supl2/asn-rrlp/NeighborIdentity.h index d779e200f..d775d136d 100644 --- a/src/core/libs/supl2/asn-rrlp/NeighborIdentity.h +++ b/src/core/libs/supl2/asn-rrlp/NeighborIdentity.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _NeighborIdentity_H_ -#define _NeighborIdentity_H_ +#ifndef _NeighborIdentity_H_ +#define _NeighborIdentity_H_ #include @@ -20,45 +20,49 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum NeighborIdentity_PR { - NeighborIdentity_PR_NOTHING, /* No components present */ - NeighborIdentity_PR_bsicAndCarrier, - NeighborIdentity_PR_ci, - NeighborIdentity_PR_multiFrameCarrier, - NeighborIdentity_PR_requestIndex, - NeighborIdentity_PR_systemInfoIndex, - NeighborIdentity_PR_ciAndLAC -} NeighborIdentity_PR; + /* Dependencies */ + typedef enum NeighborIdentity_PR + { + NeighborIdentity_PR_NOTHING, /* No components present */ + NeighborIdentity_PR_bsicAndCarrier, + NeighborIdentity_PR_ci, + NeighborIdentity_PR_multiFrameCarrier, + NeighborIdentity_PR_requestIndex, + NeighborIdentity_PR_systemInfoIndex, + NeighborIdentity_PR_ciAndLAC + } NeighborIdentity_PR; -/* NeighborIdentity */ -typedef struct NeighborIdentity { - NeighborIdentity_PR present; - union NeighborIdentity_u { - BSICAndCarrier_t bsicAndCarrier; - CellID_t ci; - MultiFrameCarrier_t multiFrameCarrier; - RequestIndex_t requestIndex; - SystemInfoIndex_t systemInfoIndex; - CellIDAndLAC_t ciAndLAC; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NeighborIdentity_t; + /* NeighborIdentity */ + typedef struct NeighborIdentity + { + NeighborIdentity_PR present; + union NeighborIdentity_u + { + BSICAndCarrier_t bsicAndCarrier; + CellID_t ci; + MultiFrameCarrier_t multiFrameCarrier; + RequestIndex_t requestIndex; + SystemInfoIndex_t systemInfoIndex; + CellIDAndLAC_t ciAndLAC; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NeighborIdentity; -extern asn_CHOICE_specifics_t asn_SPC_NeighborIdentity_specs_1; -extern asn_TYPE_member_t asn_MBR_NeighborIdentity_1[6]; -extern asn_per_constraints_t asn_PER_type_NeighborIdentity_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NeighborIdentity_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NeighborIdentity; + extern asn_CHOICE_specifics_t asn_SPC_NeighborIdentity_specs_1; + extern asn_TYPE_member_t asn_MBR_NeighborIdentity_1[6]; + extern asn_per_constraints_t asn_PER_type_NeighborIdentity_constr_1; #ifdef __cplusplus } #endif -#endif /* _NeighborIdentity_H_ */ +#endif /* _NeighborIdentity_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/NumOfMeasurements.h b/src/core/libs/supl2/asn-rrlp/NumOfMeasurements.h index 789ebec35..79289a9ce 100644 --- a/src/core/libs/supl2/asn-rrlp/NumOfMeasurements.h +++ b/src/core/libs/supl2/asn-rrlp/NumOfMeasurements.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _NumOfMeasurements_H_ -#define _NumOfMeasurements_H_ +#ifndef _NumOfMeasurements_H_ +#define _NumOfMeasurements_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* NumOfMeasurements */ -typedef long NumOfMeasurements_t; + /* NumOfMeasurements */ + typedef long NumOfMeasurements_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_NumOfMeasurements_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_NumOfMeasurements; -asn_struct_free_f NumOfMeasurements_free; -asn_struct_print_f NumOfMeasurements_print; -asn_constr_check_f NumOfMeasurements_constraint; -ber_type_decoder_f NumOfMeasurements_decode_ber; -der_type_encoder_f NumOfMeasurements_encode_der; -xer_type_decoder_f NumOfMeasurements_decode_xer; -xer_type_encoder_f NumOfMeasurements_encode_xer; -oer_type_decoder_f NumOfMeasurements_decode_oer; -oer_type_encoder_f NumOfMeasurements_encode_oer; -per_type_decoder_f NumOfMeasurements_decode_uper; -per_type_encoder_f NumOfMeasurements_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_NumOfMeasurements_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_NumOfMeasurements; + asn_struct_free_f NumOfMeasurements_free; + asn_struct_print_f NumOfMeasurements_print; + asn_constr_check_f NumOfMeasurements_constraint; + ber_type_decoder_f NumOfMeasurements_decode_ber; + der_type_encoder_f NumOfMeasurements_encode_der; + xer_type_decoder_f NumOfMeasurements_decode_xer; + xer_type_encoder_f NumOfMeasurements_encode_xer; + oer_type_decoder_f NumOfMeasurements_decode_oer; + oer_type_encoder_f NumOfMeasurements_encode_oer; + per_type_decoder_f NumOfMeasurements_decode_uper; + per_type_encoder_f NumOfMeasurements_encode_uper; #ifdef __cplusplus } #endif -#endif /* _NumOfMeasurements_H_ */ +#endif /* _NumOfMeasurements_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OCTET_STRING.h b/src/core/libs/supl2/asn-rrlp/OCTET_STRING.h index bb06dc62d..2bda51617 100644 --- a/src/core/libs/supl2/asn-rrlp/OCTET_STRING.h +++ b/src/core/libs/supl2/asn-rrlp/OCTET_STRING.h @@ -2,50 +2,52 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _OCTET_STRING_H_ -#define _OCTET_STRING_H_ +#ifndef _OCTET_STRING_H_ +#define _OCTET_STRING_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef struct OCTET_STRING { - uint8_t *buf; /* Buffer with consecutive OCTET_STRING bits */ - size_t size; /* Size of the buffer */ + typedef struct OCTET_STRING + { + uint8_t *buf; /* Buffer with consecutive OCTET_STRING bits */ + size_t size; /* Size of the buffer */ - asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ -} OCTET_STRING_t; + asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */ + } OCTET_STRING_t; -extern asn_TYPE_descriptor_t asn_DEF_OCTET_STRING; -extern asn_TYPE_operation_t asn_OP_OCTET_STRING; + extern asn_TYPE_descriptor_t asn_DEF_OCTET_STRING; + extern asn_TYPE_operation_t asn_OP_OCTET_STRING; -asn_struct_free_f OCTET_STRING_free; -asn_struct_print_f OCTET_STRING_print; -asn_struct_print_f OCTET_STRING_print_utf8; -asn_struct_compare_f OCTET_STRING_compare; -ber_type_decoder_f OCTET_STRING_decode_ber; -der_type_encoder_f OCTET_STRING_encode_der; -xer_type_decoder_f OCTET_STRING_decode_xer_hex; /* Hexadecimal */ -xer_type_decoder_f OCTET_STRING_decode_xer_binary; /* 01010111010 */ -xer_type_decoder_f OCTET_STRING_decode_xer_utf8; /* ASCII/UTF-8 */ -xer_type_encoder_f OCTET_STRING_encode_xer; -xer_type_encoder_f OCTET_STRING_encode_xer_utf8; -oer_type_decoder_f OCTET_STRING_decode_oer; -oer_type_encoder_f OCTET_STRING_encode_oer; -per_type_decoder_f OCTET_STRING_decode_uper; -per_type_encoder_f OCTET_STRING_encode_uper; -asn_random_fill_f OCTET_STRING_random_fill; + asn_struct_free_f OCTET_STRING_free; + asn_struct_print_f OCTET_STRING_print; + asn_struct_print_f OCTET_STRING_print_utf8; + asn_struct_compare_f OCTET_STRING_compare; + ber_type_decoder_f OCTET_STRING_decode_ber; + der_type_encoder_f OCTET_STRING_encode_der; + xer_type_decoder_f OCTET_STRING_decode_xer_hex; /* Hexadecimal */ + xer_type_decoder_f OCTET_STRING_decode_xer_binary; /* 01010111010 */ + xer_type_decoder_f OCTET_STRING_decode_xer_utf8; /* ASCII/UTF-8 */ + xer_type_encoder_f OCTET_STRING_encode_xer; + xer_type_encoder_f OCTET_STRING_encode_xer_utf8; + oer_type_decoder_f OCTET_STRING_decode_oer; + oer_type_encoder_f OCTET_STRING_encode_oer; + per_type_decoder_f OCTET_STRING_decode_uper; + per_type_encoder_f OCTET_STRING_encode_uper; + asn_random_fill_f OCTET_STRING_random_fill; -#define OCTET_STRING_constraint asn_generic_no_constraint -#define OCTET_STRING_decode_xer OCTET_STRING_decode_xer_hex +#define OCTET_STRING_constraint asn_generic_no_constraint +#define OCTET_STRING_decode_xer OCTET_STRING_decode_xer_hex -/****************************** + /****************************** * Handy conversion routines. * ******************************/ -/* + /* * This function clears the previous value of the OCTET STRING (if any) * and then allocates a new memory with the specified content (str/size). * If size = -1, the size of the original string will be determined @@ -54,47 +56,49 @@ asn_random_fill_f OCTET_STRING_random_fill; * current contents of the OCTET STRING. * Returns 0 if it was possible to perform operation, -1 otherwise. */ -int OCTET_STRING_fromBuf(OCTET_STRING_t *s, const char *str, int size); + int OCTET_STRING_fromBuf(OCTET_STRING_t *s, const char *str, int size); /* Handy conversion from the C string into the OCTET STRING. */ -#define OCTET_STRING_fromString(s, str) OCTET_STRING_fromBuf(s, str, -1) +#define OCTET_STRING_fromString(s, str) OCTET_STRING_fromBuf(s, str, -1) -/* + /* * Allocate and fill the new OCTET STRING and return a pointer to the newly * allocated object. NULL is permitted in str: the function will just allocate * empty OCTET STRING. */ -OCTET_STRING_t *OCTET_STRING_new_fromBuf(const asn_TYPE_descriptor_t *td, - const char *str, int size); + OCTET_STRING_t *OCTET_STRING_new_fromBuf(const asn_TYPE_descriptor_t *td, + const char *str, int size); -/**************************** + /**************************** * Internally useful stuff. * ****************************/ -typedef struct asn_OCTET_STRING_specifics_s { - /* + typedef struct asn_OCTET_STRING_specifics_s + { + /* * Target structure description. */ - unsigned struct_size; /* Size of the structure */ - unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */ + unsigned struct_size; /* Size of the structure */ + unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */ - enum asn_OS_Subvariant { - ASN_OSUBV_ANY, /* The open type (ANY) */ - ASN_OSUBV_BIT, /* BIT STRING */ - ASN_OSUBV_STR, /* String types, not {BMP,Universal}String */ - ASN_OSUBV_U16, /* 16-bit character (BMPString) */ - ASN_OSUBV_U32 /* 32-bit character (UniversalString) */ - } subvariant; -} asn_OCTET_STRING_specifics_t; + enum asn_OS_Subvariant + { + ASN_OSUBV_ANY, /* The open type (ANY) */ + ASN_OSUBV_BIT, /* BIT STRING */ + ASN_OSUBV_STR, /* String types, not {BMP,Universal}String */ + ASN_OSUBV_U16, /* 16-bit character (BMPString) */ + ASN_OSUBV_U32 /* 32-bit character (UniversalString) */ + } subvariant; + } asn_OCTET_STRING_specifics_t; -extern asn_OCTET_STRING_specifics_t asn_SPC_OCTET_STRING_specs; + extern asn_OCTET_STRING_specifics_t asn_SPC_OCTET_STRING_specs; -size_t OCTET_STRING_random_length_constrained( - const asn_TYPE_descriptor_t *, const asn_encoding_constraints_t *, - size_t max_length); + size_t OCTET_STRING_random_length_constrained( + const asn_TYPE_descriptor_t *, const asn_encoding_constraints_t *, + size_t max_length); #ifdef __cplusplus } #endif -#endif /* _OCTET_STRING_H_ */ +#endif /* _OCTET_STRING_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/OPEN_TYPE.h b/src/core/libs/supl2/asn-rrlp/OPEN_TYPE.h index d0f02fd79..cd68e0e65 100644 --- a/src/core/libs/supl2/asn-rrlp/OPEN_TYPE.h +++ b/src/core/libs/supl2/asn-rrlp/OPEN_TYPE.h @@ -8,7 +8,8 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif #define OPEN_TYPE_free CHOICE_free @@ -21,43 +22,43 @@ extern "C" { #define OPEN_TYPE_encode_xer CHOICE_encode_xer #define OPEN_TYPE_decode_uper NULL -extern asn_TYPE_operation_t asn_OP_OPEN_TYPE; + extern asn_TYPE_operation_t asn_OP_OPEN_TYPE; -/* + /* * Decode an Open Type which is potentially constraiend * by the other members of the parent structure. */ -asn_dec_rval_t OPEN_TYPE_ber_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - const asn_TYPE_member_t *element, - const void *ptr, size_t size); + asn_dec_rval_t OPEN_TYPE_ber_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + const asn_TYPE_member_t *element, + const void *ptr, size_t size); -asn_dec_rval_t OPEN_TYPE_xer_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - const asn_TYPE_member_t *element, - const void *ptr, size_t size); + asn_dec_rval_t OPEN_TYPE_xer_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + const asn_TYPE_member_t *element, + const void *ptr, size_t size); -asn_dec_rval_t OPEN_TYPE_oer_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - asn_TYPE_member_t *element, const void *ptr, - size_t size); + asn_dec_rval_t OPEN_TYPE_oer_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + asn_TYPE_member_t *element, const void *ptr, + size_t size); -asn_dec_rval_t OPEN_TYPE_uper_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - const asn_TYPE_member_t *element, - asn_per_data_t *pd); + asn_dec_rval_t OPEN_TYPE_uper_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + const asn_TYPE_member_t *element, + asn_per_data_t *pd); -asn_enc_rval_t OPEN_TYPE_encode_uper( - const asn_TYPE_descriptor_t *type_descriptor, - const asn_per_constraints_t *constraints, const void *struct_ptr, - asn_per_outp_t *per_output); + asn_enc_rval_t OPEN_TYPE_encode_uper( + const asn_TYPE_descriptor_t *type_descriptor, + const asn_per_constraints_t *constraints, const void *struct_ptr, + asn_per_outp_t *per_output); #ifdef __cplusplus } #endif -#endif /* ASN_OPEN_TYPE_H */ +#endif /* ASN_OPEN_TYPE_H */ diff --git a/src/core/libs/supl2/asn-rrlp/OTD-FirstSetMsrs.h b/src/core/libs/supl2/asn-rrlp/OTD-FirstSetMsrs.h index 838108dd6..aae030396 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-FirstSetMsrs.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-FirstSetMsrs.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_FirstSetMsrs_H_ -#define _OTD_FirstSetMsrs_H_ +#ifndef _OTD_FirstSetMsrs_H_ +#define _OTD_FirstSetMsrs_H_ #include @@ -14,29 +14,30 @@ #include "OTD-MeasurementWithID.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* OTD-FirstSetMsrs */ -typedef OTD_MeasurementWithID_t OTD_FirstSetMsrs_t; + /* OTD-FirstSetMsrs */ + typedef OTD_MeasurementWithID_t OTD_FirstSetMsrs_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_FirstSetMsrs; -asn_struct_free_f OTD_FirstSetMsrs_free; -asn_struct_print_f OTD_FirstSetMsrs_print; -asn_constr_check_f OTD_FirstSetMsrs_constraint; -ber_type_decoder_f OTD_FirstSetMsrs_decode_ber; -der_type_encoder_f OTD_FirstSetMsrs_encode_der; -xer_type_decoder_f OTD_FirstSetMsrs_decode_xer; -xer_type_encoder_f OTD_FirstSetMsrs_encode_xer; -oer_type_decoder_f OTD_FirstSetMsrs_decode_oer; -oer_type_encoder_f OTD_FirstSetMsrs_encode_oer; -per_type_decoder_f OTD_FirstSetMsrs_decode_uper; -per_type_encoder_f OTD_FirstSetMsrs_encode_uper; + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_FirstSetMsrs; + asn_struct_free_f OTD_FirstSetMsrs_free; + asn_struct_print_f OTD_FirstSetMsrs_print; + asn_constr_check_f OTD_FirstSetMsrs_constraint; + ber_type_decoder_f OTD_FirstSetMsrs_decode_ber; + der_type_encoder_f OTD_FirstSetMsrs_encode_der; + xer_type_decoder_f OTD_FirstSetMsrs_decode_xer; + xer_type_encoder_f OTD_FirstSetMsrs_encode_xer; + oer_type_decoder_f OTD_FirstSetMsrs_decode_oer; + oer_type_encoder_f OTD_FirstSetMsrs_encode_oer; + per_type_decoder_f OTD_FirstSetMsrs_decode_uper; + per_type_encoder_f OTD_FirstSetMsrs_encode_uper; #ifdef __cplusplus } #endif -#endif /* _OTD_FirstSetMsrs_H_ */ +#endif /* _OTD_FirstSetMsrs_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-5-Ext.h b/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-5-Ext.h index fdd3f0070..f2fe7afb5 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-5-Ext.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-5-Ext.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MeasureInfo_5_Ext_H_ -#define _OTD_MeasureInfo_5_Ext_H_ +#ifndef _OTD_MeasureInfo_5_Ext_H_ +#define _OTD_MeasureInfo_5_Ext_H_ #include @@ -14,30 +14,31 @@ #include "SeqOfOTD-MsrElementRest.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* OTD-MeasureInfo-5-Ext */ -typedef SeqOfOTD_MsrElementRest_t OTD_MeasureInfo_5_Ext_t; + /* OTD-MeasureInfo-5-Ext */ + typedef SeqOfOTD_MsrElementRest_t OTD_MeasureInfo_5_Ext_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_OTD_MeasureInfo_5_Ext_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasureInfo_5_Ext; -asn_struct_free_f OTD_MeasureInfo_5_Ext_free; -asn_struct_print_f OTD_MeasureInfo_5_Ext_print; -asn_constr_check_f OTD_MeasureInfo_5_Ext_constraint; -ber_type_decoder_f OTD_MeasureInfo_5_Ext_decode_ber; -der_type_encoder_f OTD_MeasureInfo_5_Ext_encode_der; -xer_type_decoder_f OTD_MeasureInfo_5_Ext_decode_xer; -xer_type_encoder_f OTD_MeasureInfo_5_Ext_encode_xer; -oer_type_decoder_f OTD_MeasureInfo_5_Ext_decode_oer; -oer_type_encoder_f OTD_MeasureInfo_5_Ext_encode_oer; -per_type_decoder_f OTD_MeasureInfo_5_Ext_decode_uper; -per_type_encoder_f OTD_MeasureInfo_5_Ext_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_OTD_MeasureInfo_5_Ext_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasureInfo_5_Ext; + asn_struct_free_f OTD_MeasureInfo_5_Ext_free; + asn_struct_print_f OTD_MeasureInfo_5_Ext_print; + asn_constr_check_f OTD_MeasureInfo_5_Ext_constraint; + ber_type_decoder_f OTD_MeasureInfo_5_Ext_decode_ber; + der_type_encoder_f OTD_MeasureInfo_5_Ext_encode_der; + xer_type_decoder_f OTD_MeasureInfo_5_Ext_decode_xer; + xer_type_encoder_f OTD_MeasureInfo_5_Ext_encode_xer; + oer_type_decoder_f OTD_MeasureInfo_5_Ext_decode_oer; + oer_type_encoder_f OTD_MeasureInfo_5_Ext_encode_oer; + per_type_decoder_f OTD_MeasureInfo_5_Ext_decode_uper; + per_type_encoder_f OTD_MeasureInfo_5_Ext_encode_uper; #ifdef __cplusplus } #endif -#endif /* _OTD_MeasureInfo_5_Ext_H_ */ +#endif /* _OTD_MeasureInfo_5_Ext_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-R98-Ext.h b/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-R98-Ext.h index 5520a5082..55819c1cc 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-R98-Ext.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo-R98-Ext.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MeasureInfo_R98_Ext_H_ -#define _OTD_MeasureInfo_R98_Ext_H_ +#ifndef _OTD_MeasureInfo_R98_Ext_H_ +#define _OTD_MeasureInfo_R98_Ext_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* OTD-MeasureInfo-R98-Ext */ -typedef struct OTD_MeasureInfo_R98_Ext { - OTD_MsrElementFirst_R98_Ext_t otdMsrFirstSets_R98_Ext; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MeasureInfo_R98_Ext_t; + /* OTD-MeasureInfo-R98-Ext */ + typedef struct OTD_MeasureInfo_R98_Ext + { + OTD_MsrElementFirst_R98_Ext_t otdMsrFirstSets_R98_Ext; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasureInfo_R98_Ext; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MeasureInfo_R98_Ext_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MeasureInfo_R98_Ext_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MeasureInfo_R98_Ext_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasureInfo_R98_Ext; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MeasureInfo_R98_Ext_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MeasureInfo_R98_Ext_1[1]; #ifdef __cplusplus } #endif -#endif /* _OTD_MeasureInfo_R98_Ext_H_ */ +#endif /* _OTD_MeasureInfo_R98_Ext_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo.h b/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo.h index 08d84844d..e90a6bcb9 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MeasureInfo.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MeasureInfo_H_ -#define _OTD_MeasureInfo_H_ +#ifndef _OTD_MeasureInfo_H_ +#define _OTD_MeasureInfo_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SeqOfOTD_MsrElementRest; + /* Forward declarations */ + struct SeqOfOTD_MsrElementRest; -/* OTD-MeasureInfo */ -typedef struct OTD_MeasureInfo { - OTD_MsrElementFirst_t otdMsrFirstSets; - struct SeqOfOTD_MsrElementRest *otdMsrRestSets /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MeasureInfo_t; + /* OTD-MeasureInfo */ + typedef struct OTD_MeasureInfo + { + OTD_MsrElementFirst_t otdMsrFirstSets; + struct SeqOfOTD_MsrElementRest *otdMsrRestSets /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasureInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MeasureInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MeasureInfo_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MeasureInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasureInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MeasureInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MeasureInfo_1[2]; #ifdef __cplusplus } @@ -42,5 +44,5 @@ extern asn_TYPE_member_t asn_MBR_OTD_MeasureInfo_1[2]; /* Referred external types */ #include "SeqOfOTD-MsrElementRest.h" -#endif /* _OTD_MeasureInfo_H_ */ +#endif /* _OTD_MeasureInfo_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-Measurement.h b/src/core/libs/supl2/asn-rrlp/OTD-Measurement.h index 071bb2a0b..3423f49e6 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-Measurement.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-Measurement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_Measurement_H_ -#define _OTD_Measurement_H_ +#ifndef _OTD_Measurement_H_ +#define _OTD_Measurement_H_ #include @@ -17,27 +17,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* OTD-Measurement */ -typedef struct OTD_Measurement { - ModuloTimeSlot_t nborTimeSlot; - EOTDQuality_t eotdQuality; - OTDValue_t otdValue; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_Measurement_t; + /* OTD-Measurement */ + typedef struct OTD_Measurement + { + ModuloTimeSlot_t nborTimeSlot; + EOTDQuality_t eotdQuality; + OTDValue_t otdValue; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_Measurement; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_Measurement_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_Measurement_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_Measurement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_Measurement; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_Measurement_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_Measurement_1[3]; #ifdef __cplusplus } #endif -#endif /* _OTD_Measurement_H_ */ +#endif /* _OTD_Measurement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MeasurementWithID.h b/src/core/libs/supl2/asn-rrlp/OTD-MeasurementWithID.h index 1790be082..ab002057c 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MeasurementWithID.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MeasurementWithID.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MeasurementWithID_H_ -#define _OTD_MeasurementWithID_H_ +#ifndef _OTD_MeasurementWithID_H_ +#define _OTD_MeasurementWithID_H_ #include @@ -18,28 +18,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* OTD-MeasurementWithID */ -typedef struct OTD_MeasurementWithID { - NeighborIdentity_t neighborIdentity; - ModuloTimeSlot_t nborTimeSlot; - EOTDQuality_t eotdQuality; - OTDValue_t otdValue; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MeasurementWithID_t; + /* OTD-MeasurementWithID */ + typedef struct OTD_MeasurementWithID + { + NeighborIdentity_t neighborIdentity; + ModuloTimeSlot_t nborTimeSlot; + EOTDQuality_t eotdQuality; + OTDValue_t otdValue; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasurementWithID; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MeasurementWithID_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MeasurementWithID_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MeasurementWithID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MeasurementWithID; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MeasurementWithID_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MeasurementWithID_1[4]; #ifdef __cplusplus } #endif -#endif /* _OTD_MeasurementWithID_H_ */ +#endif /* _OTD_MeasurementWithID_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst-R98-Ext.h b/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst-R98-Ext.h index f50dd321d..a37e67467 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst-R98-Ext.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst-R98-Ext.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MsrElementFirst_R98_Ext_H_ -#define _OTD_MsrElementFirst_R98_Ext_H_ +#ifndef _OTD_MsrElementFirst_R98_Ext_H_ +#define _OTD_MsrElementFirst_R98_Ext_H_ #include @@ -14,24 +14,26 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SeqOfOTD_FirstSetMsrs_R98_Ext; + /* Forward declarations */ + struct SeqOfOTD_FirstSetMsrs_R98_Ext; -/* OTD-MsrElementFirst-R98-Ext */ -typedef struct OTD_MsrElementFirst_R98_Ext { - struct SeqOfOTD_FirstSetMsrs_R98_Ext *otd_FirstSetMsrs_R98_Ext /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MsrElementFirst_R98_Ext_t; + /* OTD-MsrElementFirst-R98-Ext */ + typedef struct OTD_MsrElementFirst_R98_Ext + { + struct SeqOfOTD_FirstSetMsrs_R98_Ext *otd_FirstSetMsrs_R98_Ext /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrElementFirst_R98_Ext; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MsrElementFirst_R98_Ext_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MsrElementFirst_R98_Ext_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MsrElementFirst_R98_Ext_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrElementFirst_R98_Ext; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MsrElementFirst_R98_Ext_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MsrElementFirst_R98_Ext_1[1]; #ifdef __cplusplus } @@ -40,5 +42,5 @@ extern asn_TYPE_member_t asn_MBR_OTD_MsrElementFirst_R98_Ext_1[1]; /* Referred external types */ #include "SeqOfOTD-FirstSetMsrs-R98-Ext.h" -#endif /* _OTD_MsrElementFirst_R98_Ext_H_ */ +#endif /* _OTD_MsrElementFirst_R98_Ext_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst.h b/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst.h index 945023a6c..7c124af74 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MsrElementFirst.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MsrElementFirst_H_ -#define _OTD_MsrElementFirst_H_ +#ifndef _OTD_MsrElementFirst_H_ +#define _OTD_MsrElementFirst_H_ #include @@ -17,30 +17,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct TOA_MeasurementsOfRef; -struct SeqOfOTD_FirstSetMsrs; + /* Forward declarations */ + struct TOA_MeasurementsOfRef; + struct SeqOfOTD_FirstSetMsrs; -/* OTD-MsrElementFirst */ -typedef struct OTD_MsrElementFirst { - long refFrameNumber; - ModuloTimeSlot_t referenceTimeSlot; - struct TOA_MeasurementsOfRef *toaMeasurementsOfRef /* OPTIONAL */; - StdResolution_t stdResolution; - long *taCorrection /* OPTIONAL */; - struct SeqOfOTD_FirstSetMsrs *otd_FirstSetMsrs /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MsrElementFirst_t; + /* OTD-MsrElementFirst */ + typedef struct OTD_MsrElementFirst + { + long refFrameNumber; + ModuloTimeSlot_t referenceTimeSlot; + struct TOA_MeasurementsOfRef *toaMeasurementsOfRef /* OPTIONAL */; + StdResolution_t stdResolution; + long *taCorrection /* OPTIONAL */; + struct SeqOfOTD_FirstSetMsrs *otd_FirstSetMsrs /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrElementFirst; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MsrElementFirst_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MsrElementFirst_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MsrElementFirst_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrElementFirst; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MsrElementFirst_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MsrElementFirst_1[6]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_OTD_MsrElementFirst_1[6]; #include "TOA-MeasurementsOfRef.h" #include "SeqOfOTD-FirstSetMsrs.h" -#endif /* _OTD_MsrElementFirst_H_ */ +#endif /* _OTD_MsrElementFirst_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MsrElementRest.h b/src/core/libs/supl2/asn-rrlp/OTD-MsrElementRest.h index 78aa00bdb..5cdebf6b5 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MsrElementRest.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MsrElementRest.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MsrElementRest_H_ -#define _OTD_MsrElementRest_H_ +#ifndef _OTD_MsrElementRest_H_ +#define _OTD_MsrElementRest_H_ #include @@ -17,30 +17,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct TOA_MeasurementsOfRef; -struct SeqOfOTD_MsrsOfOtherSets; + /* Forward declarations */ + struct TOA_MeasurementsOfRef; + struct SeqOfOTD_MsrsOfOtherSets; -/* OTD-MsrElementRest */ -typedef struct OTD_MsrElementRest { - long refFrameNumber; - ModuloTimeSlot_t referenceTimeSlot; - struct TOA_MeasurementsOfRef *toaMeasurementsOfRef /* OPTIONAL */; - StdResolution_t stdResolution; - long *taCorrection /* OPTIONAL */; - struct SeqOfOTD_MsrsOfOtherSets *otd_MsrsOfOtherSets /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MsrElementRest_t; + /* OTD-MsrElementRest */ + typedef struct OTD_MsrElementRest + { + long refFrameNumber; + ModuloTimeSlot_t referenceTimeSlot; + struct TOA_MeasurementsOfRef *toaMeasurementsOfRef /* OPTIONAL */; + StdResolution_t stdResolution; + long *taCorrection /* OPTIONAL */; + struct SeqOfOTD_MsrsOfOtherSets *otd_MsrsOfOtherSets /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrElementRest; -extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MsrElementRest_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MsrElementRest_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MsrElementRest_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrElementRest; + extern asn_SEQUENCE_specifics_t asn_SPC_OTD_MsrElementRest_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MsrElementRest_1[6]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_OTD_MsrElementRest_1[6]; #include "TOA-MeasurementsOfRef.h" #include "SeqOfOTD-MsrsOfOtherSets.h" -#endif /* _OTD_MsrElementRest_H_ */ +#endif /* _OTD_MsrElementRest_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTD-MsrsOfOtherSets.h b/src/core/libs/supl2/asn-rrlp/OTD-MsrsOfOtherSets.h index 5272fadb4..e8780a5dc 100644 --- a/src/core/libs/supl2/asn-rrlp/OTD-MsrsOfOtherSets.h +++ b/src/core/libs/supl2/asn-rrlp/OTD-MsrsOfOtherSets.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTD_MsrsOfOtherSets_H_ -#define _OTD_MsrsOfOtherSets_H_ +#ifndef _OTD_MsrsOfOtherSets_H_ +#define _OTD_MsrsOfOtherSets_H_ #include @@ -16,37 +16,41 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum OTD_MsrsOfOtherSets_PR { - OTD_MsrsOfOtherSets_PR_NOTHING, /* No components present */ - OTD_MsrsOfOtherSets_PR_identityNotPresent, - OTD_MsrsOfOtherSets_PR_identityPresent -} OTD_MsrsOfOtherSets_PR; + /* Dependencies */ + typedef enum OTD_MsrsOfOtherSets_PR + { + OTD_MsrsOfOtherSets_PR_NOTHING, /* No components present */ + OTD_MsrsOfOtherSets_PR_identityNotPresent, + OTD_MsrsOfOtherSets_PR_identityPresent + } OTD_MsrsOfOtherSets_PR; -/* OTD-MsrsOfOtherSets */ -typedef struct OTD_MsrsOfOtherSets { - OTD_MsrsOfOtherSets_PR present; - union OTD_MsrsOfOtherSets_u { - OTD_Measurement_t identityNotPresent; - OTD_MeasurementWithID_t identityPresent; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} OTD_MsrsOfOtherSets_t; + /* OTD-MsrsOfOtherSets */ + typedef struct OTD_MsrsOfOtherSets + { + OTD_MsrsOfOtherSets_PR present; + union OTD_MsrsOfOtherSets_u + { + OTD_Measurement_t identityNotPresent; + OTD_MeasurementWithID_t identityPresent; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrsOfOtherSets; -extern asn_CHOICE_specifics_t asn_SPC_OTD_MsrsOfOtherSets_specs_1; -extern asn_TYPE_member_t asn_MBR_OTD_MsrsOfOtherSets_1[2]; -extern asn_per_constraints_t asn_PER_type_OTD_MsrsOfOtherSets_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } OTD_MsrsOfOtherSets_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_OTD_MsrsOfOtherSets; + extern asn_CHOICE_specifics_t asn_SPC_OTD_MsrsOfOtherSets_specs_1; + extern asn_TYPE_member_t asn_MBR_OTD_MsrsOfOtherSets_1[2]; + extern asn_per_constraints_t asn_PER_type_OTD_MsrsOfOtherSets_constr_1; #ifdef __cplusplus } #endif -#endif /* _OTD_MsrsOfOtherSets_H_ */ +#endif /* _OTD_MsrsOfOtherSets_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/OTDValue.h b/src/core/libs/supl2/asn-rrlp/OTDValue.h index 72dd30a4f..c0bf4d00b 100644 --- a/src/core/libs/supl2/asn-rrlp/OTDValue.h +++ b/src/core/libs/supl2/asn-rrlp/OTDValue.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _OTDValue_H_ -#define _OTDValue_H_ +#ifndef _OTDValue_H_ +#define _OTDValue_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* OTDValue */ -typedef long OTDValue_t; + /* OTDValue */ + typedef long OTDValue_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_OTDValue_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_OTDValue; -asn_struct_free_f OTDValue_free; -asn_struct_print_f OTDValue_print; -asn_constr_check_f OTDValue_constraint; -ber_type_decoder_f OTDValue_decode_ber; -der_type_encoder_f OTDValue_encode_der; -xer_type_decoder_f OTDValue_decode_xer; -xer_type_encoder_f OTDValue_encode_xer; -oer_type_decoder_f OTDValue_decode_oer; -oer_type_encoder_f OTDValue_encode_oer; -per_type_decoder_f OTDValue_decode_uper; -per_type_encoder_f OTDValue_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_OTDValue_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_OTDValue; + asn_struct_free_f OTDValue_free; + asn_struct_print_f OTDValue_print; + asn_constr_check_f OTDValue_constraint; + ber_type_decoder_f OTDValue_decode_ber; + der_type_encoder_f OTDValue_encode_der; + xer_type_decoder_f OTDValue_decode_xer; + xer_type_encoder_f OTDValue_encode_xer; + oer_type_decoder_f OTDValue_decode_oer; + oer_type_encoder_f OTDValue_encode_oer; + per_type_decoder_f OTDValue_decode_uper; + per_type_encoder_f OTDValue_encode_uper; #ifdef __cplusplus } #endif -#endif /* _OTDValue_H_ */ +#endif /* _OTDValue_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/PDU.h b/src/core/libs/supl2/asn-rrlp/PDU.h index d9511adf7..78dd9079d 100644 --- a/src/core/libs/supl2/asn-rrlp/PDU.h +++ b/src/core/libs/supl2/asn-rrlp/PDU.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _PDU_H_ -#define _PDU_H_ +#ifndef _PDU_H_ +#define _PDU_H_ #include @@ -16,24 +16,26 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PDU */ -typedef struct PDU { - long referenceNumber; - RRLP_Component_t component; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PDU_t; + /* PDU */ + typedef struct PDU + { + long referenceNumber; + RRLP_Component_t component; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PDU; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PDU_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PDU; #ifdef __cplusplus } #endif -#endif /* _PDU_H_ */ +#endif /* _PDU_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/PositionData.h b/src/core/libs/supl2/asn-rrlp/PositionData.h index a68d7ef60..61be7fed7 100644 --- a/src/core/libs/supl2/asn-rrlp/PositionData.h +++ b/src/core/libs/supl2/asn-rrlp/PositionData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _PositionData_H_ -#define _PositionData_H_ +#ifndef _PositionData_H_ +#define _PositionData_H_ #include @@ -14,37 +14,39 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum PositionData { - PositionData_e_otd = 0, - PositionData_gps = 1, - PositionData_galileo = 2 -} e_PositionData; + /* Dependencies */ + typedef enum PositionData + { + PositionData_e_otd = 0, + PositionData_gps = 1, + PositionData_galileo = 2 + } e_PositionData; -/* PositionData */ -typedef BIT_STRING_t PositionData_t; + /* PositionData */ + typedef BIT_STRING_t PositionData_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PositionData_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PositionData; -asn_struct_free_f PositionData_free; -asn_struct_print_f PositionData_print; -asn_constr_check_f PositionData_constraint; -ber_type_decoder_f PositionData_decode_ber; -der_type_encoder_f PositionData_encode_der; -xer_type_decoder_f PositionData_decode_xer; -xer_type_encoder_f PositionData_encode_xer; -oer_type_decoder_f PositionData_decode_oer; -oer_type_encoder_f PositionData_encode_oer; -per_type_decoder_f PositionData_decode_uper; -per_type_encoder_f PositionData_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_PositionData_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_PositionData; + asn_struct_free_f PositionData_free; + asn_struct_print_f PositionData_print; + asn_constr_check_f PositionData_constraint; + ber_type_decoder_f PositionData_decode_ber; + der_type_encoder_f PositionData_encode_der; + xer_type_decoder_f PositionData_decode_xer; + xer_type_encoder_f PositionData_encode_xer; + oer_type_decoder_f PositionData_decode_oer; + oer_type_encoder_f PositionData_encode_oer; + per_type_decoder_f PositionData_decode_uper; + per_type_encoder_f PositionData_encode_uper; #ifdef __cplusplus } #endif -#endif /* _PositionData_H_ */ +#endif /* _PositionData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/PositionInstruct.h b/src/core/libs/supl2/asn-rrlp/PositionInstruct.h index be5cf6291..3dbaae26b 100644 --- a/src/core/libs/supl2/asn-rrlp/PositionInstruct.h +++ b/src/core/libs/supl2/asn-rrlp/PositionInstruct.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _PositionInstruct_H_ -#define _PositionInstruct_H_ +#ifndef _PositionInstruct_H_ +#define _PositionInstruct_H_ #include @@ -19,29 +19,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PositionInstruct */ -typedef struct PositionInstruct { - MethodType_t methodType; - PositionMethod_t positionMethod; - MeasureResponseTime_t measureResponseTime; - UseMultipleSets_t useMultipleSets; - EnvironmentCharacter_t *environmentCharacter /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PositionInstruct_t; + /* PositionInstruct */ + typedef struct PositionInstruct + { + MethodType_t methodType; + PositionMethod_t positionMethod; + MeasureResponseTime_t measureResponseTime; + UseMultipleSets_t useMultipleSets; + EnvironmentCharacter_t *environmentCharacter /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PositionInstruct; -extern asn_SEQUENCE_specifics_t asn_SPC_PositionInstruct_specs_1; -extern asn_TYPE_member_t asn_MBR_PositionInstruct_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PositionInstruct_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PositionInstruct; + extern asn_SEQUENCE_specifics_t asn_SPC_PositionInstruct_specs_1; + extern asn_TYPE_member_t asn_MBR_PositionInstruct_1[5]; #ifdef __cplusplus } #endif -#endif /* _PositionInstruct_H_ */ +#endif /* _PositionInstruct_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/PositionMethod.h b/src/core/libs/supl2/asn-rrlp/PositionMethod.h index ed345e186..72e1396bd 100644 --- a/src/core/libs/supl2/asn-rrlp/PositionMethod.h +++ b/src/core/libs/supl2/asn-rrlp/PositionMethod.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _PositionMethod_H_ -#define _PositionMethod_H_ +#ifndef _PositionMethod_H_ +#define _PositionMethod_H_ #include @@ -14,38 +14,40 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum PositionMethod { - PositionMethod_eotd = 0, - PositionMethod_gps = 1, - PositionMethod_gpsOrEOTD = 2 -} e_PositionMethod; + /* Dependencies */ + typedef enum PositionMethod + { + PositionMethod_eotd = 0, + PositionMethod_gps = 1, + PositionMethod_gpsOrEOTD = 2 + } e_PositionMethod; -/* PositionMethod */ -typedef long PositionMethod_t; + /* PositionMethod */ + typedef long PositionMethod_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PositionMethod_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PositionMethod; -extern const asn_INTEGER_specifics_t asn_SPC_PositionMethod_specs_1; -asn_struct_free_f PositionMethod_free; -asn_struct_print_f PositionMethod_print; -asn_constr_check_f PositionMethod_constraint; -ber_type_decoder_f PositionMethod_decode_ber; -der_type_encoder_f PositionMethod_encode_der; -xer_type_decoder_f PositionMethod_decode_xer; -xer_type_encoder_f PositionMethod_encode_xer; -oer_type_decoder_f PositionMethod_decode_oer; -oer_type_encoder_f PositionMethod_encode_oer; -per_type_decoder_f PositionMethod_decode_uper; -per_type_encoder_f PositionMethod_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_PositionMethod_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_PositionMethod; + extern const asn_INTEGER_specifics_t asn_SPC_PositionMethod_specs_1; + asn_struct_free_f PositionMethod_free; + asn_struct_print_f PositionMethod_print; + asn_constr_check_f PositionMethod_constraint; + ber_type_decoder_f PositionMethod_decode_ber; + der_type_encoder_f PositionMethod_encode_der; + xer_type_decoder_f PositionMethod_decode_xer; + xer_type_encoder_f PositionMethod_encode_xer; + oer_type_decoder_f PositionMethod_decode_oer; + oer_type_encoder_f PositionMethod_encode_oer; + per_type_decoder_f PositionMethod_decode_uper; + per_type_encoder_f PositionMethod_encode_uper; #ifdef __cplusplus } #endif -#endif /* _PositionMethod_H_ */ +#endif /* _PositionMethod_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ProtocolError.h b/src/core/libs/supl2/asn-rrlp/ProtocolError.h index 3194b4e7f..1f130816b 100644 --- a/src/core/libs/supl2/asn-rrlp/ProtocolError.h +++ b/src/core/libs/supl2/asn-rrlp/ProtocolError.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ProtocolError_H_ -#define _ProtocolError_H_ +#ifndef _ProtocolError_H_ +#define _ProtocolError_H_ #include @@ -16,30 +16,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Rel_5_ProtocolError_Extension; + /* Forward declarations */ + struct Rel_5_ProtocolError_Extension; -/* ProtocolError */ -typedef struct ProtocolError { - ErrorCodes_t errorCause; - ExtensionContainer_t *extensionContainer /* OPTIONAL */; - /* + /* ProtocolError */ + typedef struct ProtocolError + { + ErrorCodes_t errorCause; + ExtensionContainer_t *extensionContainer /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Rel_5_ProtocolError_Extension *rel_5_ProtocolError_Extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtocolError_t; + struct Rel_5_ProtocolError_Extension *rel_5_ProtocolError_Extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ProtocolError; -extern asn_SEQUENCE_specifics_t asn_SPC_ProtocolError_specs_1; -extern asn_TYPE_member_t asn_MBR_ProtocolError_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ProtocolError_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ProtocolError; + extern asn_SEQUENCE_specifics_t asn_SPC_ProtocolError_specs_1; + extern asn_TYPE_member_t asn_MBR_ProtocolError_1[3]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_ProtocolError_1[3]; /* Referred external types */ #include "Rel-5-ProtocolError-Extension.h" -#endif /* _ProtocolError_H_ */ +#endif /* _ProtocolError_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RRLP-Component.h b/src/core/libs/supl2/asn-rrlp/RRLP-Component.h index 3a919e47c..77a312a69 100644 --- a/src/core/libs/supl2/asn-rrlp/RRLP-Component.h +++ b/src/core/libs/supl2/asn-rrlp/RRLP-Component.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RRLP_Component_H_ -#define _RRLP_Component_H_ +#ifndef _RRLP_Component_H_ +#define _RRLP_Component_H_ #include @@ -19,49 +19,53 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum RRLP_Component_PR { - RRLP_Component_PR_NOTHING, /* No components present */ - RRLP_Component_PR_msrPositionReq, - RRLP_Component_PR_msrPositionRsp, - RRLP_Component_PR_assistanceData, - RRLP_Component_PR_assistanceDataAck, - RRLP_Component_PR_protocolError - /* Extensions may appear below */ - -} RRLP_Component_PR; + /* Dependencies */ + typedef enum RRLP_Component_PR + { + RRLP_Component_PR_NOTHING, /* No components present */ + RRLP_Component_PR_msrPositionReq, + RRLP_Component_PR_msrPositionRsp, + RRLP_Component_PR_assistanceData, + RRLP_Component_PR_assistanceDataAck, + RRLP_Component_PR_protocolError + /* Extensions may appear below */ -/* RRLP-Component */ -typedef struct RRLP_Component { - RRLP_Component_PR present; - union RRLP_Component_u { - MsrPosition_Req_t msrPositionReq; - MsrPosition_Rsp_t msrPositionRsp; - AssistanceData_t assistanceData; - NULL_t assistanceDataAck; - ProtocolError_t protocolError; - /* + } RRLP_Component_PR; + + /* RRLP-Component */ + typedef struct RRLP_Component + { + RRLP_Component_PR present; + union RRLP_Component_u + { + MsrPosition_Req_t msrPositionReq; + MsrPosition_Rsp_t msrPositionRsp; + AssistanceData_t assistanceData; + NULL_t assistanceDataAck; + ProtocolError_t protocolError; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RRLP_Component_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RRLP_Component; -extern asn_CHOICE_specifics_t asn_SPC_RRLP_Component_specs_1; -extern asn_TYPE_member_t asn_MBR_RRLP_Component_1[5]; -extern asn_per_constraints_t asn_PER_type_RRLP_Component_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } RRLP_Component_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_RRLP_Component; + extern asn_CHOICE_specifics_t asn_SPC_RRLP_Component_specs_1; + extern asn_TYPE_member_t asn_MBR_RRLP_Component_1[5]; + extern asn_per_constraints_t asn_PER_type_RRLP_Component_constr_1; #ifdef __cplusplus } #endif -#endif /* _RRLP_Component_H_ */ +#endif /* _RRLP_Component_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RefLocation.h b/src/core/libs/supl2/asn-rrlp/RefLocation.h index edbd93b1e..f7251ba3b 100644 --- a/src/core/libs/supl2/asn-rrlp/RefLocation.h +++ b/src/core/libs/supl2/asn-rrlp/RefLocation.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RefLocation_H_ -#define _RefLocation_H_ +#ifndef _RefLocation_H_ +#define _RefLocation_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RefLocation */ -typedef struct RefLocation { - Ext_GeographicalInformation_t threeDLocation; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RefLocation_t; + /* RefLocation */ + typedef struct RefLocation + { + Ext_GeographicalInformation_t threeDLocation; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RefLocation; -extern asn_SEQUENCE_specifics_t asn_SPC_RefLocation_specs_1; -extern asn_TYPE_member_t asn_MBR_RefLocation_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } RefLocation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_RefLocation; + extern asn_SEQUENCE_specifics_t asn_SPC_RefLocation_specs_1; + extern asn_TYPE_member_t asn_MBR_RefLocation_1[1]; #ifdef __cplusplus } #endif -#endif /* _RefLocation_H_ */ +#endif /* _RefLocation_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RefQuality.h b/src/core/libs/supl2/asn-rrlp/RefQuality.h index 921ea5e58..0e7323093 100644 --- a/src/core/libs/supl2/asn-rrlp/RefQuality.h +++ b/src/core/libs/supl2/asn-rrlp/RefQuality.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RefQuality_H_ -#define _RefQuality_H_ +#ifndef _RefQuality_H_ +#define _RefQuality_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RefQuality */ -typedef long RefQuality_t; + /* RefQuality */ + typedef long RefQuality_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RefQuality_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RefQuality; -asn_struct_free_f RefQuality_free; -asn_struct_print_f RefQuality_print; -asn_constr_check_f RefQuality_constraint; -ber_type_decoder_f RefQuality_decode_ber; -der_type_encoder_f RefQuality_encode_der; -xer_type_decoder_f RefQuality_decode_xer; -xer_type_encoder_f RefQuality_encode_xer; -oer_type_decoder_f RefQuality_decode_oer; -oer_type_encoder_f RefQuality_encode_oer; -per_type_decoder_f RefQuality_decode_uper; -per_type_encoder_f RefQuality_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RefQuality_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RefQuality; + asn_struct_free_f RefQuality_free; + asn_struct_print_f RefQuality_print; + asn_constr_check_f RefQuality_constraint; + ber_type_decoder_f RefQuality_decode_ber; + der_type_encoder_f RefQuality_encode_der; + xer_type_decoder_f RefQuality_decode_xer; + xer_type_encoder_f RefQuality_encode_xer; + oer_type_decoder_f RefQuality_decode_oer; + oer_type_encoder_f RefQuality_encode_oer; + per_type_decoder_f RefQuality_decode_uper; + per_type_encoder_f RefQuality_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RefQuality_H_ */ +#endif /* _RefQuality_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceAssistData.h b/src/core/libs/supl2/asn-rrlp/ReferenceAssistData.h index 1446709c9..6356a0708 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceAssistData.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceAssistData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceAssistData_H_ -#define _ReferenceAssistData_H_ +#ifndef _ReferenceAssistData_H_ +#define _ReferenceAssistData_H_ #include @@ -18,28 +18,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ReferenceAssistData */ -typedef struct ReferenceAssistData { - BCCHCarrier_t bcchCarrier; - BSIC_t bsic; - TimeSlotScheme_t timeSlotScheme; - BTSPosition_t *btsPosition /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReferenceAssistData_t; + /* ReferenceAssistData */ + typedef struct ReferenceAssistData + { + BCCHCarrier_t bcchCarrier; + BSIC_t bsic; + TimeSlotScheme_t timeSlotScheme; + BTSPosition_t *btsPosition /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReferenceAssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceAssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_ReferenceAssistData_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReferenceAssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReferenceAssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceAssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_ReferenceAssistData_1[4]; #ifdef __cplusplus } #endif -#endif /* _ReferenceAssistData_H_ */ +#endif /* _ReferenceAssistData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceFrame.h b/src/core/libs/supl2/asn-rrlp/ReferenceFrame.h index e547ab1ed..67f7de377 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceFrame.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceFrame.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceFrame_H_ -#define _ReferenceFrame_H_ +#ifndef _ReferenceFrame_H_ +#define _ReferenceFrame_H_ #include @@ -15,26 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ReferenceFrame */ -typedef struct ReferenceFrame { - long referenceFN; - long *referenceFNMSB /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReferenceFrame_t; + /* ReferenceFrame */ + typedef struct ReferenceFrame + { + long referenceFN; + long *referenceFNMSB /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReferenceFrame; -extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceFrame_specs_1; -extern asn_TYPE_member_t asn_MBR_ReferenceFrame_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReferenceFrame_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReferenceFrame; + extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceFrame_specs_1; + extern asn_TYPE_member_t asn_MBR_ReferenceFrame_1[2]; #ifdef __cplusplus } #endif -#endif /* _ReferenceFrame_H_ */ +#endif /* _ReferenceFrame_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceIdentity.h b/src/core/libs/supl2/asn-rrlp/ReferenceIdentity.h index b4dc14ab9..146e3bfd8 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceIdentity.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceIdentity.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceIdentity_H_ -#define _ReferenceIdentity_H_ +#ifndef _ReferenceIdentity_H_ +#define _ReferenceIdentity_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ReferenceIdentity */ -typedef struct ReferenceIdentity { - SeqOfReferenceIdentityType_t refBTSList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReferenceIdentity_t; + /* ReferenceIdentity */ + typedef struct ReferenceIdentity + { + SeqOfReferenceIdentityType_t refBTSList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReferenceIdentity; -extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceIdentity_specs_1; -extern asn_TYPE_member_t asn_MBR_ReferenceIdentity_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReferenceIdentity_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReferenceIdentity; + extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceIdentity_specs_1; + extern asn_TYPE_member_t asn_MBR_ReferenceIdentity_1[1]; #ifdef __cplusplus } #endif -#endif /* _ReferenceIdentity_H_ */ +#endif /* _ReferenceIdentity_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceIdentityType.h b/src/core/libs/supl2/asn-rrlp/ReferenceIdentityType.h index f7a8f2c8d..b05055124 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceIdentityType.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceIdentityType.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceIdentityType_H_ -#define _ReferenceIdentityType_H_ +#ifndef _ReferenceIdentityType_H_ +#define _ReferenceIdentityType_H_ #include @@ -19,43 +19,47 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum ReferenceIdentityType_PR { - ReferenceIdentityType_PR_NOTHING, /* No components present */ - ReferenceIdentityType_PR_bsicAndCarrier, - ReferenceIdentityType_PR_ci, - ReferenceIdentityType_PR_requestIndex, - ReferenceIdentityType_PR_systemInfoIndex, - ReferenceIdentityType_PR_ciAndLAC -} ReferenceIdentityType_PR; + /* Dependencies */ + typedef enum ReferenceIdentityType_PR + { + ReferenceIdentityType_PR_NOTHING, /* No components present */ + ReferenceIdentityType_PR_bsicAndCarrier, + ReferenceIdentityType_PR_ci, + ReferenceIdentityType_PR_requestIndex, + ReferenceIdentityType_PR_systemInfoIndex, + ReferenceIdentityType_PR_ciAndLAC + } ReferenceIdentityType_PR; -/* ReferenceIdentityType */ -typedef struct ReferenceIdentityType { - ReferenceIdentityType_PR present; - union ReferenceIdentityType_u { - BSICAndCarrier_t bsicAndCarrier; - CellID_t ci; - RequestIndex_t requestIndex; - SystemInfoIndex_t systemInfoIndex; - CellIDAndLAC_t ciAndLAC; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReferenceIdentityType_t; + /* ReferenceIdentityType */ + typedef struct ReferenceIdentityType + { + ReferenceIdentityType_PR present; + union ReferenceIdentityType_u + { + BSICAndCarrier_t bsicAndCarrier; + CellID_t ci; + RequestIndex_t requestIndex; + SystemInfoIndex_t systemInfoIndex; + CellIDAndLAC_t ciAndLAC; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReferenceIdentityType; -extern asn_CHOICE_specifics_t asn_SPC_ReferenceIdentityType_specs_1; -extern asn_TYPE_member_t asn_MBR_ReferenceIdentityType_1[5]; -extern asn_per_constraints_t asn_PER_type_ReferenceIdentityType_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReferenceIdentityType_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReferenceIdentityType; + extern asn_CHOICE_specifics_t asn_SPC_ReferenceIdentityType_specs_1; + extern asn_TYPE_member_t asn_MBR_ReferenceIdentityType_1[5]; + extern asn_per_constraints_t asn_PER_type_ReferenceIdentityType_constr_1; #ifdef __cplusplus } #endif -#endif /* _ReferenceIdentityType_H_ */ +#endif /* _ReferenceIdentityType_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceRelation.h b/src/core/libs/supl2/asn-rrlp/ReferenceRelation.h index ae7e520c8..eced2e0b0 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceRelation.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceRelation.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceRelation_H_ -#define _ReferenceRelation_H_ +#ifndef _ReferenceRelation_H_ +#define _ReferenceRelation_H_ #include @@ -14,38 +14,40 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum ReferenceRelation { - ReferenceRelation_secondBTSThirdSet = 0, - ReferenceRelation_secondBTSSecondSet = 1, - ReferenceRelation_firstBTSFirstSet = 2 -} e_ReferenceRelation; + /* Dependencies */ + typedef enum ReferenceRelation + { + ReferenceRelation_secondBTSThirdSet = 0, + ReferenceRelation_secondBTSSecondSet = 1, + ReferenceRelation_firstBTSFirstSet = 2 + } e_ReferenceRelation; -/* ReferenceRelation */ -typedef long ReferenceRelation_t; + /* ReferenceRelation */ + typedef long ReferenceRelation_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ReferenceRelation_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ReferenceRelation; -extern const asn_INTEGER_specifics_t asn_SPC_ReferenceRelation_specs_1; -asn_struct_free_f ReferenceRelation_free; -asn_struct_print_f ReferenceRelation_print; -asn_constr_check_f ReferenceRelation_constraint; -ber_type_decoder_f ReferenceRelation_decode_ber; -der_type_encoder_f ReferenceRelation_encode_der; -xer_type_decoder_f ReferenceRelation_decode_xer; -xer_type_encoder_f ReferenceRelation_encode_xer; -oer_type_decoder_f ReferenceRelation_decode_oer; -oer_type_encoder_f ReferenceRelation_encode_oer; -per_type_decoder_f ReferenceRelation_decode_uper; -per_type_encoder_f ReferenceRelation_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ReferenceRelation_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ReferenceRelation; + extern const asn_INTEGER_specifics_t asn_SPC_ReferenceRelation_specs_1; + asn_struct_free_f ReferenceRelation_free; + asn_struct_print_f ReferenceRelation_print; + asn_constr_check_f ReferenceRelation_constraint; + ber_type_decoder_f ReferenceRelation_decode_ber; + der_type_encoder_f ReferenceRelation_encode_der; + xer_type_decoder_f ReferenceRelation_decode_xer; + xer_type_encoder_f ReferenceRelation_encode_xer; + oer_type_decoder_f ReferenceRelation_decode_oer; + oer_type_encoder_f ReferenceRelation_encode_oer; + per_type_decoder_f ReferenceRelation_decode_uper; + per_type_encoder_f ReferenceRelation_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ReferenceRelation_H_ */ +#endif /* _ReferenceRelation_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceTime.h b/src/core/libs/supl2/asn-rrlp/ReferenceTime.h index 3789b01da..f608353f1 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceTime.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceTime.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceTime_H_ -#define _ReferenceTime_H_ +#ifndef _ReferenceTime_H_ +#define _ReferenceTime_H_ #include @@ -15,27 +15,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GSMTime; -struct GPSTOWAssist; + /* Forward declarations */ + struct GSMTime; + struct GPSTOWAssist; -/* ReferenceTime */ -typedef struct ReferenceTime { - GPSTime_t gpsTime; - struct GSMTime *gsmTime /* OPTIONAL */; - struct GPSTOWAssist *gpsTowAssist /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReferenceTime_t; + /* ReferenceTime */ + typedef struct ReferenceTime + { + GPSTime_t gpsTime; + struct GSMTime *gsmTime /* OPTIONAL */; + struct GPSTOWAssist *gpsTowAssist /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReferenceTime; -extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceTime_specs_1; -extern asn_TYPE_member_t asn_MBR_ReferenceTime_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReferenceTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReferenceTime; + extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceTime_specs_1; + extern asn_TYPE_member_t asn_MBR_ReferenceTime_1[3]; #ifdef __cplusplus } @@ -45,5 +47,5 @@ extern asn_TYPE_member_t asn_MBR_ReferenceTime_1[3]; #include "GSMTime.h" #include "GPSTOWAssist.h" -#endif /* _ReferenceTime_H_ */ +#endif /* _ReferenceTime_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/ReferenceWGS84.h b/src/core/libs/supl2/asn-rrlp/ReferenceWGS84.h index ec616c22a..7ae7d6790 100644 --- a/src/core/libs/supl2/asn-rrlp/ReferenceWGS84.h +++ b/src/core/libs/supl2/asn-rrlp/ReferenceWGS84.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _ReferenceWGS84_H_ -#define _ReferenceWGS84_H_ +#ifndef _ReferenceWGS84_H_ +#define _ReferenceWGS84_H_ #include @@ -16,27 +16,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ReferenceWGS84 */ -typedef struct ReferenceWGS84 { - RelDistance_t relativeNorth; - RelDistance_t relativeEast; - RelativeAlt_t *relativeAlt /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReferenceWGS84_t; + /* ReferenceWGS84 */ + typedef struct ReferenceWGS84 + { + RelDistance_t relativeNorth; + RelDistance_t relativeEast; + RelativeAlt_t *relativeAlt /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReferenceWGS84; -extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceWGS84_specs_1; -extern asn_TYPE_member_t asn_MBR_ReferenceWGS84_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReferenceWGS84_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReferenceWGS84; + extern asn_SEQUENCE_specifics_t asn_SPC_ReferenceWGS84_specs_1; + extern asn_TYPE_member_t asn_MBR_ReferenceWGS84_1[3]; #ifdef __cplusplus } #endif -#endif /* _ReferenceWGS84_H_ */ +#endif /* _ReferenceWGS84_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel-5-MsrPosition-Rsp-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel-5-MsrPosition-Rsp-Extension.h index ae0fae86a..5f9b5dd7b 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel-5-MsrPosition-Rsp-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel-5-MsrPosition-Rsp-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel_5_MsrPosition_Rsp_Extension_H_ -#define _Rel_5_MsrPosition_Rsp_Extension_H_ +#ifndef _Rel_5_MsrPosition_Rsp_Extension_H_ +#define _Rel_5_MsrPosition_Rsp_Extension_H_ #include @@ -15,31 +15,33 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Extended_reference; -struct OTD_MeasureInfo_5_Ext; + /* Forward declarations */ + struct Extended_reference; + struct OTD_MeasureInfo_5_Ext; -/* Rel-5-MsrPosition-Rsp-Extension */ -typedef struct Rel_5_MsrPosition_Rsp_Extension { - struct Extended_reference *extended_reference /* OPTIONAL */; - struct OTD_MeasureInfo_5_Ext *otd_MeasureInfo_5_Ext /* OPTIONAL */; - UlPseudoSegInd_t *ulPseudoSegInd /* OPTIONAL */; - /* + /* Rel-5-MsrPosition-Rsp-Extension */ + typedef struct Rel_5_MsrPosition_Rsp_Extension + { + struct Extended_reference *extended_reference /* OPTIONAL */; + struct OTD_MeasureInfo_5_Ext *otd_MeasureInfo_5_Ext /* OPTIONAL */; + UlPseudoSegInd_t *ulPseudoSegInd /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel_5_MsrPosition_Rsp_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel_5_MsrPosition_Rsp_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel_5_MsrPosition_Rsp_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel_5_MsrPosition_Rsp_Extension_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel_5_MsrPosition_Rsp_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel_5_MsrPosition_Rsp_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel_5_MsrPosition_Rsp_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel_5_MsrPosition_Rsp_Extension_1[3]; #ifdef __cplusplus } @@ -49,5 +51,5 @@ extern asn_TYPE_member_t asn_MBR_Rel_5_MsrPosition_Rsp_Extension_1[3]; #include "Extended-reference.h" #include "OTD-MeasureInfo-5-Ext.h" -#endif /* _Rel_5_MsrPosition_Rsp_Extension_H_ */ +#endif /* _Rel_5_MsrPosition_Rsp_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel-5-ProtocolError-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel-5-ProtocolError-Extension.h index 6418e8a3f..0c2a8ac23 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel-5-ProtocolError-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel-5-ProtocolError-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel_5_ProtocolError_Extension_H_ -#define _Rel_5_ProtocolError_Extension_H_ +#ifndef _Rel_5_ProtocolError_Extension_H_ +#define _Rel_5_ProtocolError_Extension_H_ #include @@ -14,28 +14,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Extended_reference; + /* Forward declarations */ + struct Extended_reference; -/* Rel-5-ProtocolError-Extension */ -typedef struct Rel_5_ProtocolError_Extension { - struct Extended_reference *extended_reference /* OPTIONAL */; - /* + /* Rel-5-ProtocolError-Extension */ + typedef struct Rel_5_ProtocolError_Extension + { + struct Extended_reference *extended_reference /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel_5_ProtocolError_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel_5_ProtocolError_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel_5_ProtocolError_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel_5_ProtocolError_Extension_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel_5_ProtocolError_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel_5_ProtocolError_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel_5_ProtocolError_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel_5_ProtocolError_Extension_1[1]; #ifdef __cplusplus } @@ -44,5 +46,5 @@ extern asn_TYPE_member_t asn_MBR_Rel_5_ProtocolError_Extension_1[1]; /* Referred external types */ #include "Extended-reference.h" -#endif /* _Rel_5_ProtocolError_Extension_H_ */ +#endif /* _Rel_5_ProtocolError_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel-7-MsrPosition-Rsp-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel-7-MsrPosition-Rsp-Extension.h index a9f0e14f8..cbe558b57 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel-7-MsrPosition-Rsp-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel-7-MsrPosition-Rsp-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel_7_MsrPosition_Rsp_Extension_H_ -#define _Rel_7_MsrPosition_Rsp_Extension_H_ +#ifndef _Rel_7_MsrPosition_Rsp_Extension_H_ +#define _Rel_7_MsrPosition_Rsp_Extension_H_ #include @@ -15,29 +15,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSLocationInfo; -struct GANSSMeasureInfo; + /* Forward declarations */ + struct GANSSLocationInfo; + struct GANSSMeasureInfo; -/* Rel-7-MsrPosition-Rsp-Extension */ -typedef struct Rel_7_MsrPosition_Rsp_Extension { - VelocityEstimate_t *velEstimate /* OPTIONAL */; - struct GANSSLocationInfo *ganssLocationInfo /* OPTIONAL */; - struct GANSSMeasureInfo *ganssMeasureInfo /* OPTIONAL */; - /* + /* Rel-7-MsrPosition-Rsp-Extension */ + typedef struct Rel_7_MsrPosition_Rsp_Extension + { + VelocityEstimate_t *velEstimate /* OPTIONAL */; + struct GANSSLocationInfo *ganssLocationInfo /* OPTIONAL */; + struct GANSSMeasureInfo *ganssMeasureInfo /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel_7_MsrPosition_Rsp_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel_7_MsrPosition_Rsp_Extension; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel_7_MsrPosition_Rsp_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel_7_MsrPosition_Rsp_Extension; #ifdef __cplusplus } @@ -47,5 +49,5 @@ extern asn_TYPE_descriptor_t asn_DEF_Rel_7_MsrPosition_Rsp_Extension; #include "GANSSLocationInfo.h" #include "GANSSMeasureInfo.h" -#endif /* _Rel_7_MsrPosition_Rsp_Extension_H_ */ +#endif /* _Rel_7_MsrPosition_Rsp_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel-98-MsrPosition-Rsp-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel-98-MsrPosition-Rsp-Extension.h index 2cf251274..02f41fa10 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel-98-MsrPosition-Rsp-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel-98-MsrPosition-Rsp-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel_98_MsrPosition_Rsp_Extension_H_ -#define _Rel_98_MsrPosition_Rsp_Extension_H_ +#ifndef _Rel_98_MsrPosition_Rsp_Extension_H_ +#define _Rel_98_MsrPosition_Rsp_Extension_H_ #include @@ -14,35 +14,38 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GPSTimeAssistanceMeasurements; -struct OTD_MeasureInfo_R98_Ext; + /* Forward declarations */ + struct GPSTimeAssistanceMeasurements; + struct OTD_MeasureInfo_R98_Ext; -/* Rel-98-MsrPosition-Rsp-Extension */ -typedef struct Rel_98_MsrPosition_Rsp_Extension { - struct rel_98_Ext_MeasureInfo { - struct OTD_MeasureInfo_R98_Ext *otd_MeasureInfo_R98_Ext /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } rel_98_Ext_MeasureInfo; - /* + /* Rel-98-MsrPosition-Rsp-Extension */ + typedef struct Rel_98_MsrPosition_Rsp_Extension + { + struct rel_98_Ext_MeasureInfo + { + struct OTD_MeasureInfo_R98_Ext *otd_MeasureInfo_R98_Ext /* OPTIONAL */; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } rel_98_Ext_MeasureInfo; + /* * This type is extensible, * possible extensions are below. */ - struct GPSTimeAssistanceMeasurements *timeAssistanceMeasurements /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel_98_MsrPosition_Rsp_Extension_t; + struct GPSTimeAssistanceMeasurements *timeAssistanceMeasurements /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel_98_MsrPosition_Rsp_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel_98_MsrPosition_Rsp_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel_98_MsrPosition_Rsp_Extension_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel_98_MsrPosition_Rsp_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel_98_MsrPosition_Rsp_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel_98_MsrPosition_Rsp_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel_98_MsrPosition_Rsp_Extension_1[2]; #ifdef __cplusplus } @@ -52,5 +55,5 @@ extern asn_TYPE_member_t asn_MBR_Rel_98_MsrPosition_Rsp_Extension_1[2]; #include "GPSTimeAssistanceMeasurements.h" #include "OTD-MeasureInfo-R98-Ext.h" -#endif /* _Rel_98_MsrPosition_Rsp_Extension_H_ */ +#endif /* _Rel_98_MsrPosition_Rsp_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel5-AssistanceData-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel5-AssistanceData-Extension.h index 622d16e9c..872a5918a 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel5-AssistanceData-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel5-AssistanceData-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel5_AssistanceData_Extension_H_ -#define _Rel5_AssistanceData_Extension_H_ +#ifndef _Rel5_AssistanceData_Extension_H_ +#define _Rel5_AssistanceData_Extension_H_ #include @@ -15,29 +15,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Rel5-AssistanceData-Extension */ -typedef struct Rel5_AssistanceData_Extension { - Extended_reference_t extended_reference; - /* + /* Rel5-AssistanceData-Extension */ + typedef struct Rel5_AssistanceData_Extension + { + Extended_reference_t extended_reference; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel5_AssistanceData_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel5_AssistanceData_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel5_AssistanceData_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel5_AssistanceData_Extension_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel5_AssistanceData_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel5_AssistanceData_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel5_AssistanceData_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel5_AssistanceData_Extension_1[1]; #ifdef __cplusplus } #endif -#endif /* _Rel5_AssistanceData_Extension_H_ */ +#endif /* _Rel5_AssistanceData_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel5-MsrPosition-Req-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel5-MsrPosition-Req-Extension.h index 4ca3aba3e..62691d7e6 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel5-MsrPosition-Req-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel5-MsrPosition-Req-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel5_MsrPosition_Req_Extension_H_ -#define _Rel5_MsrPosition_Req_Extension_H_ +#ifndef _Rel5_MsrPosition_Req_Extension_H_ +#define _Rel5_MsrPosition_Req_Extension_H_ #include @@ -15,29 +15,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Rel5-MsrPosition-Req-Extension */ -typedef struct Rel5_MsrPosition_Req_Extension { - Extended_reference_t extended_reference; - /* + /* Rel5-MsrPosition-Req-Extension */ + typedef struct Rel5_MsrPosition_Req_Extension + { + Extended_reference_t extended_reference; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel5_MsrPosition_Req_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel5_MsrPosition_Req_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel5_MsrPosition_Req_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel5_MsrPosition_Req_Extension_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel5_MsrPosition_Req_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel5_MsrPosition_Req_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel5_MsrPosition_Req_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel5_MsrPosition_Req_Extension_1[1]; #ifdef __cplusplus } #endif -#endif /* _Rel5_MsrPosition_Req_Extension_H_ */ +#endif /* _Rel5_MsrPosition_Req_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel7-AssistanceData-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel7-AssistanceData-Extension.h index f9d349d87..7c2bea78a 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel7-AssistanceData-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel7-AssistanceData-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel7_AssistanceData_Extension_H_ -#define _Rel7_AssistanceData_Extension_H_ +#ifndef _Rel7_AssistanceData_Extension_H_ +#define _Rel7_AssistanceData_Extension_H_ #include @@ -15,28 +15,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSS_AssistData; + /* Forward declarations */ + struct GANSS_AssistData; -/* Rel7-AssistanceData-Extension */ -typedef struct Rel7_AssistanceData_Extension { - struct GANSS_AssistData *ganss_AssistData /* OPTIONAL */; - NULL_t *ganssCarrierPhaseMeasurementRequest /* OPTIONAL */; - NULL_t *ganssTODGSMTimeAssociationMeasurementRequest /* OPTIONAL */; - /* + /* Rel7-AssistanceData-Extension */ + typedef struct Rel7_AssistanceData_Extension + { + struct GANSS_AssistData *ganss_AssistData /* OPTIONAL */; + NULL_t *ganssCarrierPhaseMeasurementRequest /* OPTIONAL */; + NULL_t *ganssTODGSMTimeAssociationMeasurementRequest /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel7_AssistanceData_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel7_AssistanceData_Extension; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel7_AssistanceData_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel7_AssistanceData_Extension; #ifdef __cplusplus } @@ -45,5 +47,5 @@ extern asn_TYPE_descriptor_t asn_DEF_Rel7_AssistanceData_Extension; /* Referred external types */ #include "GANSS-AssistData.h" -#endif /* _Rel7_AssistanceData_Extension_H_ */ +#endif /* _Rel7_AssistanceData_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel7-MsrPosition-Req-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel7-MsrPosition-Req-Extension.h index d9bb0ce4d..efa588dcb 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel7-MsrPosition-Req-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel7-MsrPosition-Req-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel7_MsrPosition_Req_Extension_H_ -#define _Rel7_MsrPosition_Req_Extension_H_ +#ifndef _Rel7_MsrPosition_Req_Extension_H_ +#define _Rel7_MsrPosition_Req_Extension_H_ #include @@ -17,31 +17,33 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSS_AssistData; + /* Forward declarations */ + struct GANSS_AssistData; -/* Rel7-MsrPosition-Req-Extension */ -typedef struct Rel7_MsrPosition_Req_Extension { - NULL_t *velocityRequested /* OPTIONAL */; - GANSSPositioningMethod_t *ganssPositionMethod /* OPTIONAL */; - struct GANSS_AssistData *ganss_AssistData /* OPTIONAL */; - NULL_t *ganssCarrierPhaseMeasurementRequest /* OPTIONAL */; - NULL_t *ganssTODGSMTimeAssociationMeasurementRequest /* OPTIONAL */; - RequiredResponseTime_t *requiredResponseTime /* OPTIONAL */; - /* + /* Rel7-MsrPosition-Req-Extension */ + typedef struct Rel7_MsrPosition_Req_Extension + { + NULL_t *velocityRequested /* OPTIONAL */; + GANSSPositioningMethod_t *ganssPositionMethod /* OPTIONAL */; + struct GANSS_AssistData *ganss_AssistData /* OPTIONAL */; + NULL_t *ganssCarrierPhaseMeasurementRequest /* OPTIONAL */; + NULL_t *ganssTODGSMTimeAssociationMeasurementRequest /* OPTIONAL */; + RequiredResponseTime_t *requiredResponseTime /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel7_MsrPosition_Req_Extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel7_MsrPosition_Req_Extension; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel7_MsrPosition_Req_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel7_MsrPosition_Req_Extension; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_descriptor_t asn_DEF_Rel7_MsrPosition_Req_Extension; /* Referred external types */ #include "GANSS-AssistData.h" -#endif /* _Rel7_MsrPosition_Req_Extension_H_ */ +#endif /* _Rel7_MsrPosition_Req_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel98-AssistanceData-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel98-AssistanceData-Extension.h index 60cf23246..e2c66f092 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel98-AssistanceData-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel98-AssistanceData-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel98_AssistanceData_Extension_H_ -#define _Rel98_AssistanceData_Extension_H_ +#ifndef _Rel98_AssistanceData_Extension_H_ +#define _Rel98_AssistanceData_Extension_H_ #include @@ -16,30 +16,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Rel98_Ext_ExpOTD; + /* Forward declarations */ + struct Rel98_Ext_ExpOTD; -/* Rel98-AssistanceData-Extension */ -typedef struct Rel98_AssistanceData_Extension { - struct Rel98_Ext_ExpOTD *rel98_Ext_ExpOTD /* OPTIONAL */; - /* + /* Rel98-AssistanceData-Extension */ + typedef struct Rel98_AssistanceData_Extension + { + struct Rel98_Ext_ExpOTD *rel98_Ext_ExpOTD /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - NULL_t *gpsTimeAssistanceMeasurementRequest /* OPTIONAL */; - GPSReferenceTimeUncertainty_t *gpsReferenceTimeUncertainty /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel98_AssistanceData_Extension_t; + NULL_t *gpsTimeAssistanceMeasurementRequest /* OPTIONAL */; + GPSReferenceTimeUncertainty_t *gpsReferenceTimeUncertainty /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel98_AssistanceData_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel98_AssistanceData_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel98_AssistanceData_Extension_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel98_AssistanceData_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel98_AssistanceData_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel98_AssistanceData_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel98_AssistanceData_Extension_1[3]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_Rel98_AssistanceData_Extension_1[3]; /* Referred external types */ #include "Rel98-Ext-ExpOTD.h" -#endif /* _Rel98_AssistanceData_Extension_H_ */ +#endif /* _Rel98_AssistanceData_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel98-Ext-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/Rel98-Ext-ExpOTD.h index baa16478d..f15b8d859 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel98-Ext-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/Rel98-Ext-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel98_Ext_ExpOTD_H_ -#define _Rel98_Ext_ExpOTD_H_ +#ifndef _Rel98_Ext_ExpOTD_H_ +#define _Rel98_Ext_ExpOTD_H_ #include @@ -14,26 +14,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MsrAssistData_R98_ExpOTD; -struct SystemInfoAssistData_R98_ExpOTD; + /* Forward declarations */ + struct MsrAssistData_R98_ExpOTD; + struct SystemInfoAssistData_R98_ExpOTD; -/* Rel98-Ext-ExpOTD */ -typedef struct Rel98_Ext_ExpOTD { - struct MsrAssistData_R98_ExpOTD *msrAssistData_R98_ExpOTD /* OPTIONAL */; - struct SystemInfoAssistData_R98_ExpOTD *systemInfoAssistData_R98_ExpOTD /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel98_Ext_ExpOTD_t; + /* Rel98-Ext-ExpOTD */ + typedef struct Rel98_Ext_ExpOTD + { + struct MsrAssistData_R98_ExpOTD *msrAssistData_R98_ExpOTD /* OPTIONAL */; + struct SystemInfoAssistData_R98_ExpOTD *systemInfoAssistData_R98_ExpOTD /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel98_Ext_ExpOTD; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel98_Ext_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel98_Ext_ExpOTD_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel98_Ext_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel98_Ext_ExpOTD; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel98_Ext_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel98_Ext_ExpOTD_1[2]; #ifdef __cplusplus } @@ -43,5 +45,5 @@ extern asn_TYPE_member_t asn_MBR_Rel98_Ext_ExpOTD_1[2]; #include "MsrAssistData-R98-ExpOTD.h" #include "SystemInfoAssistData-R98-ExpOTD.h" -#endif /* _Rel98_Ext_ExpOTD_H_ */ +#endif /* _Rel98_Ext_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/Rel98-MsrPosition-Req-Extension.h b/src/core/libs/supl2/asn-rrlp/Rel98-MsrPosition-Req-Extension.h index 4f4e3340b..e15d2fca0 100644 --- a/src/core/libs/supl2/asn-rrlp/Rel98-MsrPosition-Req-Extension.h +++ b/src/core/libs/supl2/asn-rrlp/Rel98-MsrPosition-Req-Extension.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _Rel98_MsrPosition_Req_Extension_H_ -#define _Rel98_MsrPosition_Req_Extension_H_ +#ifndef _Rel98_MsrPosition_Req_Extension_H_ +#define _Rel98_MsrPosition_Req_Extension_H_ #include @@ -16,30 +16,32 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Rel98_Ext_ExpOTD; + /* Forward declarations */ + struct Rel98_Ext_ExpOTD; -/* Rel98-MsrPosition-Req-Extension */ -typedef struct Rel98_MsrPosition_Req_Extension { - struct Rel98_Ext_ExpOTD *rel98_Ext_ExpOTD /* OPTIONAL */; - /* + /* Rel98-MsrPosition-Req-Extension */ + typedef struct Rel98_MsrPosition_Req_Extension + { + struct Rel98_Ext_ExpOTD *rel98_Ext_ExpOTD /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - NULL_t *gpsTimeAssistanceMeasurementRequest /* OPTIONAL */; - GPSReferenceTimeUncertainty_t *gpsReferenceTimeUncertainty /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Rel98_MsrPosition_Req_Extension_t; + NULL_t *gpsTimeAssistanceMeasurementRequest /* OPTIONAL */; + GPSReferenceTimeUncertainty_t *gpsReferenceTimeUncertainty /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Rel98_MsrPosition_Req_Extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Rel98_MsrPosition_Req_Extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Rel98_MsrPosition_Req_Extension_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Rel98_MsrPosition_Req_Extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Rel98_MsrPosition_Req_Extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Rel98_MsrPosition_Req_Extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Rel98_MsrPosition_Req_Extension_1[3]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_Rel98_MsrPosition_Req_Extension_1[3]; /* Referred external types */ #include "Rel98-Ext-ExpOTD.h" -#endif /* _Rel98_MsrPosition_Req_Extension_H_ */ +#endif /* _Rel98_MsrPosition_Req_Extension_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RelDistance.h b/src/core/libs/supl2/asn-rrlp/RelDistance.h index beb957805..12fb0d30e 100644 --- a/src/core/libs/supl2/asn-rrlp/RelDistance.h +++ b/src/core/libs/supl2/asn-rrlp/RelDistance.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RelDistance_H_ -#define _RelDistance_H_ +#ifndef _RelDistance_H_ +#define _RelDistance_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RelDistance */ -typedef long RelDistance_t; + /* RelDistance */ + typedef long RelDistance_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RelDistance_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RelDistance; -asn_struct_free_f RelDistance_free; -asn_struct_print_f RelDistance_print; -asn_constr_check_f RelDistance_constraint; -ber_type_decoder_f RelDistance_decode_ber; -der_type_encoder_f RelDistance_encode_der; -xer_type_decoder_f RelDistance_decode_xer; -xer_type_encoder_f RelDistance_encode_xer; -oer_type_decoder_f RelDistance_decode_oer; -oer_type_encoder_f RelDistance_encode_oer; -per_type_decoder_f RelDistance_decode_uper; -per_type_encoder_f RelDistance_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RelDistance_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RelDistance; + asn_struct_free_f RelDistance_free; + asn_struct_print_f RelDistance_print; + asn_constr_check_f RelDistance_constraint; + ber_type_decoder_f RelDistance_decode_ber; + der_type_encoder_f RelDistance_encode_der; + xer_type_decoder_f RelDistance_decode_xer; + xer_type_encoder_f RelDistance_encode_xer; + oer_type_decoder_f RelDistance_decode_oer; + oer_type_encoder_f RelDistance_encode_oer; + per_type_decoder_f RelDistance_decode_uper; + per_type_encoder_f RelDistance_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RelDistance_H_ */ +#endif /* _RelDistance_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RelativeAlt.h b/src/core/libs/supl2/asn-rrlp/RelativeAlt.h index 42d67fccc..bd15e301f 100644 --- a/src/core/libs/supl2/asn-rrlp/RelativeAlt.h +++ b/src/core/libs/supl2/asn-rrlp/RelativeAlt.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RelativeAlt_H_ -#define _RelativeAlt_H_ +#ifndef _RelativeAlt_H_ +#define _RelativeAlt_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RelativeAlt */ -typedef long RelativeAlt_t; + /* RelativeAlt */ + typedef long RelativeAlt_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RelativeAlt_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RelativeAlt; -asn_struct_free_f RelativeAlt_free; -asn_struct_print_f RelativeAlt_print; -asn_constr_check_f RelativeAlt_constraint; -ber_type_decoder_f RelativeAlt_decode_ber; -der_type_encoder_f RelativeAlt_encode_der; -xer_type_decoder_f RelativeAlt_decode_xer; -xer_type_encoder_f RelativeAlt_encode_xer; -oer_type_decoder_f RelativeAlt_decode_oer; -oer_type_encoder_f RelativeAlt_encode_oer; -per_type_decoder_f RelativeAlt_decode_uper; -per_type_encoder_f RelativeAlt_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RelativeAlt_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RelativeAlt; + asn_struct_free_f RelativeAlt_free; + asn_struct_print_f RelativeAlt_print; + asn_constr_check_f RelativeAlt_constraint; + ber_type_decoder_f RelativeAlt_decode_ber; + der_type_encoder_f RelativeAlt_encode_der; + xer_type_decoder_f RelativeAlt_decode_xer; + xer_type_encoder_f RelativeAlt_encode_xer; + oer_type_decoder_f RelativeAlt_decode_oer; + oer_type_encoder_f RelativeAlt_encode_oer; + per_type_decoder_f RelativeAlt_decode_uper; + per_type_encoder_f RelativeAlt_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RelativeAlt_H_ */ +#endif /* _RelativeAlt_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RequestIndex.h b/src/core/libs/supl2/asn-rrlp/RequestIndex.h index a774025fb..b3cde75bc 100644 --- a/src/core/libs/supl2/asn-rrlp/RequestIndex.h +++ b/src/core/libs/supl2/asn-rrlp/RequestIndex.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RequestIndex_H_ -#define _RequestIndex_H_ +#ifndef _RequestIndex_H_ +#define _RequestIndex_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RequestIndex */ -typedef long RequestIndex_t; + /* RequestIndex */ + typedef long RequestIndex_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RequestIndex_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RequestIndex; -asn_struct_free_f RequestIndex_free; -asn_struct_print_f RequestIndex_print; -asn_constr_check_f RequestIndex_constraint; -ber_type_decoder_f RequestIndex_decode_ber; -der_type_encoder_f RequestIndex_encode_der; -xer_type_decoder_f RequestIndex_decode_xer; -xer_type_encoder_f RequestIndex_encode_xer; -oer_type_decoder_f RequestIndex_decode_oer; -oer_type_encoder_f RequestIndex_encode_oer; -per_type_decoder_f RequestIndex_decode_uper; -per_type_encoder_f RequestIndex_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RequestIndex_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RequestIndex; + asn_struct_free_f RequestIndex_free; + asn_struct_print_f RequestIndex_print; + asn_constr_check_f RequestIndex_constraint; + ber_type_decoder_f RequestIndex_decode_ber; + der_type_encoder_f RequestIndex_encode_der; + xer_type_decoder_f RequestIndex_decode_xer; + xer_type_encoder_f RequestIndex_encode_xer; + oer_type_decoder_f RequestIndex_decode_oer; + oer_type_encoder_f RequestIndex_encode_oer; + per_type_decoder_f RequestIndex_decode_uper; + per_type_encoder_f RequestIndex_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RequestIndex_H_ */ +#endif /* _RequestIndex_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RequiredResponseTime.h b/src/core/libs/supl2/asn-rrlp/RequiredResponseTime.h index 347002637..26a9f1e9c 100644 --- a/src/core/libs/supl2/asn-rrlp/RequiredResponseTime.h +++ b/src/core/libs/supl2/asn-rrlp/RequiredResponseTime.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RequiredResponseTime_H_ -#define _RequiredResponseTime_H_ +#ifndef _RequiredResponseTime_H_ +#define _RequiredResponseTime_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RequiredResponseTime */ -typedef long RequiredResponseTime_t; + /* RequiredResponseTime */ + typedef long RequiredResponseTime_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RequiredResponseTime_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RequiredResponseTime; -asn_struct_free_f RequiredResponseTime_free; -asn_struct_print_f RequiredResponseTime_print; -asn_constr_check_f RequiredResponseTime_constraint; -ber_type_decoder_f RequiredResponseTime_decode_ber; -der_type_encoder_f RequiredResponseTime_encode_der; -xer_type_decoder_f RequiredResponseTime_decode_xer; -xer_type_encoder_f RequiredResponseTime_encode_xer; -oer_type_decoder_f RequiredResponseTime_decode_oer; -oer_type_encoder_f RequiredResponseTime_encode_oer; -per_type_decoder_f RequiredResponseTime_decode_uper; -per_type_encoder_f RequiredResponseTime_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RequiredResponseTime_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RequiredResponseTime; + asn_struct_free_f RequiredResponseTime_free; + asn_struct_print_f RequiredResponseTime_print; + asn_constr_check_f RequiredResponseTime_constraint; + ber_type_decoder_f RequiredResponseTime_decode_ber; + der_type_encoder_f RequiredResponseTime_encode_der; + xer_type_decoder_f RequiredResponseTime_decode_xer; + xer_type_encoder_f RequiredResponseTime_encode_xer; + oer_type_decoder_f RequiredResponseTime_decode_oer; + oer_type_encoder_f RequiredResponseTime_encode_oer; + per_type_decoder_f RequiredResponseTime_decode_uper; + per_type_encoder_f RequiredResponseTime_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RequiredResponseTime_H_ */ +#endif /* _RequiredResponseTime_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/RoughRTD.h b/src/core/libs/supl2/asn-rrlp/RoughRTD.h index 9071ddaec..2062a8386 100644 --- a/src/core/libs/supl2/asn-rrlp/RoughRTD.h +++ b/src/core/libs/supl2/asn-rrlp/RoughRTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _RoughRTD_H_ -#define _RoughRTD_H_ +#ifndef _RoughRTD_H_ +#define _RoughRTD_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RoughRTD */ -typedef long RoughRTD_t; + /* RoughRTD */ + typedef long RoughRTD_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RoughRTD_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RoughRTD; -asn_struct_free_f RoughRTD_free; -asn_struct_print_f RoughRTD_print; -asn_constr_check_f RoughRTD_constraint; -ber_type_decoder_f RoughRTD_decode_ber; -der_type_encoder_f RoughRTD_encode_der; -xer_type_decoder_f RoughRTD_decode_xer; -xer_type_encoder_f RoughRTD_encode_xer; -oer_type_decoder_f RoughRTD_decode_oer; -oer_type_encoder_f RoughRTD_encode_oer; -per_type_decoder_f RoughRTD_decode_uper; -per_type_encoder_f RoughRTD_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RoughRTD_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RoughRTD; + asn_struct_free_f RoughRTD_free; + asn_struct_print_f RoughRTD_print; + asn_constr_check_f RoughRTD_constraint; + ber_type_decoder_f RoughRTD_decode_ber; + der_type_encoder_f RoughRTD_encode_der; + xer_type_decoder_f RoughRTD_decode_xer; + xer_type_encoder_f RoughRTD_encode_xer; + oer_type_decoder_f RoughRTD_decode_oer; + oer_type_encoder_f RoughRTD_encode_oer; + per_type_decoder_f RoughRTD_decode_uper; + per_type_encoder_f RoughRTD_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RoughRTD_H_ */ +#endif /* _RoughRTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SVID.h b/src/core/libs/supl2/asn-rrlp/SVID.h index a35026dae..9e831b50e 100644 --- a/src/core/libs/supl2/asn-rrlp/SVID.h +++ b/src/core/libs/supl2/asn-rrlp/SVID.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SVID_H_ -#define _SVID_H_ +#ifndef _SVID_H_ +#define _SVID_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SVID */ -typedef long SVID_t; + /* SVID */ + typedef long SVID_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SVID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SVID; -asn_struct_free_f SVID_free; -asn_struct_print_f SVID_print; -asn_constr_check_f SVID_constraint; -ber_type_decoder_f SVID_decode_ber; -der_type_encoder_f SVID_encode_der; -xer_type_decoder_f SVID_decode_xer; -xer_type_encoder_f SVID_encode_xer; -oer_type_decoder_f SVID_decode_oer; -oer_type_encoder_f SVID_encode_oer; -per_type_decoder_f SVID_decode_uper; -per_type_encoder_f SVID_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SVID_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SVID; + asn_struct_free_f SVID_free; + asn_struct_print_f SVID_print; + asn_constr_check_f SVID_constraint; + ber_type_decoder_f SVID_decode_ber; + der_type_encoder_f SVID_encode_der; + xer_type_decoder_f SVID_decode_xer; + xer_type_encoder_f SVID_encode_xer; + oer_type_decoder_f SVID_decode_oer; + oer_type_encoder_f SVID_encode_oer; + per_type_decoder_f SVID_decode_uper; + per_type_encoder_f SVID_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SVID_H_ */ +#endif /* _SVID_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SVIDMASK.h b/src/core/libs/supl2/asn-rrlp/SVIDMASK.h index a2fb42bff..090ae6010 100644 --- a/src/core/libs/supl2/asn-rrlp/SVIDMASK.h +++ b/src/core/libs/supl2/asn-rrlp/SVIDMASK.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SVIDMASK_H_ -#define _SVIDMASK_H_ +#ifndef _SVIDMASK_H_ +#define _SVIDMASK_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SVIDMASK */ -typedef BIT_STRING_t SVIDMASK_t; + /* SVIDMASK */ + typedef BIT_STRING_t SVIDMASK_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SVIDMASK_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SVIDMASK; -asn_struct_free_f SVIDMASK_free; -asn_struct_print_f SVIDMASK_print; -asn_constr_check_f SVIDMASK_constraint; -ber_type_decoder_f SVIDMASK_decode_ber; -der_type_encoder_f SVIDMASK_encode_der; -xer_type_decoder_f SVIDMASK_decode_xer; -xer_type_encoder_f SVIDMASK_encode_xer; -oer_type_decoder_f SVIDMASK_decode_oer; -oer_type_encoder_f SVIDMASK_encode_oer; -per_type_decoder_f SVIDMASK_decode_uper; -per_type_encoder_f SVIDMASK_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SVIDMASK_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SVIDMASK; + asn_struct_free_f SVIDMASK_free; + asn_struct_print_f SVIDMASK_print; + asn_constr_check_f SVIDMASK_constraint; + ber_type_decoder_f SVIDMASK_decode_ber; + der_type_encoder_f SVIDMASK_encode_der; + xer_type_decoder_f SVIDMASK_decode_xer; + xer_type_encoder_f SVIDMASK_encode_xer; + oer_type_decoder_f SVIDMASK_decode_oer; + oer_type_encoder_f SVIDMASK_encode_oer; + per_type_decoder_f SVIDMASK_decode_uper; + per_type_encoder_f SVIDMASK_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SVIDMASK_H_ */ +#endif /* _SVIDMASK_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SatElement.h b/src/core/libs/supl2/asn-rrlp/SatElement.h index 56fbbb0e6..0c5dce64b 100644 --- a/src/core/libs/supl2/asn-rrlp/SatElement.h +++ b/src/core/libs/supl2/asn-rrlp/SatElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SatElement_H_ -#define _SatElement_H_ +#ifndef _SatElement_H_ +#define _SatElement_H_ #include @@ -16,33 +16,35 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SatElement */ -typedef struct SatElement { - SatelliteID_t satelliteID; - long iode; - long udre; - long pseudoRangeCor; - long rangeRateCor; - long deltaPseudoRangeCor2; - long deltaRangeRateCor2; - long deltaPseudoRangeCor3; - long deltaRangeRateCor3; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SatElement_t; + /* SatElement */ + typedef struct SatElement + { + SatelliteID_t satelliteID; + long iode; + long udre; + long pseudoRangeCor; + long rangeRateCor; + long deltaPseudoRangeCor2; + long deltaRangeRateCor2; + long deltaPseudoRangeCor3; + long deltaRangeRateCor3; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SatElement; -extern asn_SEQUENCE_specifics_t asn_SPC_SatElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SatElement_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SatElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SatElement; + extern asn_SEQUENCE_specifics_t asn_SPC_SatElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SatElement_1[9]; #ifdef __cplusplus } #endif -#endif /* _SatElement_H_ */ +#endif /* _SatElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SatStatus.h b/src/core/libs/supl2/asn-rrlp/SatStatus.h index 0c28b61b5..126dbc72a 100644 --- a/src/core/libs/supl2/asn-rrlp/SatStatus.h +++ b/src/core/libs/supl2/asn-rrlp/SatStatus.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SatStatus_H_ -#define _SatStatus_H_ +#ifndef _SatStatus_H_ +#define _SatStatus_H_ #include @@ -16,45 +16,49 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SatStatus_PR { - SatStatus_PR_NOTHING, /* No components present */ - SatStatus_PR_newSatelliteAndModelUC, - SatStatus_PR_oldSatelliteAndModel, - SatStatus_PR_newNaviModelUC - /* Extensions may appear below */ - -} SatStatus_PR; + /* Dependencies */ + typedef enum SatStatus_PR + { + SatStatus_PR_NOTHING, /* No components present */ + SatStatus_PR_newSatelliteAndModelUC, + SatStatus_PR_oldSatelliteAndModel, + SatStatus_PR_newNaviModelUC + /* Extensions may appear below */ -/* SatStatus */ -typedef struct SatStatus { - SatStatus_PR present; - union SatStatus_u { - UncompressedEphemeris_t newSatelliteAndModelUC; - NULL_t oldSatelliteAndModel; - UncompressedEphemeris_t newNaviModelUC; - /* + } SatStatus_PR; + + /* SatStatus */ + typedef struct SatStatus + { + SatStatus_PR present; + union SatStatus_u + { + UncompressedEphemeris_t newSatelliteAndModelUC; + NULL_t oldSatelliteAndModel; + UncompressedEphemeris_t newNaviModelUC; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SatStatus_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SatStatus; -extern asn_CHOICE_specifics_t asn_SPC_SatStatus_specs_1; -extern asn_TYPE_member_t asn_MBR_SatStatus_1[3]; -extern asn_per_constraints_t asn_PER_type_SatStatus_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SatStatus_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SatStatus; + extern asn_CHOICE_specifics_t asn_SPC_SatStatus_specs_1; + extern asn_TYPE_member_t asn_MBR_SatStatus_1[3]; + extern asn_per_constraints_t asn_PER_type_SatStatus_constr_1; #ifdef __cplusplus } #endif -#endif /* _SatStatus_H_ */ +#endif /* _SatStatus_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SatelliteID.h b/src/core/libs/supl2/asn-rrlp/SatelliteID.h index f629303c3..4f6520b9e 100644 --- a/src/core/libs/supl2/asn-rrlp/SatelliteID.h +++ b/src/core/libs/supl2/asn-rrlp/SatelliteID.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SatelliteID_H_ -#define _SatelliteID_H_ +#ifndef _SatelliteID_H_ +#define _SatelliteID_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SatelliteID */ -typedef long SatelliteID_t; + /* SatelliteID */ + typedef long SatelliteID_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SatelliteID_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SatelliteID; -asn_struct_free_f SatelliteID_free; -asn_struct_print_f SatelliteID_print; -asn_constr_check_f SatelliteID_constraint; -ber_type_decoder_f SatelliteID_decode_ber; -der_type_encoder_f SatelliteID_encode_der; -xer_type_decoder_f SatelliteID_decode_xer; -xer_type_encoder_f SatelliteID_encode_xer; -oer_type_decoder_f SatelliteID_decode_oer; -oer_type_encoder_f SatelliteID_encode_oer; -per_type_decoder_f SatelliteID_decode_uper; -per_type_encoder_f SatelliteID_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SatelliteID_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SatelliteID; + asn_struct_free_f SatelliteID_free; + asn_struct_print_f SatelliteID_print; + asn_constr_check_f SatelliteID_constraint; + ber_type_decoder_f SatelliteID_decode_ber; + der_type_encoder_f SatelliteID_encode_der; + xer_type_decoder_f SatelliteID_decode_xer; + xer_type_encoder_f SatelliteID_encode_xer; + oer_type_decoder_f SatelliteID_decode_oer; + oer_type_encoder_f SatelliteID_encode_oer; + per_type_decoder_f SatelliteID_decode_uper; + per_type_encoder_f SatelliteID_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SatelliteID_H_ */ +#endif /* _SatelliteID_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOf-BadSatelliteSet.h b/src/core/libs/supl2/asn-rrlp/SeqOf-BadSatelliteSet.h index 0e985c468..8b0c586cf 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOf-BadSatelliteSet.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOf-BadSatelliteSet.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOf_BadSatelliteSet_H_ -#define _SeqOf_BadSatelliteSet_H_ +#ifndef _SeqOf_BadSatelliteSet_H_ +#define _SeqOf_BadSatelliteSet_H_ #include @@ -16,26 +16,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SeqOf-BadSatelliteSet */ -typedef struct SeqOf_BadSatelliteSet { - A_SEQUENCE_OF(SatelliteID_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOf_BadSatelliteSet_t; + /* SeqOf-BadSatelliteSet */ + typedef struct SeqOf_BadSatelliteSet + { + A_SEQUENCE_OF(SatelliteID_t) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOf_BadSatelliteSet; -extern asn_SET_OF_specifics_t asn_SPC_SeqOf_BadSatelliteSet_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOf_BadSatelliteSet_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOf_BadSatelliteSet_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOf_BadSatelliteSet_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOf_BadSatelliteSet; + extern asn_SET_OF_specifics_t asn_SPC_SeqOf_BadSatelliteSet_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOf_BadSatelliteSet_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOf_BadSatelliteSet_constr_1; #ifdef __cplusplus } #endif -#endif /* _SeqOf_BadSatelliteSet_H_ */ +#endif /* _SeqOf_BadSatelliteSet_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOf-GANSSDataBits.h b/src/core/libs/supl2/asn-rrlp/SeqOf-GANSSDataBits.h index bc85e084e..f448f9aea 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOf-GANSSDataBits.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOf-GANSSDataBits.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOf_GANSSDataBits_H_ -#define _SeqOf_GANSSDataBits_H_ +#ifndef _SeqOf_GANSSDataBits_H_ +#define _SeqOf_GANSSDataBits_H_ #include @@ -16,26 +16,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SeqOf-GANSSDataBits */ -typedef struct SeqOf_GANSSDataBits { - A_SEQUENCE_OF(GANSSDataBit_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOf_GANSSDataBits_t; + /* SeqOf-GANSSDataBits */ + typedef struct SeqOf_GANSSDataBits + { + A_SEQUENCE_OF(GANSSDataBit_t) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOf_GANSSDataBits; -extern asn_SET_OF_specifics_t asn_SPC_SeqOf_GANSSDataBits_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOf_GANSSDataBits_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOf_GANSSDataBits_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOf_GANSSDataBits_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOf_GANSSDataBits; + extern asn_SET_OF_specifics_t asn_SPC_SeqOf_GANSSDataBits_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOf_GANSSDataBits_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOf_GANSSDataBits_constr_1; #ifdef __cplusplus } #endif -#endif /* _SeqOf_GANSSDataBits_H_ */ +#endif /* _SeqOf_GANSSDataBits_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfAcquisElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfAcquisElement.h index cf71eb4ef..01a32b50e 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfAcquisElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfAcquisElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfAcquisElement_H_ -#define _SeqOfAcquisElement_H_ +#ifndef _SeqOfAcquisElement_H_ +#define _SeqOfAcquisElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct AcquisElement; + /* Forward declarations */ + struct AcquisElement; -/* SeqOfAcquisElement */ -typedef struct SeqOfAcquisElement { - A_SEQUENCE_OF(struct AcquisElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfAcquisElement_t; + /* SeqOfAcquisElement */ + typedef struct SeqOfAcquisElement + { + A_SEQUENCE_OF(struct AcquisElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfAcquisElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfAcquisElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfAcquisElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfAcquisElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfAcquisElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfAcquisElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfAcquisElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfAcquisElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfAcquisElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfAcquisElement_constr_1; /* Referred external types */ #include "AcquisElement.h" -#endif /* _SeqOfAcquisElement_H_ */ +#endif /* _SeqOfAcquisElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfAlmanacElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfAlmanacElement.h index 82417a9f2..81d05b1b4 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfAlmanacElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfAlmanacElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfAlmanacElement_H_ -#define _SeqOfAlmanacElement_H_ +#ifndef _SeqOfAlmanacElement_H_ +#define _SeqOfAlmanacElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct AlmanacElement; + /* Forward declarations */ + struct AlmanacElement; -/* SeqOfAlmanacElement */ -typedef struct SeqOfAlmanacElement { - A_SEQUENCE_OF(struct AlmanacElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfAlmanacElement_t; + /* SeqOfAlmanacElement */ + typedef struct SeqOfAlmanacElement + { + A_SEQUENCE_OF(struct AlmanacElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfAlmanacElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfAlmanacElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfAlmanacElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfAlmanacElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfAlmanacElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfAlmanacElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfAlmanacElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfAlmanacElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfAlmanacElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfAlmanacElement_constr_1; /* Referred external types */ #include "AlmanacElement.h" -#endif /* _SeqOfAlmanacElement_H_ */ +#endif /* _SeqOfAlmanacElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfBadSignalElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfBadSignalElement.h index e745dffe9..020274cab 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfBadSignalElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfBadSignalElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfBadSignalElement_H_ -#define _SeqOfBadSignalElement_H_ +#ifndef _SeqOfBadSignalElement_H_ +#define _SeqOfBadSignalElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct BadSignalElement; + /* Forward declarations */ + struct BadSignalElement; -/* SeqOfBadSignalElement */ -typedef struct SeqOfBadSignalElement { - A_SEQUENCE_OF(struct BadSignalElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfBadSignalElement_t; + /* SeqOfBadSignalElement */ + typedef struct SeqOfBadSignalElement + { + A_SEQUENCE_OF(struct BadSignalElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfBadSignalElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfBadSignalElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfBadSignalElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfBadSignalElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfBadSignalElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfBadSignalElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfBadSignalElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfBadSignalElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfBadSignalElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfBadSignalElement_constr_1; /* Referred external types */ #include "BadSignalElement.h" -#endif /* _SeqOfBadSignalElement_H_ */ +#endif /* _SeqOfBadSignalElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfDGANSSSgnElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfDGANSSSgnElement.h index 23cb7db48..892031f0d 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfDGANSSSgnElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfDGANSSSgnElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfDGANSSSgnElement_H_ -#define _SeqOfDGANSSSgnElement_H_ +#ifndef _SeqOfDGANSSSgnElement_H_ +#define _SeqOfDGANSSSgnElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct DGANSSSgnElement; + /* Forward declarations */ + struct DGANSSSgnElement; -/* SeqOfDGANSSSgnElement */ -typedef struct SeqOfDGANSSSgnElement { - A_SEQUENCE_OF(struct DGANSSSgnElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfDGANSSSgnElement_t; + /* SeqOfDGANSSSgnElement */ + typedef struct SeqOfDGANSSSgnElement + { + A_SEQUENCE_OF(struct DGANSSSgnElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfDGANSSSgnElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfDGANSSSgnElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfDGANSSSgnElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfDGANSSSgnElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfDGANSSSgnElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfDGANSSSgnElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfDGANSSSgnElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfDGANSSSgnElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfDGANSSSgnElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfDGANSSSgnElement_constr_1; /* Referred external types */ #include "DGANSSSgnElement.h" -#endif /* _SeqOfDGANSSSgnElement_H_ */ +#endif /* _SeqOfDGANSSSgnElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-MsrSetElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-MsrSetElement.h index 39f164746..35186b136 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-MsrSetElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-MsrSetElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSS_MsrSetElement_H_ -#define _SeqOfGANSS_MsrSetElement_H_ +#ifndef _SeqOfGANSS_MsrSetElement_H_ +#define _SeqOfGANSS_MsrSetElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSS_MsrSetElement; + /* Forward declarations */ + struct GANSS_MsrSetElement; -/* SeqOfGANSS-MsrSetElement */ -typedef struct SeqOfGANSS_MsrSetElement { - A_SEQUENCE_OF(struct GANSS_MsrSetElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSS_MsrSetElement_t; + /* SeqOfGANSS-MsrSetElement */ + typedef struct SeqOfGANSS_MsrSetElement + { + A_SEQUENCE_OF(struct GANSS_MsrSetElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSS_MsrSetElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSS_MsrSetElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSS_MsrSetElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_MsrSetElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSS_MsrSetElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSS_MsrSetElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSS_MsrSetElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSS_MsrSetElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_MsrSetElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_MsrSetElement_constr_1; /* Referred external types */ #include "GANSS-MsrSetElement.h" -#endif /* _SeqOfGANSS_MsrSetElement_H_ */ +#endif /* _SeqOfGANSS_MsrSetElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnElement.h index 6342dee3c..6def7a436 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSS_SgnElement_H_ -#define _SeqOfGANSS_SgnElement_H_ +#ifndef _SeqOfGANSS_SgnElement_H_ +#define _SeqOfGANSS_SgnElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSS_SgnElement; + /* Forward declarations */ + struct GANSS_SgnElement; -/* SeqOfGANSS-SgnElement */ -typedef struct SeqOfGANSS_SgnElement { - A_SEQUENCE_OF(struct GANSS_SgnElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSS_SgnElement_t; + /* SeqOfGANSS-SgnElement */ + typedef struct SeqOfGANSS_SgnElement + { + A_SEQUENCE_OF(struct GANSS_SgnElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSS_SgnElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSS_SgnElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSS_SgnElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_SgnElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSS_SgnElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSS_SgnElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSS_SgnElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSS_SgnElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_SgnElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_SgnElement_constr_1; /* Referred external types */ #include "GANSS-SgnElement.h" -#endif /* _SeqOfGANSS_SgnElement_H_ */ +#endif /* _SeqOfGANSS_SgnElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnTypeElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnTypeElement.h index bd34e72b7..cff4ac43d 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnTypeElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSS-SgnTypeElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSS_SgnTypeElement_H_ -#define _SeqOfGANSS_SgnTypeElement_H_ +#ifndef _SeqOfGANSS_SgnTypeElement_H_ +#define _SeqOfGANSS_SgnTypeElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSS_SgnTypeElement; + /* Forward declarations */ + struct GANSS_SgnTypeElement; -/* SeqOfGANSS-SgnTypeElement */ -typedef struct SeqOfGANSS_SgnTypeElement { - A_SEQUENCE_OF(struct GANSS_SgnTypeElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSS_SgnTypeElement_t; + /* SeqOfGANSS-SgnTypeElement */ + typedef struct SeqOfGANSS_SgnTypeElement + { + A_SEQUENCE_OF(struct GANSS_SgnTypeElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSS_SgnTypeElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSS_SgnTypeElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSS_SgnTypeElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_SgnTypeElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSS_SgnTypeElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSS_SgnTypeElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSS_SgnTypeElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSS_SgnTypeElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_SgnTypeElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSS_SgnTypeElement_constr_1; /* Referred external types */ #include "GANSS-SgnTypeElement.h" -#endif /* _SeqOfGANSS_SgnTypeElement_H_ */ +#endif /* _SeqOfGANSS_SgnTypeElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSAlmanacElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSAlmanacElement.h index a8fe7587b..386b520ee 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSAlmanacElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSAlmanacElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSSAlmanacElement_H_ -#define _SeqOfGANSSAlmanacElement_H_ +#ifndef _SeqOfGANSSAlmanacElement_H_ +#define _SeqOfGANSSAlmanacElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSAlmanacElement; + /* Forward declarations */ + struct GANSSAlmanacElement; -/* SeqOfGANSSAlmanacElement */ -typedef struct SeqOfGANSSAlmanacElement { - A_SEQUENCE_OF(struct GANSSAlmanacElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSSAlmanacElement_t; + /* SeqOfGANSSAlmanacElement */ + typedef struct SeqOfGANSSAlmanacElement + { + A_SEQUENCE_OF(struct GANSSAlmanacElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSAlmanacElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSAlmanacElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSSAlmanacElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSSAlmanacElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSSAlmanacElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSAlmanacElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSAlmanacElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSSAlmanacElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSSAlmanacElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSSAlmanacElement_constr_1; /* Referred external types */ #include "GANSSAlmanacElement.h" -#endif /* _SeqOfGANSSAlmanacElement_H_ */ +#endif /* _SeqOfGANSSAlmanacElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSGenericAssistDataElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSGenericAssistDataElement.h index e2e81d10e..d4a404aff 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSGenericAssistDataElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSGenericAssistDataElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSSGenericAssistDataElement_H_ -#define _SeqOfGANSSGenericAssistDataElement_H_ +#ifndef _SeqOfGANSSGenericAssistDataElement_H_ +#define _SeqOfGANSSGenericAssistDataElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSGenericAssistDataElement; + /* Forward declarations */ + struct GANSSGenericAssistDataElement; -/* SeqOfGANSSGenericAssistDataElement */ -typedef struct SeqOfGANSSGenericAssistDataElement { - A_SEQUENCE_OF(struct GANSSGenericAssistDataElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSSGenericAssistDataElement_t; + /* SeqOfGANSSGenericAssistDataElement */ + typedef struct SeqOfGANSSGenericAssistDataElement + { + A_SEQUENCE_OF(struct GANSSGenericAssistDataElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSGenericAssistDataElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSGenericAssistDataElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSSGenericAssistDataElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSSGenericAssistDataElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSSGenericAssistDataElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSGenericAssistDataElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSGenericAssistDataElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSSGenericAssistDataElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSSGenericAssistDataElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSSGenericAssistDataElement_con /* Referred external types */ #include "GANSSGenericAssistDataElement.h" -#endif /* _SeqOfGANSSGenericAssistDataElement_H_ */ +#endif /* _SeqOfGANSSGenericAssistDataElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSRefMeasurementElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSRefMeasurementElement.h index f434f0774..eefb1eca0 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSRefMeasurementElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSRefMeasurementElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSSRefMeasurementElement_H_ -#define _SeqOfGANSSRefMeasurementElement_H_ +#ifndef _SeqOfGANSSRefMeasurementElement_H_ +#define _SeqOfGANSSRefMeasurementElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSRefMeasurementElement; + /* Forward declarations */ + struct GANSSRefMeasurementElement; -/* SeqOfGANSSRefMeasurementElement */ -typedef struct SeqOfGANSSRefMeasurementElement { - A_SEQUENCE_OF(struct GANSSRefMeasurementElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSSRefMeasurementElement_t; + /* SeqOfGANSSRefMeasurementElement */ + typedef struct SeqOfGANSSRefMeasurementElement + { + A_SEQUENCE_OF(struct GANSSRefMeasurementElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSRefMeasurementElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSRefMeasurementElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSSRefMeasurementElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSSRefMeasurementElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSSRefMeasurementElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSRefMeasurementElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSRefMeasurementElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSSRefMeasurementElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSSRefMeasurementElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSSRefMeasurementElement_constr /* Referred external types */ #include "GANSSRefMeasurementElement.h" -#endif /* _SeqOfGANSSRefMeasurementElement_H_ */ +#endif /* _SeqOfGANSSRefMeasurementElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSSatelliteElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSSatelliteElement.h index 7c7b64ea3..abb00c281 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSSatelliteElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSSatelliteElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSSSatelliteElement_H_ -#define _SeqOfGANSSSatelliteElement_H_ +#ifndef _SeqOfGANSSSatelliteElement_H_ +#define _SeqOfGANSSSatelliteElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSSatelliteElement; + /* Forward declarations */ + struct GANSSSatelliteElement; -/* SeqOfGANSSSatelliteElement */ -typedef struct SeqOfGANSSSatelliteElement { - A_SEQUENCE_OF(struct GANSSSatelliteElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSSSatelliteElement_t; + /* SeqOfGANSSSatelliteElement */ + typedef struct SeqOfGANSSSatelliteElement + { + A_SEQUENCE_OF(struct GANSSSatelliteElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSSatelliteElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSSatelliteElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSSSatelliteElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSSSatelliteElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSSSatelliteElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSSatelliteElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSSatelliteElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSSSatelliteElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSSSatelliteElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSSSatelliteElement_constr_1; /* Referred external types */ #include "GANSSSatelliteElement.h" -#endif /* _SeqOfGANSSSatelliteElement_H_ */ +#endif /* _SeqOfGANSSSatelliteElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSTimeModel.h b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSTimeModel.h index 9103393d8..d4893db2c 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGANSSTimeModel.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGANSSTimeModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGANSSTimeModel_H_ -#define _SeqOfGANSSTimeModel_H_ +#ifndef _SeqOfGANSSTimeModel_H_ +#define _SeqOfGANSSTimeModel_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSTimeModelElement; + /* Forward declarations */ + struct GANSSTimeModelElement; -/* SeqOfGANSSTimeModel */ -typedef struct SeqOfGANSSTimeModel { - A_SEQUENCE_OF(struct GANSSTimeModelElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGANSSTimeModel_t; + /* SeqOfGANSSTimeModel */ + typedef struct SeqOfGANSSTimeModel + { + A_SEQUENCE_OF(struct GANSSTimeModelElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSTimeModel; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSTimeModel_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGANSSTimeModel_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGANSSTimeModel_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGANSSTimeModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGANSSTimeModel; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGANSSTimeModel_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGANSSTimeModel_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGANSSTimeModel_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGANSSTimeModel_constr_1; /* Referred external types */ #include "GANSSTimeModelElement.h" -#endif /* _SeqOfGANSSTimeModel_H_ */ +#endif /* _SeqOfGANSSTimeModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrElement.h index 17a7f50aa..f5410a802 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGPS_MsrElement_H_ -#define _SeqOfGPS_MsrElement_H_ +#ifndef _SeqOfGPS_MsrElement_H_ +#define _SeqOfGPS_MsrElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GPS_MsrElement; + /* Forward declarations */ + struct GPS_MsrElement; -/* SeqOfGPS-MsrElement */ -typedef struct SeqOfGPS_MsrElement { - A_SEQUENCE_OF(struct GPS_MsrElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGPS_MsrElement_t; + /* SeqOfGPS-MsrElement */ + typedef struct SeqOfGPS_MsrElement + { + A_SEQUENCE_OF(struct GPS_MsrElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGPS_MsrElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGPS_MsrElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGPS_MsrElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGPS_MsrElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGPS_MsrElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGPS_MsrElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGPS_MsrElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGPS_MsrElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGPS_MsrElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGPS_MsrElement_constr_1; /* Referred external types */ #include "GPS-MsrElement.h" -#endif /* _SeqOfGPS_MsrElement_H_ */ +#endif /* _SeqOfGPS_MsrElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrSetElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrSetElement.h index 7e1bbd1af..ad7de901f 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrSetElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfGPS-MsrSetElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfGPS_MsrSetElement_H_ -#define _SeqOfGPS_MsrSetElement_H_ +#ifndef _SeqOfGPS_MsrSetElement_H_ +#define _SeqOfGPS_MsrSetElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GPS_MsrSetElement; + /* Forward declarations */ + struct GPS_MsrSetElement; -/* SeqOfGPS-MsrSetElement */ -typedef struct SeqOfGPS_MsrSetElement { - A_SEQUENCE_OF(struct GPS_MsrSetElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfGPS_MsrSetElement_t; + /* SeqOfGPS-MsrSetElement */ + typedef struct SeqOfGPS_MsrSetElement + { + A_SEQUENCE_OF(struct GPS_MsrSetElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfGPS_MsrSetElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfGPS_MsrSetElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfGPS_MsrSetElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfGPS_MsrSetElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfGPS_MsrSetElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfGPS_MsrSetElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfGPS_MsrSetElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfGPS_MsrSetElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfGPS_MsrSetElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfGPS_MsrSetElement_constr_1; /* Referred external types */ #include "GPS-MsrSetElement.h" -#endif /* _SeqOfGPS_MsrSetElement_H_ */ +#endif /* _SeqOfGPS_MsrSetElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS-R98-ExpOTD.h index c4c45f375..2f7f12546 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfMsrAssistBTS_R98_ExpOTD_H_ -#define _SeqOfMsrAssistBTS_R98_ExpOTD_H_ +#ifndef _SeqOfMsrAssistBTS_R98_ExpOTD_H_ +#define _SeqOfMsrAssistBTS_R98_ExpOTD_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MsrAssistBTS_R98_ExpOTD; + /* Forward declarations */ + struct MsrAssistBTS_R98_ExpOTD; -/* SeqOfMsrAssistBTS-R98-ExpOTD */ -typedef struct SeqOfMsrAssistBTS_R98_ExpOTD { - A_SEQUENCE_OF(struct MsrAssistBTS_R98_ExpOTD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfMsrAssistBTS_R98_ExpOTD_t; + /* SeqOfMsrAssistBTS-R98-ExpOTD */ + typedef struct SeqOfMsrAssistBTS_R98_ExpOTD + { + A_SEQUENCE_OF(struct MsrAssistBTS_R98_ExpOTD) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfMsrAssistBTS_R98_ExpOTD; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfMsrAssistBTS_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfMsrAssistBTS_R98_ExpOTD_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfMsrAssistBTS_R98_ExpOTD_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfMsrAssistBTS_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfMsrAssistBTS_R98_ExpOTD; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfMsrAssistBTS_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfMsrAssistBTS_R98_ExpOTD_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfMsrAssistBTS_R98_ExpOTD_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfMsrAssistBTS_R98_ExpOTD_constr_1; /* Referred external types */ #include "MsrAssistBTS-R98-ExpOTD.h" -#endif /* _SeqOfMsrAssistBTS_R98_ExpOTD_H_ */ +#endif /* _SeqOfMsrAssistBTS_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS.h b/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS.h index 67f86ddd9..72e8e480d 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfMsrAssistBTS.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfMsrAssistBTS_H_ -#define _SeqOfMsrAssistBTS_H_ +#ifndef _SeqOfMsrAssistBTS_H_ +#define _SeqOfMsrAssistBTS_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MsrAssistBTS; + /* Forward declarations */ + struct MsrAssistBTS; -/* SeqOfMsrAssistBTS */ -typedef struct SeqOfMsrAssistBTS { - A_SEQUENCE_OF(struct MsrAssistBTS) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfMsrAssistBTS_t; + /* SeqOfMsrAssistBTS */ + typedef struct SeqOfMsrAssistBTS + { + A_SEQUENCE_OF(struct MsrAssistBTS) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfMsrAssistBTS; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfMsrAssistBTS_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfMsrAssistBTS_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfMsrAssistBTS_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfMsrAssistBTS_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfMsrAssistBTS; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfMsrAssistBTS_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfMsrAssistBTS_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfMsrAssistBTS_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfMsrAssistBTS_constr_1; /* Referred external types */ #include "MsrAssistBTS.h" -#endif /* _SeqOfMsrAssistBTS_H_ */ +#endif /* _SeqOfMsrAssistBTS_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfNavModelElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfNavModelElement.h index a1d30ade5..beae74b2f 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfNavModelElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfNavModelElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfNavModelElement_H_ -#define _SeqOfNavModelElement_H_ +#ifndef _SeqOfNavModelElement_H_ +#define _SeqOfNavModelElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct NavModelElement; + /* Forward declarations */ + struct NavModelElement; -/* SeqOfNavModelElement */ -typedef struct SeqOfNavModelElement { - A_SEQUENCE_OF(struct NavModelElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfNavModelElement_t; + /* SeqOfNavModelElement */ + typedef struct SeqOfNavModelElement + { + A_SEQUENCE_OF(struct NavModelElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfNavModelElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfNavModelElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfNavModelElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfNavModelElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfNavModelElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfNavModelElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfNavModelElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfNavModelElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfNavModelElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfNavModelElement_constr_1; /* Referred external types */ #include "NavModelElement.h" -#endif /* _SeqOfNavModelElement_H_ */ +#endif /* _SeqOfNavModelElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs-R98-Ext.h b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs-R98-Ext.h index c99fb7fac..7a4dc3a68 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs-R98-Ext.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs-R98-Ext.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfOTD_FirstSetMsrs_R98_Ext_H_ -#define _SeqOfOTD_FirstSetMsrs_R98_Ext_H_ +#ifndef _SeqOfOTD_FirstSetMsrs_R98_Ext_H_ +#define _SeqOfOTD_FirstSetMsrs_R98_Ext_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct OTD_FirstSetMsrs; + /* Forward declarations */ + struct OTD_FirstSetMsrs; -/* SeqOfOTD-FirstSetMsrs-R98-Ext */ -typedef struct SeqOfOTD_FirstSetMsrs_R98_Ext { - A_SEQUENCE_OF(struct OTD_FirstSetMsrs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfOTD_FirstSetMsrs_R98_Ext_t; + /* SeqOfOTD-FirstSetMsrs-R98-Ext */ + typedef struct SeqOfOTD_FirstSetMsrs_R98_Ext + { + A_SEQUENCE_OF(struct OTD_FirstSetMsrs) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_FirstSetMsrs_R98_Ext; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_FirstSetMsrs_R98_Ext_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfOTD_FirstSetMsrs_R98_Ext_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfOTD_FirstSetMsrs_R98_Ext_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfOTD_FirstSetMsrs_R98_Ext_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_FirstSetMsrs_R98_Ext; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_FirstSetMsrs_R98_Ext_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfOTD_FirstSetMsrs_R98_Ext_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfOTD_FirstSetMsrs_R98_Ext_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfOTD_FirstSetMsrs_R98_Ext_constr_1 /* Referred external types */ #include "OTD-FirstSetMsrs.h" -#endif /* _SeqOfOTD_FirstSetMsrs_R98_Ext_H_ */ +#endif /* _SeqOfOTD_FirstSetMsrs_R98_Ext_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs.h b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs.h index 5346c4b52..e388adb73 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-FirstSetMsrs.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfOTD_FirstSetMsrs_H_ -#define _SeqOfOTD_FirstSetMsrs_H_ +#ifndef _SeqOfOTD_FirstSetMsrs_H_ +#define _SeqOfOTD_FirstSetMsrs_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct OTD_FirstSetMsrs; + /* Forward declarations */ + struct OTD_FirstSetMsrs; -/* SeqOfOTD-FirstSetMsrs */ -typedef struct SeqOfOTD_FirstSetMsrs { - A_SEQUENCE_OF(struct OTD_FirstSetMsrs) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfOTD_FirstSetMsrs_t; + /* SeqOfOTD-FirstSetMsrs */ + typedef struct SeqOfOTD_FirstSetMsrs + { + A_SEQUENCE_OF(struct OTD_FirstSetMsrs) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_FirstSetMsrs; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_FirstSetMsrs_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfOTD_FirstSetMsrs_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfOTD_FirstSetMsrs_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfOTD_FirstSetMsrs_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_FirstSetMsrs; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_FirstSetMsrs_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfOTD_FirstSetMsrs_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfOTD_FirstSetMsrs_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfOTD_FirstSetMsrs_constr_1; /* Referred external types */ #include "OTD-FirstSetMsrs.h" -#endif /* _SeqOfOTD_FirstSetMsrs_H_ */ +#endif /* _SeqOfOTD_FirstSetMsrs_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrElementRest.h b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrElementRest.h index d9dff3081..1baec1450 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrElementRest.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrElementRest.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfOTD_MsrElementRest_H_ -#define _SeqOfOTD_MsrElementRest_H_ +#ifndef _SeqOfOTD_MsrElementRest_H_ +#define _SeqOfOTD_MsrElementRest_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct OTD_MsrElementRest; + /* Forward declarations */ + struct OTD_MsrElementRest; -/* SeqOfOTD-MsrElementRest */ -typedef struct SeqOfOTD_MsrElementRest { - A_SEQUENCE_OF(struct OTD_MsrElementRest) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfOTD_MsrElementRest_t; + /* SeqOfOTD-MsrElementRest */ + typedef struct SeqOfOTD_MsrElementRest + { + A_SEQUENCE_OF(struct OTD_MsrElementRest) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_MsrElementRest; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_MsrElementRest_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfOTD_MsrElementRest_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfOTD_MsrElementRest_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfOTD_MsrElementRest_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_MsrElementRest; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_MsrElementRest_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfOTD_MsrElementRest_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfOTD_MsrElementRest_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfOTD_MsrElementRest_constr_1; /* Referred external types */ #include "OTD-MsrElementRest.h" -#endif /* _SeqOfOTD_MsrElementRest_H_ */ +#endif /* _SeqOfOTD_MsrElementRest_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrsOfOtherSets.h b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrsOfOtherSets.h index bc53080d7..754ac0bee 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrsOfOtherSets.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfOTD-MsrsOfOtherSets.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfOTD_MsrsOfOtherSets_H_ -#define _SeqOfOTD_MsrsOfOtherSets_H_ +#ifndef _SeqOfOTD_MsrsOfOtherSets_H_ +#define _SeqOfOTD_MsrsOfOtherSets_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct OTD_MsrsOfOtherSets; + /* Forward declarations */ + struct OTD_MsrsOfOtherSets; -/* SeqOfOTD-MsrsOfOtherSets */ -typedef struct SeqOfOTD_MsrsOfOtherSets { - A_SEQUENCE_OF(struct OTD_MsrsOfOtherSets) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfOTD_MsrsOfOtherSets_t; + /* SeqOfOTD-MsrsOfOtherSets */ + typedef struct SeqOfOTD_MsrsOfOtherSets + { + A_SEQUENCE_OF(struct OTD_MsrsOfOtherSets) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_MsrsOfOtherSets; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_MsrsOfOtherSets_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfOTD_MsrsOfOtherSets_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfOTD_MsrsOfOtherSets_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfOTD_MsrsOfOtherSets_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfOTD_MsrsOfOtherSets; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfOTD_MsrsOfOtherSets_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfOTD_MsrsOfOtherSets_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfOTD_MsrsOfOtherSets_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfOTD_MsrsOfOtherSets_constr_1; /* Referred external types */ #include "OTD-MsrsOfOtherSets.h" -#endif /* _SeqOfOTD_MsrsOfOtherSets_H_ */ +#endif /* _SeqOfOTD_MsrsOfOtherSets_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfReferenceIdentityType.h b/src/core/libs/supl2/asn-rrlp/SeqOfReferenceIdentityType.h index ae12326a5..868d6d6ac 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfReferenceIdentityType.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfReferenceIdentityType.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfReferenceIdentityType_H_ -#define _SeqOfReferenceIdentityType_H_ +#ifndef _SeqOfReferenceIdentityType_H_ +#define _SeqOfReferenceIdentityType_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReferenceIdentityType; + /* Forward declarations */ + struct ReferenceIdentityType; -/* SeqOfReferenceIdentityType */ -typedef struct SeqOfReferenceIdentityType { - A_SEQUENCE_OF(struct ReferenceIdentityType) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfReferenceIdentityType_t; + /* SeqOfReferenceIdentityType */ + typedef struct SeqOfReferenceIdentityType + { + A_SEQUENCE_OF(struct ReferenceIdentityType) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfReferenceIdentityType; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfReferenceIdentityType_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfReferenceIdentityType_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfReferenceIdentityType_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfReferenceIdentityType_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfReferenceIdentityType; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfReferenceIdentityType_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfReferenceIdentityType_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfReferenceIdentityType_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfReferenceIdentityType_constr_1; /* Referred external types */ #include "ReferenceIdentityType.h" -#endif /* _SeqOfReferenceIdentityType_H_ */ +#endif /* _SeqOfReferenceIdentityType_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfSatElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfSatElement.h index f5ff7ba37..36dac09e4 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfSatElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfSatElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfSatElement_H_ -#define _SeqOfSatElement_H_ +#ifndef _SeqOfSatElement_H_ +#define _SeqOfSatElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SatElement; + /* Forward declarations */ + struct SatElement; -/* SeqOfSatElement */ -typedef struct SeqOfSatElement { - A_SEQUENCE_OF(struct SatElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfSatElement_t; + /* SeqOfSatElement */ + typedef struct SeqOfSatElement + { + A_SEQUENCE_OF(struct SatElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfSatElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfSatElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfSatElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfSatElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfSatElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfSatElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfSatElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfSatElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfSatElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfSatElement_constr_1; /* Referred external types */ #include "SatElement.h" -#endif /* _SeqOfSatElement_H_ */ +#endif /* _SeqOfSatElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfSgnTypeElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfSgnTypeElement.h index 2b2c52df6..e6896699e 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfSgnTypeElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfSgnTypeElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfSgnTypeElement_H_ -#define _SeqOfSgnTypeElement_H_ +#ifndef _SeqOfSgnTypeElement_H_ +#define _SeqOfSgnTypeElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SgnTypeElement; + /* Forward declarations */ + struct SgnTypeElement; -/* SeqOfSgnTypeElement */ -typedef struct SeqOfSgnTypeElement { - A_SEQUENCE_OF(struct SgnTypeElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfSgnTypeElement_t; + /* SeqOfSgnTypeElement */ + typedef struct SeqOfSgnTypeElement + { + A_SEQUENCE_OF(struct SgnTypeElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfSgnTypeElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfSgnTypeElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfSgnTypeElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfSgnTypeElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfSgnTypeElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfSgnTypeElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfSgnTypeElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfSgnTypeElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfSgnTypeElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfSgnTypeElement_constr_1; /* Referred external types */ #include "SgnTypeElement.h" -#endif /* _SeqOfSgnTypeElement_H_ */ +#endif /* _SeqOfSgnTypeElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfStandardClockModelElement.h b/src/core/libs/supl2/asn-rrlp/SeqOfStandardClockModelElement.h index 4bd19429b..1b4590cdb 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfStandardClockModelElement.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfStandardClockModelElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfStandardClockModelElement_H_ -#define _SeqOfStandardClockModelElement_H_ +#ifndef _SeqOfStandardClockModelElement_H_ +#define _SeqOfStandardClockModelElement_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct StandardClockModelElement; + /* Forward declarations */ + struct StandardClockModelElement; -/* SeqOfStandardClockModelElement */ -typedef struct SeqOfStandardClockModelElement { - A_SEQUENCE_OF(struct StandardClockModelElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfStandardClockModelElement_t; + /* SeqOfStandardClockModelElement */ + typedef struct SeqOfStandardClockModelElement + { + A_SEQUENCE_OF(struct StandardClockModelElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfStandardClockModelElement; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfStandardClockModelElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfStandardClockModelElement_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfStandardClockModelElement_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfStandardClockModelElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfStandardClockModelElement; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfStandardClockModelElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfStandardClockModelElement_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfStandardClockModelElement_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfStandardClockModelElement_constr_ /* Referred external types */ #include "StandardClockModelElement.h" -#endif /* _SeqOfStandardClockModelElement_H_ */ +#endif /* _SeqOfStandardClockModelElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS-R98-ExpOTD.h index 36ca24896..02c73e3d2 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfSystemInfoAssistBTS_R98_ExpOTD_H_ -#define _SeqOfSystemInfoAssistBTS_R98_ExpOTD_H_ +#ifndef _SeqOfSystemInfoAssistBTS_R98_ExpOTD_H_ +#define _SeqOfSystemInfoAssistBTS_R98_ExpOTD_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SystemInfoAssistBTS_R98_ExpOTD; + /* Forward declarations */ + struct SystemInfoAssistBTS_R98_ExpOTD; -/* SeqOfSystemInfoAssistBTS-R98-ExpOTD */ -typedef struct SeqOfSystemInfoAssistBTS_R98_ExpOTD { - A_SEQUENCE_OF(struct SystemInfoAssistBTS_R98_ExpOTD) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfSystemInfoAssistBTS_R98_ExpOTD_t; + /* SeqOfSystemInfoAssistBTS-R98-ExpOTD */ + typedef struct SeqOfSystemInfoAssistBTS_R98_ExpOTD + { + A_SEQUENCE_OF(struct SystemInfoAssistBTS_R98_ExpOTD) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfSystemInfoAssistBTS_R98_ExpOTD; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfSystemInfoAssistBTS_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfSystemInfoAssistBTS_R98_ExpOTD_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfSystemInfoAssistBTS_R98_ExpOTD_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfSystemInfoAssistBTS_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfSystemInfoAssistBTS_R98_ExpOTD; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfSystemInfoAssistBTS_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfSystemInfoAssistBTS_R98_ExpOTD_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfSystemInfoAssistBTS_R98_ExpOTD_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfSystemInfoAssistBTS_R98_ExpOTD_co /* Referred external types */ #include "SystemInfoAssistBTS-R98-ExpOTD.h" -#endif /* _SeqOfSystemInfoAssistBTS_R98_ExpOTD_H_ */ +#endif /* _SeqOfSystemInfoAssistBTS_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS.h b/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS.h index 38ae7b0b6..d631c9fa1 100644 --- a/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS.h +++ b/src/core/libs/supl2/asn-rrlp/SeqOfSystemInfoAssistBTS.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SeqOfSystemInfoAssistBTS_H_ -#define _SeqOfSystemInfoAssistBTS_H_ +#ifndef _SeqOfSystemInfoAssistBTS_H_ +#define _SeqOfSystemInfoAssistBTS_H_ #include @@ -15,25 +15,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SystemInfoAssistBTS; + /* Forward declarations */ + struct SystemInfoAssistBTS; -/* SeqOfSystemInfoAssistBTS */ -typedef struct SeqOfSystemInfoAssistBTS { - A_SEQUENCE_OF(struct SystemInfoAssistBTS) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SeqOfSystemInfoAssistBTS_t; + /* SeqOfSystemInfoAssistBTS */ + typedef struct SeqOfSystemInfoAssistBTS + { + A_SEQUENCE_OF(struct SystemInfoAssistBTS) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SeqOfSystemInfoAssistBTS; -extern asn_SET_OF_specifics_t asn_SPC_SeqOfSystemInfoAssistBTS_specs_1; -extern asn_TYPE_member_t asn_MBR_SeqOfSystemInfoAssistBTS_1[1]; -extern asn_per_constraints_t asn_PER_type_SeqOfSystemInfoAssistBTS_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SeqOfSystemInfoAssistBTS_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SeqOfSystemInfoAssistBTS; + extern asn_SET_OF_specifics_t asn_SPC_SeqOfSystemInfoAssistBTS_specs_1; + extern asn_TYPE_member_t asn_MBR_SeqOfSystemInfoAssistBTS_1[1]; + extern asn_per_constraints_t asn_PER_type_SeqOfSystemInfoAssistBTS_constr_1; #ifdef __cplusplus } @@ -42,5 +45,5 @@ extern asn_per_constraints_t asn_PER_type_SeqOfSystemInfoAssistBTS_constr_1; /* Referred external types */ #include "SystemInfoAssistBTS.h" -#endif /* _SeqOfSystemInfoAssistBTS_H_ */ +#endif /* _SeqOfSystemInfoAssistBTS_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SgnTypeElement.h b/src/core/libs/supl2/asn-rrlp/SgnTypeElement.h index 78bf8147a..eef5192b9 100644 --- a/src/core/libs/supl2/asn-rrlp/SgnTypeElement.h +++ b/src/core/libs/supl2/asn-rrlp/SgnTypeElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SgnTypeElement_H_ -#define _SgnTypeElement_H_ +#ifndef _SgnTypeElement_H_ +#define _SgnTypeElement_H_ #include @@ -17,27 +17,29 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SgnTypeElement */ -typedef struct SgnTypeElement { - GANSSSignalID_t *ganssSignalID /* OPTIONAL */; - long ganssStatusHealth; - SeqOfDGANSSSgnElement_t dganssSgnList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SgnTypeElement_t; + /* SgnTypeElement */ + typedef struct SgnTypeElement + { + GANSSSignalID_t *ganssSignalID /* OPTIONAL */; + long ganssStatusHealth; + SeqOfDGANSSSgnElement_t dganssSgnList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SgnTypeElement; -extern asn_SEQUENCE_specifics_t asn_SPC_SgnTypeElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SgnTypeElement_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SgnTypeElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SgnTypeElement; + extern asn_SEQUENCE_specifics_t asn_SPC_SgnTypeElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SgnTypeElement_1[3]; #ifdef __cplusplus } #endif -#endif /* _SgnTypeElement_H_ */ +#endif /* _SgnTypeElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/StandardClockModelElement.h b/src/core/libs/supl2/asn-rrlp/StandardClockModelElement.h index 2df8bd9fb..410093cea 100644 --- a/src/core/libs/supl2/asn-rrlp/StandardClockModelElement.h +++ b/src/core/libs/supl2/asn-rrlp/StandardClockModelElement.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _StandardClockModelElement_H_ -#define _StandardClockModelElement_H_ +#ifndef _StandardClockModelElement_H_ +#define _StandardClockModelElement_H_ #include @@ -15,34 +15,36 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* StandardClockModelElement */ -typedef struct StandardClockModelElement { - long stanClockTocLSB; - long stanClockAF2; - long stanClockAF1; - long stanClockAF0; - long *stanClockTgd /* OPTIONAL */; - long *stanModelID /* OPTIONAL */; - /* + /* StandardClockModelElement */ + typedef struct StandardClockModelElement + { + long stanClockTocLSB; + long stanClockAF2; + long stanClockAF1; + long stanClockAF0; + long *stanClockTgd /* OPTIONAL */; + long *stanModelID /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} StandardClockModelElement_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_StandardClockModelElement; -extern asn_SEQUENCE_specifics_t asn_SPC_StandardClockModelElement_specs_1; -extern asn_TYPE_member_t asn_MBR_StandardClockModelElement_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } StandardClockModelElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_StandardClockModelElement; + extern asn_SEQUENCE_specifics_t asn_SPC_StandardClockModelElement_specs_1; + extern asn_TYPE_member_t asn_MBR_StandardClockModelElement_1[6]; #ifdef __cplusplus } #endif -#endif /* _StandardClockModelElement_H_ */ +#endif /* _StandardClockModelElement_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/StdResolution.h b/src/core/libs/supl2/asn-rrlp/StdResolution.h index 15f592c08..e99617c72 100644 --- a/src/core/libs/supl2/asn-rrlp/StdResolution.h +++ b/src/core/libs/supl2/asn-rrlp/StdResolution.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _StdResolution_H_ -#define _StdResolution_H_ +#ifndef _StdResolution_H_ +#define _StdResolution_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* StdResolution */ -typedef long StdResolution_t; + /* StdResolution */ + typedef long StdResolution_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_StdResolution_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_StdResolution; -asn_struct_free_f StdResolution_free; -asn_struct_print_f StdResolution_print; -asn_constr_check_f StdResolution_constraint; -ber_type_decoder_f StdResolution_decode_ber; -der_type_encoder_f StdResolution_encode_der; -xer_type_decoder_f StdResolution_decode_xer; -xer_type_encoder_f StdResolution_encode_xer; -oer_type_decoder_f StdResolution_decode_oer; -oer_type_encoder_f StdResolution_encode_oer; -per_type_decoder_f StdResolution_decode_uper; -per_type_encoder_f StdResolution_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_StdResolution_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_StdResolution; + asn_struct_free_f StdResolution_free; + asn_struct_print_f StdResolution_print; + asn_constr_check_f StdResolution_constraint; + ber_type_decoder_f StdResolution_decode_ber; + der_type_encoder_f StdResolution_encode_der; + xer_type_decoder_f StdResolution_decode_xer; + xer_type_encoder_f StdResolution_encode_xer; + oer_type_decoder_f StdResolution_decode_oer; + oer_type_encoder_f StdResolution_encode_oer; + per_type_decoder_f StdResolution_decode_uper; + per_type_encoder_f StdResolution_encode_uper; #ifdef __cplusplus } #endif -#endif /* _StdResolution_H_ */ +#endif /* _StdResolution_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS-R98-ExpOTD.h index 10d34829e..4972cc073 100644 --- a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SystemInfoAssistBTS_R98_ExpOTD_H_ -#define _SystemInfoAssistBTS_R98_ExpOTD_H_ +#ifndef _SystemInfoAssistBTS_R98_ExpOTD_H_ +#define _SystemInfoAssistBTS_R98_ExpOTD_H_ #include @@ -16,37 +16,41 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SystemInfoAssistBTS_R98_ExpOTD_PR { - SystemInfoAssistBTS_R98_ExpOTD_PR_NOTHING, /* No components present */ - SystemInfoAssistBTS_R98_ExpOTD_PR_notPresent, - SystemInfoAssistBTS_R98_ExpOTD_PR_present -} SystemInfoAssistBTS_R98_ExpOTD_PR; + /* Dependencies */ + typedef enum SystemInfoAssistBTS_R98_ExpOTD_PR + { + SystemInfoAssistBTS_R98_ExpOTD_PR_NOTHING, /* No components present */ + SystemInfoAssistBTS_R98_ExpOTD_PR_notPresent, + SystemInfoAssistBTS_R98_ExpOTD_PR_present + } SystemInfoAssistBTS_R98_ExpOTD_PR; -/* SystemInfoAssistBTS-R98-ExpOTD */ -typedef struct SystemInfoAssistBTS_R98_ExpOTD { - SystemInfoAssistBTS_R98_ExpOTD_PR present; - union SystemInfoAssistBTS_R98_ExpOTD_u { - NULL_t notPresent; - AssistBTSData_R98_ExpOTD_t present; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInfoAssistBTS_R98_ExpOTD_t; + /* SystemInfoAssistBTS-R98-ExpOTD */ + typedef struct SystemInfoAssistBTS_R98_ExpOTD + { + SystemInfoAssistBTS_R98_ExpOTD_PR present; + union SystemInfoAssistBTS_R98_ExpOTD_u + { + NULL_t notPresent; + AssistBTSData_R98_ExpOTD_t present; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistBTS_R98_ExpOTD; -extern asn_CHOICE_specifics_t asn_SPC_SystemInfoAssistBTS_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_SystemInfoAssistBTS_R98_ExpOTD_1[2]; -extern asn_per_constraints_t asn_PER_type_SystemInfoAssistBTS_R98_ExpOTD_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SystemInfoAssistBTS_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistBTS_R98_ExpOTD; + extern asn_CHOICE_specifics_t asn_SPC_SystemInfoAssistBTS_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_SystemInfoAssistBTS_R98_ExpOTD_1[2]; + extern asn_per_constraints_t asn_PER_type_SystemInfoAssistBTS_R98_ExpOTD_constr_1; #ifdef __cplusplus } #endif -#endif /* _SystemInfoAssistBTS_R98_ExpOTD_H_ */ +#endif /* _SystemInfoAssistBTS_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS.h b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS.h index e7a3044aa..844e3e613 100644 --- a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS.h +++ b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistBTS.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SystemInfoAssistBTS_H_ -#define _SystemInfoAssistBTS_H_ +#ifndef _SystemInfoAssistBTS_H_ +#define _SystemInfoAssistBTS_H_ #include @@ -16,37 +16,41 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SystemInfoAssistBTS_PR { - SystemInfoAssistBTS_PR_NOTHING, /* No components present */ - SystemInfoAssistBTS_PR_notPresent, - SystemInfoAssistBTS_PR_present -} SystemInfoAssistBTS_PR; + /* Dependencies */ + typedef enum SystemInfoAssistBTS_PR + { + SystemInfoAssistBTS_PR_NOTHING, /* No components present */ + SystemInfoAssistBTS_PR_notPresent, + SystemInfoAssistBTS_PR_present + } SystemInfoAssistBTS_PR; -/* SystemInfoAssistBTS */ -typedef struct SystemInfoAssistBTS { - SystemInfoAssistBTS_PR present; - union SystemInfoAssistBTS_u { - NULL_t notPresent; - AssistBTSData_t present; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInfoAssistBTS_t; + /* SystemInfoAssistBTS */ + typedef struct SystemInfoAssistBTS + { + SystemInfoAssistBTS_PR present; + union SystemInfoAssistBTS_u + { + NULL_t notPresent; + AssistBTSData_t present; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistBTS; -extern asn_CHOICE_specifics_t asn_SPC_SystemInfoAssistBTS_specs_1; -extern asn_TYPE_member_t asn_MBR_SystemInfoAssistBTS_1[2]; -extern asn_per_constraints_t asn_PER_type_SystemInfoAssistBTS_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SystemInfoAssistBTS_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistBTS; + extern asn_CHOICE_specifics_t asn_SPC_SystemInfoAssistBTS_specs_1; + extern asn_TYPE_member_t asn_MBR_SystemInfoAssistBTS_1[2]; + extern asn_per_constraints_t asn_PER_type_SystemInfoAssistBTS_constr_1; #ifdef __cplusplus } #endif -#endif /* _SystemInfoAssistBTS_H_ */ +#endif /* _SystemInfoAssistBTS_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData-R98-ExpOTD.h b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData-R98-ExpOTD.h index 8dbd82544..b4b2ee4cd 100644 --- a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData-R98-ExpOTD.h +++ b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData-R98-ExpOTD.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SystemInfoAssistData_R98_ExpOTD_H_ -#define _SystemInfoAssistData_R98_ExpOTD_H_ +#ifndef _SystemInfoAssistData_R98_ExpOTD_H_ +#define _SystemInfoAssistData_R98_ExpOTD_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SystemInfoAssistData-R98-ExpOTD */ -typedef struct SystemInfoAssistData_R98_ExpOTD { - SeqOfSystemInfoAssistBTS_R98_ExpOTD_t systemInfoAssistListR98_ExpOTD; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInfoAssistData_R98_ExpOTD_t; + /* SystemInfoAssistData-R98-ExpOTD */ + typedef struct SystemInfoAssistData_R98_ExpOTD + { + SeqOfSystemInfoAssistBTS_R98_ExpOTD_t systemInfoAssistListR98_ExpOTD; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistData_R98_ExpOTD; -extern asn_SEQUENCE_specifics_t asn_SPC_SystemInfoAssistData_R98_ExpOTD_specs_1; -extern asn_TYPE_member_t asn_MBR_SystemInfoAssistData_R98_ExpOTD_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SystemInfoAssistData_R98_ExpOTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistData_R98_ExpOTD; + extern asn_SEQUENCE_specifics_t asn_SPC_SystemInfoAssistData_R98_ExpOTD_specs_1; + extern asn_TYPE_member_t asn_MBR_SystemInfoAssistData_R98_ExpOTD_1[1]; #ifdef __cplusplus } #endif -#endif /* _SystemInfoAssistData_R98_ExpOTD_H_ */ +#endif /* _SystemInfoAssistData_R98_ExpOTD_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData.h b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData.h index 3c4788731..f6758b679 100644 --- a/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData.h +++ b/src/core/libs/supl2/asn-rrlp/SystemInfoAssistData.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SystemInfoAssistData_H_ -#define _SystemInfoAssistData_H_ +#ifndef _SystemInfoAssistData_H_ +#define _SystemInfoAssistData_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SystemInfoAssistData */ -typedef struct SystemInfoAssistData { - SeqOfSystemInfoAssistBTS_t systemInfoAssistList; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SystemInfoAssistData_t; + /* SystemInfoAssistData */ + typedef struct SystemInfoAssistData + { + SeqOfSystemInfoAssistBTS_t systemInfoAssistList; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_SystemInfoAssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_SystemInfoAssistData_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SystemInfoAssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SystemInfoAssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_SystemInfoAssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_SystemInfoAssistData_1[1]; #ifdef __cplusplus } #endif -#endif /* _SystemInfoAssistData_H_ */ +#endif /* _SystemInfoAssistData_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/SystemInfoIndex.h b/src/core/libs/supl2/asn-rrlp/SystemInfoIndex.h index 3e2ae155b..a956daadb 100644 --- a/src/core/libs/supl2/asn-rrlp/SystemInfoIndex.h +++ b/src/core/libs/supl2/asn-rrlp/SystemInfoIndex.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _SystemInfoIndex_H_ -#define _SystemInfoIndex_H_ +#ifndef _SystemInfoIndex_H_ +#define _SystemInfoIndex_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SystemInfoIndex */ -typedef long SystemInfoIndex_t; + /* SystemInfoIndex */ + typedef long SystemInfoIndex_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SystemInfoIndex_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SystemInfoIndex; -asn_struct_free_f SystemInfoIndex_free; -asn_struct_print_f SystemInfoIndex_print; -asn_constr_check_f SystemInfoIndex_constraint; -ber_type_decoder_f SystemInfoIndex_decode_ber; -der_type_encoder_f SystemInfoIndex_encode_der; -xer_type_decoder_f SystemInfoIndex_decode_xer; -xer_type_encoder_f SystemInfoIndex_encode_xer; -oer_type_decoder_f SystemInfoIndex_decode_oer; -oer_type_encoder_f SystemInfoIndex_encode_oer; -per_type_decoder_f SystemInfoIndex_decode_uper; -per_type_encoder_f SystemInfoIndex_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SystemInfoIndex_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SystemInfoIndex; + asn_struct_free_f SystemInfoIndex_free; + asn_struct_print_f SystemInfoIndex_print; + asn_constr_check_f SystemInfoIndex_constraint; + ber_type_decoder_f SystemInfoIndex_decode_ber; + der_type_encoder_f SystemInfoIndex_encode_der; + xer_type_decoder_f SystemInfoIndex_decode_xer; + xer_type_encoder_f SystemInfoIndex_encode_xer; + oer_type_decoder_f SystemInfoIndex_decode_oer; + oer_type_encoder_f SystemInfoIndex_encode_oer; + per_type_decoder_f SystemInfoIndex_decode_uper; + per_type_encoder_f SystemInfoIndex_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SystemInfoIndex_H_ */ +#endif /* _SystemInfoIndex_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TA0.h b/src/core/libs/supl2/asn-rrlp/TA0.h index d4b9727ae..2783de65c 100644 --- a/src/core/libs/supl2/asn-rrlp/TA0.h +++ b/src/core/libs/supl2/asn-rrlp/TA0.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TA0_H_ -#define _TA0_H_ +#ifndef _TA0_H_ +#define _TA0_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TA0 */ -typedef long TA0_t; + /* TA0 */ + typedef long TA0_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TA0_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TA0; -asn_struct_free_f TA0_free; -asn_struct_print_f TA0_print; -asn_constr_check_f TA0_constraint; -ber_type_decoder_f TA0_decode_ber; -der_type_encoder_f TA0_encode_der; -xer_type_decoder_f TA0_decode_xer; -xer_type_encoder_f TA0_encode_xer; -oer_type_decoder_f TA0_decode_oer; -oer_type_encoder_f TA0_encode_oer; -per_type_decoder_f TA0_decode_uper; -per_type_encoder_f TA0_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TA0_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TA0; + asn_struct_free_f TA0_free; + asn_struct_print_f TA0_print; + asn_constr_check_f TA0_constraint; + ber_type_decoder_f TA0_decode_ber; + der_type_encoder_f TA0_encode_der; + xer_type_decoder_f TA0_decode_xer; + xer_type_encoder_f TA0_encode_xer; + oer_type_decoder_f TA0_decode_oer; + oer_type_encoder_f TA0_encode_oer; + per_type_decoder_f TA0_decode_uper; + per_type_encoder_f TA0_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TA0_H_ */ +#endif /* _TA0_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TA1.h b/src/core/libs/supl2/asn-rrlp/TA1.h index 784c26d9c..c9a521630 100644 --- a/src/core/libs/supl2/asn-rrlp/TA1.h +++ b/src/core/libs/supl2/asn-rrlp/TA1.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TA1_H_ -#define _TA1_H_ +#ifndef _TA1_H_ +#define _TA1_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TA1 */ -typedef long TA1_t; + /* TA1 */ + typedef long TA1_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TA1_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TA1; -asn_struct_free_f TA1_free; -asn_struct_print_f TA1_print; -asn_constr_check_f TA1_constraint; -ber_type_decoder_f TA1_decode_ber; -der_type_encoder_f TA1_encode_der; -xer_type_decoder_f TA1_decode_xer; -xer_type_encoder_f TA1_encode_xer; -oer_type_decoder_f TA1_decode_oer; -oer_type_encoder_f TA1_encode_oer; -per_type_decoder_f TA1_decode_uper; -per_type_encoder_f TA1_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TA1_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TA1; + asn_struct_free_f TA1_free; + asn_struct_print_f TA1_print; + asn_constr_check_f TA1_constraint; + ber_type_decoder_f TA1_decode_ber; + der_type_encoder_f TA1_encode_der; + xer_type_decoder_f TA1_decode_xer; + xer_type_encoder_f TA1_encode_xer; + oer_type_decoder_f TA1_decode_oer; + oer_type_encoder_f TA1_encode_oer; + per_type_decoder_f TA1_decode_uper; + per_type_encoder_f TA1_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TA1_H_ */ +#endif /* _TA1_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TA2.h b/src/core/libs/supl2/asn-rrlp/TA2.h index 3720e0075..d6a038b59 100644 --- a/src/core/libs/supl2/asn-rrlp/TA2.h +++ b/src/core/libs/supl2/asn-rrlp/TA2.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TA2_H_ -#define _TA2_H_ +#ifndef _TA2_H_ +#define _TA2_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TA2 */ -typedef long TA2_t; + /* TA2 */ + typedef long TA2_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TA2_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TA2; -asn_struct_free_f TA2_free; -asn_struct_print_f TA2_print; -asn_constr_check_f TA2_constraint; -ber_type_decoder_f TA2_decode_ber; -der_type_encoder_f TA2_encode_der; -xer_type_decoder_f TA2_decode_xer; -xer_type_encoder_f TA2_encode_xer; -oer_type_decoder_f TA2_decode_oer; -oer_type_encoder_f TA2_encode_oer; -per_type_decoder_f TA2_decode_uper; -per_type_encoder_f TA2_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TA2_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TA2; + asn_struct_free_f TA2_free; + asn_struct_print_f TA2_print; + asn_constr_check_f TA2_constraint; + ber_type_decoder_f TA2_decode_ber; + der_type_encoder_f TA2_encode_der; + xer_type_decoder_f TA2_decode_xer; + xer_type_encoder_f TA2_encode_xer; + oer_type_decoder_f TA2_decode_oer; + oer_type_encoder_f TA2_encode_oer; + per_type_decoder_f TA2_decode_uper; + per_type_encoder_f TA2_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TA2_H_ */ +#endif /* _TA2_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TLMReservedBits.h b/src/core/libs/supl2/asn-rrlp/TLMReservedBits.h index c392601ef..2c6b5699b 100644 --- a/src/core/libs/supl2/asn-rrlp/TLMReservedBits.h +++ b/src/core/libs/supl2/asn-rrlp/TLMReservedBits.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TLMReservedBits_H_ -#define _TLMReservedBits_H_ +#ifndef _TLMReservedBits_H_ +#define _TLMReservedBits_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TLMReservedBits */ -typedef long TLMReservedBits_t; + /* TLMReservedBits */ + typedef long TLMReservedBits_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TLMReservedBits_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TLMReservedBits; -asn_struct_free_f TLMReservedBits_free; -asn_struct_print_f TLMReservedBits_print; -asn_constr_check_f TLMReservedBits_constraint; -ber_type_decoder_f TLMReservedBits_decode_ber; -der_type_encoder_f TLMReservedBits_encode_der; -xer_type_decoder_f TLMReservedBits_decode_xer; -xer_type_encoder_f TLMReservedBits_encode_xer; -oer_type_decoder_f TLMReservedBits_decode_oer; -oer_type_encoder_f TLMReservedBits_encode_oer; -per_type_decoder_f TLMReservedBits_decode_uper; -per_type_encoder_f TLMReservedBits_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TLMReservedBits_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TLMReservedBits; + asn_struct_free_f TLMReservedBits_free; + asn_struct_print_f TLMReservedBits_print; + asn_constr_check_f TLMReservedBits_constraint; + ber_type_decoder_f TLMReservedBits_decode_ber; + der_type_encoder_f TLMReservedBits_encode_der; + xer_type_decoder_f TLMReservedBits_decode_xer; + xer_type_encoder_f TLMReservedBits_encode_xer; + oer_type_decoder_f TLMReservedBits_decode_oer; + oer_type_encoder_f TLMReservedBits_encode_oer; + per_type_decoder_f TLMReservedBits_decode_uper; + per_type_encoder_f TLMReservedBits_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TLMReservedBits_H_ */ +#endif /* _TLMReservedBits_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TLMWord.h b/src/core/libs/supl2/asn-rrlp/TLMWord.h index 4428ad3cf..10863fad8 100644 --- a/src/core/libs/supl2/asn-rrlp/TLMWord.h +++ b/src/core/libs/supl2/asn-rrlp/TLMWord.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TLMWord_H_ -#define _TLMWord_H_ +#ifndef _TLMWord_H_ +#define _TLMWord_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TLMWord */ -typedef long TLMWord_t; + /* TLMWord */ + typedef long TLMWord_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TLMWord_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TLMWord; -asn_struct_free_f TLMWord_free; -asn_struct_print_f TLMWord_print; -asn_constr_check_f TLMWord_constraint; -ber_type_decoder_f TLMWord_decode_ber; -der_type_encoder_f TLMWord_encode_der; -xer_type_decoder_f TLMWord_decode_xer; -xer_type_encoder_f TLMWord_encode_xer; -oer_type_decoder_f TLMWord_decode_oer; -oer_type_encoder_f TLMWord_encode_oer; -per_type_decoder_f TLMWord_decode_uper; -per_type_encoder_f TLMWord_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TLMWord_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TLMWord; + asn_struct_free_f TLMWord_free; + asn_struct_print_f TLMWord_print; + asn_constr_check_f TLMWord_constraint; + ber_type_decoder_f TLMWord_decode_ber; + der_type_encoder_f TLMWord_encode_der; + xer_type_decoder_f TLMWord_decode_xer; + xer_type_encoder_f TLMWord_encode_xer; + oer_type_decoder_f TLMWord_decode_oer; + oer_type_encoder_f TLMWord_encode_oer; + per_type_decoder_f TLMWord_decode_uper; + per_type_encoder_f TLMWord_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TLMWord_H_ */ +#endif /* _TLMWord_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TOA-MeasurementsOfRef.h b/src/core/libs/supl2/asn-rrlp/TOA-MeasurementsOfRef.h index 65058d8ad..84739b3c7 100644 --- a/src/core/libs/supl2/asn-rrlp/TOA-MeasurementsOfRef.h +++ b/src/core/libs/supl2/asn-rrlp/TOA-MeasurementsOfRef.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TOA_MeasurementsOfRef_H_ -#define _TOA_MeasurementsOfRef_H_ +#ifndef _TOA_MeasurementsOfRef_H_ +#define _TOA_MeasurementsOfRef_H_ #include @@ -16,26 +16,28 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TOA-MeasurementsOfRef */ -typedef struct TOA_MeasurementsOfRef { - RefQuality_t refQuality; - NumOfMeasurements_t numOfMeasurements; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TOA_MeasurementsOfRef_t; + /* TOA-MeasurementsOfRef */ + typedef struct TOA_MeasurementsOfRef + { + RefQuality_t refQuality; + NumOfMeasurements_t numOfMeasurements; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TOA_MeasurementsOfRef; -extern asn_SEQUENCE_specifics_t asn_SPC_TOA_MeasurementsOfRef_specs_1; -extern asn_TYPE_member_t asn_MBR_TOA_MeasurementsOfRef_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TOA_MeasurementsOfRef_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TOA_MeasurementsOfRef; + extern asn_SEQUENCE_specifics_t asn_SPC_TOA_MeasurementsOfRef_specs_1; + extern asn_TYPE_member_t asn_MBR_TOA_MeasurementsOfRef_1[2]; #ifdef __cplusplus } #endif -#endif /* _TOA_MeasurementsOfRef_H_ */ +#endif /* _TOA_MeasurementsOfRef_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TimeRelation.h b/src/core/libs/supl2/asn-rrlp/TimeRelation.h index b08d9ca68..f3d0b67a5 100644 --- a/src/core/libs/supl2/asn-rrlp/TimeRelation.h +++ b/src/core/libs/supl2/asn-rrlp/TimeRelation.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TimeRelation_H_ -#define _TimeRelation_H_ +#ifndef _TimeRelation_H_ +#define _TimeRelation_H_ #include @@ -15,25 +15,27 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GSMTime; + /* Forward declarations */ + struct GSMTime; -/* TimeRelation */ -typedef struct TimeRelation { - GPSTOW23b_t gpsTOW; - struct GSMTime *gsmTime /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TimeRelation_t; + /* TimeRelation */ + typedef struct TimeRelation + { + GPSTOW23b_t gpsTOW; + struct GSMTime *gsmTime /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeRelation; -extern asn_SEQUENCE_specifics_t asn_SPC_TimeRelation_specs_1; -extern asn_TYPE_member_t asn_MBR_TimeRelation_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TimeRelation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TimeRelation; + extern asn_SEQUENCE_specifics_t asn_SPC_TimeRelation_specs_1; + extern asn_TYPE_member_t asn_MBR_TimeRelation_1[2]; #ifdef __cplusplus } @@ -42,5 +44,5 @@ extern asn_TYPE_member_t asn_MBR_TimeRelation_1[2]; /* Referred external types */ #include "GSMTime.h" -#endif /* _TimeRelation_H_ */ +#endif /* _TimeRelation_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TimeSlot.h b/src/core/libs/supl2/asn-rrlp/TimeSlot.h index 3f6e48a79..3a40bb429 100644 --- a/src/core/libs/supl2/asn-rrlp/TimeSlot.h +++ b/src/core/libs/supl2/asn-rrlp/TimeSlot.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TimeSlot_H_ -#define _TimeSlot_H_ +#ifndef _TimeSlot_H_ +#define _TimeSlot_H_ #include @@ -14,30 +14,31 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TimeSlot */ -typedef long TimeSlot_t; + /* TimeSlot */ + typedef long TimeSlot_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TimeSlot_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TimeSlot; -asn_struct_free_f TimeSlot_free; -asn_struct_print_f TimeSlot_print; -asn_constr_check_f TimeSlot_constraint; -ber_type_decoder_f TimeSlot_decode_ber; -der_type_encoder_f TimeSlot_encode_der; -xer_type_decoder_f TimeSlot_decode_xer; -xer_type_encoder_f TimeSlot_encode_xer; -oer_type_decoder_f TimeSlot_decode_oer; -oer_type_encoder_f TimeSlot_encode_oer; -per_type_decoder_f TimeSlot_decode_uper; -per_type_encoder_f TimeSlot_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TimeSlot_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TimeSlot; + asn_struct_free_f TimeSlot_free; + asn_struct_print_f TimeSlot_print; + asn_constr_check_f TimeSlot_constraint; + ber_type_decoder_f TimeSlot_decode_ber; + der_type_encoder_f TimeSlot_encode_der; + xer_type_decoder_f TimeSlot_decode_xer; + xer_type_encoder_f TimeSlot_encode_xer; + oer_type_decoder_f TimeSlot_decode_oer; + oer_type_encoder_f TimeSlot_encode_oer; + per_type_decoder_f TimeSlot_decode_uper; + per_type_encoder_f TimeSlot_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TimeSlot_H_ */ +#endif /* _TimeSlot_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/TimeSlotScheme.h b/src/core/libs/supl2/asn-rrlp/TimeSlotScheme.h index 8663b1185..51b454010 100644 --- a/src/core/libs/supl2/asn-rrlp/TimeSlotScheme.h +++ b/src/core/libs/supl2/asn-rrlp/TimeSlotScheme.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _TimeSlotScheme_H_ -#define _TimeSlotScheme_H_ +#ifndef _TimeSlotScheme_H_ +#define _TimeSlotScheme_H_ #include @@ -14,37 +14,39 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum TimeSlotScheme { - TimeSlotScheme_equalLength = 0, - TimeSlotScheme_variousLength = 1 -} e_TimeSlotScheme; + /* Dependencies */ + typedef enum TimeSlotScheme + { + TimeSlotScheme_equalLength = 0, + TimeSlotScheme_variousLength = 1 + } e_TimeSlotScheme; -/* TimeSlotScheme */ -typedef long TimeSlotScheme_t; + /* TimeSlotScheme */ + typedef long TimeSlotScheme_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TimeSlotScheme_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TimeSlotScheme; -extern const asn_INTEGER_specifics_t asn_SPC_TimeSlotScheme_specs_1; -asn_struct_free_f TimeSlotScheme_free; -asn_struct_print_f TimeSlotScheme_print; -asn_constr_check_f TimeSlotScheme_constraint; -ber_type_decoder_f TimeSlotScheme_decode_ber; -der_type_encoder_f TimeSlotScheme_encode_der; -xer_type_decoder_f TimeSlotScheme_decode_xer; -xer_type_encoder_f TimeSlotScheme_encode_xer; -oer_type_decoder_f TimeSlotScheme_decode_oer; -oer_type_encoder_f TimeSlotScheme_encode_oer; -per_type_decoder_f TimeSlotScheme_decode_uper; -per_type_encoder_f TimeSlotScheme_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TimeSlotScheme_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TimeSlotScheme; + extern const asn_INTEGER_specifics_t asn_SPC_TimeSlotScheme_specs_1; + asn_struct_free_f TimeSlotScheme_free; + asn_struct_print_f TimeSlotScheme_print; + asn_constr_check_f TimeSlotScheme_constraint; + ber_type_decoder_f TimeSlotScheme_decode_ber; + der_type_encoder_f TimeSlotScheme_encode_der; + xer_type_decoder_f TimeSlotScheme_decode_xer; + xer_type_encoder_f TimeSlotScheme_encode_xer; + oer_type_decoder_f TimeSlotScheme_decode_oer; + oer_type_encoder_f TimeSlotScheme_encode_oer; + per_type_decoder_f TimeSlotScheme_decode_uper; + per_type_encoder_f TimeSlotScheme_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TimeSlotScheme_H_ */ +#endif /* _TimeSlotScheme_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/UTCModel.h b/src/core/libs/supl2/asn-rrlp/UTCModel.h index 7966829cd..fa657991b 100644 --- a/src/core/libs/supl2/asn-rrlp/UTCModel.h +++ b/src/core/libs/supl2/asn-rrlp/UTCModel.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _UTCModel_H_ -#define _UTCModel_H_ +#ifndef _UTCModel_H_ +#define _UTCModel_H_ #include @@ -15,32 +15,34 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UTCModel */ -typedef struct UTCModel { - long utcA1; - long utcA0; - long utcTot; - long utcWNt; - long utcDeltaTls; - long utcWNlsf; - long utcDN; - long utcDeltaTlsf; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTCModel_t; + /* UTCModel */ + typedef struct UTCModel + { + long utcA1; + long utcA0; + long utcTot; + long utcWNt; + long utcDeltaTls; + long utcWNlsf; + long utcDN; + long utcDeltaTlsf; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UTCModel; -extern asn_SEQUENCE_specifics_t asn_SPC_UTCModel_specs_1; -extern asn_TYPE_member_t asn_MBR_UTCModel_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTCModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UTCModel; + extern asn_SEQUENCE_specifics_t asn_SPC_UTCModel_specs_1; + extern asn_TYPE_member_t asn_MBR_UTCModel_1[8]; #ifdef __cplusplus } #endif -#endif /* _UTCModel_H_ */ +#endif /* _UTCModel_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/UlPseudoSegInd.h b/src/core/libs/supl2/asn-rrlp/UlPseudoSegInd.h index 0f0717c0a..7ab475437 100644 --- a/src/core/libs/supl2/asn-rrlp/UlPseudoSegInd.h +++ b/src/core/libs/supl2/asn-rrlp/UlPseudoSegInd.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _UlPseudoSegInd_H_ -#define _UlPseudoSegInd_H_ +#ifndef _UlPseudoSegInd_H_ +#define _UlPseudoSegInd_H_ #include @@ -14,37 +14,39 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UlPseudoSegInd { - UlPseudoSegInd_firstOfMany = 0, - UlPseudoSegInd_secondOfMany = 1 -} e_UlPseudoSegInd; + /* Dependencies */ + typedef enum UlPseudoSegInd + { + UlPseudoSegInd_firstOfMany = 0, + UlPseudoSegInd_secondOfMany = 1 + } e_UlPseudoSegInd; -/* UlPseudoSegInd */ -typedef long UlPseudoSegInd_t; + /* UlPseudoSegInd */ + typedef long UlPseudoSegInd_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_UlPseudoSegInd_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_UlPseudoSegInd; -extern const asn_INTEGER_specifics_t asn_SPC_UlPseudoSegInd_specs_1; -asn_struct_free_f UlPseudoSegInd_free; -asn_struct_print_f UlPseudoSegInd_print; -asn_constr_check_f UlPseudoSegInd_constraint; -ber_type_decoder_f UlPseudoSegInd_decode_ber; -der_type_encoder_f UlPseudoSegInd_encode_der; -xer_type_decoder_f UlPseudoSegInd_decode_xer; -xer_type_encoder_f UlPseudoSegInd_encode_xer; -oer_type_decoder_f UlPseudoSegInd_decode_oer; -oer_type_encoder_f UlPseudoSegInd_encode_oer; -per_type_decoder_f UlPseudoSegInd_decode_uper; -per_type_encoder_f UlPseudoSegInd_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_UlPseudoSegInd_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_UlPseudoSegInd; + extern const asn_INTEGER_specifics_t asn_SPC_UlPseudoSegInd_specs_1; + asn_struct_free_f UlPseudoSegInd_free; + asn_struct_print_f UlPseudoSegInd_print; + asn_constr_check_f UlPseudoSegInd_constraint; + ber_type_decoder_f UlPseudoSegInd_decode_ber; + der_type_encoder_f UlPseudoSegInd_encode_der; + xer_type_decoder_f UlPseudoSegInd_decode_xer; + xer_type_encoder_f UlPseudoSegInd_encode_xer; + oer_type_decoder_f UlPseudoSegInd_decode_oer; + oer_type_encoder_f UlPseudoSegInd_encode_oer; + per_type_decoder_f UlPseudoSegInd_decode_uper; + per_type_encoder_f UlPseudoSegInd_encode_uper; #ifdef __cplusplus } #endif -#endif /* _UlPseudoSegInd_H_ */ +#endif /* _UlPseudoSegInd_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/UncompressedEphemeris.h b/src/core/libs/supl2/asn-rrlp/UncompressedEphemeris.h index 99efcd5f2..6cc8f4619 100644 --- a/src/core/libs/supl2/asn-rrlp/UncompressedEphemeris.h +++ b/src/core/libs/supl2/asn-rrlp/UncompressedEphemeris.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _UncompressedEphemeris_H_ -#define _UncompressedEphemeris_H_ +#ifndef _UncompressedEphemeris_H_ +#define _UncompressedEphemeris_H_ #include @@ -16,55 +16,57 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UncompressedEphemeris */ -typedef struct UncompressedEphemeris { - long ephemCodeOnL2; - long ephemURA; - long ephemSVhealth; - long ephemIODC; - long ephemL2Pflag; - EphemerisSubframe1Reserved_t ephemSF1Rsvd; - long ephemTgd; - long ephemToc; - long ephemAF2; - long ephemAF1; - long ephemAF0; - long ephemCrs; - long ephemDeltaN; - long ephemM0; - long ephemCuc; - unsigned long ephemE; - long ephemCus; - unsigned long ephemAPowerHalf; - long ephemToe; - long ephemFitFlag; - long ephemAODA; - long ephemCic; - long ephemOmegaA0; - long ephemCis; - long ephemI0; - long ephemCrc; - long ephemW; - long ephemOmegaADot; - long ephemIDot; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UncompressedEphemeris_t; + /* UncompressedEphemeris */ + typedef struct UncompressedEphemeris + { + long ephemCodeOnL2; + long ephemURA; + long ephemSVhealth; + long ephemIODC; + long ephemL2Pflag; + EphemerisSubframe1Reserved_t ephemSF1Rsvd; + long ephemTgd; + long ephemToc; + long ephemAF2; + long ephemAF1; + long ephemAF0; + long ephemCrs; + long ephemDeltaN; + long ephemM0; + long ephemCuc; + unsigned long ephemE; + long ephemCus; + unsigned long ephemAPowerHalf; + long ephemToe; + long ephemFitFlag; + long ephemAODA; + long ephemCic; + long ephemOmegaA0; + long ephemCis; + long ephemI0; + long ephemCrc; + long ephemW; + long ephemOmegaADot; + long ephemIDot; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ephemE_17; // (Use -fall-defs-global to expose) */ -/* extern asn_TYPE_descriptor_t asn_DEF_ephemAPowerHalf_19; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UncompressedEphemeris; -extern asn_SEQUENCE_specifics_t asn_SPC_UncompressedEphemeris_specs_1; -extern asn_TYPE_member_t asn_MBR_UncompressedEphemeris_1[29]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UncompressedEphemeris_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_ephemE_17; // (Use -fall-defs-global to expose) */ + /* extern asn_TYPE_descriptor_t asn_DEF_ephemAPowerHalf_19; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_UncompressedEphemeris; + extern asn_SEQUENCE_specifics_t asn_SPC_UncompressedEphemeris_specs_1; + extern asn_TYPE_member_t asn_MBR_UncompressedEphemeris_1[29]; #ifdef __cplusplus } #endif -#endif /* _UncompressedEphemeris_H_ */ +#endif /* _UncompressedEphemeris_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/UseMultipleSets.h b/src/core/libs/supl2/asn-rrlp/UseMultipleSets.h index 9bc417242..b1580e855 100644 --- a/src/core/libs/supl2/asn-rrlp/UseMultipleSets.h +++ b/src/core/libs/supl2/asn-rrlp/UseMultipleSets.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _UseMultipleSets_H_ -#define _UseMultipleSets_H_ +#ifndef _UseMultipleSets_H_ +#define _UseMultipleSets_H_ #include @@ -14,37 +14,39 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UseMultipleSets { - UseMultipleSets_multipleSets = 0, - UseMultipleSets_oneSet = 1 -} e_UseMultipleSets; + /* Dependencies */ + typedef enum UseMultipleSets + { + UseMultipleSets_multipleSets = 0, + UseMultipleSets_oneSet = 1 + } e_UseMultipleSets; -/* UseMultipleSets */ -typedef long UseMultipleSets_t; + /* UseMultipleSets */ + typedef long UseMultipleSets_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_UseMultipleSets_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_UseMultipleSets; -extern const asn_INTEGER_specifics_t asn_SPC_UseMultipleSets_specs_1; -asn_struct_free_f UseMultipleSets_free; -asn_struct_print_f UseMultipleSets_print; -asn_constr_check_f UseMultipleSets_constraint; -ber_type_decoder_f UseMultipleSets_decode_ber; -der_type_encoder_f UseMultipleSets_encode_der; -xer_type_decoder_f UseMultipleSets_decode_xer; -xer_type_encoder_f UseMultipleSets_encode_xer; -oer_type_decoder_f UseMultipleSets_decode_oer; -oer_type_encoder_f UseMultipleSets_encode_oer; -per_type_decoder_f UseMultipleSets_decode_uper; -per_type_encoder_f UseMultipleSets_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_UseMultipleSets_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_UseMultipleSets; + extern const asn_INTEGER_specifics_t asn_SPC_UseMultipleSets_specs_1; + asn_struct_free_f UseMultipleSets_free; + asn_struct_print_f UseMultipleSets_print; + asn_constr_check_f UseMultipleSets_constraint; + ber_type_decoder_f UseMultipleSets_decode_ber; + der_type_encoder_f UseMultipleSets_encode_der; + xer_type_decoder_f UseMultipleSets_decode_xer; + xer_type_encoder_f UseMultipleSets_encode_xer; + oer_type_decoder_f UseMultipleSets_decode_oer; + oer_type_encoder_f UseMultipleSets_encode_oer; + per_type_decoder_f UseMultipleSets_decode_uper; + per_type_encoder_f UseMultipleSets_encode_uper; #ifdef __cplusplus } #endif -#endif /* _UseMultipleSets_H_ */ +#endif /* _UseMultipleSets_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/VelocityEstimate.h b/src/core/libs/supl2/asn-rrlp/VelocityEstimate.h index edf1f65bc..b792a6d5c 100644 --- a/src/core/libs/supl2/asn-rrlp/VelocityEstimate.h +++ b/src/core/libs/supl2/asn-rrlp/VelocityEstimate.h @@ -4,8 +4,8 @@ * found in "../ulp.asn1" */ -#ifndef _VelocityEstimate_H_ -#define _VelocityEstimate_H_ +#ifndef _VelocityEstimate_H_ +#define _VelocityEstimate_H_ #include @@ -14,29 +14,30 @@ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* VelocityEstimate */ -typedef long VelocityEstimate_t; + /* VelocityEstimate */ + typedef long VelocityEstimate_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_VelocityEstimate; -asn_struct_free_f VelocityEstimate_free; -asn_struct_print_f VelocityEstimate_print; -asn_constr_check_f VelocityEstimate_constraint; -ber_type_decoder_f VelocityEstimate_decode_ber; -der_type_encoder_f VelocityEstimate_encode_der; -xer_type_decoder_f VelocityEstimate_decode_xer; -xer_type_encoder_f VelocityEstimate_encode_xer; -oer_type_decoder_f VelocityEstimate_decode_oer; -oer_type_encoder_f VelocityEstimate_encode_oer; -per_type_decoder_f VelocityEstimate_decode_uper; -per_type_encoder_f VelocityEstimate_encode_uper; + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_VelocityEstimate; + asn_struct_free_f VelocityEstimate_free; + asn_struct_print_f VelocityEstimate_print; + asn_constr_check_f VelocityEstimate_constraint; + ber_type_decoder_f VelocityEstimate_decode_ber; + der_type_encoder_f VelocityEstimate_encode_der; + xer_type_decoder_f VelocityEstimate_decode_xer; + xer_type_encoder_f VelocityEstimate_encode_xer; + oer_type_decoder_f VelocityEstimate_decode_oer; + oer_type_encoder_f VelocityEstimate_encode_oer; + per_type_decoder_f VelocityEstimate_decode_uper; + per_type_encoder_f VelocityEstimate_encode_uper; #ifdef __cplusplus } #endif -#endif /* _VelocityEstimate_H_ */ +#endif /* _VelocityEstimate_H_ */ #include diff --git a/src/core/libs/supl2/asn-rrlp/asn_SEQUENCE_OF.h b/src/core/libs/supl2/asn-rrlp/asn_SEQUENCE_OF.h index e35bc447a..574b20430 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_SEQUENCE_OF.h +++ b/src/core/libs/supl2/asn-rrlp/asn_SEQUENCE_OF.h @@ -2,13 +2,14 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_SEQUENCE_OF_H -#define ASN_SEQUENCE_OF_H +#ifndef ASN_SEQUENCE_OF_H +#define ASN_SEQUENCE_OF_H #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif /* @@ -16,37 +17,37 @@ extern "C" { * the delete operation preserves the initial order of elements * and thus MAY operate in non-constant time. */ -#define A_SEQUENCE_OF(type) A_SET_OF(type) +#define A_SEQUENCE_OF(type) A_SET_OF(type) -#define ASN_SEQUENCE_ADD(headptr, ptr) \ - asn_sequence_add((headptr), (ptr)) +#define ASN_SEQUENCE_ADD(headptr, ptr) \ + asn_sequence_add((headptr), (ptr)) -/*********************************************** + /*********************************************** * Implementation of the SEQUENCE OF structure. */ -#define asn_sequence_add asn_set_add -#define asn_sequence_empty asn_set_empty +#define asn_sequence_add asn_set_add +#define asn_sequence_empty asn_set_empty -/* + /* * Delete the element from the set by its number (base 0). * This is NOT a constant-time operation. * The order of elements is preserved. * If _do_free is given AND the (*free) is initialized, the element * will be freed using the custom (*free) function as well. */ -void asn_sequence_del(void *asn_sequence_of_x, int number, int _do_free); + void asn_sequence_del(void *asn_sequence_of_x, int number, int _do_free); -/* + /* * Cope with different conversions requirements to/from void in C and C++. * This is mostly useful for support library. */ -typedef A_SEQUENCE_OF(void) asn_anonymous_sequence_; -#define _A_SEQUENCE_FROM_VOID(ptr) ((asn_anonymous_sequence_ *)(ptr)) -#define _A_CSEQUENCE_FROM_VOID(ptr) ((const asn_anonymous_sequence_ *)(ptr)) + typedef A_SEQUENCE_OF(void) asn_anonymous_sequence_; +#define _A_SEQUENCE_FROM_VOID(ptr) ((asn_anonymous_sequence_ *)(ptr)) +#define _A_CSEQUENCE_FROM_VOID(ptr) ((const asn_anonymous_sequence_ *)(ptr)) #ifdef __cplusplus } #endif -#endif /* ASN_SEQUENCE_OF_H */ +#endif /* ASN_SEQUENCE_OF_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_SET_OF.h b/src/core/libs/supl2/asn-rrlp/asn_SET_OF.h index 882e1a47d..ebb9c6faf 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_SET_OF.h +++ b/src/core/libs/supl2/asn-rrlp/asn_SET_OF.h @@ -2,46 +2,49 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_SET_OF_H -#define ASN_SET_OF_H +#ifndef ASN_SET_OF_H +#define ASN_SET_OF_H #ifdef __cplusplus #define A_SET_OF(type) \ - struct { \ + struct \ + { \ type **array; \ int count; /* Meaningful size */ \ int size; /* Allocated size */ \ void (*free)(decltype(*array)); \ } -#else /* C */ +#else /* C */ #define A_SET_OF(type) \ - struct { \ + struct \ + { \ type **array; \ int count; /* Meaningful size */ \ int size; /* Allocated size */ \ - void (*free)(type *); \ + void (*free)(type *); \ } #endif #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -#define ASN_SET_ADD(headptr, ptr) \ - asn_set_add((headptr), (ptr)) +#define ASN_SET_ADD(headptr, ptr) \ + asn_set_add((headptr), (ptr)) -/******************************************* + /******************************************* * Implementation of the SET OF structure. */ -/* + /* * Add another structure into the set by its pointer. * RETURN VALUES: * 0 for success and -1/errno for failure. */ -int asn_set_add(void *asn_set_of_x, void *ptr); + int asn_set_add(void *asn_set_of_x, void *ptr); -/* + /* * Delete the element from the set by its number (base 0). * This is a constant-time operation. The order of elements before the * deleted ones is guaranteed, the order of elements after the deleted @@ -49,24 +52,24 @@ int asn_set_add(void *asn_set_of_x, void *ptr); * If _do_free is given AND the (*free) is initialized, the element * will be freed using the custom (*free) function as well. */ -void asn_set_del(void *asn_set_of_x, int number, int _do_free); + void asn_set_del(void *asn_set_of_x, int number, int _do_free); -/* + /* * Empty the contents of the set. Will free the elements, if (*free) is given. * Will NOT free the set itself. */ -void asn_set_empty(void *asn_set_of_x); + void asn_set_empty(void *asn_set_of_x); -/* + /* * Cope with different conversions requirements to/from void in C and C++. * This is mostly useful for support library. */ -typedef A_SET_OF(void) asn_anonymous_set_; -#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr)) -#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr)) + typedef A_SET_OF(void) asn_anonymous_set_; +#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr)) +#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr)) #ifdef __cplusplus } #endif -#endif /* ASN_SET_OF_H */ +#endif /* ASN_SET_OF_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_application.h b/src/core/libs/supl2/asn-rrlp/asn_application.h index 3ca9f138e..3f2da9fac 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_application.h +++ b/src/core/libs/supl2/asn-rrlp/asn_application.h @@ -5,62 +5,64 @@ /* * Application-level ASN.1 callbacks. */ -#ifndef ASN_APPLICATION_H -#define ASN_APPLICATION_H +#ifndef ASN_APPLICATION_H +#define ASN_APPLICATION_H -#include "asn_system.h" /* for platform-dependent types */ -#include "asn_codecs.h" /* for ASN.1 codecs specifics */ +#include "asn_system.h" /* for platform-dependent types */ +#include "asn_codecs.h" /* for ASN.1 codecs specifics */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * A selection of ASN.1 Transfer Syntaxes to use with generalized * encoders and decoders declared further in this .h file. */ -enum asn_transfer_syntax { - /* Avoid appearance of a default transfer syntax. */ - ATS_INVALID = 0, - /* Plaintext output (not conforming to any standard), for debugging. */ - ATS_NONSTANDARD_PLAINTEXT, - /* Returns a randomly generatede structure. */ - ATS_RANDOM, - /* + enum asn_transfer_syntax + { + /* Avoid appearance of a default transfer syntax. */ + ATS_INVALID = 0, + /* Plaintext output (not conforming to any standard), for debugging. */ + ATS_NONSTANDARD_PLAINTEXT, + /* Returns a randomly generatede structure. */ + ATS_RANDOM, + /* * X.690: * BER: Basic Encoding Rules. * DER: Distinguished Encoding Rules. * CER: Canonical Encoding Rules. * DER and CER are more strict variants of BER. */ - ATS_BER, - ATS_DER, - ATS_CER, /* Only decoding is supported */ - /* + ATS_BER, + ATS_DER, + ATS_CER, /* Only decoding is supported */ + /* * X.696: * OER: Octet Encoding Rules. * CANONICAL-OER is a more strict variant of BASIC-OER. */ - ATS_BASIC_OER, - ATS_CANONICAL_OER, - /* + ATS_BASIC_OER, + ATS_CANONICAL_OER, + /* * X.691: * PER: Packed Encoding Rules. * CANONICAL-PER is a more strict variant of BASIC-PER. * NOTE: Produces or consumes a complete encoding (X.691 (08/2015) #11.1). */ - ATS_UNALIGNED_BASIC_PER, - ATS_UNALIGNED_CANONICAL_PER, - /* + ATS_UNALIGNED_BASIC_PER, + ATS_UNALIGNED_CANONICAL_PER, + /* * X.693: * XER: XML Encoding Rules. * CANONICAL-XER is a more strict variant of BASIC-XER. */ - ATS_BASIC_XER, - ATS_CANONICAL_XER -}; + ATS_BASIC_XER, + ATS_CANONICAL_XER + }; -/* + /* * A generic encoder for any supported transfer syntax. * RETURN VALUES: * The (.encoded) field of the return value is REDEFINED to mean the following: @@ -75,13 +77,13 @@ enum asn_transfer_syntax { * This is similar to snprintf(3) contract which might return values * greater than the buffer size. */ -asn_enc_rval_t asn_encode_to_buffer( - const asn_codec_ctx_t *opt_codec_parameters, /* See asn_codecs.h */ - enum asn_transfer_syntax, - const struct asn_TYPE_descriptor_s *type_to_encode, - const void *structure_to_encode, void *buffer, size_t buffer_size); + asn_enc_rval_t asn_encode_to_buffer( + const asn_codec_ctx_t *opt_codec_parameters, /* See asn_codecs.h */ + enum asn_transfer_syntax, + const struct asn_TYPE_descriptor_s *type_to_encode, + const void *structure_to_encode, void *buffer, size_t buffer_size); -/* + /* * A variant of asn_encode_to_buffer() with automatically allocated buffer. * RETURN VALUES: * On success, returns a newly allocated (.buffer) containing the whole message. @@ -93,29 +95,30 @@ asn_enc_rval_t asn_encode_to_buffer( * ENOMEM: Memory allocation failed due to system or internal limits. * The user is responsible for freeing the (.buffer). */ -typedef struct asn_encode_to_new_buffer_result_s { - void *buffer; /* NULL if failed to encode. */ - asn_enc_rval_t result; -} asn_encode_to_new_buffer_result_t; -asn_encode_to_new_buffer_result_t asn_encode_to_new_buffer( - const asn_codec_ctx_t *opt_codec_parameters, /* See asn_codecs.h */ - enum asn_transfer_syntax, - const struct asn_TYPE_descriptor_s *type_to_encode, - const void *structure_to_encode); + typedef struct asn_encode_to_new_buffer_result_s + { + void *buffer; /* NULL if failed to encode. */ + asn_enc_rval_t result; + } asn_encode_to_new_buffer_result_t; + asn_encode_to_new_buffer_result_t asn_encode_to_new_buffer( + const asn_codec_ctx_t *opt_codec_parameters, /* See asn_codecs.h */ + enum asn_transfer_syntax, + const struct asn_TYPE_descriptor_s *type_to_encode, + const void *structure_to_encode); -/* + /* * Generic type of an application-defined callback to return various * types of data to the application. * EXPECTED RETURN VALUES: * -1: Failed to consume bytes. Abort the mission. * Non-negative return values indicate success, and ignored. */ -typedef int(asn_app_consume_bytes_f)(const void *buffer, size_t size, - void *application_specific_key); + typedef int(asn_app_consume_bytes_f)(const void *buffer, size_t size, + void *application_specific_key); -/* + /* * A generic encoder for any supported transfer syntax. * Returns the comprehensive encoding result descriptor (see asn_codecs.h). * RETURN VALUES: @@ -126,27 +129,27 @@ typedef int(asn_app_consume_bytes_f)(const void *buffer, size_t size, * EBADF: The structure has invalid form or content constraint failed. * EIO: The (callback) has returned negative value during encoding. */ -asn_enc_rval_t asn_encode( - const asn_codec_ctx_t *opt_codec_parameters, /* See asn_codecs.h */ - enum asn_transfer_syntax, - const struct asn_TYPE_descriptor_s *type_to_encode, - const void *structure_to_encode, - asn_app_consume_bytes_f *callback, void *callback_key); + asn_enc_rval_t asn_encode( + const asn_codec_ctx_t *opt_codec_parameters, /* See asn_codecs.h */ + enum asn_transfer_syntax, + const struct asn_TYPE_descriptor_s *type_to_encode, + const void *structure_to_encode, + asn_app_consume_bytes_f *callback, void *callback_key); -/* + /* * A generic decoder for any supported transfer syntax. */ -asn_dec_rval_t asn_decode( - const asn_codec_ctx_t *opt_codec_parameters, enum asn_transfer_syntax, - const struct asn_TYPE_descriptor_s *type_to_decode, - void **structure_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of that buffer */ -); + asn_dec_rval_t asn_decode( + const asn_codec_ctx_t *opt_codec_parameters, enum asn_transfer_syntax, + const struct asn_TYPE_descriptor_s *type_to_decode, + void **structure_ptr, /* Pointer to a target structure's pointer */ + const void *buffer, /* Data to be decoded */ + size_t size /* Size of that buffer */ + ); -/* + /* * A callback of this type is called whenever constraint validation fails * on some ASN.1 type. See "constraints.h" for more details on constraint * validation. @@ -154,16 +157,16 @@ asn_dec_rval_t asn_decode( * the constraint check, as well as human readable message on what * particular constraint has failed. */ -typedef void (asn_app_constraint_failed_f)(void *application_specific_key, - const struct asn_TYPE_descriptor_s *type_descriptor_which_failed, - const void *structure_which_failed_ptr, - const char *error_message_format, ...) CC_PRINTFLIKE(4, 5); + typedef void(asn_app_constraint_failed_f)(void *application_specific_key, + const struct asn_TYPE_descriptor_s *type_descriptor_which_failed, + const void *structure_which_failed_ptr, + const char *error_message_format, ...) CC_PRINTFLIKE(4, 5); #ifdef __cplusplus } #endif -#include "constr_TYPE.h" /* for asn_TYPE_descriptor_t */ +#include "constr_TYPE.h" /* for asn_TYPE_descriptor_t */ -#endif /* ASN_APPLICATION_H */ +#endif /* ASN_APPLICATION_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_bit_data.h b/src/core/libs/supl2/asn-rrlp/asn_bit_data.h index 59de7af5f..a8c6ceeca 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_bit_data.h +++ b/src/core/libs/supl2/asn-rrlp/asn_bit_data.h @@ -2,82 +2,85 @@ * Copyright (c) 2005-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_BIT_DATA -#define ASN_BIT_DATA +#ifndef ASN_BIT_DATA +#define ASN_BIT_DATA -#include /* Platform-specific types */ +#include /* Platform-specific types */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * This structure describes a position inside an incoming PER bit stream. */ -typedef struct asn_bit_data_s { - const uint8_t *buffer; /* Pointer to the octet stream */ - size_t nboff; /* Bit offset to the meaningful bit */ - size_t nbits; /* Number of bits in the stream */ - size_t moved; /* Number of bits moved through this bit stream */ - int (*refill)(struct asn_bit_data_s *); - void *refill_key; -} asn_bit_data_t; + typedef struct asn_bit_data_s + { + const uint8_t *buffer; /* Pointer to the octet stream */ + size_t nboff; /* Bit offset to the meaningful bit */ + size_t nbits; /* Number of bits in the stream */ + size_t moved; /* Number of bits moved through this bit stream */ + int (*refill)(struct asn_bit_data_s *); + void *refill_key; + } asn_bit_data_t; -/* + /* * Create a contiguous non-refillable bit data structure. * Can be freed by FREEMEM(). */ -asn_bit_data_t *asn_bit_data_new_contiguous(const void *data, size_t size_bits); + asn_bit_data_t *asn_bit_data_new_contiguous(const void *data, size_t size_bits); -/* + /* * Extract a small number of bits (<= 31) from the specified PER data pointer. * This function returns -1 if the specified number of bits could not be * extracted due to EOD or other conditions. */ -int32_t asn_get_few_bits(asn_bit_data_t *, int get_nbits); + int32_t asn_get_few_bits(asn_bit_data_t *, int get_nbits); -/* Undo the immediately preceeding "get_few_bits" operation */ -void asn_get_undo(asn_bit_data_t *, int get_nbits); + /* Undo the immediately preceeding "get_few_bits" operation */ + void asn_get_undo(asn_bit_data_t *, int get_nbits); -/* + /* * Extract a large number of bits from the specified PER data pointer. * This function returns -1 if the specified number of bits could not be * extracted due to EOD or other conditions. */ -int asn_get_many_bits(asn_bit_data_t *, uint8_t *dst, int right_align, - int get_nbits); + int asn_get_many_bits(asn_bit_data_t *, uint8_t *dst, int right_align, + int get_nbits); -/* Non-thread-safe debugging function, don't use it */ -char *asn_bit_data_string(asn_bit_data_t *); + /* Non-thread-safe debugging function, don't use it */ + char *asn_bit_data_string(asn_bit_data_t *); -/* + /* * This structure supports forming bit output. */ -typedef struct asn_bit_outp_s { - uint8_t *buffer; /* Pointer into the (tmpspace) */ - size_t nboff; /* Bit offset to the meaningful bit */ - size_t nbits; /* Number of bits left in (tmpspace) */ - uint8_t tmpspace[32]; /* Preliminary storage to hold data */ - int (*output)(const void *data, size_t size, void *op_key); - void *op_key; /* Key for (output) data callback */ - size_t flushed_bytes; /* Bytes already flushed through (output) */ -} asn_bit_outp_t; + typedef struct asn_bit_outp_s + { + uint8_t *buffer; /* Pointer into the (tmpspace) */ + size_t nboff; /* Bit offset to the meaningful bit */ + size_t nbits; /* Number of bits left in (tmpspace) */ + uint8_t tmpspace[32]; /* Preliminary storage to hold data */ + int (*output)(const void *data, size_t size, void *op_key); + void *op_key; /* Key for (output) data callback */ + size_t flushed_bytes; /* Bytes already flushed through (output) */ + } asn_bit_outp_t; -/* Output a small number of bits (<= 31) */ -int asn_put_few_bits(asn_bit_outp_t *, uint32_t bits, int obits); + /* Output a small number of bits (<= 31) */ + int asn_put_few_bits(asn_bit_outp_t *, uint32_t bits, int obits); -/* Output a large number of bits */ -int asn_put_many_bits(asn_bit_outp_t *, const uint8_t *src, int put_nbits); + /* Output a large number of bits */ + int asn_put_many_bits(asn_bit_outp_t *, const uint8_t *src, int put_nbits); -/* + /* * Flush whole bytes (0 or more) through (outper) member. * The least significant bits which are not used are guaranteed to be set to 0. * Returns -1 if callback returns -1. Otherwise, 0. */ -int asn_put_aligned_flush(asn_bit_outp_t *); + int asn_put_aligned_flush(asn_bit_outp_t *); #ifdef __cplusplus } #endif -#endif /* ASN_BIT_DATA */ +#endif /* ASN_BIT_DATA */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_codecs.h b/src/core/libs/supl2/asn-rrlp/asn_codecs.h index e75c2709c..53b1a3733 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_codecs.h +++ b/src/core/libs/supl2/asn-rrlp/asn_codecs.h @@ -2,16 +2,17 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_CODECS_H -#define ASN_CODECS_H +#ifndef ASN_CODECS_H +#define ASN_CODECS_H #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * This structure defines a set of parameters that may be passed * to every ASN.1 encoder or decoder function. * WARNING: if max_stack_size member is set, and you are calling the @@ -20,8 +21,9 @@ struct asn_TYPE_descriptor_s; /* Forward declaration */ * If you can't always satisfy this requirement, use ber_decode(), * xer_decode() and uper_decode() functions instead. */ -typedef struct asn_codec_ctx_s { - /* + typedef struct asn_codec_ctx_s + { + /* * Limit the decoder routines to use no (much) more stack than a given * number of bytes. Most of decoders are stack-based, and this * would protect against stack overflows if the number of nested @@ -32,45 +34,52 @@ typedef struct asn_codec_ctx_s { * this variable. Be careful in multithreaded environments, as the * stack size is rather limited. */ - size_t max_stack_size; /* 0 disables stack bounds checking */ -} asn_codec_ctx_t; + size_t max_stack_size; /* 0 disables stack bounds checking */ + } asn_codec_ctx_t; -/* + /* * Type of the return value of the encoding functions (der_encode, xer_encode). */ -typedef struct asn_enc_rval_s { - /* + typedef struct asn_enc_rval_s + { + /* * Number of bytes encoded. * -1 indicates failure to encode the structure. * In this case, the members below this one are meaningful. */ - ssize_t encoded; + ssize_t encoded; - /* + /* * Members meaningful when (encoded == -1), for post mortem analysis. */ - /* Type which cannot be encoded */ - const struct asn_TYPE_descriptor_s *failed_type; + /* Type which cannot be encoded */ + const struct asn_TYPE_descriptor_s *failed_type; - /* Pointer to the structure of that type */ - const void *structure_ptr; -} asn_enc_rval_t; -#define ASN__ENCODE_FAILED do { \ - asn_enc_rval_t tmp_error; \ - tmp_error.encoded = -1; \ - tmp_error.failed_type = td; \ - tmp_error.structure_ptr = sptr; \ - ASN_DEBUG("Failed to encode element %s", td ? td->name : ""); \ - return tmp_error; \ -} while(0) -#define ASN__ENCODED_OK(rval) do { \ - rval.structure_ptr = 0; \ - rval.failed_type = 0; \ - return rval; \ -} while(0) + /* Pointer to the structure of that type */ + const void *structure_ptr; + } asn_enc_rval_t; +#define ASN__ENCODE_FAILED \ + do \ + { \ + asn_enc_rval_t tmp_error; \ + tmp_error.encoded = -1; \ + tmp_error.failed_type = td; \ + tmp_error.structure_ptr = sptr; \ + ASN_DEBUG("Failed to encode element %s", td ? td->name : ""); \ + return tmp_error; \ + } \ + while (0) +#define ASN__ENCODED_OK(rval) \ + do \ + { \ + rval.structure_ptr = 0; \ + rval.failed_type = 0; \ + return rval; \ + } \ + while (0) -/* + /* * Type of the return value of the decoding functions (ber_decode, xer_decode) * * Please note that the number of consumed bytes is ALWAYS meaningful, @@ -78,31 +87,39 @@ typedef struct asn_enc_rval_s { * decoded bytes, hence providing a possibility to fail with more diagnostics * (i.e., print the offending remainder of the buffer). */ -enum asn_dec_rval_code_e { - RC_OK, /* Decoded successfully */ - RC_WMORE, /* More data expected, call again */ - RC_FAIL /* Failure to decode data */ -}; -typedef struct asn_dec_rval_s { - enum asn_dec_rval_code_e code; /* Result code */ - size_t consumed; /* Number of bytes consumed */ -} asn_dec_rval_t; -#define ASN__DECODE_FAILED do { \ - asn_dec_rval_t tmp_error; \ - tmp_error.code = RC_FAIL; \ - tmp_error.consumed = 0; \ - ASN_DEBUG("Failed to decode element %s", td ? td->name : ""); \ - return tmp_error; \ -} while(0) -#define ASN__DECODE_STARVED do { \ - asn_dec_rval_t tmp_error; \ - tmp_error.code = RC_WMORE; \ - tmp_error.consumed = 0; \ - return tmp_error; \ -} while(0) + enum asn_dec_rval_code_e + { + RC_OK, /* Decoded successfully */ + RC_WMORE, /* More data expected, call again */ + RC_FAIL /* Failure to decode data */ + }; + typedef struct asn_dec_rval_s + { + enum asn_dec_rval_code_e code; /* Result code */ + size_t consumed; /* Number of bytes consumed */ + } asn_dec_rval_t; +#define ASN__DECODE_FAILED \ + do \ + { \ + asn_dec_rval_t tmp_error; \ + tmp_error.code = RC_FAIL; \ + tmp_error.consumed = 0; \ + ASN_DEBUG("Failed to decode element %s", td ? td->name : ""); \ + return tmp_error; \ + } \ + while (0) +#define ASN__DECODE_STARVED \ + do \ + { \ + asn_dec_rval_t tmp_error; \ + tmp_error.code = RC_WMORE; \ + tmp_error.consumed = 0; \ + return tmp_error; \ + } \ + while (0) #ifdef __cplusplus } #endif -#endif /* ASN_CODECS_H */ +#endif /* ASN_CODECS_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_codecs_prim.h b/src/core/libs/supl2/asn-rrlp/asn_codecs_prim.h index fbc557648..5fd91d05c 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_codecs_prim.h +++ b/src/core/libs/supl2/asn-rrlp/asn_codecs_prim.h @@ -2,50 +2,53 @@ * Copyright (c) 2004-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_CODECS_PRIM_H -#define ASN_CODECS_PRIM_H +#ifndef ASN_CODECS_PRIM_H +#define ASN_CODECS_PRIM_H #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef struct ASN__PRIMITIVE_TYPE_s { - uint8_t *buf; /* Buffer with consecutive primitive encoding bytes */ - size_t size; /* Size of the buffer */ -} ASN__PRIMITIVE_TYPE_t; /* Do not use this type directly! */ + typedef struct ASN__PRIMITIVE_TYPE_s + { + uint8_t *buf; /* Buffer with consecutive primitive encoding bytes */ + size_t size; /* Size of the buffer */ + } ASN__PRIMITIVE_TYPE_t; /* Do not use this type directly! */ -asn_struct_free_f ASN__PRIMITIVE_TYPE_free; -ber_type_decoder_f ber_decode_primitive; -der_type_encoder_f der_encode_primitive; + asn_struct_free_f ASN__PRIMITIVE_TYPE_free; + ber_type_decoder_f ber_decode_primitive; + der_type_encoder_f der_encode_primitive; -/* + /* * A callback specification for the xer_decode_primitive() function below. */ -enum xer_pbd_rval { - XPBD_SYSTEM_FAILURE, /* System failure (memory shortage, etc) */ - XPBD_DECODER_LIMIT, /* Hit some decoder limitation or deficiency */ - XPBD_BROKEN_ENCODING, /* Encoding of a primitive body is broken */ - XPBD_NOT_BODY_IGNORE, /* Not a body format, but safe to ignore */ - XPBD_BODY_CONSUMED /* Body is recognized and consumed */ -}; -typedef enum xer_pbd_rval(xer_primitive_body_decoder_f)( - const asn_TYPE_descriptor_t *td, void *struct_ptr, const void *chunk_buf, - size_t chunk_size); + enum xer_pbd_rval + { + XPBD_SYSTEM_FAILURE, /* System failure (memory shortage, etc) */ + XPBD_DECODER_LIMIT, /* Hit some decoder limitation or deficiency */ + XPBD_BROKEN_ENCODING, /* Encoding of a primitive body is broken */ + XPBD_NOT_BODY_IGNORE, /* Not a body format, but safe to ignore */ + XPBD_BODY_CONSUMED /* Body is recognized and consumed */ + }; + typedef enum xer_pbd_rval(xer_primitive_body_decoder_f)( + const asn_TYPE_descriptor_t *td, void *struct_ptr, const void *chunk_buf, + size_t chunk_size); -/* + /* * Specific function to decode simple primitive types. * Also see xer_decode_general() in xer_decoder.h */ -asn_dec_rval_t xer_decode_primitive( - const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *type_descriptor, void **struct_ptr, - size_t struct_size, const char *opt_mname, const void *buf_ptr, size_t size, - xer_primitive_body_decoder_f *prim_body_decoder); + asn_dec_rval_t xer_decode_primitive( + const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *type_descriptor, void **struct_ptr, + size_t struct_size, const char *opt_mname, const void *buf_ptr, size_t size, + xer_primitive_body_decoder_f *prim_body_decoder); #ifdef __cplusplus } #endif -#endif /* ASN_CODECS_PRIM_H */ +#endif /* ASN_CODECS_PRIM_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_internal.h b/src/core/libs/supl2/asn-rrlp/asn_internal.h index 273608314..09a747c7f 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_internal.h +++ b/src/core/libs/supl2/asn-rrlp/asn_internal.h @@ -5,74 +5,94 @@ /* * Declarations internally useful for the ASN.1 support code. */ -#ifndef ASN_INTERNAL_H -#define ASN_INTERNAL_H -#define __EXTENSIONS__ /* for Sun */ +#ifndef ASN_INTERNAL_H +#define ASN_INTERNAL_H +#define __EXTENSIONS__ /* for Sun */ -#include "asn_application.h" /* Application-visible API */ +#include "asn_application.h" /* Application-visible API */ -#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */ -#include /* for assert() macro */ +#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */ +#include /* for assert() macro */ #endif -#ifdef __cplusplus -extern "C" { +#ifdef __cplusplus +extern "C" +{ #endif /* Environment version might be used to avoid running with the old library */ -#define ASN1C_ENVIRONMENT_VERSION 923 /* Compile-time version */ -int get_asn1c_environment_version(void); /* Run-time version */ +#define ASN1C_ENVIRONMENT_VERSION 923 /* Compile-time version */ + int get_asn1c_environment_version(void); /* Run-time version */ -#define CALLOC(nmemb, size) calloc(nmemb, size) -#define MALLOC(size) malloc(size) -#define REALLOC(oldptr, size) realloc(oldptr, size) -#define FREEMEM(ptr) free(ptr) +#define CALLOC(nmemb, size) calloc(nmemb, size) +#define MALLOC(size) malloc(size) +#define REALLOC(oldptr, size) realloc(oldptr, size) +#define FREEMEM(ptr) free(ptr) -#define asn_debug_indent 0 -#define ASN_DEBUG_INDENT_ADD(i) do{}while(0) +#define asn_debug_indent 0 +#define ASN_DEBUG_INDENT_ADD(i) \ + do \ + { \ + } \ + while (0) -#ifdef EMIT_ASN_DEBUG +#ifdef EMIT_ASN_DEBUG #warning "Use ASN_EMIT_DEBUG instead of EMIT_ASN_DEBUG" -#define ASN_EMIT_DEBUG EMIT_ASN_DEBUG +#define ASN_EMIT_DEBUG EMIT_ASN_DEBUG #endif /* * A macro for debugging the ASN.1 internals. * You may enable or override it. */ -#ifndef ASN_DEBUG /* If debugging code is not defined elsewhere... */ -#if ASN_EMIT_DEBUG == 1 /* And it was asked to emit this code... */ +#ifndef ASN_DEBUG /* If debugging code is not defined elsewhere... */ +#if ASN_EMIT_DEBUG == 1 /* And it was asked to emit this code... */ #if __STDC_VERSION__ >= 199901L -#ifdef ASN_THREAD_SAFE +#ifdef ASN_THREAD_SAFE /* Thread safety requires sacrifice in output indentation: * Retain empty definition of ASN_DEBUG_INDENT_ADD. */ -#else /* !ASN_THREAD_SAFE */ -#undef ASN_DEBUG_INDENT_ADD -#undef asn_debug_indent -int asn_debug_indent; -#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0) -#endif /* ASN_THREAD_SAFE */ -#define ASN_DEBUG(fmt, args...) do { \ - int adi = asn_debug_indent; \ - while(adi--) fprintf(stderr, " "); \ - fprintf(stderr, fmt, ##args); \ - fprintf(stderr, " (%s:%d)\n", \ - __FILE__, __LINE__); \ - } while(0) -#else /* !C99 */ -void CC_PRINTFLIKE(1, 2) ASN_DEBUG_f(const char *fmt, ...); -#define ASN_DEBUG ASN_DEBUG_f -#endif /* C99 */ -#else /* ASN_EMIT_DEBUG != 1 */ +#else /* !ASN_THREAD_SAFE */ +#undef ASN_DEBUG_INDENT_ADD +#undef asn_debug_indent + int asn_debug_indent; +#define ASN_DEBUG_INDENT_ADD(i) \ + do \ + { \ + asn_debug_indent += i; \ + } \ + while (0) +#endif /* ASN_THREAD_SAFE */ +#define ASN_DEBUG(fmt, args...) \ + do \ + { \ + int adi = asn_debug_indent; \ + while (adi--) fprintf(stderr, " "); \ + fprintf(stderr, fmt, ##args); \ + fprintf(stderr, " (%s:%d)\n", \ + __FILE__, __LINE__); \ + } \ + while (0) +#else /* !C99 */ + void CC_PRINTFLIKE(1, 2) ASN_DEBUG_f(const char *fmt, ...); +#define ASN_DEBUG ASN_DEBUG_f +#endif /* C99 */ +#else /* ASN_EMIT_DEBUG != 1 */ #if __STDC_VERSION__ >= 199901L -#define ASN_DEBUG(...) do{}while(0) -#else /* not C99 */ -static void CC_PRINTFLIKE(1, 2) ASN_DEBUG(const char *fmt, ...) { (void)fmt; } -#endif /* C99 or better */ -#endif /* ASN_EMIT_DEBUG */ -#endif /* ASN_DEBUG */ +#define ASN_DEBUG(...) \ + do \ + { \ + } \ + while (0) +#else /* not C99 */ + static void CC_PRINTFLIKE(1, 2) ASN_DEBUG(const char *fmt, ...) + { + (void)fmt; + } +#endif /* C99 or better */ +#endif /* ASN_EMIT_DEBUG */ +#endif /* ASN_DEBUG */ -/* + /* * Print to a callback. * The callback is expected to return negative values on error. * 0 and positive values are treated as success. @@ -80,72 +100,80 @@ static void CC_PRINTFLIKE(1, 2) ASN_DEBUG(const char *fmt, ...) { (void)fmt; } * -1: Failed to format or invoke the callback. * >0: Size of the data that got delivered to the callback. */ -ssize_t CC_PRINTFLIKE(3, 4) -asn__format_to_callback( - int (*callback)(const void *, size_t, void *key), void *key, - const char *fmt, ...); + ssize_t CC_PRINTFLIKE(3, 4) + asn__format_to_callback( + int (*callback)(const void *, size_t, void *key), void *key, + const char *fmt, ...); /* * Invoke the application-supplied callback and fail, if something is wrong. */ #define ASN__E_cbc(buf, size) (cb((buf), (size), app_key) < 0) -#define ASN__E_CALLBACK(size, foo) \ - do { \ - if(foo) goto cb_failed; \ - er.encoded += (size); \ - } while(0) +#define ASN__E_CALLBACK(size, foo) \ + do \ + { \ + if (foo) goto cb_failed; \ + er.encoded += (size); \ + } \ + while (0) #define ASN__CALLBACK(buf, size) ASN__E_CALLBACK(size, ASN__E_cbc(buf, size)) #define ASN__CALLBACK2(buf1, size1, buf2, size2) \ ASN__E_CALLBACK((size1) + (size2), \ - ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2)) -#define ASN__CALLBACK3(buf1, size1, buf2, size2, buf3, size3) \ - ASN__E_CALLBACK((size1) + (size2) + (size3), \ - ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2) \ - || ASN__E_cbc(buf3, size3)) + ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2)) +#define ASN__CALLBACK3(buf1, size1, buf2, size2, buf3, size3) \ + ASN__E_CALLBACK((size1) + (size2) + (size3), \ + ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2) || ASN__E_cbc(buf3, size3)) -#define ASN__TEXT_INDENT(nl, level) \ - do { \ - int tmp_level = (level); \ - int tmp_nl = ((nl) != 0); \ - int tmp_i; \ - if(tmp_nl) ASN__CALLBACK("\n", 1); \ - if(tmp_level < 0) tmp_level = 0; \ - for(tmp_i = 0; tmp_i < tmp_level; tmp_i++) ASN__CALLBACK(" ", 4); \ - } while(0) +#define ASN__TEXT_INDENT(nl, level) \ + do \ + { \ + int tmp_level = (level); \ + int tmp_nl = ((nl) != 0); \ + int tmp_i; \ + if (tmp_nl) ASN__CALLBACK("\n", 1); \ + if (tmp_level < 0) tmp_level = 0; \ + for (tmp_i = 0; tmp_i < tmp_level; tmp_i++) ASN__CALLBACK(" ", 4); \ + } \ + while (0) -#define _i_INDENT(nl) do { \ - int tmp_i; \ - if((nl) && cb("\n", 1, app_key) < 0) \ - return -1; \ - for(tmp_i = 0; tmp_i < ilevel; tmp_i++) \ - if(cb(" ", 4, app_key) < 0) \ - return -1; \ - } while(0) +#define _i_INDENT(nl) \ + do \ + { \ + int tmp_i; \ + if ((nl) && cb("\n", 1, app_key) < 0) \ + return -1; \ + for (tmp_i = 0; tmp_i < ilevel; tmp_i++) \ + if (cb(" ", 4, app_key) < 0) \ + return -1; \ + } \ + while (0) /* * Check stack against overflow, if limit is set. */ -#define ASN__DEFAULT_STACK_MAX (30000) -static int CC_NOTUSED -ASN__STACK_OVERFLOW_CHECK(const asn_codec_ctx_t *ctx) { - if(ctx && ctx->max_stack_size) { +#define ASN__DEFAULT_STACK_MAX (30000) + static int CC_NOTUSED + ASN__STACK_OVERFLOW_CHECK(const asn_codec_ctx_t *ctx) + { + if (ctx && ctx->max_stack_size) + { + /* ctx MUST be allocated on the stack */ + ptrdiff_t usedstack = ((const char *)ctx - (const char *)&ctx); + if (usedstack > 0) usedstack = -usedstack; /* grows up! */ - /* ctx MUST be allocated on the stack */ - ptrdiff_t usedstack = ((const char *)ctx - (const char *)&ctx); - if(usedstack > 0) usedstack = -usedstack; /* grows up! */ + /* double negative required to avoid int wrap-around */ + if (usedstack < -(ptrdiff_t)ctx->max_stack_size) + { + ASN_DEBUG("Stack limit %ld reached", + (long)ctx->max_stack_size); + return -1; + } + } + return 0; + } - /* double negative required to avoid int wrap-around */ - if(usedstack < -(ptrdiff_t)ctx->max_stack_size) { - ASN_DEBUG("Stack limit %ld reached", - (long)ctx->max_stack_size); - return -1; - } - } - return 0; -} - -#ifdef __cplusplus +#ifdef __cplusplus } #endif -#endif /* ASN_INTERNAL_H */ +#endif /* ASN_INTERNAL_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_ioc.h b/src/core/libs/supl2/asn-rrlp/asn_ioc.h index d2fe3659c..8e6f780a0 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_ioc.h +++ b/src/core/libs/supl2/asn-rrlp/asn_ioc.h @@ -3,48 +3,54 @@ * Copyright (c) 2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_IOC_H -#define ASN_IOC_H +#ifndef ASN_IOC_H +#define ASN_IOC_H -#include /* Platform-specific types */ +#include /* Platform-specific types */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; -struct asn_ioc_cell_s; + struct asn_TYPE_descriptor_s; + struct asn_ioc_cell_s; -/* + /* * X.681, #13 */ -typedef struct asn_ioc_set_s { - size_t rows_count; - size_t columns_count; - const struct asn_ioc_cell_s *rows; -} asn_ioc_set_t; + typedef struct asn_ioc_set_s + { + size_t rows_count; + size_t columns_count; + const struct asn_ioc_cell_s *rows; + } asn_ioc_set_t; -typedef struct asn_ioc_cell_s { - const char *field_name; /* Is equal to corresponding column_name */ - enum { - aioc__value, - aioc__type, - aioc__open_type, - } cell_kind; - struct asn_TYPE_descriptor_s *type_descriptor; - const void *value_sptr; - struct { - size_t types_count; - struct { - unsigned choice_position; - } *types; - } open_type; -} asn_ioc_cell_t; + typedef struct asn_ioc_cell_s + { + const char *field_name; /* Is equal to corresponding column_name */ + enum + { + aioc__value, + aioc__type, + aioc__open_type, + } cell_kind; + struct asn_TYPE_descriptor_s *type_descriptor; + const void *value_sptr; + struct + { + size_t types_count; + struct + { + unsigned choice_position; + } * types; + } open_type; + } asn_ioc_cell_t; #ifdef __cplusplus } #endif -#endif /* ASN_IOC_H */ +#endif /* ASN_IOC_H */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_random_fill.h b/src/core/libs/supl2/asn-rrlp/asn_random_fill.h index 47f9b8af0..a6e87feda 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_random_fill.h +++ b/src/core/libs/supl2/asn-rrlp/asn_random_fill.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_RANDOM_FILL -#define ASN_RANDOM_FILL +#ifndef ASN_RANDOM_FILL +#define ASN_RANDOM_FILL /* Forward declarations */ struct asn_TYPE_descriptor_s; @@ -21,8 +21,10 @@ struct asn_encoding_constraints_s; * In case the return differs from ARFILL_OK, the (struct_ptr) contents * and (current_length) value remain in their original state. */ -typedef struct asn_random_fill_result_s { - enum { +typedef struct asn_random_fill_result_s +{ + enum + { ARFILL_FAILED = -1, /* System error (memory?) */ ARFILL_OK = 0, /* Initialization succeeded */ ARFILL_SKIPPED = 1 /* Not done due to (length?) constraint */ @@ -41,11 +43,11 @@ typedef asn_random_fill_result_t(asn_random_fill_f)( * might be several times larger or smaller than the length limit. */ int asn_random_fill(const struct asn_TYPE_descriptor_s *td, void **struct_ptr, - size_t approx_max_length_limit); + size_t approx_max_length_limit); /* * Returns a random number between min and max. */ intmax_t asn_random_between(intmax_t min, intmax_t max); -#endif /* ASN_RANDOM_FILL */ +#endif /* ASN_RANDOM_FILL */ diff --git a/src/core/libs/supl2/asn-rrlp/asn_system.h b/src/core/libs/supl2/asn-rrlp/asn_system.h index fa8cf1165..9f3353b8b 100644 --- a/src/core/libs/supl2/asn-rrlp/asn_system.h +++ b/src/core/libs/supl2/asn-rrlp/asn_system.h @@ -5,10 +5,10 @@ /* * Miscellaneous system-dependent types. */ -#ifndef ASN_SYSTEM_H -#define ASN_SYSTEM_H +#ifndef ASN_SYSTEM_H +#define ASN_SYSTEM_H -#ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -20,114 +20,111 @@ #define _BSD_SOURCE /* for snprintf() on some linux systems */ #endif -#include /* For snprintf(3) */ -#include /* For *alloc(3) */ -#include /* For memcpy(3) */ -#include /* For size_t */ -#include /* For LONG_MAX */ -#include /* For va_start */ -#include /* for offsetof and ptrdiff_t */ +#include /* For snprintf(3) */ +#include /* For *alloc(3) */ +#include /* For memcpy(3) */ +#include /* For size_t */ +#include /* For LONG_MAX */ +#include /* For va_start */ +#include /* for offsetof and ptrdiff_t */ -#ifdef _WIN32 +#ifdef _WIN32 #include -#define snprintf _snprintf -#define vsnprintf _vsnprintf +#define snprintf _snprintf +#define vsnprintf _vsnprintf /* To avoid linking with ws2_32.lib, here's the definition of ntohl() */ -#define sys_ntohl(l) ((((l) << 24) & 0xff000000) \ - | (((l) << 8) & 0xff0000) \ - | (((l) >> 8) & 0xff00) \ - | ((l >> 24) & 0xff)) +#define sys_ntohl(l) ((((l) << 24) & 0xff000000) | (((l) << 8) & 0xff0000) | (((l) >> 8) & 0xff00) | ((l >> 24) & 0xff)) -#ifdef _MSC_VER /* MSVS.Net */ +#ifdef _MSC_VER /* MSVS.Net */ #ifndef __cplusplus #define inline __inline #endif -#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ -#define ssize_t SSIZE_T +#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ +#define ssize_t SSIZE_T #if _MSC_VER < 1600 -typedef char int8_t; -typedef short int16_t; -typedef int int32_t; -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; +typedef char int8_t; +typedef short int16_t; +typedef int int32_t; +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; #else /* _MSC_VER >= 1600 */ #include #endif /* _MSC_VER < 1600 */ -#endif /* ASSUMESTDTYPES */ +#endif /* ASSUMESTDTYPES */ #define WIN32_LEAN_AND_MEAN #include #include #define isnan _isnan #define finite _finite #define copysign _copysign -#define ilogb _logb -#else /* !_MSC_VER */ +#define ilogb _logb +#else /* !_MSC_VER */ #include -#endif /* _MSC_VER */ +#endif /* _MSC_VER */ -#else /* !_WIN32 */ +#else /* !_WIN32 */ #if defined(__vxworks) #include -#else /* !defined(__vxworks) */ +#else /* !defined(__vxworks) */ -#include /* C99 specifies this file */ +#include /* C99 specifies this file */ #include /* for ntohl() */ -#define sys_ntohl(foo) ntohl(foo) -#endif /* defined(__vxworks) */ +#define sys_ntohl(foo) ntohl(foo) +#endif /* defined(__vxworks) */ -#endif /* _WIN32 */ +#endif /* _WIN32 */ -#if __GNUC__ >= 3 || defined(__clang__) -#define CC_ATTRIBUTE(attr) __attribute__((attr)) +#if __GNUC__ >= 3 || defined(__clang__) +#define CC_ATTRIBUTE(attr) __attribute__((attr)) #else #define CC_ATTRIBUTE(attr) #endif -#define CC_PRINTFLIKE(fmt, var) CC_ATTRIBUTE(format(printf, fmt, var)) -#define CC_NOTUSED CC_ATTRIBUTE(unused) +#define CC_PRINTFLIKE(fmt, var) CC_ATTRIBUTE(format(printf, fmt, var)) +#define CC_NOTUSED CC_ATTRIBUTE(unused) #ifndef CC_ATTR_NO_SANITIZE -#define CC_ATTR_NO_SANITIZE(what) CC_ATTRIBUTE(no_sanitize(what)) +#define CC_ATTR_NO_SANITIZE(what) CC_ATTRIBUTE(no_sanitize(what)) #endif /* Figure out if thread safety is requested */ #if !defined(ASN_THREAD_SAFE) && (defined(THREAD_SAFE) || defined(_REENTRANT)) -#define ASN_THREAD_SAFE -#endif /* Thread safety */ +#define ASN_THREAD_SAFE +#endif /* Thread safety */ -#ifndef offsetof /* If not defined by */ -#define offsetof(s, m) ((ptrdiff_t)&(((s *)0)->m) - (ptrdiff_t)((s *)0)) -#endif /* offsetof */ +#ifndef offsetof /* If not defined by */ +#define offsetof(s, m) ((ptrdiff_t) & (((s *)0)->m) - (ptrdiff_t)((s *)0)) +#endif /* offsetof */ -#ifndef MIN /* Suitable for comparing primitive types (integers) */ +#ifndef MIN /* Suitable for comparing primitive types (integers) */ #if defined(__GNUC__) -#define MIN(a,b) ({ __typeof a _a = a; __typeof b _b = b; \ +#define MIN(a, b) ({ __typeof a _a = a; __typeof b _b = b; \ ((_a)<(_b)?(_a):(_b)); }) -#else /* !__GNUC__ */ -#define MIN(a,b) ((a)<(b)?(a):(b)) /* Unsafe variant */ -#endif /* __GNUC__ */ -#endif /* MIN */ +#else /* !__GNUC__ */ +#define MIN(a, b) ((a) < (b) ? (a) : (b)) /* Unsafe variant */ +#endif /* __GNUC__ */ +#endif /* MIN */ #if __STDC_VERSION__ >= 199901L #ifndef SIZE_MAX -#define SIZE_MAX ((~((size_t)0)) >> 1) +#define SIZE_MAX ((~((size_t)0)) >> 1) #endif -#ifndef RSIZE_MAX /* C11, Annex K */ -#define RSIZE_MAX (SIZE_MAX >> 1) +#ifndef RSIZE_MAX /* C11, Annex K */ +#define RSIZE_MAX (SIZE_MAX >> 1) #endif -#ifndef RSSIZE_MAX /* Halve signed size even further than unsigned */ -#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) +#ifndef RSSIZE_MAX /* Halve signed size even further than unsigned */ +#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) #endif -#else /* Old compiler */ -#undef SIZE_MAX -#undef RSIZE_MAX -#undef RSSIZE_MAX -#define SIZE_MAX ((~((size_t)0)) >> 1) -#define RSIZE_MAX (SIZE_MAX >> 1) -#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) +#else /* Old compiler */ +#undef SIZE_MAX +#undef RSIZE_MAX +#undef RSSIZE_MAX +#define SIZE_MAX ((~((size_t)0)) >> 1) +#define RSIZE_MAX (SIZE_MAX >> 1) +#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) #endif #if __STDC_VERSION__ >= 199901L @@ -147,4 +144,4 @@ typedef unsigned int uint32_t; #endif #endif -#endif /* ASN_SYSTEM_H */ +#endif /* ASN_SYSTEM_H */ diff --git a/src/core/libs/supl2/asn-rrlp/ber_decoder.h b/src/core/libs/supl2/asn-rrlp/ber_decoder.h index 1ac2a5ef0..672362c7c 100644 --- a/src/core/libs/supl2/asn-rrlp/ber_decoder.h +++ b/src/core/libs/supl2/asn-rrlp/ber_decoder.h @@ -2,19 +2,20 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BER_DECODER_H_ -#define _BER_DECODER_H_ +#ifndef _BER_DECODER_H_ +#define _BER_DECODER_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ -struct asn_codec_ctx_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_codec_ctx_s; /* Forward declaration */ -/* + /* * The BER decoder of any type. * This function may be invoked directly from the application. * Decodes BER, DER and CER data (DER and CER are different subsets of BER). @@ -22,45 +23,45 @@ struct asn_codec_ctx_s; /* Forward declaration */ * NOTE: Use the der_encode() function (der_encoder.h) to produce encoding * which is compliant with ber_decode(). */ -asn_dec_rval_t ber_decode( - const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of that buffer */ -); + asn_dec_rval_t ber_decode( + const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, + void **struct_ptr, /* Pointer to a target structure's pointer */ + const void *buffer, /* Data to be decoded */ + size_t size /* Size of that buffer */ + ); -/* + /* * Type of generic function which decodes the byte stream into the structure. */ -typedef asn_dec_rval_t(ber_type_decoder_f)( - const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, - const void *buf_ptr, size_t size, int tag_mode); + typedef asn_dec_rval_t(ber_type_decoder_f)( + const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, + const void *buf_ptr, size_t size, int tag_mode); -/******************************* + /******************************* * INTERNALLY USEFUL FUNCTIONS * *******************************/ -/* + /* * Check that all tags correspond to the type definition (as given in head). * On return, last_length would contain either a non-negative length of the * value part of the last TLV, or the negative number of expected * "end of content" sequences. The number may only be negative if the * head->last_tag_form is non-zero. */ -asn_dec_rval_t ber_check_tags( - const struct asn_codec_ctx_s *opt_codec_ctx, /* codec options */ - const struct asn_TYPE_descriptor_s *type_descriptor, - asn_struct_ctx_t *opt_ctx, /* saved decoding context */ - const void *ptr, size_t size, - int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ - int last_tag_form, /* {-1,0:1}: any, primitive, constr */ - ber_tlv_len_t *last_length, int *opt_tlv_form /* optional tag form */ -); + asn_dec_rval_t ber_check_tags( + const struct asn_codec_ctx_s *opt_codec_ctx, /* codec options */ + const struct asn_TYPE_descriptor_s *type_descriptor, + asn_struct_ctx_t *opt_ctx, /* saved decoding context */ + const void *ptr, size_t size, + int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ + int last_tag_form, /* {-1,0:1}: any, primitive, constr */ + ber_tlv_len_t *last_length, int *opt_tlv_form /* optional tag form */ + ); #ifdef __cplusplus } #endif -#endif /* _BER_DECODER_H_ */ +#endif /* _BER_DECODER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/ber_tlv_length.h b/src/core/libs/supl2/asn-rrlp/ber_tlv_length.h index d1e4d48dd..3e7948428 100644 --- a/src/core/libs/supl2/asn-rrlp/ber_tlv_length.h +++ b/src/core/libs/supl2/asn-rrlp/ber_tlv_length.h @@ -2,16 +2,17 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BER_TLV_LENGTH_H_ -#define _BER_TLV_LENGTH_H_ +#ifndef _BER_TLV_LENGTH_H_ +#define _BER_TLV_LENGTH_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef ssize_t ber_tlv_len_t; + typedef ssize_t ber_tlv_len_t; -/* + /* * This function tries to fetch the length of the BER TLV value and place it * in *len_r. * RETURN VALUES: @@ -21,30 +22,30 @@ typedef ssize_t ber_tlv_len_t; * On return with >0, len_r is constrained as -1..MAX, where -1 mean * that the value is of indefinite length. */ -ssize_t ber_fetch_length(int _is_constructed, const void *bufptr, size_t size, - ber_tlv_len_t *len_r); + ssize_t ber_fetch_length(int _is_constructed, const void *bufptr, size_t size, + ber_tlv_len_t *len_r); -/* + /* * This function expects bufptr to be positioned over L in TLV. * It returns number of bytes occupied by L and V together, suitable * for skipping. The function properly handles indefinite length. * RETURN VALUES: * Standard {-1,0,>0} convention. */ -ssize_t ber_skip_length( - const struct asn_codec_ctx_s *opt_codec_ctx, /* optional context */ - int _is_constructed, const void *bufptr, size_t size); + ssize_t ber_skip_length( + const struct asn_codec_ctx_s *opt_codec_ctx, /* optional context */ + int _is_constructed, const void *bufptr, size_t size); -/* + /* * This function serializes the length (L from TLV) in DER format. * It always returns number of bytes necessary to represent the length, * it is a caller's responsibility to check the return value * against the supplied buffer's size. */ -size_t der_tlv_length_serialize(ber_tlv_len_t len, void *bufptr, size_t size); + size_t der_tlv_length_serialize(ber_tlv_len_t len, void *bufptr, size_t size); #ifdef __cplusplus } #endif -#endif /* _BER_TLV_LENGTH_H_ */ +#endif /* _BER_TLV_LENGTH_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/ber_tlv_tag.h b/src/core/libs/supl2/asn-rrlp/ber_tlv_tag.h index ce227add6..750ff3582 100644 --- a/src/core/libs/supl2/asn-rrlp/ber_tlv_tag.h +++ b/src/core/libs/supl2/asn-rrlp/ber_tlv_tag.h @@ -2,59 +2,61 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BER_TLV_TAG_H_ -#define _BER_TLV_TAG_H_ +#ifndef _BER_TLV_TAG_H_ +#define _BER_TLV_TAG_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -enum asn_tag_class { - ASN_TAG_CLASS_UNIVERSAL = 0, /* 0b00 */ - ASN_TAG_CLASS_APPLICATION = 1, /* 0b01 */ - ASN_TAG_CLASS_CONTEXT = 2, /* 0b10 */ - ASN_TAG_CLASS_PRIVATE = 3 /* 0b11 */ -}; -typedef unsigned ber_tlv_tag_t; /* BER TAG from Tag-Length-Value */ + enum asn_tag_class + { + ASN_TAG_CLASS_UNIVERSAL = 0, /* 0b00 */ + ASN_TAG_CLASS_APPLICATION = 1, /* 0b01 */ + ASN_TAG_CLASS_CONTEXT = 2, /* 0b10 */ + ASN_TAG_CLASS_PRIVATE = 3 /* 0b11 */ + }; + typedef unsigned ber_tlv_tag_t; /* BER TAG from Tag-Length-Value */ /* * Tag class is encoded together with tag value for optimization purposes. */ -#define BER_TAG_CLASS(tag) ((tag) & 0x3) -#define BER_TAG_VALUE(tag) ((tag) >> 2) -#define BER_TLV_CONSTRUCTED(tagptr) (((*(const uint8_t *)tagptr)&0x20)?1:0) +#define BER_TAG_CLASS(tag) ((tag)&0x3) +#define BER_TAG_VALUE(tag) ((tag) >> 2) +#define BER_TLV_CONSTRUCTED(tagptr) (((*(const uint8_t *)tagptr) & 0x20) ? 1 : 0) -#define BER_TAGS_EQUAL(tag1, tag2) ((tag1) == (tag2)) +#define BER_TAGS_EQUAL(tag1, tag2) ((tag1) == (tag2)) -/* + /* * Several functions for printing the TAG in the canonical form * (i.e. "[PRIVATE 0]"). * Return values correspond to their libc counterparts (if any). */ -ssize_t ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t buflen); -ssize_t ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *); -char *ber_tlv_tag_string(ber_tlv_tag_t tag); + ssize_t ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t buflen); + ssize_t ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *); + char *ber_tlv_tag_string(ber_tlv_tag_t tag); -/* + /* * This function tries to fetch the tag from the input stream. * RETURN VALUES: * 0: More data expected than bufptr contains. * -1: Fatal error deciphering tag. * >0: Number of bytes used from bufptr. tag_r will contain the tag. */ -ssize_t ber_fetch_tag(const void *bufptr, size_t size, ber_tlv_tag_t *tag_r); + ssize_t ber_fetch_tag(const void *bufptr, size_t size, ber_tlv_tag_t *tag_r); -/* + /* * This function serializes the tag (T from TLV) in BER format. * It always returns number of bytes necessary to represent the tag, * it is a caller's responsibility to check the return value * against the supplied buffer's size. */ -size_t ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufptr, size_t size); + size_t ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufptr, size_t size); #ifdef __cplusplus } #endif -#endif /* _BER_TLV_TAG_H_ */ +#endif /* _BER_TLV_TAG_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/constr_CHOICE.h b/src/core/libs/supl2/asn-rrlp/constr_CHOICE.h index 764948094..9ffc8ff36 100644 --- a/src/core/libs/supl2/asn-rrlp/constr_CHOICE.h +++ b/src/core/libs/supl2/asn-rrlp/constr_CHOICE.h @@ -2,77 +2,79 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _CONSTR_CHOICE_H_ -#define _CONSTR_CHOICE_H_ +#ifndef _CONSTR_CHOICE_H_ +#define _CONSTR_CHOICE_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef struct asn_CHOICE_specifics_s { - /* + typedef struct asn_CHOICE_specifics_s + { + /* * Target structure description. */ - unsigned struct_size; /* Size of the target structure. */ - unsigned ctx_offset; /* Offset of the asn_codec_ctx_t member */ - unsigned pres_offset; /* Identifier of the present member */ - unsigned pres_size; /* Size of the identifier (enum) */ + unsigned struct_size; /* Size of the target structure. */ + unsigned ctx_offset; /* Offset of the asn_codec_ctx_t member */ + unsigned pres_offset; /* Identifier of the present member */ + unsigned pres_size; /* Size of the identifier (enum) */ - /* + /* * Tags to members mapping table. */ - const asn_TYPE_tag2member_t *tag2el; - unsigned tag2el_count; + const asn_TYPE_tag2member_t *tag2el; + unsigned tag2el_count; - /* Canonical ordering of CHOICE elements, for PER */ - const unsigned *to_canonical_order; - const unsigned *from_canonical_order; + /* Canonical ordering of CHOICE elements, for PER */ + const unsigned *to_canonical_order; + const unsigned *from_canonical_order; - /* + /* * Extensions-related stuff. */ - signed ext_start; /* First member of extensions, or -1 */ -} asn_CHOICE_specifics_t; + signed ext_start; /* First member of extensions, or -1 */ + } asn_CHOICE_specifics_t; -/* + /* * A set specialized functions dealing with the CHOICE type. */ -asn_struct_free_f CHOICE_free; -asn_struct_print_f CHOICE_print; -asn_struct_compare_f CHOICE_compare; -asn_constr_check_f CHOICE_constraint; -ber_type_decoder_f CHOICE_decode_ber; -der_type_encoder_f CHOICE_encode_der; -xer_type_decoder_f CHOICE_decode_xer; -xer_type_encoder_f CHOICE_encode_xer; -oer_type_decoder_f CHOICE_decode_oer; -oer_type_encoder_f CHOICE_encode_oer; -per_type_decoder_f CHOICE_decode_uper; -per_type_encoder_f CHOICE_encode_uper; -asn_outmost_tag_f CHOICE_outmost_tag; -asn_random_fill_f CHOICE_random_fill; -extern asn_TYPE_operation_t asn_OP_CHOICE; + asn_struct_free_f CHOICE_free; + asn_struct_print_f CHOICE_print; + asn_struct_compare_f CHOICE_compare; + asn_constr_check_f CHOICE_constraint; + ber_type_decoder_f CHOICE_decode_ber; + der_type_encoder_f CHOICE_encode_der; + xer_type_decoder_f CHOICE_decode_xer; + xer_type_encoder_f CHOICE_encode_xer; + oer_type_decoder_f CHOICE_decode_oer; + oer_type_encoder_f CHOICE_encode_oer; + per_type_decoder_f CHOICE_decode_uper; + per_type_encoder_f CHOICE_encode_uper; + asn_outmost_tag_f CHOICE_outmost_tag; + asn_random_fill_f CHOICE_random_fill; + extern asn_TYPE_operation_t asn_OP_CHOICE; -/* + /* * Return the 1-based choice variant presence index. * Returns 0 in case of error. */ -unsigned CHOICE_variant_get_presence(const asn_TYPE_descriptor_t *td, - const void *structure_ptr); + unsigned CHOICE_variant_get_presence(const asn_TYPE_descriptor_t *td, + const void *structure_ptr); -/* + /* * Sets or resets the 1-based choice variant presence index. * In case a previous index is not zero, the currently selected structure * member is freed and zeroed-out first. * Returns 0 on success and -1 on error. */ -int CHOICE_variant_set_presence(const asn_TYPE_descriptor_t *td, - void *structure_ptr, unsigned present); + int CHOICE_variant_set_presence(const asn_TYPE_descriptor_t *td, + void *structure_ptr, unsigned present); #ifdef __cplusplus } #endif -#endif /* _CONSTR_CHOICE_H_ */ +#endif /* _CONSTR_CHOICE_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE.h b/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE.h index f9dd4e5ef..7bff67b67 100644 --- a/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE.h +++ b/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE.h @@ -2,65 +2,67 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _CONSTR_SEQUENCE_H_ -#define _CONSTR_SEQUENCE_H_ +#ifndef _CONSTR_SEQUENCE_H_ +#define _CONSTR_SEQUENCE_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef struct asn_SEQUENCE_specifics_s { - /* + typedef struct asn_SEQUENCE_specifics_s + { + /* * Target structure description. */ - unsigned struct_size; /* Size of the target structure. */ - unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */ + unsigned struct_size; /* Size of the target structure. */ + unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */ - /* + /* * Tags to members mapping table (sorted). */ - const asn_TYPE_tag2member_t *tag2el; - unsigned tag2el_count; + const asn_TYPE_tag2member_t *tag2el; + unsigned tag2el_count; - /* + /* * Optional members of the extensions root (roms) or additions (aoms). * Meaningful for PER. */ - const int *oms; /* Optional MemberS */ - unsigned roms_count; /* Root optional members count */ - unsigned aoms_count; /* Additions optional members count */ + const int *oms; /* Optional MemberS */ + unsigned roms_count; /* Root optional members count */ + unsigned aoms_count; /* Additions optional members count */ - /* + /* * Description of an extensions group. * Root components are clustered at the beginning of the structure, * whereas extensions are clustered at the end. -1 means not extensible. */ - signed first_extension; /* First extension addition */ -} asn_SEQUENCE_specifics_t; + signed first_extension; /* First extension addition */ + } asn_SEQUENCE_specifics_t; -/* + /* * A set specialized functions dealing with the SEQUENCE type. */ -asn_struct_free_f SEQUENCE_free; -asn_struct_print_f SEQUENCE_print; -asn_struct_compare_f SEQUENCE_compare; -asn_constr_check_f SEQUENCE_constraint; -ber_type_decoder_f SEQUENCE_decode_ber; -der_type_encoder_f SEQUENCE_encode_der; -xer_type_decoder_f SEQUENCE_decode_xer; -xer_type_encoder_f SEQUENCE_encode_xer; -oer_type_decoder_f SEQUENCE_decode_oer; -oer_type_encoder_f SEQUENCE_encode_oer; -per_type_decoder_f SEQUENCE_decode_uper; -per_type_encoder_f SEQUENCE_encode_uper; -asn_random_fill_f SEQUENCE_random_fill; -extern asn_TYPE_operation_t asn_OP_SEQUENCE; + asn_struct_free_f SEQUENCE_free; + asn_struct_print_f SEQUENCE_print; + asn_struct_compare_f SEQUENCE_compare; + asn_constr_check_f SEQUENCE_constraint; + ber_type_decoder_f SEQUENCE_decode_ber; + der_type_encoder_f SEQUENCE_encode_der; + xer_type_decoder_f SEQUENCE_decode_xer; + xer_type_encoder_f SEQUENCE_encode_xer; + oer_type_decoder_f SEQUENCE_decode_oer; + oer_type_encoder_f SEQUENCE_encode_oer; + per_type_decoder_f SEQUENCE_decode_uper; + per_type_encoder_f SEQUENCE_encode_uper; + asn_random_fill_f SEQUENCE_random_fill; + extern asn_TYPE_operation_t asn_OP_SEQUENCE; #ifdef __cplusplus } #endif -#endif /* _CONSTR_SEQUENCE_H_ */ +#endif /* _CONSTR_SEQUENCE_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE_OF.h b/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE_OF.h index f21b91e16..ddb9c3ab2 100644 --- a/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE_OF.h +++ b/src/core/libs/supl2/asn-rrlp/constr_SEQUENCE_OF.h @@ -2,38 +2,39 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _CONSTR_SEQUENCE_OF_H_ -#define _CONSTR_SEQUENCE_OF_H_ +#ifndef _CONSTR_SEQUENCE_OF_H_ +#define _CONSTR_SEQUENCE_OF_H_ #include -#include /* Implemented using SET OF */ +#include /* Implemented using SET OF */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * A set specialized functions dealing with the SEQUENCE OF type. * Generally implemented using SET OF. */ -asn_struct_compare_f SEQUENCE_OF_compare; -der_type_encoder_f SEQUENCE_OF_encode_der; -xer_type_encoder_f SEQUENCE_OF_encode_xer; -per_type_encoder_f SEQUENCE_OF_encode_uper; -extern asn_TYPE_operation_t asn_OP_SEQUENCE_OF; + asn_struct_compare_f SEQUENCE_OF_compare; + der_type_encoder_f SEQUENCE_OF_encode_der; + xer_type_encoder_f SEQUENCE_OF_encode_xer; + per_type_encoder_f SEQUENCE_OF_encode_uper; + extern asn_TYPE_operation_t asn_OP_SEQUENCE_OF; -#define SEQUENCE_OF_free SET_OF_free -#define SEQUENCE_OF_print SET_OF_print -#define SEQUENCE_OF_constraint SET_OF_constraint -#define SEQUENCE_OF_decode_ber SET_OF_decode_ber -#define SEQUENCE_OF_decode_xer SET_OF_decode_xer -#define SEQUENCE_OF_decode_uper SET_OF_decode_uper -#define SEQUENCE_OF_decode_oer SET_OF_decode_oer -#define SEQUENCE_OF_encode_oer SET_OF_encode_oer -#define SEQUENCE_OF_random_fill SET_OF_random_fill +#define SEQUENCE_OF_free SET_OF_free +#define SEQUENCE_OF_print SET_OF_print +#define SEQUENCE_OF_constraint SET_OF_constraint +#define SEQUENCE_OF_decode_ber SET_OF_decode_ber +#define SEQUENCE_OF_decode_xer SET_OF_decode_xer +#define SEQUENCE_OF_decode_uper SET_OF_decode_uper +#define SEQUENCE_OF_decode_oer SET_OF_decode_oer +#define SEQUENCE_OF_encode_oer SET_OF_encode_oer +#define SEQUENCE_OF_random_fill SET_OF_random_fill #ifdef __cplusplus } #endif -#endif /* _CONSTR_SET_OF_H_ */ +#endif /* _CONSTR_SET_OF_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/constr_SET_OF.h b/src/core/libs/supl2/asn-rrlp/constr_SET_OF.h index f32e607ba..e88f2f348 100644 --- a/src/core/libs/supl2/asn-rrlp/constr_SET_OF.h +++ b/src/core/libs/supl2/asn-rrlp/constr_SET_OF.h @@ -2,46 +2,48 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef CONSTR_SET_OF_H -#define CONSTR_SET_OF_H +#ifndef CONSTR_SET_OF_H +#define CONSTR_SET_OF_H #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef struct asn_SET_OF_specifics_s { - /* + typedef struct asn_SET_OF_specifics_s + { + /* * Target structure description. */ - unsigned struct_size; /* Size of the target structure. */ - unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */ + unsigned struct_size; /* Size of the target structure. */ + unsigned ctx_offset; /* Offset of the asn_struct_ctx_t member */ - /* XER-specific stuff */ - int as_XMLValueList; /* The member type must be encoded like this */ -} asn_SET_OF_specifics_t; + /* XER-specific stuff */ + int as_XMLValueList; /* The member type must be encoded like this */ + } asn_SET_OF_specifics_t; -/* + /* * A set specialized functions dealing with the SET OF type. */ -asn_struct_free_f SET_OF_free; -asn_struct_print_f SET_OF_print; -asn_struct_compare_f SET_OF_compare; -asn_constr_check_f SET_OF_constraint; -ber_type_decoder_f SET_OF_decode_ber; -der_type_encoder_f SET_OF_encode_der; -xer_type_decoder_f SET_OF_decode_xer; -xer_type_encoder_f SET_OF_encode_xer; -oer_type_decoder_f SET_OF_decode_oer; -oer_type_encoder_f SET_OF_encode_oer; -per_type_decoder_f SET_OF_decode_uper; -per_type_encoder_f SET_OF_encode_uper; -asn_random_fill_f SET_OF_random_fill; -extern asn_TYPE_operation_t asn_OP_SET_OF; + asn_struct_free_f SET_OF_free; + asn_struct_print_f SET_OF_print; + asn_struct_compare_f SET_OF_compare; + asn_constr_check_f SET_OF_constraint; + ber_type_decoder_f SET_OF_decode_ber; + der_type_encoder_f SET_OF_encode_der; + xer_type_decoder_f SET_OF_decode_xer; + xer_type_encoder_f SET_OF_encode_xer; + oer_type_decoder_f SET_OF_decode_oer; + oer_type_encoder_f SET_OF_encode_oer; + per_type_decoder_f SET_OF_decode_uper; + per_type_encoder_f SET_OF_encode_uper; + asn_random_fill_f SET_OF_random_fill; + extern asn_TYPE_operation_t asn_OP_SET_OF; #ifdef __cplusplus } #endif -#endif /* CONSTR_SET_OF_H */ +#endif /* CONSTR_SET_OF_H */ diff --git a/src/core/libs/supl2/asn-rrlp/constr_TYPE.h b/src/core/libs/supl2/asn-rrlp/constr_TYPE.h index 31102f55f..adff8fc80 100644 --- a/src/core/libs/supl2/asn-rrlp/constr_TYPE.h +++ b/src/core/libs/supl2/asn-rrlp/constr_TYPE.h @@ -8,63 +8,66 @@ * This structure even contains pointer to these encoding and decoding routines * for each defined ASN.1 type. */ -#ifndef _CONSTR_TYPE_H_ -#define _CONSTR_TYPE_H_ +#ifndef _CONSTR_TYPE_H_ +#define _CONSTR_TYPE_H_ #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ -struct asn_TYPE_member_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_member_s; /* Forward declaration */ -/* + /* * This type provides the context information for various ASN.1 routines, * primarily ones doing decoding. A member _asn_ctx of this type must be * included into certain target language's structures, such as compound types. */ -typedef struct asn_struct_ctx_s { - short phase; /* Decoding phase */ - short step; /* Elementary step of a phase */ - int context; /* Other context information */ - void *ptr; /* Decoder-specific stuff (stack elements) */ - ber_tlv_len_t left; /* Number of bytes left, -1 for indefinite */ -} asn_struct_ctx_t; + typedef struct asn_struct_ctx_s + { + short phase; /* Decoding phase */ + short step; /* Elementary step of a phase */ + int context; /* Other context information */ + void *ptr; /* Decoder-specific stuff (stack elements) */ + ber_tlv_len_t left; /* Number of bytes left, -1 for indefinite */ + } asn_struct_ctx_t; -#include /* Basic Encoding Rules decoder */ -#include /* Distinguished Encoding Rules encoder */ -#include /* Decoder of XER (XML, text) */ -#include /* Encoder into XER (XML, text) */ -#include /* Packet Encoding Rules decoder */ -#include /* Packet Encoding Rules encoder */ -#include /* Subtype constraints support */ -#include /* Random structures support */ +#include /* Basic Encoding Rules decoder */ +#include /* Distinguished Encoding Rules encoder */ +#include /* Decoder of XER (XML, text) */ +#include /* Encoder into XER (XML, text) */ +#include /* Packet Encoding Rules decoder */ +#include /* Packet Encoding Rules encoder */ +#include /* Subtype constraints support */ +#include /* Random structures support */ -#ifdef ASN_DISABLE_OER_SUPPORT -typedef void (oer_type_decoder_f)(); -typedef void (oer_type_encoder_f)(); -typedef void asn_oer_constraints_t; +#ifdef ASN_DISABLE_OER_SUPPORT + typedef void(oer_type_decoder_f)(); + typedef void(oer_type_encoder_f)(); + typedef void asn_oer_constraints_t; #else -#include /* Octet Encoding Rules encoder */ -#include /* Octet Encoding Rules encoder */ +#include /* Octet Encoding Rules encoder */ +#include /* Octet Encoding Rules encoder */ #endif -/* + /* * Free the structure according to its specification. * Use one of ASN_STRUCT_{FREE,RESET,CONTENTS_ONLY} macros instead. * Do not use directly. */ -enum asn_struct_free_method { - ASFM_FREE_EVERYTHING, /* free(struct_ptr) and underlying members */ - ASFM_FREE_UNDERLYING, /* free underlying members */ - ASFM_FREE_UNDERLYING_AND_RESET /* FREE_UNDERLYING + memset(0) */ -}; -typedef void (asn_struct_free_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - void *struct_ptr, enum asn_struct_free_method); + enum asn_struct_free_method + { + ASFM_FREE_EVERYTHING, /* free(struct_ptr) and underlying members */ + ASFM_FREE_UNDERLYING, /* free underlying members */ + ASFM_FREE_UNDERLYING_AND_RESET /* FREE_UNDERLYING + memset(0) */ + }; + typedef void(asn_struct_free_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + void *struct_ptr, enum asn_struct_free_method); /* * Free the structure including freeing the memory pointed to by ptr itself. @@ -93,155 +96,162 @@ typedef void (asn_struct_free_f)( #define ASN_STRUCT_FREE_CONTENTS_ONLY(asn_DEF, ptr) \ (asn_DEF).op->free_struct(&(asn_DEF), (ptr), ASFM_FREE_UNDERLYING) -/* + /* * Print the structure according to its specification. */ -typedef int(asn_struct_print_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, - int level, /* Indentation level */ - asn_app_consume_bytes_f *callback, void *app_key); + typedef int(asn_struct_print_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, + int level, /* Indentation level */ + asn_app_consume_bytes_f *callback, void *app_key); -/* + /* * Compare two structs between each other. * Returns <0 if struct_A is "smaller" than struct_B, >0 if "greater", * and =0 if "equal to", for some type-specific, stable definition of * "smaller", "greater" and "equal to". */ -typedef int (asn_struct_compare_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_A, - const void *struct_B); + typedef int(asn_struct_compare_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_A, + const void *struct_B); -/* + /* * Return the outmost tag of the type. * If the type is untagged CHOICE, the dynamic operation is performed. * NOTE: This function pointer type is only useful internally. * Do not use it in your application. */ -typedef ber_tlv_tag_t (asn_outmost_tag_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, int tag_mode, ber_tlv_tag_t tag); -/* The instance of the above function type; used internally. */ -asn_outmost_tag_f asn_TYPE_outmost_tag; + typedef ber_tlv_tag_t(asn_outmost_tag_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, int tag_mode, ber_tlv_tag_t tag); + /* The instance of the above function type; used internally. */ + asn_outmost_tag_f asn_TYPE_outmost_tag; -/* + /* * Fetch the desired type of the Open Type based on the * Information Object Set driven constraints. */ -typedef struct asn_type_selector_result_s { - const struct asn_TYPE_descriptor_s *type_descriptor; /* Type encoded. */ - unsigned presence_index; /* Associated choice variant. */ -} asn_type_selector_result_t; -typedef asn_type_selector_result_t(asn_type_selector_f)( - const struct asn_TYPE_descriptor_s *parent_type_descriptor, - const void *parent_structure_ptr); + typedef struct asn_type_selector_result_s + { + const struct asn_TYPE_descriptor_s *type_descriptor; /* Type encoded. */ + unsigned presence_index; /* Associated choice variant. */ + } asn_type_selector_result_t; + typedef asn_type_selector_result_t(asn_type_selector_f)( + const struct asn_TYPE_descriptor_s *parent_type_descriptor, + const void *parent_structure_ptr); -/* + /* * Generalized functions for dealing with the speciic type. * May be directly invoked by applications. */ -typedef struct asn_TYPE_operation_s { - asn_struct_free_f *free_struct; /* Free the structure */ - asn_struct_print_f *print_struct; /* Human readable output */ - asn_struct_compare_f *compare_struct; /* Compare two structures */ - ber_type_decoder_f *ber_decoder; /* Generic BER decoder */ - der_type_encoder_f *der_encoder; /* Canonical DER encoder */ - xer_type_decoder_f *xer_decoder; /* Generic XER decoder */ - xer_type_encoder_f *xer_encoder; /* [Canonical] XER encoder */ - oer_type_decoder_f *oer_decoder; /* Generic OER decoder */ - oer_type_encoder_f *oer_encoder; /* Canonical OER encoder */ - per_type_decoder_f *uper_decoder; /* Unaligned PER decoder */ - per_type_encoder_f *uper_encoder; /* Unaligned PER encoder */ - asn_random_fill_f *random_fill; /* Initialize with a random value */ - asn_outmost_tag_f *outmost_tag; /* */ -} asn_TYPE_operation_t; - -/* - * A constraints tuple specifying both the OER and PER constraints. - */ -typedef struct asn_encoding_constraints_s { - const struct asn_oer_constraints_s *oer_constraints; - const struct asn_per_constraints_s *per_constraints; - asn_constr_check_f *general_constraints; -} asn_encoding_constraints_t; - -/* - * The definitive description of the destination language's structure. - */ -typedef struct asn_TYPE_descriptor_s { - const char *name; /* A name of the ASN.1 type. "" in some cases. */ - const char *xml_tag; /* Name used in XML tag */ + typedef struct asn_TYPE_operation_s + { + asn_struct_free_f *free_struct; /* Free the structure */ + asn_struct_print_f *print_struct; /* Human readable output */ + asn_struct_compare_f *compare_struct; /* Compare two structures */ + ber_type_decoder_f *ber_decoder; /* Generic BER decoder */ + der_type_encoder_f *der_encoder; /* Canonical DER encoder */ + xer_type_decoder_f *xer_decoder; /* Generic XER decoder */ + xer_type_encoder_f *xer_encoder; /* [Canonical] XER encoder */ + oer_type_decoder_f *oer_decoder; /* Generic OER decoder */ + oer_type_encoder_f *oer_encoder; /* Canonical OER encoder */ + per_type_decoder_f *uper_decoder; /* Unaligned PER decoder */ + per_type_encoder_f *uper_encoder; /* Unaligned PER encoder */ + asn_random_fill_f *random_fill; /* Initialize with a random value */ + asn_outmost_tag_f *outmost_tag; /* */ + } asn_TYPE_operation_t; /* + * A constraints tuple specifying both the OER and PER constraints. + */ + typedef struct asn_encoding_constraints_s + { + const struct asn_oer_constraints_s *oer_constraints; + const struct asn_per_constraints_s *per_constraints; + asn_constr_check_f *general_constraints; + } asn_encoding_constraints_t; + + /* + * The definitive description of the destination language's structure. + */ + typedef struct asn_TYPE_descriptor_s + { + const char *name; /* A name of the ASN.1 type. "" in some cases. */ + const char *xml_tag; /* Name used in XML tag */ + + /* * Generalized functions for dealing with the specific type. * May be directly invoked by applications. */ - asn_TYPE_operation_t *op; + asn_TYPE_operation_t *op; - /*********************************************************************** + /*********************************************************************** * Internally useful members. Not to be used by applications directly. * **********************************************************************/ - /* + /* * Tags that are expected to occur. */ - const ber_tlv_tag_t *tags; /* Effective tags sequence for this type */ - unsigned tags_count; /* Number of tags which are expected */ - const ber_tlv_tag_t *all_tags; /* Every tag for BER/containment */ - unsigned all_tags_count; /* Number of tags */ + const ber_tlv_tag_t *tags; /* Effective tags sequence for this type */ + unsigned tags_count; /* Number of tags which are expected */ + const ber_tlv_tag_t *all_tags; /* Every tag for BER/containment */ + unsigned all_tags_count; /* Number of tags */ - /* OER, PER, and general constraints */ - asn_encoding_constraints_t encoding_constraints; + /* OER, PER, and general constraints */ + asn_encoding_constraints_t encoding_constraints; - /* + /* * An ASN.1 production type members (members of SEQUENCE, SET, CHOICE). */ - struct asn_TYPE_member_s *elements; - unsigned elements_count; + struct asn_TYPE_member_s *elements; + unsigned elements_count; - /* + /* * Additional information describing the type, used by appropriate * functions above. */ - const void *specifics; -} asn_TYPE_descriptor_t; + const void *specifics; + } asn_TYPE_descriptor_t; -/* + /* * This type describes an element of the constructed type, * i.e. SEQUENCE, SET, CHOICE, etc. */ - enum asn_TYPE_flags_e { - ATF_NOFLAGS, - ATF_POINTER = 0x01, /* Represented by the pointer */ - ATF_OPEN_TYPE = 0x02, /* Open Type */ - ATF_ANY_TYPE = 0x04 /* ANY type (deprecated!) */ - }; -typedef struct asn_TYPE_member_s { - enum asn_TYPE_flags_e flags; /* Element's presentation flags */ - unsigned optional; /* Following optional members, including current */ - unsigned memb_offset; /* Offset of the element */ - ber_tlv_tag_t tag; /* Outmost (most immediate) tag */ - int tag_mode; /* IMPLICIT/no/EXPLICIT tag at current level */ - asn_TYPE_descriptor_t *type; /* Member type descriptor */ - asn_type_selector_f *type_selector; /* IoS runtime type selector */ - asn_encoding_constraints_t encoding_constraints; - int (*default_value_cmp)(const void *sptr); /* Compare DEFAULT */ - int (*default_value_set)(void **sptr); /* Set DEFAULT */ - const char *name; /* ASN.1 identifier of the element */ -} asn_TYPE_member_t; + enum asn_TYPE_flags_e + { + ATF_NOFLAGS, + ATF_POINTER = 0x01, /* Represented by the pointer */ + ATF_OPEN_TYPE = 0x02, /* Open Type */ + ATF_ANY_TYPE = 0x04 /* ANY type (deprecated!) */ + }; + typedef struct asn_TYPE_member_s + { + enum asn_TYPE_flags_e flags; /* Element's presentation flags */ + unsigned optional; /* Following optional members, including current */ + unsigned memb_offset; /* Offset of the element */ + ber_tlv_tag_t tag; /* Outmost (most immediate) tag */ + int tag_mode; /* IMPLICIT/no/EXPLICIT tag at current level */ + asn_TYPE_descriptor_t *type; /* Member type descriptor */ + asn_type_selector_f *type_selector; /* IoS runtime type selector */ + asn_encoding_constraints_t encoding_constraints; + int (*default_value_cmp)(const void *sptr); /* Compare DEFAULT */ + int (*default_value_set)(void **sptr); /* Set DEFAULT */ + const char *name; /* ASN.1 identifier of the element */ + } asn_TYPE_member_t; -/* + /* * BER tag to element number mapping. */ -typedef struct asn_TYPE_tag2member_s { - ber_tlv_tag_t el_tag; /* Outmost tag of the member */ - unsigned el_no; /* Index of the associated member, base 0 */ - int toff_first; /* First occurence of the el_tag, relative */ - int toff_last; /* Last occurence of the el_tag, relative */ -} asn_TYPE_tag2member_t; + typedef struct asn_TYPE_tag2member_s + { + ber_tlv_tag_t el_tag; /* Outmost tag of the member */ + unsigned el_no; /* Index of the associated member, base 0 */ + int toff_first; /* First occurence of the el_tag, relative */ + int toff_last; /* Last occurence of the el_tag, relative */ + } asn_TYPE_tag2member_t; -/* + /* * This function prints out the contents of the target language's structure * (struct_ptr) into the file pointer (stream) in human readable form. * RETURN VALUES: @@ -249,12 +259,12 @@ typedef struct asn_TYPE_tag2member_s { * -1: Problem dumping the structure. * (See also xer_fprint() in xer_encoder.h) */ -int asn_fprint(FILE *stream, /* Destination stream descriptor */ - const asn_TYPE_descriptor_t *td, /* ASN.1 type descriptor */ - const void *struct_ptr); /* Structure to be printed */ + int asn_fprint(FILE *stream, /* Destination stream descriptor */ + const asn_TYPE_descriptor_t *td, /* ASN.1 type descriptor */ + const void *struct_ptr); /* Structure to be printed */ #ifdef __cplusplus } #endif -#endif /* _CONSTR_TYPE_H_ */ +#endif /* _CONSTR_TYPE_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/constraints.h b/src/core/libs/supl2/asn-rrlp/constraints.h index 0bd86a96b..c39fca214 100644 --- a/src/core/libs/supl2/asn-rrlp/constraints.h +++ b/src/core/libs/supl2/asn-rrlp/constraints.h @@ -2,18 +2,19 @@ * Copyright (c) 2004-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN1_CONSTRAINTS_VALIDATOR_H -#define ASN1_CONSTRAINTS_VALIDATOR_H +#ifndef ASN1_CONSTRAINTS_VALIDATOR_H +#define ASN1_CONSTRAINTS_VALIDATOR_H -#include /* Platform-dependent types */ +#include /* Platform-dependent types */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * Validate the structure according to the ASN.1 constraints. * If errbuf and errlen are given, they shall be pointing to the appropriate * buffer space and its length before calling this function. Alternatively, @@ -25,38 +26,39 @@ struct asn_TYPE_descriptor_s; /* Forward declaration */ * This function returns 0 in case all ASN.1 constraints are met * and -1 if one or more constraints were failed. */ -int asn_check_constraints( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Target language's structure */ - char *errbuf, /* Returned error description */ - size_t *errlen /* Length of the error description */ -); + int asn_check_constraints( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Target language's structure */ + char *errbuf, /* Returned error description */ + size_t *errlen /* Length of the error description */ + ); -/* + /* * Generic type for constraint checking callback, * associated with every type descriptor. */ -typedef int(asn_constr_check_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, - asn_app_constraint_failed_f *optional_callback, /* Log the error */ - void *optional_app_key /* Opaque key passed to a callback */ -); + typedef int(asn_constr_check_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct_ptr, + asn_app_constraint_failed_f *optional_callback, /* Log the error */ + void *optional_app_key /* Opaque key passed to a callback */ + ); -/******************************* + /******************************* * INTERNALLY USEFUL FUNCTIONS * *******************************/ -asn_constr_check_f asn_generic_no_constraint; /* No constraint whatsoever */ -asn_constr_check_f asn_generic_unknown_constraint; /* Not fully supported */ + asn_constr_check_f asn_generic_no_constraint; /* No constraint whatsoever */ + asn_constr_check_f asn_generic_unknown_constraint; /* Not fully supported */ /* * Invoke the callback with a complete error message. */ -#define ASN__CTFAIL if(ctfailcb) ctfailcb +#define ASN__CTFAIL \ + if (ctfailcb) ctfailcb #ifdef __cplusplus } #endif -#endif /* ASN1_CONSTRAINTS_VALIDATOR_H */ +#endif /* ASN1_CONSTRAINTS_VALIDATOR_H */ diff --git a/src/core/libs/supl2/asn-rrlp/der_encoder.h b/src/core/libs/supl2/asn-rrlp/der_encoder.h index e93944edc..1dbf01b9f 100644 --- a/src/core/libs/supl2/asn-rrlp/der_encoder.h +++ b/src/core/libs/supl2/asn-rrlp/der_encoder.h @@ -2,67 +2,68 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _DER_ENCODER_H_ -#define _DER_ENCODER_H_ +#ifndef _DER_ENCODER_H_ +#define _DER_ENCODER_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * The DER encoder of any type. May be invoked by the application. * Produces DER- and BER-compliant encoding. (DER is a subset of BER). * * NOTE: Use the ber_decode() function (ber_decoder.h) to decode data * produced by der_encode(). */ -asn_enc_rval_t der_encode(const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Structure to be encoded */ - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key /* Arbitrary callback argument */ -); + asn_enc_rval_t der_encode(const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Structure to be encoded */ + asn_app_consume_bytes_f *consume_bytes_cb, + void *app_key /* Arbitrary callback argument */ + ); -/* A variant of der_encode() which encodes data into the pre-allocated buffer */ -asn_enc_rval_t der_encode_to_buffer( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Structure to be encoded */ - void *buffer, /* Pre-allocated buffer */ - size_t buffer_size /* Initial buffer size (maximum) */ -); + /* A variant of der_encode() which encodes data into the pre-allocated buffer */ + asn_enc_rval_t der_encode_to_buffer( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Structure to be encoded */ + void *buffer, /* Pre-allocated buffer */ + size_t buffer_size /* Initial buffer size (maximum) */ + ); -/* + /* * Type of the generic DER encoder. */ -typedef asn_enc_rval_t(der_type_encoder_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Structure to be encoded */ - int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ - ber_tlv_tag_t tag, asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ - void *app_key /* Arbitrary callback argument */ -); + typedef asn_enc_rval_t(der_type_encoder_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Structure to be encoded */ + int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ + ber_tlv_tag_t tag, asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ + void *app_key /* Arbitrary callback argument */ + ); -/******************************* + /******************************* * INTERNALLY USEFUL FUNCTIONS * *******************************/ -/* + /* * Write out leading TL[v] sequence according to the type definition. */ -ssize_t der_write_tags(const struct asn_TYPE_descriptor_s *type_descriptor, - size_t struct_length, - int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ - int last_tag_form, /* {0,!0}: prim, constructed */ - ber_tlv_tag_t tag, - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key); + ssize_t der_write_tags(const struct asn_TYPE_descriptor_s *type_descriptor, + size_t struct_length, + int tag_mode, /* {-1,0,1}: IMPLICIT, no, EXPLICIT */ + int last_tag_form, /* {0,!0}: prim, constructed */ + ber_tlv_tag_t tag, + asn_app_consume_bytes_f *consume_bytes_cb, + void *app_key); #ifdef __cplusplus } #endif -#endif /* _DER_ENCODER_H_ */ +#endif /* _DER_ENCODER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/oer_decoder.h b/src/core/libs/supl2/asn-rrlp/oer_decoder.h index 40992e948..8faabe249 100644 --- a/src/core/libs/supl2/asn-rrlp/oer_decoder.h +++ b/src/core/libs/supl2/asn-rrlp/oer_decoder.h @@ -2,71 +2,72 @@ * Copyright (c) 2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef OER_DECODER_H -#define OER_DECODER_H +#ifndef OER_DECODER_H +#define OER_DECODER_H #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ -struct asn_codec_ctx_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_codec_ctx_s; /* Forward declaration */ -/* + /* * The Octet Encoding Rules (OER, X.696 08/2015) decoder for any given type. * This function may be invoked directly by the application. * Parses CANONICAL-OER and BASIC-OER. */ -asn_dec_rval_t oer_decode(const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of that buffer */ - ); + asn_dec_rval_t oer_decode(const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, + void **struct_ptr, /* Pointer to a target structure's pointer */ + const void *buffer, /* Data to be decoded */ + size_t size /* Size of that buffer */ + ); -/* + /* * Type of generic function which decodes the byte stream into the structure. */ -typedef asn_dec_rval_t(oer_type_decoder_f)( - const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_oer_constraints_t *constraints, - void **struct_ptr, - const void *buf_ptr, - size_t size); + typedef asn_dec_rval_t(oer_type_decoder_f)( + const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_oer_constraints_t *constraints, + void **struct_ptr, + const void *buf_ptr, + size_t size); -/* + /* * Swallow the Open Type (X.696 (08/2015), #30) into /dev/null. * RETURN VALUES: * -1: Fatal error deciphering length. * 0: More data expected than bufptr contains. * >0: Number of bytes used from bufptr. */ -ssize_t oer_open_type_skip(const void *bufptr, size_t size); + ssize_t oer_open_type_skip(const void *bufptr, size_t size); -/* + /* * Read the Open Type (X.696 (08/2015), #30). * RETURN VALUES: * 0: More data expected than bufptr contains. * -1: Fatal error deciphering length. * >0: Number of bytes used from bufptr. */ -ssize_t oer_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *td, - const asn_oer_constraints_t *constraints, - void **struct_ptr, const void *bufptr, size_t size); + ssize_t oer_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *td, + const asn_oer_constraints_t *constraints, + void **struct_ptr, const void *bufptr, size_t size); -/* + /* * Length-prefixed buffer decoding for primitive types. */ -oer_type_decoder_f oer_decode_primitive; + oer_type_decoder_f oer_decode_primitive; #ifdef __cplusplus } #endif -#endif /* OER_DECODER_H */ +#endif /* OER_DECODER_H */ diff --git a/src/core/libs/supl2/asn-rrlp/oer_encoder.h b/src/core/libs/supl2/asn-rrlp/oer_encoder.h index 6a7b68125..8ee3bec63 100644 --- a/src/core/libs/supl2/asn-rrlp/oer_encoder.h +++ b/src/core/libs/supl2/asn-rrlp/oer_encoder.h @@ -2,69 +2,70 @@ * Copyright (c) 2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef OER_ENCODER_H -#define OER_ENCODER_H +#ifndef OER_ENCODER_H +#define OER_ENCODER_H #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * The Octet Encoding Rules (OER, X.696 08/2015) encoder for any type. * This function may be invoked directly by the application. * Produces CANONICAL-OER output compatible with CANONICAL-OER * and BASIC-OER decoders. */ -asn_enc_rval_t oer_encode(const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Structure to be encoded */ - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key /* Arbitrary callback argument */ -); + asn_enc_rval_t oer_encode(const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Structure to be encoded */ + asn_app_consume_bytes_f *consume_bytes_cb, + void *app_key /* Arbitrary callback argument */ + ); -/* A variant of oer_encode() which encodes data into the pre-allocated buffer */ -asn_enc_rval_t oer_encode_to_buffer( - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_oer_constraints_t *constraints, - const void *struct_ptr, /* Structure to be encoded */ - void *buffer, /* Pre-allocated buffer */ - size_t buffer_size /* Initial buffer size (maximum) */ -); + /* A variant of oer_encode() which encodes data into the pre-allocated buffer */ + asn_enc_rval_t oer_encode_to_buffer( + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_oer_constraints_t *constraints, + const void *struct_ptr, /* Structure to be encoded */ + void *buffer, /* Pre-allocated buffer */ + size_t buffer_size /* Initial buffer size (maximum) */ + ); -/* + /* * Type of the generic OER encoder. */ -typedef asn_enc_rval_t(oer_type_encoder_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_oer_constraints_t *constraints, - const void *struct_ptr, /* Structure to be encoded */ - asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ - void *app_key /* Arbitrary callback argument */ -); + typedef asn_enc_rval_t(oer_type_encoder_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_oer_constraints_t *constraints, + const void *struct_ptr, /* Structure to be encoded */ + asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ + void *app_key /* Arbitrary callback argument */ + ); -/* + /* * Write out the Open Type (X.696 (08/2015), #30). * RETURN VALUES: * -1: Fatal error encoding the type. * >0: Number of bytes serialized. */ -ssize_t oer_open_type_put(const struct asn_TYPE_descriptor_s *td, - const asn_oer_constraints_t *constraints, - const void *struct_ptr, - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key); + ssize_t oer_open_type_put(const struct asn_TYPE_descriptor_s *td, + const asn_oer_constraints_t *constraints, + const void *struct_ptr, + asn_app_consume_bytes_f *consume_bytes_cb, + void *app_key); -/* + /* * Length-prefixed buffer encoding for primitive types. */ -oer_type_encoder_f oer_encode_primitive; + oer_type_encoder_f oer_encode_primitive; #ifdef __cplusplus } #endif -#endif /* OER_ENCODER_H */ +#endif /* OER_ENCODER_H */ diff --git a/src/core/libs/supl2/asn-rrlp/oer_support.h b/src/core/libs/supl2/asn-rrlp/oer_support.h index dbc9b5fcf..8ad57ecfd 100644 --- a/src/core/libs/supl2/asn-rrlp/oer_support.h +++ b/src/core/libs/supl2/asn-rrlp/oer_support.h @@ -2,46 +2,49 @@ * Copyright (c) 2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef OER_SUPPORT_H -#define OER_SUPPORT_H +#ifndef OER_SUPPORT_H +#define OER_SUPPORT_H -#include /* Platform-specific types */ +#include /* Platform-specific types */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * Pre-computed OER constraints. */ -typedef struct asn_oer_constraint_number_s { - unsigned width; /* ±8,4,2,1 fixed bytes */ - unsigned positive; /* 1 for unsigned number, 0 for signed */ -} asn_oer_constraint_number_t; -typedef struct asn_oer_constraints_s { - asn_oer_constraint_number_t value; - ssize_t size; /* -1 (no constraint) or >= 0 */ -} asn_oer_constraints_t; + typedef struct asn_oer_constraint_number_s + { + unsigned width; /* ±8,4,2,1 fixed bytes */ + unsigned positive; /* 1 for unsigned number, 0 for signed */ + } asn_oer_constraint_number_t; + typedef struct asn_oer_constraints_s + { + asn_oer_constraint_number_t value; + ssize_t size; /* -1 (no constraint) or >= 0 */ + } asn_oer_constraints_t; -/* + /* * Fetch the length determinant (X.696 (08/2015), #8.6) into *len_r. * RETURN VALUES: * 0: More data expected than bufptr contains. * -1: Fatal error deciphering length. * >0: Number of bytes used from bufptr. */ -ssize_t oer_fetch_length(const void *bufptr, size_t size, size_t *len_r); + ssize_t oer_fetch_length(const void *bufptr, size_t size, size_t *len_r); -/* + /* * Serialize OER length. Returns the number of bytes serialized * or -1 if a given callback returned with negative result. */ -ssize_t oer_serialize_length(size_t length, asn_app_consume_bytes_f *cb, void *app_key); + ssize_t oer_serialize_length(size_t length, asn_app_consume_bytes_f *cb, void *app_key); #ifdef __cplusplus } #endif -#endif /* OER_SUPPORT_H */ +#endif /* OER_SUPPORT_H */ diff --git a/src/core/libs/supl2/asn-rrlp/per_decoder.h b/src/core/libs/supl2/asn-rrlp/per_decoder.h index 710f4ee09..8be6715ba 100644 --- a/src/core/libs/supl2/asn-rrlp/per_decoder.h +++ b/src/core/libs/supl2/asn-rrlp/per_decoder.h @@ -2,56 +2,57 @@ * Copyright (c) 2005-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _PER_DECODER_H_ -#define _PER_DECODER_H_ +#ifndef _PER_DECODER_H_ +#define _PER_DECODER_H_ #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * Unaligned PER decoder of a "complete encoding" as per X.691 (08/2015) #11.1. * On success, this call always returns (.consumed >= 1), as per #11.1.3. */ -asn_dec_rval_t uper_decode_complete( - const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, /* Type to decode */ - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of data buffer */ -); + asn_dec_rval_t uper_decode_complete( + const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, /* Type to decode */ + void **struct_ptr, /* Pointer to a target structure's pointer */ + const void *buffer, /* Data to be decoded */ + size_t size /* Size of data buffer */ + ); -/* + /* * Unaligned PER decoder of any ASN.1 type. May be invoked by the application. * WARNING: This call returns the number of BITS read from the stream. Beware. */ -asn_dec_rval_t uper_decode( - const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, /* Type to decode */ - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size, /* Size of the input data buffer, in bytes */ - int skip_bits, /* Number of unused leading bits, 0..7 */ - int unused_bits /* Number of unused tailing bits, 0..7 */ -); + asn_dec_rval_t uper_decode( + const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, /* Type to decode */ + void **struct_ptr, /* Pointer to a target structure's pointer */ + const void *buffer, /* Data to be decoded */ + size_t size, /* Size of the input data buffer, in bytes */ + int skip_bits, /* Number of unused leading bits, 0..7 */ + int unused_bits /* Number of unused tailing bits, 0..7 */ + ); -/* + /* * Type of the type-specific PER decoder function. */ -typedef asn_dec_rval_t(per_type_decoder_f)( - const asn_codec_ctx_t *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_per_constraints_t *constraints, void **struct_ptr, - asn_per_data_t *per_data); + typedef asn_dec_rval_t(per_type_decoder_f)( + const asn_codec_ctx_t *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_per_constraints_t *constraints, void **struct_ptr, + asn_per_data_t *per_data); #ifdef __cplusplus } #endif -#endif /* _PER_DECODER_H_ */ +#endif /* _PER_DECODER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/per_encoder.h b/src/core/libs/supl2/asn-rrlp/per_encoder.h index 44d8e8ac6..2f3784383 100644 --- a/src/core/libs/supl2/asn-rrlp/per_encoder.h +++ b/src/core/libs/supl2/asn-rrlp/per_encoder.h @@ -2,69 +2,70 @@ * Copyright (c) 2006-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _PER_ENCODER_H_ -#define _PER_ENCODER_H_ +#ifndef _PER_ENCODER_H_ +#define _PER_ENCODER_H_ #include #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * Unaligned PER encoder of any ASN.1 type. May be invoked by the application. * WARNING: This function returns the number of encoded bits in the .encoded * field of the return value. Use the following formula to convert to bytes: * bytes = ((.encoded + 7) / 8) */ -asn_enc_rval_t uper_encode( - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_per_constraints_t *constraints, - const void *struct_ptr, /* Structure to be encoded */ - asn_app_consume_bytes_f *consume_bytes_cb, /* Data collector */ - void *app_key /* Arbitrary callback argument */ -); + asn_enc_rval_t uper_encode( + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_per_constraints_t *constraints, + const void *struct_ptr, /* Structure to be encoded */ + asn_app_consume_bytes_f *consume_bytes_cb, /* Data collector */ + void *app_key /* Arbitrary callback argument */ + ); -/* + /* * A variant of uper_encode() which encodes data into the existing buffer * WARNING: This function returns the number of encoded bits in the .encoded * field of the return value. */ -asn_enc_rval_t uper_encode_to_buffer( - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_per_constraints_t *constraints, - const void *struct_ptr, /* Structure to be encoded */ - void *buffer, /* Pre-allocated buffer */ - size_t buffer_size /* Initial buffer size (max) */ -); + asn_enc_rval_t uper_encode_to_buffer( + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_per_constraints_t *constraints, + const void *struct_ptr, /* Structure to be encoded */ + void *buffer, /* Pre-allocated buffer */ + size_t buffer_size /* Initial buffer size (max) */ + ); -/* + /* * A variant of uper_encode_to_buffer() which allocates buffer itself. * Returns the number of bytes in the buffer or -1 in case of failure. * WARNING: This function produces a "Production of the complete encoding", * with length of at least one octet. Contrast this to precise bit-packing * encoding of uper_encode() and uper_encode_to_buffer(). */ -ssize_t uper_encode_to_new_buffer( - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_per_constraints_t *constraints, - const void *struct_ptr, /* Structure to be encoded */ - void **buffer_r /* Buffer allocated and returned */ -); + ssize_t uper_encode_to_new_buffer( + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_per_constraints_t *constraints, + const void *struct_ptr, /* Structure to be encoded */ + void **buffer_r /* Buffer allocated and returned */ + ); -/* + /* * Type of the generic PER encoder function. */ -typedef asn_enc_rval_t(per_type_encoder_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const asn_per_constraints_t *constraints, const void *struct_ptr, - asn_per_outp_t *per_output); + typedef asn_enc_rval_t(per_type_encoder_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const asn_per_constraints_t *constraints, const void *struct_ptr, + asn_per_outp_t *per_output); #ifdef __cplusplus } #endif -#endif /* _PER_ENCODER_H_ */ +#endif /* _PER_ENCODER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/per_opentype.h b/src/core/libs/supl2/asn-rrlp/per_opentype.h index 7e7dc6109..0515a6b0c 100644 --- a/src/core/libs/supl2/asn-rrlp/per_opentype.h +++ b/src/core/libs/supl2/asn-rrlp/per_opentype.h @@ -2,31 +2,32 @@ * Copyright (c) 2007-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _PER_OPENTYPE_H_ -#define _PER_OPENTYPE_H_ +#ifndef _PER_OPENTYPE_H_ +#define _PER_OPENTYPE_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, - void **sptr, asn_per_data_t *pd); + asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *td, + const asn_per_constraints_t *constraints, + void **sptr, asn_per_data_t *pd); -int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx, - asn_per_data_t *pd); + int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx, + asn_per_data_t *pd); -/* + /* * X.691 (2015/08), #11.2 * Returns -1 if error is encountered. 0 if all OK. */ -int uper_open_type_put(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, - const void *sptr, asn_per_outp_t *po); + int uper_open_type_put(const asn_TYPE_descriptor_t *td, + const asn_per_constraints_t *constraints, + const void *sptr, asn_per_outp_t *po); #ifdef __cplusplus } #endif -#endif /* _PER_OPENTYPE_H_ */ +#endif /* _PER_OPENTYPE_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/per_support.h b/src/core/libs/supl2/asn-rrlp/per_support.h index 3e905a8b9..885ec71f6 100644 --- a/src/core/libs/supl2/asn-rrlp/per_support.h +++ b/src/core/libs/supl2/asn-rrlp/per_support.h @@ -2,88 +2,92 @@ * Copyright (c) 2005-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _PER_SUPPORT_H_ -#define _PER_SUPPORT_H_ +#ifndef _PER_SUPPORT_H_ +#define _PER_SUPPORT_H_ -#include /* Platform-specific types */ +#include /* Platform-specific types */ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * Pre-computed PER constraints. */ -typedef struct asn_per_constraint_s { - enum asn_per_constraint_flags { - APC_UNCONSTRAINED = 0x0, /* No PER visible constraints */ - APC_SEMI_CONSTRAINED = 0x1, /* Constrained at "lb" */ - APC_CONSTRAINED = 0x2, /* Fully constrained */ - APC_EXTENSIBLE = 0x4 /* May have extension */ - } flags; - int range_bits; /* Full number of bits in the range */ - int effective_bits; /* Effective bits */ - long lower_bound; /* "lb" value */ - long upper_bound; /* "ub" value */ -} asn_per_constraint_t; -typedef struct asn_per_constraints_s { - asn_per_constraint_t value; - asn_per_constraint_t size; - int (*value2code)(unsigned int value); - int (*code2value)(unsigned int code); -} asn_per_constraints_t; + typedef struct asn_per_constraint_s + { + enum asn_per_constraint_flags + { + APC_UNCONSTRAINED = 0x0, /* No PER visible constraints */ + APC_SEMI_CONSTRAINED = 0x1, /* Constrained at "lb" */ + APC_CONSTRAINED = 0x2, /* Fully constrained */ + APC_EXTENSIBLE = 0x4 /* May have extension */ + } flags; + int range_bits; /* Full number of bits in the range */ + int effective_bits; /* Effective bits */ + long lower_bound; /* "lb" value */ + long upper_bound; /* "ub" value */ + } asn_per_constraint_t; + typedef struct asn_per_constraints_s + { + asn_per_constraint_t value; + asn_per_constraint_t size; + int (*value2code)(unsigned int value); + int (*code2value)(unsigned int code); + } asn_per_constraints_t; -/* Temporary compatibility layer. Will get removed. */ -typedef struct asn_bit_data_s asn_per_data_t; -#define per_get_few_bits(data, bits) asn_get_few_bits(data, bits) -#define per_get_undo(data, bits) asn_get_undo(data, bits) + /* Temporary compatibility layer. Will get removed. */ + typedef struct asn_bit_data_s asn_per_data_t; +#define per_get_few_bits(data, bits) asn_get_few_bits(data, bits) +#define per_get_undo(data, bits) asn_get_undo(data, bits) #define per_get_many_bits(data, dst, align, bits) \ asn_get_many_bits(data, dst, align, bits) -/* + /* * X.691 (08/2015) #11.9 "General rules for encoding a length determinant" * Get the length "n" from the Unaligned PER stream. */ -ssize_t uper_get_length(asn_per_data_t *pd, int effective_bound_bits, - size_t lower_bound, int *repeat); + ssize_t uper_get_length(asn_per_data_t *pd, int effective_bound_bits, + size_t lower_bound, int *repeat); -/* + /* * Get the normally small length "n". */ -ssize_t uper_get_nslength(asn_per_data_t *pd); + ssize_t uper_get_nslength(asn_per_data_t *pd); -/* + /* * Get the normally small non-negative whole number. */ -ssize_t uper_get_nsnnwn(asn_per_data_t *pd); + ssize_t uper_get_nsnnwn(asn_per_data_t *pd); -/* X.691-2008/11, #11.5.6 */ -int uper_get_constrained_whole_number(asn_per_data_t *pd, unsigned long *v, int nbits); + /* X.691-2008/11, #11.5.6 */ + int uper_get_constrained_whole_number(asn_per_data_t *pd, unsigned long *v, int nbits); -/* Temporary compatibility layer. Will get removed. */ -typedef struct asn_bit_outp_s asn_per_outp_t; + /* Temporary compatibility layer. Will get removed. */ + typedef struct asn_bit_outp_s asn_per_outp_t; #define per_put_few_bits(out, bits, obits) asn_put_few_bits(out, bits, obits) #define per_put_many_bits(out, src, nbits) asn_put_many_bits(out, src, nbits) #define per_put_aligned_flush(out) asn_put_aligned_flush(out) -/* + /* * Rebase the given value as an offset into the range specified by the * lower bound (lb) and upper bound (ub). * RETURN VALUES: * -1: Conversion failed due to range problems. * 0: Conversion was successful. */ -int per_long_range_rebase(long v, long lb, long ub, unsigned long *output); -/* The inverse operation: restores the value by the offset and its bounds. */ -int per_long_range_unrebase(unsigned long inp, long lb, long ub, long *outp); + int per_long_range_rebase(long v, long lb, long ub, unsigned long *output); + /* The inverse operation: restores the value by the offset and its bounds. */ + int per_long_range_unrebase(unsigned long inp, long lb, long ub, long *outp); -/* X.691-2008/11, #11.5 */ -int uper_put_constrained_whole_number_u(asn_per_outp_t *po, unsigned long v, int nbits); + /* X.691-2008/11, #11.5 */ + int uper_put_constrained_whole_number_u(asn_per_outp_t *po, unsigned long v, int nbits); -/* + /* * X.691 (08/2015) #11.9 "General rules for encoding a length determinant" * Put the length "whole_length" to the Unaligned PER stream. * If (opt_need_eom) is given, it will be set to 1 if final 0-length is needed. @@ -91,22 +95,22 @@ int uper_put_constrained_whole_number_u(asn_per_outp_t *po, unsigned long v, int * This function returns the number of units which may be flushed * in the next units saving iteration. */ -ssize_t uper_put_length(asn_per_outp_t *po, size_t whole_length, - int *opt_need_eom); + ssize_t uper_put_length(asn_per_outp_t *po, size_t whole_length, + int *opt_need_eom); -/* + /* * Put the normally small length "n" to the Unaligned PER stream. * Returns 0 or -1. */ -int uper_put_nslength(asn_per_outp_t *po, size_t length); + int uper_put_nslength(asn_per_outp_t *po, size_t length); -/* + /* * Put the normally small non-negative whole number. */ -int uper_put_nsnnwn(asn_per_outp_t *po, int n); + int uper_put_nsnnwn(asn_per_outp_t *po, int n); #ifdef __cplusplus } #endif -#endif /* _PER_SUPPORT_H_ */ +#endif /* _PER_SUPPORT_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/xer_decoder.h b/src/core/libs/supl2/asn-rrlp/xer_decoder.h index b951c41d1..39805cd27 100644 --- a/src/core/libs/supl2/asn-rrlp/xer_decoder.h +++ b/src/core/libs/supl2/asn-rrlp/xer_decoder.h @@ -2,105 +2,108 @@ * Copyright (c) 2004-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _XER_DECODER_H_ -#define _XER_DECODER_H_ +#ifndef _XER_DECODER_H_ +#define _XER_DECODER_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * The XER decoder of any ASN.1 type. May be invoked by the application. * Decodes CANONICAL-XER and BASIC-XER. */ -asn_dec_rval_t xer_decode( - const struct asn_codec_ctx_s *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, - void **struct_ptr, /* Pointer to a target structure's pointer */ - const void *buffer, /* Data to be decoded */ - size_t size /* Size of data buffer */ -); + asn_dec_rval_t xer_decode( + const struct asn_codec_ctx_s *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, + void **struct_ptr, /* Pointer to a target structure's pointer */ + const void *buffer, /* Data to be decoded */ + size_t size /* Size of data buffer */ + ); -/* + /* * Type of the type-specific XER decoder function. */ -typedef asn_dec_rval_t(xer_type_decoder_f)( - const asn_codec_ctx_t *opt_codec_ctx, - const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, - const char *opt_mname, /* Member name */ - const void *buf_ptr, size_t size); + typedef asn_dec_rval_t(xer_type_decoder_f)( + const asn_codec_ctx_t *opt_codec_ctx, + const struct asn_TYPE_descriptor_s *type_descriptor, void **struct_ptr, + const char *opt_mname, /* Member name */ + const void *buf_ptr, size_t size); -/******************************* + /******************************* * INTERNALLY USEFUL FUNCTIONS * *******************************/ -/* + /* * Generalized function for decoding the primitive values. * Used by more specialized functions, such as OCTET_STRING_decode_xer_utf8 * and others. This function should not be used by applications, as its API * is subject to changes. */ -asn_dec_rval_t xer_decode_general( - const asn_codec_ctx_t *opt_codec_ctx, - asn_struct_ctx_t *ctx, /* Type decoder context */ - void *struct_key, /* Treated as opaque pointer */ - const char *xml_tag, /* Expected XML tag name */ - const void *buf_ptr, size_t size, - int (*opt_unexpected_tag_decoder)(void *struct_key, const void *chunk_buf, - size_t chunk_size), - ssize_t (*body_receiver)(void *struct_key, const void *chunk_buf, - size_t chunk_size, int have_more)); + asn_dec_rval_t xer_decode_general( + const asn_codec_ctx_t *opt_codec_ctx, + asn_struct_ctx_t *ctx, /* Type decoder context */ + void *struct_key, /* Treated as opaque pointer */ + const char *xml_tag, /* Expected XML tag name */ + const void *buf_ptr, size_t size, + int (*opt_unexpected_tag_decoder)(void *struct_key, const void *chunk_buf, + size_t chunk_size), + ssize_t (*body_receiver)(void *struct_key, const void *chunk_buf, + size_t chunk_size, int have_more)); -/* + /* * Fetch the next XER (XML) token from the stream. * The function returns the number of bytes occupied by the chunk type, * returned in the _ch_type. The _ch_type is only set (and valid) when * the return value is >= 0. */ - typedef enum pxer_chunk_type { - PXER_WMORE, /* Chunk type is not clear, more data expected. */ - PXER_TAG, /* Complete XER tag */ - PXER_TEXT, /* Plain text between XER tags */ - PXER_COMMENT /* A comment, may be part of */ - } pxer_chunk_type_e; -ssize_t xer_next_token(int *stateContext, - const void *buffer, size_t size, pxer_chunk_type_e *_ch_type); + typedef enum pxer_chunk_type + { + PXER_WMORE, /* Chunk type is not clear, more data expected. */ + PXER_TAG, /* Complete XER tag */ + PXER_TEXT, /* Plain text between XER tags */ + PXER_COMMENT /* A comment, may be part of */ + } pxer_chunk_type_e; + ssize_t xer_next_token(int *stateContext, + const void *buffer, size_t size, pxer_chunk_type_e *_ch_type); -/* + /* * This function checks the buffer against the tag name is expected to occur. */ - typedef enum xer_check_tag { - XCT_BROKEN = 0, /* The tag is broken */ - XCT_OPENING = 1, /* This is the tag */ - XCT_CLOSING = 2, /* This is the tag */ - XCT_BOTH = 3, /* This is the tag */ - XCT__UNK__MASK = 4, /* Mask of everything unexpected */ - XCT_UNKNOWN_OP = 5, /* Unexpected tag */ - XCT_UNKNOWN_CL = 6, /* Unexpected tag */ - XCT_UNKNOWN_BO = 7 /* Unexpected tag */ - } xer_check_tag_e; -xer_check_tag_e xer_check_tag(const void *buf_ptr, int size, - const char *need_tag); + typedef enum xer_check_tag + { + XCT_BROKEN = 0, /* The tag is broken */ + XCT_OPENING = 1, /* This is the tag */ + XCT_CLOSING = 2, /* This is the tag */ + XCT_BOTH = 3, /* This is the tag */ + XCT__UNK__MASK = 4, /* Mask of everything unexpected */ + XCT_UNKNOWN_OP = 5, /* Unexpected tag */ + XCT_UNKNOWN_CL = 6, /* Unexpected tag */ + XCT_UNKNOWN_BO = 7 /* Unexpected tag */ + } xer_check_tag_e; + xer_check_tag_e xer_check_tag(const void *buf_ptr, int size, + const char *need_tag); -/* + /* * Get the number of bytes consisting entirely of XER whitespace characters. * RETURN VALUES: * >=0: Number of whitespace characters in the string. */ -size_t xer_whitespace_span(const void *chunk_buf, size_t chunk_size); + size_t xer_whitespace_span(const void *chunk_buf, size_t chunk_size); -/* + /* * Skip the series of anticipated extensions. */ -int xer_skip_unknown(xer_check_tag_e tcv, ber_tlv_len_t *depth); + int xer_skip_unknown(xer_check_tag_e tcv, ber_tlv_len_t *depth); #ifdef __cplusplus } #endif -#endif /* _XER_DECODER_H_ */ +#endif /* _XER_DECODER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/xer_encoder.h b/src/core/libs/supl2/asn-rrlp/xer_encoder.h index 9d75922c5..a57a7b777 100644 --- a/src/core/libs/supl2/asn-rrlp/xer_encoder.h +++ b/src/core/libs/supl2/asn-rrlp/xer_encoder.h @@ -2,36 +2,38 @@ * Copyright (c) 2004-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _XER_ENCODER_H_ -#define _XER_ENCODER_H_ +#ifndef _XER_ENCODER_H_ +#define _XER_ENCODER_H_ #include #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* Flags used by the xer_encode() and (*xer_type_encoder_f), defined below */ -enum xer_encoder_flags_e { - /* Mode of encoding */ - XER_F_BASIC = 0x01, /* BASIC-XER (pretty-printing) */ - XER_F_CANONICAL = 0x02 /* Canonical XER (strict rules) */ -}; + /* Flags used by the xer_encode() and (*xer_type_encoder_f), defined below */ + enum xer_encoder_flags_e + { + /* Mode of encoding */ + XER_F_BASIC = 0x01, /* BASIC-XER (pretty-printing) */ + XER_F_CANONICAL = 0x02 /* Canonical XER (strict rules) */ + }; -/* + /* * The XER encoder of any type. May be invoked by the application. * Produces CANONICAL-XER and BASIC-XER depending on the (xer_flags). */ -asn_enc_rval_t xer_encode(const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Structure to be encoded */ - enum xer_encoder_flags_e xer_flags, - asn_app_consume_bytes_f *consume_bytes_cb, - void *app_key /* Arbitrary callback argument */ -); + asn_enc_rval_t xer_encode(const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Structure to be encoded */ + enum xer_encoder_flags_e xer_flags, + asn_app_consume_bytes_f *consume_bytes_cb, + void *app_key /* Arbitrary callback argument */ + ); -/* + /* * The variant of the above function which dumps the BASIC-XER (XER_F_BASIC) * output into the chosen file pointer. * RETURN VALUES: @@ -39,10 +41,10 @@ asn_enc_rval_t xer_encode(const struct asn_TYPE_descriptor_s *type_descriptor, * -1: Problem printing the structure. * WARNING: No sensible errno value is returned. */ -int xer_fprint(FILE *stream, const struct asn_TYPE_descriptor_s *td, - const void *struct_ptr); + int xer_fprint(FILE *stream, const struct asn_TYPE_descriptor_s *td, + const void *struct_ptr); -/* + /* * A helper function that uses XER encoding/decoding to verify that: * - Both structures encode into the same BASIC XER. * - Both resulting XER byte streams can be decoded back. @@ -51,33 +53,34 @@ int xer_fprint(FILE *stream, const struct asn_TYPE_descriptor_s *td, * ARGUMENTS: * (opt_debug_stream) - If specified, prints ongoing details. */ -enum xer_equivalence_e { - XEQ_SUCCESS, /* The only completely positive return value */ - XEQ_FAILURE, /* General failure */ - XEQ_ENCODE1_FAILED, /* First sructure XER encoding failed */ - XEQ_ENCODE2_FAILED, /* Second structure XER encoding failed */ - XEQ_DIFFERENT, /* Structures encoded into different XER */ - XEQ_DECODE_FAILED, /* Decode of the XER data failed */ - XEQ_ROUND_TRIP_FAILED /* Bad round-trip */ -}; -enum xer_equivalence_e xer_equivalent( - const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct1, - const void *struct2, FILE *opt_debug_stream); + enum xer_equivalence_e + { + XEQ_SUCCESS, /* The only completely positive return value */ + XEQ_FAILURE, /* General failure */ + XEQ_ENCODE1_FAILED, /* First sructure XER encoding failed */ + XEQ_ENCODE2_FAILED, /* Second structure XER encoding failed */ + XEQ_DIFFERENT, /* Structures encoded into different XER */ + XEQ_DECODE_FAILED, /* Decode of the XER data failed */ + XEQ_ROUND_TRIP_FAILED /* Bad round-trip */ + }; + enum xer_equivalence_e xer_equivalent( + const struct asn_TYPE_descriptor_s *type_descriptor, const void *struct1, + const void *struct2, FILE *opt_debug_stream); -/* + /* * Type of the generic XER encoder. */ -typedef asn_enc_rval_t(xer_type_encoder_f)( - const struct asn_TYPE_descriptor_s *type_descriptor, - const void *struct_ptr, /* Structure to be encoded */ - int ilevel, /* Level of indentation */ - enum xer_encoder_flags_e xer_flags, - asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ - void *app_key /* Arbitrary callback argument */ -); + typedef asn_enc_rval_t(xer_type_encoder_f)( + const struct asn_TYPE_descriptor_s *type_descriptor, + const void *struct_ptr, /* Structure to be encoded */ + int ilevel, /* Level of indentation */ + enum xer_encoder_flags_e xer_flags, + asn_app_consume_bytes_f *consume_bytes_cb, /* Callback */ + void *app_key /* Arbitrary callback argument */ + ); #ifdef __cplusplus } #endif -#endif /* _XER_ENCODER_H_ */ +#endif /* _XER_ENCODER_H_ */ diff --git a/src/core/libs/supl2/asn-rrlp/xer_support.h b/src/core/libs/supl2/asn-rrlp/xer_support.h index c3a36e720..41b86b262 100644 --- a/src/core/libs/supl2/asn-rrlp/xer_support.h +++ b/src/core/libs/supl2/asn-rrlp/xer_support.h @@ -3,31 +3,33 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _XER_SUPPORT_H_ -#define _XER_SUPPORT_H_ +#ifndef _XER_SUPPORT_H_ +#define _XER_SUPPORT_H_ -#include /* Platform-specific types */ +#include /* Platform-specific types */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * Types of data transferred to the application. */ -typedef enum { - PXML_TEXT, /* Plain text between XML tags. */ - PXML_TAG, /* A tag, starting with '<'. */ - PXML_COMMENT, /* An XML comment, including "". */ - /* + typedef enum + { + PXML_TEXT, /* Plain text between XML tags. */ + PXML_TAG, /* A tag, starting with '<'. */ + PXML_COMMENT, /* An XML comment, including "". */ + /* * The following chunk types are reported if the chunk * terminates the specified XML element. */ - PXML_TAG_END, /* Tag ended */ - PXML_COMMENT_END /* Comment ended */ -} pxml_chunk_type_e; + PXML_TAG_END, /* Tag ended */ + PXML_COMMENT_END /* Comment ended */ + } pxml_chunk_type_e; -/* + /* * Callback function that is called by the parser when parsed data is * available. The _opaque is the pointer to a field containing opaque user * data specified in pxml_create() call. The chunk type is _type and the text @@ -35,21 +37,21 @@ typedef enum { * pxml_feed() call) starting at offset _offset and of _size bytes size. * The chunk is NOT '\0'-terminated. */ -typedef int (pxml_callback_f)(pxml_chunk_type_e _type, - const void *_chunk_data, size_t _chunk_size, void *_key); + typedef int(pxml_callback_f)(pxml_chunk_type_e _type, + const void *_chunk_data, size_t _chunk_size, void *_key); -/* + /* * Parse the given buffer as it were a chunk of XML data. * Invoke the specified callback each time the meaninful data is found. * This function returns number of bytes consumed from the bufer. * It will always be lesser than or equal to the specified _size. * The next invocation of this function must account the difference. */ -ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size, - pxml_callback_f *cb, void *_key); + ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size, + pxml_callback_f *cb, void *_key); #ifdef __cplusplus } #endif -#endif /* _XER_SUPPORT_H_ */ +#endif /* _XER_SUPPORT_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/FrequencyInfoTDD.h b/src/core/libs/supl2/asn-supl2/FrequencyInfoTDD.h index 2ce7ea65f..0c09db710 100644 --- a/src/core/libs/supl2/asn-supl2/FrequencyInfoTDD.h +++ b/src/core/libs/supl2/asn-supl2/FrequencyInfoTDD.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _FrequencyInfoTDD_H_ -#define _FrequencyInfoTDD_H_ +#ifndef _FrequencyInfoTDD_H_ +#define _FrequencyInfoTDD_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* FrequencyInfoTDD */ -typedef struct FrequencyInfoTDD { - UARFCN_t uarfcn_Nt; - /* + /* FrequencyInfoTDD */ + typedef struct FrequencyInfoTDD + { + UARFCN_t uarfcn_Nt; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} FrequencyInfoTDD_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_FrequencyInfoTDD; -extern asn_SEQUENCE_specifics_t asn_SPC_FrequencyInfoTDD_specs_1; -extern asn_TYPE_member_t asn_MBR_FrequencyInfoTDD_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } FrequencyInfoTDD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_FrequencyInfoTDD; + extern asn_SEQUENCE_specifics_t asn_SPC_FrequencyInfoTDD_specs_1; + extern asn_TYPE_member_t asn_MBR_FrequencyInfoTDD_1[1]; #ifdef __cplusplus } #endif -#endif /* _FrequencyInfoTDD_H_ */ +#endif /* _FrequencyInfoTDD_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSPositionMethod.h b/src/core/libs/supl2/asn-supl2/GANSSPositionMethod.h index bf4102af3..528ab8b07 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSPositionMethod.h +++ b/src/core/libs/supl2/asn-supl2/GANSSPositionMethod.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSPositionMethod_H_ -#define _GANSSPositionMethod_H_ +#ifndef _GANSSPositionMethod_H_ +#define _GANSSPositionMethod_H_ #include "asn_application.h" @@ -19,32 +19,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSPositionMethod */ -typedef struct GANSSPositionMethod { - long ganssId; - BIT_STRING_t *ganssSBASid /* OPTIONAL */; - GANSSPositioningMethodTypes_t gANSSPositioningMethodTypes; - GANSSSignals_t gANSSSignals; - /* + /* GANSSPositionMethod */ + typedef struct GANSSPositionMethod + { + long ganssId; + BIT_STRING_t *ganssSBASid /* OPTIONAL */; + GANSSPositioningMethodTypes_t gANSSPositioningMethodTypes; + GANSSSignals_t gANSSSignals; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSPositionMethod_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSPositionMethod; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSPositionMethod_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSPositionMethod_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSPositionMethod_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSPositionMethod; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSPositionMethod_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSPositionMethod_1[4]; #ifdef __cplusplus } #endif -#endif /* _GANSSPositionMethod_H_ */ +#endif /* _GANSSPositionMethod_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSPositionMethods.h b/src/core/libs/supl2/asn-supl2/GANSSPositionMethods.h index 00786bb42..d7c91a276 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSPositionMethods.h +++ b/src/core/libs/supl2/asn-supl2/GANSSPositionMethods.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSPositionMethods_H_ -#define _GANSSPositionMethods_H_ +#ifndef _GANSSPositionMethods_H_ +#define _GANSSPositionMethods_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSPositionMethod; + /* Forward declarations */ + struct GANSSPositionMethod; -/* GANSSPositionMethods */ -typedef struct GANSSPositionMethods { - A_SEQUENCE_OF(struct GANSSPositionMethod) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSPositionMethods_t; + /* GANSSPositionMethods */ + typedef struct GANSSPositionMethods + { + A_SEQUENCE_OF(struct GANSSPositionMethod) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSPositionMethods; -extern asn_SET_OF_specifics_t asn_SPC_GANSSPositionMethods_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSPositionMethods_1[1]; -extern asn_per_constraints_t asn_PER_type_GANSSPositionMethods_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSPositionMethods_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSPositionMethods; + extern asn_SET_OF_specifics_t asn_SPC_GANSSPositionMethods_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSPositionMethods_1[1]; + extern asn_per_constraints_t asn_PER_type_GANSSPositionMethods_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_GANSSPositionMethods_constr_1; /* Referred external types */ #include "GANSSPositionMethod.h" -#endif /* _GANSSPositionMethods_H_ */ +#endif /* _GANSSPositionMethods_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSPositioningMethodTypes.h b/src/core/libs/supl2/asn-supl2/GANSSPositioningMethodTypes.h index d97034b25..d67c866b3 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSPositioningMethodTypes.h +++ b/src/core/libs/supl2/asn-supl2/GANSSPositioningMethodTypes.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSPositioningMethodTypes_H_ -#define _GANSSPositioningMethodTypes_H_ +#ifndef _GANSSPositioningMethodTypes_H_ +#define _GANSSPositioningMethodTypes_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSPositioningMethodTypes */ -typedef struct GANSSPositioningMethodTypes { - BOOLEAN_t setAssisted; - BOOLEAN_t setBased; - BOOLEAN_t autonomous; - /* + /* GANSSPositioningMethodTypes */ + typedef struct GANSSPositioningMethodTypes + { + BOOLEAN_t setAssisted; + BOOLEAN_t setBased; + BOOLEAN_t autonomous; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSPositioningMethodTypes_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSPositioningMethodTypes; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSPositioningMethodTypes_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSPositioningMethodTypes_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSPositioningMethodTypes_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSPositioningMethodTypes; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSPositioningMethodTypes_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSPositioningMethodTypes_1[3]; #ifdef __cplusplus } #endif -#endif /* _GANSSPositioningMethodTypes_H_ */ +#endif /* _GANSSPositioningMethodTypes_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSSignals.h b/src/core/libs/supl2/asn-supl2/GANSSSignals.h index 4f26dfbc3..ecf02b4bf 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSSignals.h +++ b/src/core/libs/supl2/asn-supl2/GANSSSignals.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSSignals_H_ -#define _GANSSSignals_H_ +#ifndef _GANSSSignals_H_ +#define _GANSSSignals_H_ #include "asn_application.h" @@ -15,40 +15,42 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum GANSSSignals { - GANSSSignals_signal1 = 0, - GANSSSignals_signal2 = 1, - GANSSSignals_signal3 = 2, - GANSSSignals_signal4 = 3, - GANSSSignals_signal5 = 4, - GANSSSignals_signal6 = 5, - GANSSSignals_signal7 = 6, - GANSSSignals_signal8 = 7 -} e_GANSSSignals; + /* Dependencies */ + typedef enum GANSSSignals + { + GANSSSignals_signal1 = 0, + GANSSSignals_signal2 = 1, + GANSSSignals_signal3 = 2, + GANSSSignals_signal4 = 3, + GANSSSignals_signal5 = 4, + GANSSSignals_signal6 = 5, + GANSSSignals_signal7 = 6, + GANSSSignals_signal8 = 7 + } e_GANSSSignals; -/* GANSSSignals */ -typedef BIT_STRING_t GANSSSignals_t; + /* GANSSSignals */ + typedef BIT_STRING_t GANSSSignals_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GANSSSignals_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GANSSSignals; -asn_struct_free_f GANSSSignals_free; -asn_struct_print_f GANSSSignals_print; -asn_constr_check_f GANSSSignals_constraint; -ber_type_decoder_f GANSSSignals_decode_ber; -der_type_encoder_f GANSSSignals_encode_der; -xer_type_decoder_f GANSSSignals_decode_xer; -xer_type_encoder_f GANSSSignals_encode_xer; -per_type_decoder_f GANSSSignals_decode_uper; -per_type_encoder_f GANSSSignals_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GANSSSignals_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GANSSSignals; + asn_struct_free_f GANSSSignals_free; + asn_struct_print_f GANSSSignals_print; + asn_constr_check_f GANSSSignals_constraint; + ber_type_decoder_f GANSSSignals_decode_ber; + der_type_encoder_f GANSSSignals_encode_der; + xer_type_decoder_f GANSSSignals_decode_xer; + xer_type_encoder_f GANSSSignals_encode_xer; + per_type_decoder_f GANSSSignals_decode_uper; + per_type_encoder_f GANSSSignals_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GANSSSignals_H_ */ +#endif /* _GANSSSignals_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSSignalsDescription.h b/src/core/libs/supl2/asn-supl2/GANSSSignalsDescription.h index 7267704b3..af91fcbb4 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSSignalsDescription.h +++ b/src/core/libs/supl2/asn-supl2/GANSSSignalsDescription.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSSignalsDescription_H_ -#define _GANSSSignalsDescription_H_ +#ifndef _GANSSSignalsDescription_H_ +#define _GANSSSignalsDescription_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSSignalsDescription */ -typedef struct GANSSSignalsDescription { - long ganssId; - GANSSSignals_t gANSSSignals; - /* + /* GANSSSignalsDescription */ + typedef struct GANSSSignalsDescription + { + long ganssId; + GANSSSignals_t gANSSSignals; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSSignalsDescription_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSSignalsDescription; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSSignalsDescription_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSSignalsDescription_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSSignalsDescription_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSSignalsDescription; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSSignalsDescription_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSSignalsDescription_1[2]; #ifdef __cplusplus } #endif -#endif /* _GANSSSignalsDescription_H_ */ +#endif /* _GANSSSignalsDescription_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSextEphTime.h b/src/core/libs/supl2/asn-supl2/GANSSextEphTime.h index d26d64725..9121e64d8 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSextEphTime.h +++ b/src/core/libs/supl2/asn-supl2/GANSSextEphTime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSextEphTime_H_ -#define _GANSSextEphTime_H_ +#ifndef _GANSSextEphTime_H_ +#define _GANSSextEphTime_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GANSSextEphTime */ -typedef struct GANSSextEphTime { - long gANSSday; - long gANSSTODhour; - /* + /* GANSSextEphTime */ + typedef struct GANSSextEphTime + { + long gANSSday; + long gANSSTODhour; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSextEphTime_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSextEphTime; -extern asn_SEQUENCE_specifics_t asn_SPC_GANSSextEphTime_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSextEphTime_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSextEphTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSextEphTime; + extern asn_SEQUENCE_specifics_t asn_SPC_GANSSextEphTime_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSextEphTime_1[2]; #ifdef __cplusplus } #endif -#endif /* _GANSSextEphTime_H_ */ +#endif /* _GANSSextEphTime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GANSSsignalsInfo.h b/src/core/libs/supl2/asn-supl2/GANSSsignalsInfo.h index 563c9fac9..402c7250f 100644 --- a/src/core/libs/supl2/asn-supl2/GANSSsignalsInfo.h +++ b/src/core/libs/supl2/asn-supl2/GANSSsignalsInfo.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GANSSsignalsInfo_H_ -#define _GANSSsignalsInfo_H_ +#ifndef _GANSSsignalsInfo_H_ +#define _GANSSsignalsInfo_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSSignalsDescription; + /* Forward declarations */ + struct GANSSSignalsDescription; -/* GANSSsignalsInfo */ -typedef struct GANSSsignalsInfo { - A_SEQUENCE_OF(struct GANSSSignalsDescription) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GANSSsignalsInfo_t; + /* GANSSsignalsInfo */ + typedef struct GANSSsignalsInfo + { + A_SEQUENCE_OF(struct GANSSSignalsDescription) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GANSSsignalsInfo; -extern asn_SET_OF_specifics_t asn_SPC_GANSSsignalsInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_GANSSsignalsInfo_1[1]; -extern asn_per_constraints_t asn_PER_type_GANSSsignalsInfo_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GANSSsignalsInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GANSSsignalsInfo; + extern asn_SET_OF_specifics_t asn_SPC_GANSSsignalsInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_GANSSsignalsInfo_1[1]; + extern asn_per_constraints_t asn_PER_type_GANSSsignalsInfo_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_GANSSsignalsInfo_constr_1; /* Referred external types */ #include "GANSSSignalsDescription.h" -#endif /* _GANSSsignalsInfo_H_ */ +#endif /* _GANSSsignalsInfo_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GNSSPosTechnology.h b/src/core/libs/supl2/asn-supl2/GNSSPosTechnology.h index 6dc5d2194..de04caf62 100644 --- a/src/core/libs/supl2/asn-supl2/GNSSPosTechnology.h +++ b/src/core/libs/supl2/asn-supl2/GNSSPosTechnology.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GNSSPosTechnology_H_ -#define _GNSSPosTechnology_H_ +#ifndef _GNSSPosTechnology_H_ +#define _GNSSPosTechnology_H_ #include "asn_application.h" @@ -16,34 +16,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GNSSPosTechnology */ -typedef struct GNSSPosTechnology { - BOOLEAN_t gps; - BOOLEAN_t galileo; - BOOLEAN_t sbas; - BOOLEAN_t modernized_gps; - BOOLEAN_t qzss; - BOOLEAN_t glonass; - /* + /* GNSSPosTechnology */ + typedef struct GNSSPosTechnology + { + BOOLEAN_t gps; + BOOLEAN_t galileo; + BOOLEAN_t sbas; + BOOLEAN_t modernized_gps; + BOOLEAN_t qzss; + BOOLEAN_t glonass; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GNSSPosTechnology_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GNSSPosTechnology; -extern asn_SEQUENCE_specifics_t asn_SPC_GNSSPosTechnology_specs_1; -extern asn_TYPE_member_t asn_MBR_GNSSPosTechnology_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GNSSPosTechnology_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GNSSPosTechnology; + extern asn_SEQUENCE_specifics_t asn_SPC_GNSSPosTechnology_specs_1; + extern asn_TYPE_member_t asn_MBR_GNSSPosTechnology_1[6]; #ifdef __cplusplus } #endif -#endif /* _GNSSPosTechnology_H_ */ +#endif /* _GNSSPosTechnology_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GPSTime.h b/src/core/libs/supl2/asn-supl2/GPSTime.h index fd3a660e8..8cb70025b 100644 --- a/src/core/libs/supl2/asn-supl2/GPSTime.h +++ b/src/core/libs/supl2/asn-supl2/GPSTime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GPSTime_H_ -#define _GPSTime_H_ +#ifndef _GPSTime_H_ +#define _GPSTime_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GPSTime */ -typedef struct GPSTime { - long gPSWeek; - long gPSTOWhour; - /* + /* GPSTime */ + typedef struct GPSTime + { + long gPSWeek; + long gPSTOWhour; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GPSTime_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GPSTime; -extern asn_SEQUENCE_specifics_t asn_SPC_GPSTime_specs_1; -extern asn_TYPE_member_t asn_MBR_GPSTime_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GPSTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GPSTime; + extern asn_SEQUENCE_specifics_t asn_SPC_GPSTime_specs_1; + extern asn_TYPE_member_t asn_MBR_GPSTime_1[2]; #ifdef __cplusplus } #endif -#endif /* _GPSTime_H_ */ +#endif /* _GPSTime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GSMAreaId.h b/src/core/libs/supl2/asn-supl2/GSMAreaId.h index 4b61851cd..9bea533c3 100644 --- a/src/core/libs/supl2/asn-supl2/GSMAreaId.h +++ b/src/core/libs/supl2/asn-supl2/GSMAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GSMAreaId_H_ -#define _GSMAreaId_H_ +#ifndef _GSMAreaId_H_ +#define _GSMAreaId_H_ #include "asn_application.h" @@ -16,32 +16,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GSMAreaId */ -typedef struct GSMAreaId { - long *refMCC /* OPTIONAL */; - long *refMNC /* OPTIONAL */; - long *refLAC /* OPTIONAL */; - long *refCI /* OPTIONAL */; - /* + /* GSMAreaId */ + typedef struct GSMAreaId + { + long *refMCC /* OPTIONAL */; + long *refMNC /* OPTIONAL */; + long *refLAC /* OPTIONAL */; + long *refCI /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GSMAreaId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GSMAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_GSMAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_GSMAreaId_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GSMAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GSMAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_GSMAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_GSMAreaId_1[4]; #ifdef __cplusplus } #endif -#endif /* _GSMAreaId_H_ */ +#endif /* _GSMAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssAdditionalDataChoices.h b/src/core/libs/supl2/asn-supl2/GanssAdditionalDataChoices.h index 6d05b0155..eba46f126 100644 --- a/src/core/libs/supl2/asn-supl2/GanssAdditionalDataChoices.h +++ b/src/core/libs/supl2/asn-supl2/GanssAdditionalDataChoices.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssAdditionalDataChoices_H_ -#define _GanssAdditionalDataChoices_H_ +#ifndef _GanssAdditionalDataChoices_H_ +#define _GanssAdditionalDataChoices_H_ #include "asn_application.h" @@ -16,32 +16,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GanssAdditionalDataChoices */ -typedef struct GanssAdditionalDataChoices { - long *orbitModelID /* OPTIONAL */; - long *clockModelID /* OPTIONAL */; - long *utcModelID /* OPTIONAL */; - long *almanacModelID /* OPTIONAL */; - /* + /* GanssAdditionalDataChoices */ + typedef struct GanssAdditionalDataChoices + { + long *orbitModelID /* OPTIONAL */; + long *clockModelID /* OPTIONAL */; + long *utcModelID /* OPTIONAL */; + long *almanacModelID /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssAdditionalDataChoices_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssAdditionalDataChoices; -extern asn_SEQUENCE_specifics_t asn_SPC_GanssAdditionalDataChoices_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssAdditionalDataChoices_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssAdditionalDataChoices_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssAdditionalDataChoices; + extern asn_SEQUENCE_specifics_t asn_SPC_GanssAdditionalDataChoices_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssAdditionalDataChoices_1[4]; #ifdef __cplusplus } #endif -#endif /* _GanssAdditionalDataChoices_H_ */ +#endif /* _GanssAdditionalDataChoices_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssDataBits.h b/src/core/libs/supl2/asn-supl2/GanssDataBits.h index f4ca0297a..fd73b69bf 100644 --- a/src/core/libs/supl2/asn-supl2/GanssDataBits.h +++ b/src/core/libs/supl2/asn-supl2/GanssDataBits.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssDataBits_H_ -#define _GanssDataBits_H_ +#ifndef _GanssDataBits_H_ +#define _GanssDataBits_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GanssDataBits */ -typedef struct GanssDataBits { - long ganssTODmin; - ReqDataBitAssistanceList_t reqDataBitAssistanceList; - /* + /* GanssDataBits */ + typedef struct GanssDataBits + { + long ganssTODmin; + ReqDataBitAssistanceList_t reqDataBitAssistanceList; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssDataBits_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssDataBits; -extern asn_SEQUENCE_specifics_t asn_SPC_GanssDataBits_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssDataBits_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssDataBits_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssDataBits; + extern asn_SEQUENCE_specifics_t asn_SPC_GanssDataBits_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssDataBits_1[2]; #ifdef __cplusplus } #endif -#endif /* _GanssDataBits_H_ */ +#endif /* _GanssDataBits_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssExtendedEphCheck.h b/src/core/libs/supl2/asn-supl2/GanssExtendedEphCheck.h index 8939478ed..17912cef3 100644 --- a/src/core/libs/supl2/asn-supl2/GanssExtendedEphCheck.h +++ b/src/core/libs/supl2/asn-supl2/GanssExtendedEphCheck.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssExtendedEphCheck_H_ -#define _GanssExtendedEphCheck_H_ +#ifndef _GanssExtendedEphCheck_H_ +#define _GanssExtendedEphCheck_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GanssExtendedEphCheck */ -typedef struct GanssExtendedEphCheck { - GANSSextEphTime_t beginTime; - GANSSextEphTime_t endTime; - /* + /* GanssExtendedEphCheck */ + typedef struct GanssExtendedEphCheck + { + GANSSextEphTime_t beginTime; + GANSSextEphTime_t endTime; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssExtendedEphCheck_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssExtendedEphCheck; -extern asn_SEQUENCE_specifics_t asn_SPC_GanssExtendedEphCheck_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssExtendedEphCheck_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssExtendedEphCheck_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssExtendedEphCheck; + extern asn_SEQUENCE_specifics_t asn_SPC_GanssExtendedEphCheck_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssExtendedEphCheck_1[2]; #ifdef __cplusplus } #endif -#endif /* _GanssExtendedEphCheck_H_ */ +#endif /* _GanssExtendedEphCheck_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssNavigationModelData.h b/src/core/libs/supl2/asn-supl2/GanssNavigationModelData.h index 7fb070cf9..77aa03bbf 100644 --- a/src/core/libs/supl2/asn-supl2/GanssNavigationModelData.h +++ b/src/core/libs/supl2/asn-supl2/GanssNavigationModelData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssNavigationModelData_H_ -#define _GanssNavigationModelData_H_ +#ifndef _GanssNavigationModelData_H_ +#define _GanssNavigationModelData_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SatellitesListRelatedDataList; + /* Forward declarations */ + struct SatellitesListRelatedDataList; -/* GanssNavigationModelData */ -typedef struct GanssNavigationModelData { - long ganssWeek; - long ganssToe; - long t_toeLimit; - struct SatellitesListRelatedDataList *satellitesListRelatedDataList /* OPTIONAL */; - /* + /* GanssNavigationModelData */ + typedef struct GanssNavigationModelData + { + long ganssWeek; + long ganssToe; + long t_toeLimit; + struct SatellitesListRelatedDataList *satellitesListRelatedDataList /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssNavigationModelData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssNavigationModelData; -extern asn_SEQUENCE_specifics_t asn_SPC_GanssNavigationModelData_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssNavigationModelData_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssNavigationModelData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssNavigationModelData; + extern asn_SEQUENCE_specifics_t asn_SPC_GanssNavigationModelData_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssNavigationModelData_1[4]; #ifdef __cplusplus } @@ -49,5 +51,5 @@ extern asn_TYPE_member_t asn_MBR_GanssNavigationModelData_1[4]; /* Referred external types */ #include "SatellitesListRelatedDataList.h" -#endif /* _GanssNavigationModelData_H_ */ +#endif /* _GanssNavigationModelData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssReqGenericData.h b/src/core/libs/supl2/asn-supl2/GanssReqGenericData.h index 840984f85..2fbcc806c 100644 --- a/src/core/libs/supl2/asn-supl2/GanssReqGenericData.h +++ b/src/core/libs/supl2/asn-supl2/GanssReqGenericData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssReqGenericData_H_ -#define _GanssReqGenericData_H_ +#ifndef _GanssReqGenericData_H_ +#define _GanssReqGenericData_H_ #include "asn_application.h" @@ -19,45 +19,47 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GanssNavigationModelData; -struct GanssDataBits; -struct GanssAdditionalDataChoices; -struct ExtendedEphemeris; -struct GanssExtendedEphCheck; + /* Forward declarations */ + struct GanssNavigationModelData; + struct GanssDataBits; + struct GanssAdditionalDataChoices; + struct ExtendedEphemeris; + struct GanssExtendedEphCheck; -/* GanssReqGenericData */ -typedef struct GanssReqGenericData { - long ganssId; - BIT_STRING_t *ganssSBASid /* OPTIONAL */; - BOOLEAN_t ganssRealTimeIntegrity; - DGANSS_Sig_Id_Req_t *ganssDifferentialCorrection /* OPTIONAL */; - BOOLEAN_t ganssAlmanac; - struct GanssNavigationModelData *ganssNavigationModelData /* OPTIONAL */; - BIT_STRING_t *ganssTimeModels /* OPTIONAL */; - BOOLEAN_t ganssReferenceMeasurementInfo; - struct GanssDataBits *ganssDataBits /* OPTIONAL */; - BOOLEAN_t ganssUTCModel; - struct GanssAdditionalDataChoices *ganssAdditionalDataChoices /* OPTIONAL */; - BOOLEAN_t ganssAuxiliaryInformation; - struct ExtendedEphemeris *ganssExtendedEphemeris /* OPTIONAL */; - struct GanssExtendedEphCheck *ganssExtendedEphemerisCheck /* OPTIONAL */; - /* + /* GanssReqGenericData */ + typedef struct GanssReqGenericData + { + long ganssId; + BIT_STRING_t *ganssSBASid /* OPTIONAL */; + BOOLEAN_t ganssRealTimeIntegrity; + DGANSS_Sig_Id_Req_t *ganssDifferentialCorrection /* OPTIONAL */; + BOOLEAN_t ganssAlmanac; + struct GanssNavigationModelData *ganssNavigationModelData /* OPTIONAL */; + BIT_STRING_t *ganssTimeModels /* OPTIONAL */; + BOOLEAN_t ganssReferenceMeasurementInfo; + struct GanssDataBits *ganssDataBits /* OPTIONAL */; + BOOLEAN_t ganssUTCModel; + struct GanssAdditionalDataChoices *ganssAdditionalDataChoices /* OPTIONAL */; + BOOLEAN_t ganssAuxiliaryInformation; + struct ExtendedEphemeris *ganssExtendedEphemeris /* OPTIONAL */; + struct GanssExtendedEphCheck *ganssExtendedEphemerisCheck /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssReqGenericData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssReqGenericData; -extern asn_SEQUENCE_specifics_t asn_SPC_GanssReqGenericData_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssReqGenericData_1[14]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssReqGenericData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssReqGenericData; + extern asn_SEQUENCE_specifics_t asn_SPC_GanssReqGenericData_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssReqGenericData_1[14]; #ifdef __cplusplus } @@ -70,5 +72,5 @@ extern asn_TYPE_member_t asn_MBR_GanssReqGenericData_1[14]; #include "ExtendedEphemeris.h" #include "GanssExtendedEphCheck.h" -#endif /* _GanssReqGenericData_H_ */ +#endif /* _GanssReqGenericData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssRequestedCommonAssistanceDataList.h b/src/core/libs/supl2/asn-supl2/GanssRequestedCommonAssistanceDataList.h index ce53f7bb9..48a837639 100644 --- a/src/core/libs/supl2/asn-supl2/GanssRequestedCommonAssistanceDataList.h +++ b/src/core/libs/supl2/asn-supl2/GanssRequestedCommonAssistanceDataList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssRequestedCommonAssistanceDataList_H_ -#define _GanssRequestedCommonAssistanceDataList_H_ +#ifndef _GanssRequestedCommonAssistanceDataList_H_ +#define _GanssRequestedCommonAssistanceDataList_H_ #include "asn_application.h" @@ -16,33 +16,35 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GanssRequestedCommonAssistanceDataList */ -typedef struct GanssRequestedCommonAssistanceDataList { - BOOLEAN_t ganssReferenceTime; - BOOLEAN_t ganssIonosphericModel; - BOOLEAN_t ganssAdditionalIonosphericModelForDataID00; - BOOLEAN_t ganssAdditionalIonosphericModelForDataID11; - BOOLEAN_t ganssEarthOrientationParameters; - /* + /* GanssRequestedCommonAssistanceDataList */ + typedef struct GanssRequestedCommonAssistanceDataList + { + BOOLEAN_t ganssReferenceTime; + BOOLEAN_t ganssIonosphericModel; + BOOLEAN_t ganssAdditionalIonosphericModelForDataID00; + BOOLEAN_t ganssAdditionalIonosphericModelForDataID11; + BOOLEAN_t ganssEarthOrientationParameters; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssRequestedCommonAssistanceDataList_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssRequestedCommonAssistanceDataList; -extern asn_SEQUENCE_specifics_t asn_SPC_GanssRequestedCommonAssistanceDataList_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssRequestedCommonAssistanceDataList_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssRequestedCommonAssistanceDataList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssRequestedCommonAssistanceDataList; + extern asn_SEQUENCE_specifics_t asn_SPC_GanssRequestedCommonAssistanceDataList_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssRequestedCommonAssistanceDataList_1[5]; #ifdef __cplusplus } #endif -#endif /* _GanssRequestedCommonAssistanceDataList_H_ */ +#endif /* _GanssRequestedCommonAssistanceDataList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GanssRequestedGenericAssistanceDataList.h b/src/core/libs/supl2/asn-supl2/GanssRequestedGenericAssistanceDataList.h index 0a9d85a83..35ff20d12 100644 --- a/src/core/libs/supl2/asn-supl2/GanssRequestedGenericAssistanceDataList.h +++ b/src/core/libs/supl2/asn-supl2/GanssRequestedGenericAssistanceDataList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GanssRequestedGenericAssistanceDataList_H_ -#define _GanssRequestedGenericAssistanceDataList_H_ +#ifndef _GanssRequestedGenericAssistanceDataList_H_ +#define _GanssRequestedGenericAssistanceDataList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GanssReqGenericData; + /* Forward declarations */ + struct GanssReqGenericData; -/* GanssRequestedGenericAssistanceDataList */ -typedef struct GanssRequestedGenericAssistanceDataList { - A_SEQUENCE_OF(struct GanssReqGenericData) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GanssRequestedGenericAssistanceDataList_t; + /* GanssRequestedGenericAssistanceDataList */ + typedef struct GanssRequestedGenericAssistanceDataList + { + A_SEQUENCE_OF(struct GanssReqGenericData) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GanssRequestedGenericAssistanceDataList; -extern asn_SET_OF_specifics_t asn_SPC_GanssRequestedGenericAssistanceDataList_specs_1; -extern asn_TYPE_member_t asn_MBR_GanssRequestedGenericAssistanceDataList_1[1]; -extern asn_per_constraints_t asn_PER_type_GanssRequestedGenericAssistanceDataList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GanssRequestedGenericAssistanceDataList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GanssRequestedGenericAssistanceDataList; + extern asn_SET_OF_specifics_t asn_SPC_GanssRequestedGenericAssistanceDataList_specs_1; + extern asn_TYPE_member_t asn_MBR_GanssRequestedGenericAssistanceDataList_1[1]; + extern asn_per_constraints_t asn_PER_type_GanssRequestedGenericAssistanceDataList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_GanssRequestedGenericAssistanceDataLis /* Referred external types */ #include "GanssReqGenericData.h" -#endif /* _GanssRequestedGenericAssistanceDataList_H_ */ +#endif /* _GanssRequestedGenericAssistanceDataList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GeneralizedTime.h b/src/core/libs/supl2/asn-supl2/GeneralizedTime.h index ca864297e..809fc81db 100644 --- a/src/core/libs/supl2/asn-supl2/GeneralizedTime.h +++ b/src/core/libs/supl2/asn-supl2/GeneralizedTime.h @@ -2,77 +2,78 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _GeneralizedTime_H_ -#define _GeneralizedTime_H_ +#ifndef _GeneralizedTime_H_ +#define _GeneralizedTime_H_ #include "OCTET_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef OCTET_STRING_t GeneralizedTime_t; /* Implemented via OCTET STRING */ + typedef OCTET_STRING_t GeneralizedTime_t; /* Implemented via OCTET STRING */ -extern asn_TYPE_descriptor_t asn_DEF_GeneralizedTime; -extern asn_TYPE_operation_t asn_OP_GeneralizedTime; + extern asn_TYPE_descriptor_t asn_DEF_GeneralizedTime; + extern asn_TYPE_operation_t asn_OP_GeneralizedTime; -asn_struct_print_f GeneralizedTime_print; -asn_struct_compare_f GeneralizedTime_compare; -asn_constr_check_f GeneralizedTime_constraint; -der_type_encoder_f GeneralizedTime_encode_der; -xer_type_encoder_f GeneralizedTime_encode_xer; -asn_random_fill_f GeneralizedTime_random_fill; + asn_struct_print_f GeneralizedTime_print; + asn_struct_compare_f GeneralizedTime_compare; + asn_constr_check_f GeneralizedTime_constraint; + der_type_encoder_f GeneralizedTime_encode_der; + xer_type_encoder_f GeneralizedTime_encode_xer; + asn_random_fill_f GeneralizedTime_random_fill; -#define GeneralizedTime_free OCTET_STRING_free -#define GeneralizedTime_decode_ber OCTET_STRING_decode_ber -#define GeneralizedTime_decode_xer OCTET_STRING_decode_xer_utf8 -#define GeneralizedTime_decode_uper OCTET_STRING_decode_uper -#define GeneralizedTime_encode_uper OCTET_STRING_encode_uper +#define GeneralizedTime_free OCTET_STRING_free +#define GeneralizedTime_decode_ber OCTET_STRING_decode_ber +#define GeneralizedTime_decode_xer OCTET_STRING_decode_xer_utf8 +#define GeneralizedTime_decode_uper OCTET_STRING_decode_uper +#define GeneralizedTime_encode_uper OCTET_STRING_encode_uper -/*********************** + /*********************** * Some handy helpers. * ***********************/ -struct tm; /* */ + struct tm; /* */ -/* + /* * Convert a GeneralizedTime structure into time_t * and optionally into struct tm. * If as_gmt is given, the resulting _optional_tm4fill will have a GMT zone, * instead of default local one. * On error returns -1 and errno set to EINVAL */ -time_t asn_GT2time(const GeneralizedTime_t *, struct tm *_optional_tm4fill, - int as_gmt); + time_t asn_GT2time(const GeneralizedTime_t *, struct tm *_optional_tm4fill, + int as_gmt); -/* A version of the above function also returning the fractions of seconds */ -time_t asn_GT2time_frac(const GeneralizedTime_t *, - int *frac_value, int *frac_digits, /* (value / (10 ^ digits)) */ - struct tm *_optional_tm4fill, int as_gmt); + /* A version of the above function also returning the fractions of seconds */ + time_t asn_GT2time_frac(const GeneralizedTime_t *, + int *frac_value, int *frac_digits, /* (value / (10 ^ digits)) */ + struct tm *_optional_tm4fill, int as_gmt); -/* + /* * Another version returning fractions with defined precision * For example, parsing of the time ending with ".1" seconds * with frac_digits=3 (msec) would yield frac_value = 100. */ -time_t asn_GT2time_prec(const GeneralizedTime_t *, - int *frac_value, int frac_digits, - struct tm *_optional_tm4fill, int as_gmt); + time_t asn_GT2time_prec(const GeneralizedTime_t *, + int *frac_value, int frac_digits, + struct tm *_optional_tm4fill, int as_gmt); -/* + /* * Convert a struct tm into GeneralizedTime. * If _optional_gt is not given, this function will try to allocate one. * If force_gmt is given, the resulting GeneralizedTime will be forced * into a GMT time zone (encoding ends with a "Z"). * On error, this function returns 0 and sets errno. */ -GeneralizedTime_t *asn_time2GT(GeneralizedTime_t *_optional_gt, - const struct tm *, int force_gmt); -GeneralizedTime_t *asn_time2GT_frac(GeneralizedTime_t *_optional_gt, - const struct tm *, int frac_value, int frac_digits, int force_gmt); + GeneralizedTime_t *asn_time2GT(GeneralizedTime_t *_optional_gt, + const struct tm *, int force_gmt); + GeneralizedTime_t *asn_time2GT_frac(GeneralizedTime_t *_optional_gt, + const struct tm *, int frac_value, int frac_digits, int force_gmt); #ifdef __cplusplus } #endif -#endif /* _GeneralizedTime_H_ */ +#endif /* _GeneralizedTime_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/GeoAreaIndex.h b/src/core/libs/supl2/asn-supl2/GeoAreaIndex.h index 3c60efc00..41f706d6b 100644 --- a/src/core/libs/supl2/asn-supl2/GeoAreaIndex.h +++ b/src/core/libs/supl2/asn-supl2/GeoAreaIndex.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GeoAreaIndex_H_ -#define _GeoAreaIndex_H_ +#ifndef _GeoAreaIndex_H_ +#define _GeoAreaIndex_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GeoAreaIndex */ -typedef long GeoAreaIndex_t; + /* GeoAreaIndex */ + typedef long GeoAreaIndex_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_GeoAreaIndex_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_GeoAreaIndex; -asn_struct_free_f GeoAreaIndex_free; -asn_struct_print_f GeoAreaIndex_print; -asn_constr_check_f GeoAreaIndex_constraint; -ber_type_decoder_f GeoAreaIndex_decode_ber; -der_type_encoder_f GeoAreaIndex_encode_der; -xer_type_decoder_f GeoAreaIndex_decode_xer; -xer_type_encoder_f GeoAreaIndex_encode_xer; -per_type_decoder_f GeoAreaIndex_decode_uper; -per_type_encoder_f GeoAreaIndex_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_GeoAreaIndex_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_GeoAreaIndex; + asn_struct_free_f GeoAreaIndex_free; + asn_struct_print_f GeoAreaIndex_print; + asn_constr_check_f GeoAreaIndex_constraint; + ber_type_decoder_f GeoAreaIndex_decode_ber; + der_type_encoder_f GeoAreaIndex_encode_der; + xer_type_decoder_f GeoAreaIndex_decode_xer; + xer_type_encoder_f GeoAreaIndex_encode_xer; + per_type_decoder_f GeoAreaIndex_decode_uper; + per_type_encoder_f GeoAreaIndex_encode_uper; #ifdef __cplusplus } #endif -#endif /* _GeoAreaIndex_H_ */ +#endif /* _GeoAreaIndex_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GeoAreaMappingList.h b/src/core/libs/supl2/asn-supl2/GeoAreaMappingList.h index 24f4a3710..a441a38a9 100644 --- a/src/core/libs/supl2/asn-supl2/GeoAreaMappingList.h +++ b/src/core/libs/supl2/asn-supl2/GeoAreaMappingList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GeoAreaMappingList_H_ -#define _GeoAreaMappingList_H_ +#ifndef _GeoAreaMappingList_H_ +#define _GeoAreaMappingList_H_ #include "asn_application.h" @@ -17,26 +17,29 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GeoAreaMappingList */ -typedef struct GeoAreaMappingList { - A_SEQUENCE_OF(GeoAreaIndex_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GeoAreaMappingList_t; + /* GeoAreaMappingList */ + typedef struct GeoAreaMappingList + { + A_SEQUENCE_OF(GeoAreaIndex_t) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GeoAreaMappingList; -extern asn_SET_OF_specifics_t asn_SPC_GeoAreaMappingList_specs_1; -extern asn_TYPE_member_t asn_MBR_GeoAreaMappingList_1[1]; -extern asn_per_constraints_t asn_PER_type_GeoAreaMappingList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GeoAreaMappingList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GeoAreaMappingList; + extern asn_SET_OF_specifics_t asn_SPC_GeoAreaMappingList_specs_1; + extern asn_TYPE_member_t asn_MBR_GeoAreaMappingList_1[1]; + extern asn_per_constraints_t asn_PER_type_GeoAreaMappingList_constr_1; #ifdef __cplusplus } #endif -#endif /* _GeoAreaMappingList_H_ */ +#endif /* _GeoAreaMappingList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GeoAreaShapesSupported.h b/src/core/libs/supl2/asn-supl2/GeoAreaShapesSupported.h index c19adfcce..82d5ca40f 100644 --- a/src/core/libs/supl2/asn-supl2/GeoAreaShapesSupported.h +++ b/src/core/libs/supl2/asn-supl2/GeoAreaShapesSupported.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GeoAreaShapesSupported_H_ -#define _GeoAreaShapesSupported_H_ +#ifndef _GeoAreaShapesSupported_H_ +#define _GeoAreaShapesSupported_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* GeoAreaShapesSupported */ -typedef struct GeoAreaShapesSupported { - BOOLEAN_t ellipticalArea; - BOOLEAN_t polygonArea; - /* + /* GeoAreaShapesSupported */ + typedef struct GeoAreaShapesSupported + { + BOOLEAN_t ellipticalArea; + BOOLEAN_t polygonArea; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GeoAreaShapesSupported_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GeoAreaShapesSupported; -extern asn_SEQUENCE_specifics_t asn_SPC_GeoAreaShapesSupported_specs_1; -extern asn_TYPE_member_t asn_MBR_GeoAreaShapesSupported_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GeoAreaShapesSupported_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GeoAreaShapesSupported; + extern asn_SEQUENCE_specifics_t asn_SPC_GeoAreaShapesSupported_specs_1; + extern asn_TYPE_member_t asn_MBR_GeoAreaShapesSupported_1[2]; #ifdef __cplusplus } #endif -#endif /* _GeoAreaShapesSupported_H_ */ +#endif /* _GeoAreaShapesSupported_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GeographicTargetArea.h b/src/core/libs/supl2/asn-supl2/GeographicTargetArea.h index d13710545..56dd44d84 100644 --- a/src/core/libs/supl2/asn-supl2/GeographicTargetArea.h +++ b/src/core/libs/supl2/asn-supl2/GeographicTargetArea.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GeographicTargetArea_H_ -#define _GeographicTargetArea_H_ +#ifndef _GeographicTargetArea_H_ +#define _GeographicTargetArea_H_ #include "asn_application.h" @@ -18,45 +18,49 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum GeographicTargetArea_PR { - GeographicTargetArea_PR_NOTHING, /* No components present */ - GeographicTargetArea_PR_circularArea, - GeographicTargetArea_PR_ellipticalArea, - GeographicTargetArea_PR_polygonArea - /* Extensions may appear below */ - -} GeographicTargetArea_PR; + /* Dependencies */ + typedef enum GeographicTargetArea_PR + { + GeographicTargetArea_PR_NOTHING, /* No components present */ + GeographicTargetArea_PR_circularArea, + GeographicTargetArea_PR_ellipticalArea, + GeographicTargetArea_PR_polygonArea + /* Extensions may appear below */ -/* GeographicTargetArea */ -typedef struct GeographicTargetArea { - GeographicTargetArea_PR present; - union GeographicTargetArea_u { - CircularArea_t circularArea; - EllipticalArea_t ellipticalArea; - PolygonArea_t polygonArea; - /* + } GeographicTargetArea_PR; + + /* GeographicTargetArea */ + typedef struct GeographicTargetArea + { + GeographicTargetArea_PR present; + union GeographicTargetArea_u + { + CircularArea_t circularArea; + EllipticalArea_t ellipticalArea; + PolygonArea_t polygonArea; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GeographicTargetArea_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GeographicTargetArea; -extern asn_CHOICE_specifics_t asn_SPC_GeographicTargetArea_specs_1; -extern asn_TYPE_member_t asn_MBR_GeographicTargetArea_1[3]; -extern asn_per_constraints_t asn_PER_type_GeographicTargetArea_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GeographicTargetArea_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GeographicTargetArea; + extern asn_CHOICE_specifics_t asn_SPC_GeographicTargetArea_specs_1; + extern asn_TYPE_member_t asn_MBR_GeographicTargetArea_1[3]; + extern asn_per_constraints_t asn_PER_type_GeographicTargetArea_constr_1; #ifdef __cplusplus } #endif -#endif /* _GeographicTargetArea_H_ */ +#endif /* _GeographicTargetArea_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GeographicTargetAreaList.h b/src/core/libs/supl2/asn-supl2/GeographicTargetAreaList.h index 23230bb43..1ca55f678 100644 --- a/src/core/libs/supl2/asn-supl2/GeographicTargetAreaList.h +++ b/src/core/libs/supl2/asn-supl2/GeographicTargetAreaList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GeographicTargetAreaList_H_ -#define _GeographicTargetAreaList_H_ +#ifndef _GeographicTargetAreaList_H_ +#define _GeographicTargetAreaList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GeographicTargetArea; + /* Forward declarations */ + struct GeographicTargetArea; -/* GeographicTargetAreaList */ -typedef struct GeographicTargetAreaList { - A_SEQUENCE_OF(struct GeographicTargetArea) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GeographicTargetAreaList_t; + /* GeographicTargetAreaList */ + typedef struct GeographicTargetAreaList + { + A_SEQUENCE_OF(struct GeographicTargetArea) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GeographicTargetAreaList; -extern asn_SET_OF_specifics_t asn_SPC_GeographicTargetAreaList_specs_1; -extern asn_TYPE_member_t asn_MBR_GeographicTargetAreaList_1[1]; -extern asn_per_constraints_t asn_PER_type_GeographicTargetAreaList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GeographicTargetAreaList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GeographicTargetAreaList; + extern asn_SET_OF_specifics_t asn_SPC_GeographicTargetAreaList_specs_1; + extern asn_TYPE_member_t asn_MBR_GeographicTargetAreaList_1[1]; + extern asn_per_constraints_t asn_PER_type_GeographicTargetAreaList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_GeographicTargetAreaList_constr_1; /* Referred external types */ #include "GeographicTargetArea.h" -#endif /* _GeographicTargetAreaList_H_ */ +#endif /* _GeographicTargetAreaList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/GsmCellInformation.h b/src/core/libs/supl2/asn-supl2/GsmCellInformation.h index c2da7cf3f..0eaeb698e 100644 --- a/src/core/libs/supl2/asn-supl2/GsmCellInformation.h +++ b/src/core/libs/supl2/asn-supl2/GsmCellInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _GsmCellInformation_H_ -#define _GsmCellInformation_H_ +#ifndef _GsmCellInformation_H_ +#define _GsmCellInformation_H_ #include "asn_application.h" @@ -16,33 +16,35 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct NMR; + /* Forward declarations */ + struct NMR; -/* GsmCellInformation */ -typedef struct GsmCellInformation { - long refMCC; - long refMNC; - long refLAC; - long refCI; - struct NMR *nMR /* OPTIONAL */; - long *tA /* OPTIONAL */; - /* + /* GsmCellInformation */ + typedef struct GsmCellInformation + { + long refMCC; + long refMNC; + long refLAC; + long refCI; + struct NMR *nMR /* OPTIONAL */; + long *tA /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} GsmCellInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_GsmCellInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_GsmCellInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_GsmCellInformation_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } GsmCellInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_GsmCellInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_GsmCellInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_GsmCellInformation_1[6]; #ifdef __cplusplus } @@ -51,5 +53,5 @@ extern asn_TYPE_member_t asn_MBR_GsmCellInformation_1[6]; /* Referred external types */ #include "NMR.h" -#endif /* _GsmCellInformation_H_ */ +#endif /* _GsmCellInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/HRPDAreaId.h b/src/core/libs/supl2/asn-supl2/HRPDAreaId.h index 23f173fdf..4fbb2468d 100644 --- a/src/core/libs/supl2/asn-supl2/HRPDAreaId.h +++ b/src/core/libs/supl2/asn-supl2/HRPDAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _HRPDAreaId_H_ -#define _HRPDAreaId_H_ +#ifndef _HRPDAreaId_H_ +#define _HRPDAreaId_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* HRPDAreaId */ -typedef struct HRPDAreaId { - BIT_STRING_t refSECTORID; - /* + /* HRPDAreaId */ + typedef struct HRPDAreaId + { + BIT_STRING_t refSECTORID; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HRPDAreaId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HRPDAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_HRPDAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_HRPDAreaId_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } HRPDAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_HRPDAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_HRPDAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_HRPDAreaId_1[1]; #ifdef __cplusplus } #endif -#endif /* _HRPDAreaId_H_ */ +#endif /* _HRPDAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/HistoricReporting.h b/src/core/libs/supl2/asn-supl2/HistoricReporting.h index e846b352d..b39c0bfda 100644 --- a/src/core/libs/supl2/asn-supl2/HistoricReporting.h +++ b/src/core/libs/supl2/asn-supl2/HistoricReporting.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _HistoricReporting_H_ -#define _HistoricReporting_H_ +#ifndef _HistoricReporting_H_ +#define _HistoricReporting_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReportingCriteria; + /* Forward declarations */ + struct ReportingCriteria; -/* HistoricReporting */ -typedef struct HistoricReporting { - AllowedReportingType_t allowedReportingType; - struct ReportingCriteria *reportingCriteria /* OPTIONAL */; - /* + /* HistoricReporting */ + typedef struct HistoricReporting + { + AllowedReportingType_t allowedReportingType; + struct ReportingCriteria *reportingCriteria /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HistoricReporting_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HistoricReporting; -extern asn_SEQUENCE_specifics_t asn_SPC_HistoricReporting_specs_1; -extern asn_TYPE_member_t asn_MBR_HistoricReporting_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } HistoricReporting_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_HistoricReporting; + extern asn_SEQUENCE_specifics_t asn_SPC_HistoricReporting_specs_1; + extern asn_TYPE_member_t asn_MBR_HistoricReporting_1[2]; #ifdef __cplusplus } @@ -47,5 +49,5 @@ extern asn_TYPE_member_t asn_MBR_HistoricReporting_1[2]; /* Referred external types */ #include "ReportingCriteria.h" -#endif /* _HistoricReporting_H_ */ +#endif /* _HistoricReporting_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Horandveruncert.h b/src/core/libs/supl2/asn-supl2/Horandveruncert.h index dfe1839d5..e52a3e428 100644 --- a/src/core/libs/supl2/asn-supl2/Horandveruncert.h +++ b/src/core/libs/supl2/asn-supl2/Horandveruncert.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Horandveruncert_H_ -#define _Horandveruncert_H_ +#ifndef _Horandveruncert_H_ +#define _Horandveruncert_H_ #include "asn_application.h" @@ -16,34 +16,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Horandveruncert */ -typedef struct Horandveruncert { - BIT_STRING_t verdirect; - BIT_STRING_t bearing; - BIT_STRING_t horspeed; - BIT_STRING_t verspeed; - BIT_STRING_t horuncertspeed; - BIT_STRING_t veruncertspeed; - /* + /* Horandveruncert */ + typedef struct Horandveruncert + { + BIT_STRING_t verdirect; + BIT_STRING_t bearing; + BIT_STRING_t horspeed; + BIT_STRING_t verspeed; + BIT_STRING_t horuncertspeed; + BIT_STRING_t veruncertspeed; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Horandveruncert_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Horandveruncert; -extern asn_SEQUENCE_specifics_t asn_SPC_Horandveruncert_specs_1; -extern asn_TYPE_member_t asn_MBR_Horandveruncert_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Horandveruncert_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Horandveruncert; + extern asn_SEQUENCE_specifics_t asn_SPC_Horandveruncert_specs_1; + extern asn_TYPE_member_t asn_MBR_Horandveruncert_1[6]; #ifdef __cplusplus } #endif -#endif /* _Horandveruncert_H_ */ +#endif /* _Horandveruncert_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Horandvervel.h b/src/core/libs/supl2/asn-supl2/Horandvervel.h index 86a21ec09..49ee2902f 100644 --- a/src/core/libs/supl2/asn-supl2/Horandvervel.h +++ b/src/core/libs/supl2/asn-supl2/Horandvervel.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Horandvervel_H_ -#define _Horandvervel_H_ +#ifndef _Horandvervel_H_ +#define _Horandvervel_H_ #include "asn_application.h" @@ -16,32 +16,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Horandvervel */ -typedef struct Horandvervel { - BIT_STRING_t verdirect; - BIT_STRING_t bearing; - BIT_STRING_t horspeed; - BIT_STRING_t verspeed; - /* + /* Horandvervel */ + typedef struct Horandvervel + { + BIT_STRING_t verdirect; + BIT_STRING_t bearing; + BIT_STRING_t horspeed; + BIT_STRING_t verspeed; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Horandvervel_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Horandvervel; -extern asn_SEQUENCE_specifics_t asn_SPC_Horandvervel_specs_1; -extern asn_TYPE_member_t asn_MBR_Horandvervel_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Horandvervel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Horandvervel; + extern asn_SEQUENCE_specifics_t asn_SPC_Horandvervel_specs_1; + extern asn_TYPE_member_t asn_MBR_Horandvervel_1[4]; #ifdef __cplusplus } #endif -#endif /* _Horandvervel_H_ */ +#endif /* _Horandvervel_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Horvel.h b/src/core/libs/supl2/asn-supl2/Horvel.h index 29a716649..992fbc8f2 100644 --- a/src/core/libs/supl2/asn-supl2/Horvel.h +++ b/src/core/libs/supl2/asn-supl2/Horvel.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Horvel_H_ -#define _Horvel_H_ +#ifndef _Horvel_H_ +#define _Horvel_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Horvel */ -typedef struct Horvel { - BIT_STRING_t bearing; - BIT_STRING_t horspeed; - /* + /* Horvel */ + typedef struct Horvel + { + BIT_STRING_t bearing; + BIT_STRING_t horspeed; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Horvel_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Horvel; -extern asn_SEQUENCE_specifics_t asn_SPC_Horvel_specs_1; -extern asn_TYPE_member_t asn_MBR_Horvel_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Horvel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Horvel; + extern asn_SEQUENCE_specifics_t asn_SPC_Horvel_specs_1; + extern asn_TYPE_member_t asn_MBR_Horvel_1[2]; #ifdef __cplusplus } #endif -#endif /* _Horvel_H_ */ +#endif /* _Horvel_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Horveluncert.h b/src/core/libs/supl2/asn-supl2/Horveluncert.h index 3b12e45ee..1018f1c2b 100644 --- a/src/core/libs/supl2/asn-supl2/Horveluncert.h +++ b/src/core/libs/supl2/asn-supl2/Horveluncert.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Horveluncert_H_ -#define _Horveluncert_H_ +#ifndef _Horveluncert_H_ +#define _Horveluncert_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Horveluncert */ -typedef struct Horveluncert { - BIT_STRING_t bearing; - BIT_STRING_t horspeed; - BIT_STRING_t uncertspeed; - /* + /* Horveluncert */ + typedef struct Horveluncert + { + BIT_STRING_t bearing; + BIT_STRING_t horspeed; + BIT_STRING_t uncertspeed; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Horveluncert_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Horveluncert; -extern asn_SEQUENCE_specifics_t asn_SPC_Horveluncert_specs_1; -extern asn_TYPE_member_t asn_MBR_Horveluncert_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Horveluncert_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Horveluncert; + extern asn_SEQUENCE_specifics_t asn_SPC_Horveluncert_specs_1; + extern asn_TYPE_member_t asn_MBR_Horveluncert_1[3]; #ifdef __cplusplus } #endif -#endif /* _Horveluncert_H_ */ +#endif /* _Horveluncert_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/HrpdCellInformation.h b/src/core/libs/supl2/asn-supl2/HrpdCellInformation.h index 946937fba..e292ddeda 100644 --- a/src/core/libs/supl2/asn-supl2/HrpdCellInformation.h +++ b/src/core/libs/supl2/asn-supl2/HrpdCellInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _HrpdCellInformation_H_ -#define _HrpdCellInformation_H_ +#ifndef _HrpdCellInformation_H_ +#define _HrpdCellInformation_H_ #include "asn_application.h" @@ -17,33 +17,35 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* HrpdCellInformation */ -typedef struct HrpdCellInformation { - BIT_STRING_t *refSECTORID /* OPTIONAL */; - long refBASELAT; - long reBASELONG; - long refWeekNumber; - long refSeconds; - /* + /* HrpdCellInformation */ + typedef struct HrpdCellInformation + { + BIT_STRING_t *refSECTORID /* OPTIONAL */; + long refBASELAT; + long reBASELONG; + long refWeekNumber; + long refSeconds; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} HrpdCellInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_HrpdCellInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_HrpdCellInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_HrpdCellInformation_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } HrpdCellInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_HrpdCellInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_HrpdCellInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_HrpdCellInformation_1[5]; #ifdef __cplusplus } #endif -#endif /* _HrpdCellInformation_H_ */ +#endif /* _HrpdCellInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/IPAddress.h b/src/core/libs/supl2/asn-supl2/IPAddress.h index 2354a8a52..3b5af454e 100644 --- a/src/core/libs/supl2/asn-supl2/IPAddress.h +++ b/src/core/libs/supl2/asn-supl2/IPAddress.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _IPAddress_H_ -#define _IPAddress_H_ +#ifndef _IPAddress_H_ +#define _IPAddress_H_ #include "asn_application.h" @@ -16,37 +16,41 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum IPAddress_PR { - IPAddress_PR_NOTHING, /* No components present */ - IPAddress_PR_ipv4Address, - IPAddress_PR_ipv6Address -} IPAddress_PR; + /* Dependencies */ + typedef enum IPAddress_PR + { + IPAddress_PR_NOTHING, /* No components present */ + IPAddress_PR_ipv4Address, + IPAddress_PR_ipv6Address + } IPAddress_PR; -/* IPAddress */ -typedef struct IPAddress { - IPAddress_PR present; - union IPAddress_u { - OCTET_STRING_t ipv4Address; - OCTET_STRING_t ipv6Address; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} IPAddress_t; + /* IPAddress */ + typedef struct IPAddress + { + IPAddress_PR present; + union IPAddress_u + { + OCTET_STRING_t ipv4Address; + OCTET_STRING_t ipv6Address; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_IPAddress; -extern asn_CHOICE_specifics_t asn_SPC_IPAddress_specs_1; -extern asn_TYPE_member_t asn_MBR_IPAddress_1[2]; -extern asn_per_constraints_t asn_PER_type_IPAddress_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } IPAddress_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_IPAddress; + extern asn_CHOICE_specifics_t asn_SPC_IPAddress_specs_1; + extern asn_TYPE_member_t asn_MBR_IPAddress_1[2]; + extern asn_per_constraints_t asn_PER_type_IPAddress_constr_1; #ifdef __cplusplus } #endif -#endif /* _IPAddress_H_ */ +#endif /* _IPAddress_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/KeyIdentity.h b/src/core/libs/supl2/asn-supl2/KeyIdentity.h index 997363da3..0118d0d13 100644 --- a/src/core/libs/supl2/asn-supl2/KeyIdentity.h +++ b/src/core/libs/supl2/asn-supl2/KeyIdentity.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _KeyIdentity_H_ -#define _KeyIdentity_H_ +#ifndef _KeyIdentity_H_ +#define _KeyIdentity_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* KeyIdentity */ -typedef BIT_STRING_t KeyIdentity_t; + /* KeyIdentity */ + typedef BIT_STRING_t KeyIdentity_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_KeyIdentity_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_KeyIdentity; -asn_struct_free_f KeyIdentity_free; -asn_struct_print_f KeyIdentity_print; -asn_constr_check_f KeyIdentity_constraint; -ber_type_decoder_f KeyIdentity_decode_ber; -der_type_encoder_f KeyIdentity_encode_der; -xer_type_decoder_f KeyIdentity_decode_xer; -xer_type_encoder_f KeyIdentity_encode_xer; -per_type_decoder_f KeyIdentity_decode_uper; -per_type_encoder_f KeyIdentity_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_KeyIdentity_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_KeyIdentity; + asn_struct_free_f KeyIdentity_free; + asn_struct_print_f KeyIdentity_print; + asn_constr_check_f KeyIdentity_constraint; + ber_type_decoder_f KeyIdentity_decode_ber; + der_type_encoder_f KeyIdentity_encode_der; + xer_type_decoder_f KeyIdentity_decode_xer; + xer_type_encoder_f KeyIdentity_encode_xer; + per_type_decoder_f KeyIdentity_decode_uper; + per_type_encoder_f KeyIdentity_encode_uper; #ifdef __cplusplus } #endif -#endif /* _KeyIdentity_H_ */ +#endif /* _KeyIdentity_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/KeyIdentity4.h b/src/core/libs/supl2/asn-supl2/KeyIdentity4.h index 388f4a42c..b884b4819 100644 --- a/src/core/libs/supl2/asn-supl2/KeyIdentity4.h +++ b/src/core/libs/supl2/asn-supl2/KeyIdentity4.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _KeyIdentity4_H_ -#define _KeyIdentity4_H_ +#ifndef _KeyIdentity4_H_ +#define _KeyIdentity4_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* KeyIdentity4 */ -typedef BIT_STRING_t KeyIdentity4_t; + /* KeyIdentity4 */ + typedef BIT_STRING_t KeyIdentity4_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_KeyIdentity4_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_KeyIdentity4; -asn_struct_free_f KeyIdentity4_free; -asn_struct_print_f KeyIdentity4_print; -asn_constr_check_f KeyIdentity4_constraint; -ber_type_decoder_f KeyIdentity4_decode_ber; -der_type_encoder_f KeyIdentity4_encode_der; -xer_type_decoder_f KeyIdentity4_decode_xer; -xer_type_encoder_f KeyIdentity4_encode_xer; -per_type_decoder_f KeyIdentity4_decode_uper; -per_type_encoder_f KeyIdentity4_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_KeyIdentity4_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_KeyIdentity4; + asn_struct_free_f KeyIdentity4_free; + asn_struct_print_f KeyIdentity4_print; + asn_constr_check_f KeyIdentity4_constraint; + ber_type_decoder_f KeyIdentity4_decode_ber; + der_type_encoder_f KeyIdentity4_encode_der; + xer_type_decoder_f KeyIdentity4_decode_xer; + xer_type_encoder_f KeyIdentity4_encode_xer; + per_type_decoder_f KeyIdentity4_decode_uper; + per_type_encoder_f KeyIdentity4_encode_uper; #ifdef __cplusplus } #endif -#endif /* _KeyIdentity4_H_ */ +#endif /* _KeyIdentity4_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/LTEAreaId.h b/src/core/libs/supl2/asn-supl2/LTEAreaId.h index f5b1d4fee..2fb3bf538 100644 --- a/src/core/libs/supl2/asn-supl2/LTEAreaId.h +++ b/src/core/libs/supl2/asn-supl2/LTEAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _LTEAreaId_H_ -#define _LTEAreaId_H_ +#ifndef _LTEAreaId_H_ +#define _LTEAreaId_H_ #include "asn_application.h" @@ -17,31 +17,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* LTEAreaId */ -typedef struct LTEAreaId { - long *refMCC /* OPTIONAL */; - long *refMNC /* OPTIONAL */; - BIT_STRING_t *refCI /* OPTIONAL */; - /* + /* LTEAreaId */ + typedef struct LTEAreaId + { + long *refMCC /* OPTIONAL */; + long *refMNC /* OPTIONAL */; + BIT_STRING_t *refCI /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LTEAreaId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LTEAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_LTEAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_LTEAreaId_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LTEAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_LTEAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_LTEAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_LTEAreaId_1[3]; #ifdef __cplusplus } #endif -#endif /* _LTEAreaId_H_ */ +#endif /* _LTEAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/LocationData.h b/src/core/libs/supl2/asn-supl2/LocationData.h index d64b9563a..f86a74593 100644 --- a/src/core/libs/supl2/asn-supl2/LocationData.h +++ b/src/core/libs/supl2/asn-supl2/LocationData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _LocationData_H_ -#define _LocationData_H_ +#ifndef _LocationData_H_ +#define _LocationData_H_ #include "asn_application.h" @@ -17,31 +17,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* LocationData */ -typedef struct LocationData { - unsigned long *locationAccuracy /* OPTIONAL */; - OCTET_STRING_t locationValue; - /* + /* LocationData */ + typedef struct LocationData + { + unsigned long *locationAccuracy /* OPTIONAL */; + OCTET_STRING_t locationValue; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LocationData_t; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_locationAccuracy_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_LocationData; -extern asn_SEQUENCE_specifics_t asn_SPC_LocationData_specs_1; -extern asn_TYPE_member_t asn_MBR_LocationData_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LocationData_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_locationAccuracy_2; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_LocationData; + extern asn_SEQUENCE_specifics_t asn_SPC_LocationData_specs_1; + extern asn_TYPE_member_t asn_MBR_LocationData_1[2]; #ifdef __cplusplus } #endif -#endif /* _LocationData_H_ */ +#endif /* _LocationData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/LocationEncodingDescriptor.h b/src/core/libs/supl2/asn-supl2/LocationEncodingDescriptor.h index 2beeabeb0..538cd3af7 100644 --- a/src/core/libs/supl2/asn-supl2/LocationEncodingDescriptor.h +++ b/src/core/libs/supl2/asn-supl2/LocationEncodingDescriptor.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _LocationEncodingDescriptor_H_ -#define _LocationEncodingDescriptor_H_ +#ifndef _LocationEncodingDescriptor_H_ +#define _LocationEncodingDescriptor_H_ #include "asn_application.h" @@ -15,38 +15,40 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum LocationEncodingDescriptor { - LocationEncodingDescriptor_lCI = 0, - LocationEncodingDescriptor_aSN1 = 1 - /* + /* Dependencies */ + typedef enum LocationEncodingDescriptor + { + LocationEncodingDescriptor_lCI = 0, + LocationEncodingDescriptor_aSN1 = 1 + /* * Enumeration is extensible */ -} e_LocationEncodingDescriptor; + } e_LocationEncodingDescriptor; -/* LocationEncodingDescriptor */ -typedef long LocationEncodingDescriptor_t; + /* LocationEncodingDescriptor */ + typedef long LocationEncodingDescriptor_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_LocationEncodingDescriptor_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_LocationEncodingDescriptor; -extern const asn_INTEGER_specifics_t asn_SPC_LocationEncodingDescriptor_specs_1; -asn_struct_free_f LocationEncodingDescriptor_free; -asn_struct_print_f LocationEncodingDescriptor_print; -asn_constr_check_f LocationEncodingDescriptor_constraint; -ber_type_decoder_f LocationEncodingDescriptor_decode_ber; -der_type_encoder_f LocationEncodingDescriptor_encode_der; -xer_type_decoder_f LocationEncodingDescriptor_decode_xer; -xer_type_encoder_f LocationEncodingDescriptor_encode_xer; -per_type_decoder_f LocationEncodingDescriptor_decode_uper; -per_type_encoder_f LocationEncodingDescriptor_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_LocationEncodingDescriptor_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_LocationEncodingDescriptor; + extern const asn_INTEGER_specifics_t asn_SPC_LocationEncodingDescriptor_specs_1; + asn_struct_free_f LocationEncodingDescriptor_free; + asn_struct_print_f LocationEncodingDescriptor_print; + asn_constr_check_f LocationEncodingDescriptor_constraint; + ber_type_decoder_f LocationEncodingDescriptor_decode_ber; + der_type_encoder_f LocationEncodingDescriptor_encode_der; + xer_type_decoder_f LocationEncodingDescriptor_decode_xer; + xer_type_encoder_f LocationEncodingDescriptor_encode_xer; + per_type_decoder_f LocationEncodingDescriptor_decode_uper; + per_type_encoder_f LocationEncodingDescriptor_encode_uper; #ifdef __cplusplus } #endif -#endif /* _LocationEncodingDescriptor_H_ */ +#endif /* _LocationEncodingDescriptor_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/LocationId.h b/src/core/libs/supl2/asn-supl2/LocationId.h index bf8022796..d536a811d 100644 --- a/src/core/libs/supl2/asn-supl2/LocationId.h +++ b/src/core/libs/supl2/asn-supl2/LocationId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _LocationId_H_ -#define _LocationId_H_ +#ifndef _LocationId_H_ +#define _LocationId_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* LocationId */ -typedef struct LocationId { - CellInfo_t cellInfo; - Status_t status; - /* + /* LocationId */ + typedef struct LocationId + { + CellInfo_t cellInfo; + Status_t status; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LocationId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LocationId; -extern asn_SEQUENCE_specifics_t asn_SPC_LocationId_specs_1; -extern asn_TYPE_member_t asn_MBR_LocationId_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LocationId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_LocationId; + extern asn_SEQUENCE_specifics_t asn_SPC_LocationId_specs_1; + extern asn_TYPE_member_t asn_MBR_LocationId_1[2]; #ifdef __cplusplus } #endif -#endif /* _LocationId_H_ */ +#endif /* _LocationId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/LocationIdData.h b/src/core/libs/supl2/asn-supl2/LocationIdData.h index e2cd098fc..dc66b281c 100644 --- a/src/core/libs/supl2/asn-supl2/LocationIdData.h +++ b/src/core/libs/supl2/asn-supl2/LocationIdData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _LocationIdData_H_ -#define _LocationIdData_H_ +#ifndef _LocationIdData_H_ +#define _LocationIdData_H_ #include "asn_application.h" @@ -18,31 +18,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* LocationIdData */ -typedef struct LocationIdData { - LocationId_t locationId; - RelativeTime_t *relativetimestamp /* OPTIONAL */; - BOOLEAN_t servingFlag; - /* + /* LocationIdData */ + typedef struct LocationIdData + { + LocationId_t locationId; + RelativeTime_t *relativetimestamp /* OPTIONAL */; + BOOLEAN_t servingFlag; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LocationIdData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LocationIdData; -extern asn_SEQUENCE_specifics_t asn_SPC_LocationIdData_specs_1; -extern asn_TYPE_member_t asn_MBR_LocationIdData_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LocationIdData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_LocationIdData; + extern asn_SEQUENCE_specifics_t asn_SPC_LocationIdData_specs_1; + extern asn_TYPE_member_t asn_MBR_LocationIdData_1[3]; #ifdef __cplusplus } #endif -#endif /* _LocationIdData_H_ */ +#endif /* _LocationIdData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/LteCellInformation.h b/src/core/libs/supl2/asn-supl2/LteCellInformation.h index 2c296e18f..ed21b5861 100644 --- a/src/core/libs/supl2/asn-supl2/LteCellInformation.h +++ b/src/core/libs/supl2/asn-supl2/LteCellInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _LteCellInformation_H_ -#define _LteCellInformation_H_ +#ifndef _LteCellInformation_H_ +#define _LteCellInformation_H_ #include "asn_application.h" @@ -21,34 +21,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MeasResultListEUTRA; + /* Forward declarations */ + struct MeasResultListEUTRA; -/* LteCellInformation */ -typedef struct LteCellInformation { - CellGlobalIdEUTRA_t cellGlobalIdEUTRA; - PhysCellId_t physCellId; - TrackingAreaCode_t trackingAreaCode; - RSRP_Range_t *rsrpResult /* OPTIONAL */; - RSRQ_Range_t *rsrqResult /* OPTIONAL */; - long *tA /* OPTIONAL */; - struct MeasResultListEUTRA *measResultListEUTRA /* OPTIONAL */; - /* + /* LteCellInformation */ + typedef struct LteCellInformation + { + CellGlobalIdEUTRA_t cellGlobalIdEUTRA; + PhysCellId_t physCellId; + TrackingAreaCode_t trackingAreaCode; + RSRP_Range_t *rsrpResult /* OPTIONAL */; + RSRQ_Range_t *rsrqResult /* OPTIONAL */; + long *tA /* OPTIONAL */; + struct MeasResultListEUTRA *measResultListEUTRA /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} LteCellInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_LteCellInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_LteCellInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_LteCellInformation_1[7]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } LteCellInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_LteCellInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_LteCellInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_LteCellInformation_1[7]; #ifdef __cplusplus } @@ -57,5 +59,5 @@ extern asn_TYPE_member_t asn_MBR_LteCellInformation_1[7]; /* Referred external types */ #include "MeasResultListEUTRA.h" -#endif /* _LteCellInformation_H_ */ +#endif /* _LteCellInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MAC.h b/src/core/libs/supl2/asn-supl2/MAC.h index 89d8e8a96..86ebc707f 100644 --- a/src/core/libs/supl2/asn-supl2/MAC.h +++ b/src/core/libs/supl2/asn-supl2/MAC.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MAC_H_ -#define _MAC_H_ +#ifndef _MAC_H_ +#define _MAC_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MAC */ -typedef BIT_STRING_t MAC_t; + /* MAC */ + typedef BIT_STRING_t MAC_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_MAC_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_MAC; -asn_struct_free_f MAC_free; -asn_struct_print_f MAC_print; -asn_constr_check_f MAC_constraint; -ber_type_decoder_f MAC_decode_ber; -der_type_encoder_f MAC_encode_der; -xer_type_decoder_f MAC_decode_xer; -xer_type_encoder_f MAC_encode_xer; -per_type_decoder_f MAC_decode_uper; -per_type_encoder_f MAC_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_MAC_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_MAC; + asn_struct_free_f MAC_free; + asn_struct_print_f MAC_print; + asn_constr_check_f MAC_constraint; + ber_type_decoder_f MAC_decode_ber; + der_type_encoder_f MAC_encode_der; + xer_type_decoder_f MAC_decode_xer; + xer_type_encoder_f MAC_encode_xer; + per_type_decoder_f MAC_decode_uper; + per_type_encoder_f MAC_encode_uper; #ifdef __cplusplus } #endif -#endif /* _MAC_H_ */ +#endif /* _MAC_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MCC-MNC-Digit.h b/src/core/libs/supl2/asn-supl2/MCC-MNC-Digit.h index 6a0b7b261..b939b786b 100644 --- a/src/core/libs/supl2/asn-supl2/MCC-MNC-Digit.h +++ b/src/core/libs/supl2/asn-supl2/MCC-MNC-Digit.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MCC_MNC_Digit_H_ -#define _MCC_MNC_Digit_H_ +#ifndef _MCC_MNC_Digit_H_ +#define _MCC_MNC_Digit_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MCC-MNC-Digit */ -typedef long MCC_MNC_Digit_t; + /* MCC-MNC-Digit */ + typedef long MCC_MNC_Digit_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_MCC_MNC_Digit_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_MCC_MNC_Digit; -asn_struct_free_f MCC_MNC_Digit_free; -asn_struct_print_f MCC_MNC_Digit_print; -asn_constr_check_f MCC_MNC_Digit_constraint; -ber_type_decoder_f MCC_MNC_Digit_decode_ber; -der_type_encoder_f MCC_MNC_Digit_encode_der; -xer_type_decoder_f MCC_MNC_Digit_decode_xer; -xer_type_encoder_f MCC_MNC_Digit_encode_xer; -per_type_decoder_f MCC_MNC_Digit_decode_uper; -per_type_encoder_f MCC_MNC_Digit_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_MCC_MNC_Digit_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_MCC_MNC_Digit; + asn_struct_free_f MCC_MNC_Digit_free; + asn_struct_print_f MCC_MNC_Digit_print; + asn_constr_check_f MCC_MNC_Digit_constraint; + ber_type_decoder_f MCC_MNC_Digit_decode_ber; + der_type_encoder_f MCC_MNC_Digit_encode_der; + xer_type_decoder_f MCC_MNC_Digit_decode_xer; + xer_type_encoder_f MCC_MNC_Digit_encode_xer; + per_type_decoder_f MCC_MNC_Digit_decode_uper; + per_type_encoder_f MCC_MNC_Digit_encode_uper; #ifdef __cplusplus } #endif -#endif /* _MCC_MNC_Digit_H_ */ +#endif /* _MCC_MNC_Digit_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MCC.h b/src/core/libs/supl2/asn-supl2/MCC.h index c5c1e49f4..0d53b298d 100644 --- a/src/core/libs/supl2/asn-supl2/MCC.h +++ b/src/core/libs/supl2/asn-supl2/MCC.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MCC_H_ -#define _MCC_H_ +#ifndef _MCC_H_ +#define _MCC_H_ #include "asn_application.h" @@ -17,26 +17,29 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MCC */ -typedef struct MCC { - A_SEQUENCE_OF(MCC_MNC_Digit_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MCC_t; + /* MCC */ + typedef struct MCC + { + A_SEQUENCE_OF(MCC_MNC_Digit_t) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MCC; -extern asn_SET_OF_specifics_t asn_SPC_MCC_specs_1; -extern asn_TYPE_member_t asn_MBR_MCC_1[1]; -extern asn_per_constraints_t asn_PER_type_MCC_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MCC_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MCC; + extern asn_SET_OF_specifics_t asn_SPC_MCC_specs_1; + extern asn_TYPE_member_t asn_MBR_MCC_1[1]; + extern asn_per_constraints_t asn_PER_type_MCC_constr_1; #ifdef __cplusplus } #endif -#endif /* _MCC_H_ */ +#endif /* _MCC_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MNC.h b/src/core/libs/supl2/asn-supl2/MNC.h index 0be2b8e15..2b10c4c72 100644 --- a/src/core/libs/supl2/asn-supl2/MNC.h +++ b/src/core/libs/supl2/asn-supl2/MNC.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MNC_H_ -#define _MNC_H_ +#ifndef _MNC_H_ +#define _MNC_H_ #include "asn_application.h" @@ -17,26 +17,29 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MNC */ -typedef struct MNC { - A_SEQUENCE_OF(MCC_MNC_Digit_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MNC_t; + /* MNC */ + typedef struct MNC + { + A_SEQUENCE_OF(MCC_MNC_Digit_t) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MNC; -extern asn_SET_OF_specifics_t asn_SPC_MNC_specs_1; -extern asn_TYPE_member_t asn_MBR_MNC_1[1]; -extern asn_per_constraints_t asn_PER_type_MNC_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MNC_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MNC; + extern asn_SET_OF_specifics_t asn_SPC_MNC_specs_1; + extern asn_TYPE_member_t asn_MBR_MNC_1[1]; + extern asn_per_constraints_t asn_PER_type_MNC_constr_1; #ifdef __cplusplus } #endif -#endif /* _MNC_H_ */ +#endif /* _MNC_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MeasResultEUTRA.h b/src/core/libs/supl2/asn-supl2/MeasResultEUTRA.h index b4dceb68b..bea20bbb0 100644 --- a/src/core/libs/supl2/asn-supl2/MeasResultEUTRA.h +++ b/src/core/libs/supl2/asn-supl2/MeasResultEUTRA.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MeasResultEUTRA_H_ -#define _MeasResultEUTRA_H_ +#ifndef _MeasResultEUTRA_H_ +#define _MeasResultEUTRA_H_ #include "asn_application.h" @@ -20,43 +20,47 @@ #include "RSRQ-Range.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* MeasResultEUTRA */ -typedef struct MeasResultEUTRA { - PhysCellId_t physCellId; - struct MeasResultEUTRA__cgi_Info { - CellGlobalIdEUTRA_t cellGlobalId; - TrackingAreaCode_t trackingAreaCode; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *cgi_Info; - struct MeasResultEUTRA__measResult { - RSRP_Range_t *rsrpResult /* OPTIONAL */; - RSRQ_Range_t *rsrqResult /* OPTIONAL */; - /* + /* MeasResultEUTRA */ + typedef struct MeasResultEUTRA + { + PhysCellId_t physCellId; + struct MeasResultEUTRA__cgi_Info + { + CellGlobalIdEUTRA_t cellGlobalId; + TrackingAreaCode_t trackingAreaCode; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * cgi_Info; + struct MeasResultEUTRA__measResult + { + RSRP_Range_t *rsrpResult /* OPTIONAL */; + RSRQ_Range_t *rsrqResult /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } measResult; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultEUTRA_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultEUTRA; -extern asn_SEQUENCE_specifics_t asn_SPC_MeasResultEUTRA_specs_1; -extern asn_TYPE_member_t asn_MBR_MeasResultEUTRA_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } measResult; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MeasResultEUTRA_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MeasResultEUTRA; + extern asn_SEQUENCE_specifics_t asn_SPC_MeasResultEUTRA_specs_1; + extern asn_TYPE_member_t asn_MBR_MeasResultEUTRA_1[3]; #ifdef __cplusplus } #endif -#endif /* _MeasResultEUTRA_H_ */ +#endif /* _MeasResultEUTRA_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MeasResultListEUTRA.h b/src/core/libs/supl2/asn-supl2/MeasResultListEUTRA.h index 2c7532d5e..843ac091e 100644 --- a/src/core/libs/supl2/asn-supl2/MeasResultListEUTRA.h +++ b/src/core/libs/supl2/asn-supl2/MeasResultListEUTRA.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MeasResultListEUTRA_H_ -#define _MeasResultListEUTRA_H_ +#ifndef _MeasResultListEUTRA_H_ +#define _MeasResultListEUTRA_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MeasResultEUTRA; + /* Forward declarations */ + struct MeasResultEUTRA; -/* MeasResultListEUTRA */ -typedef struct MeasResultListEUTRA { - A_SEQUENCE_OF(struct MeasResultEUTRA) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasResultListEUTRA_t; + /* MeasResultListEUTRA */ + typedef struct MeasResultListEUTRA + { + A_SEQUENCE_OF(struct MeasResultEUTRA) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasResultListEUTRA; -extern asn_SET_OF_specifics_t asn_SPC_MeasResultListEUTRA_specs_1; -extern asn_TYPE_member_t asn_MBR_MeasResultListEUTRA_1[1]; -extern asn_per_constraints_t asn_PER_type_MeasResultListEUTRA_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MeasResultListEUTRA_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MeasResultListEUTRA; + extern asn_SET_OF_specifics_t asn_SPC_MeasResultListEUTRA_specs_1; + extern asn_TYPE_member_t asn_MBR_MeasResultListEUTRA_1[1]; + extern asn_per_constraints_t asn_PER_type_MeasResultListEUTRA_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_MeasResultListEUTRA_constr_1; /* Referred external types */ #include "MeasResultEUTRA.h" -#endif /* _MeasResultListEUTRA_H_ */ +#endif /* _MeasResultListEUTRA_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MeasuredResults.h b/src/core/libs/supl2/asn-supl2/MeasuredResults.h index 1caa92553..6c1ab5e62 100644 --- a/src/core/libs/supl2/asn-supl2/MeasuredResults.h +++ b/src/core/libs/supl2/asn-supl2/MeasuredResults.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MeasuredResults_H_ -#define _MeasuredResults_H_ +#ifndef _MeasuredResults_H_ +#define _MeasuredResults_H_ #include "asn_application.h" @@ -16,27 +16,29 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct FrequencyInfo; -struct CellMeasuredResultsList; + /* Forward declarations */ + struct FrequencyInfo; + struct CellMeasuredResultsList; -/* MeasuredResults */ -typedef struct MeasuredResults { - struct FrequencyInfo *frequencyInfo /* OPTIONAL */; - UTRA_CarrierRSSI_t *utra_CarrierRSSI /* OPTIONAL */; - struct CellMeasuredResultsList *cellMeasuredResultsList /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasuredResults_t; + /* MeasuredResults */ + typedef struct MeasuredResults + { + struct FrequencyInfo *frequencyInfo /* OPTIONAL */; + UTRA_CarrierRSSI_t *utra_CarrierRSSI /* OPTIONAL */; + struct CellMeasuredResultsList *cellMeasuredResultsList /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasuredResults; -extern asn_SEQUENCE_specifics_t asn_SPC_MeasuredResults_specs_1; -extern asn_TYPE_member_t asn_MBR_MeasuredResults_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MeasuredResults_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MeasuredResults; + extern asn_SEQUENCE_specifics_t asn_SPC_MeasuredResults_specs_1; + extern asn_TYPE_member_t asn_MBR_MeasuredResults_1[3]; #ifdef __cplusplus } @@ -46,5 +48,5 @@ extern asn_TYPE_member_t asn_MBR_MeasuredResults_1[3]; #include "FrequencyInfo.h" #include "CellMeasuredResultsList.h" -#endif /* _MeasuredResults_H_ */ +#endif /* _MeasuredResults_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MeasuredResultsList.h b/src/core/libs/supl2/asn-supl2/MeasuredResultsList.h index 02e713258..f828c640e 100644 --- a/src/core/libs/supl2/asn-supl2/MeasuredResultsList.h +++ b/src/core/libs/supl2/asn-supl2/MeasuredResultsList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MeasuredResultsList_H_ -#define _MeasuredResultsList_H_ +#ifndef _MeasuredResultsList_H_ +#define _MeasuredResultsList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MeasuredResults; + /* Forward declarations */ + struct MeasuredResults; -/* MeasuredResultsList */ -typedef struct MeasuredResultsList { - A_SEQUENCE_OF(struct MeasuredResults) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MeasuredResultsList_t; + /* MeasuredResultsList */ + typedef struct MeasuredResultsList + { + A_SEQUENCE_OF(struct MeasuredResults) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MeasuredResultsList; -extern asn_SET_OF_specifics_t asn_SPC_MeasuredResultsList_specs_1; -extern asn_TYPE_member_t asn_MBR_MeasuredResultsList_1[1]; -extern asn_per_constraints_t asn_PER_type_MeasuredResultsList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MeasuredResultsList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MeasuredResultsList; + extern asn_SET_OF_specifics_t asn_SPC_MeasuredResultsList_specs_1; + extern asn_TYPE_member_t asn_MBR_MeasuredResultsList_1[1]; + extern asn_per_constraints_t asn_PER_type_MeasuredResultsList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_MeasuredResultsList_constr_1; /* Referred external types */ #include "MeasuredResults.h" -#endif /* _MeasuredResultsList_H_ */ +#endif /* _MeasuredResultsList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/MultipleLocationIds.h b/src/core/libs/supl2/asn-supl2/MultipleLocationIds.h index ab197a64d..b8af6a71a 100644 --- a/src/core/libs/supl2/asn-supl2/MultipleLocationIds.h +++ b/src/core/libs/supl2/asn-supl2/MultipleLocationIds.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _MultipleLocationIds_H_ -#define _MultipleLocationIds_H_ +#ifndef _MultipleLocationIds_H_ +#define _MultipleLocationIds_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct LocationIdData; + /* Forward declarations */ + struct LocationIdData; -/* MultipleLocationIds */ -typedef struct MultipleLocationIds { - A_SEQUENCE_OF(struct LocationIdData) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} MultipleLocationIds_t; + /* MultipleLocationIds */ + typedef struct MultipleLocationIds + { + A_SEQUENCE_OF(struct LocationIdData) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_MultipleLocationIds; -extern asn_SET_OF_specifics_t asn_SPC_MultipleLocationIds_specs_1; -extern asn_TYPE_member_t asn_MBR_MultipleLocationIds_1[1]; -extern asn_per_constraints_t asn_PER_type_MultipleLocationIds_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } MultipleLocationIds_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_MultipleLocationIds; + extern asn_SET_OF_specifics_t asn_SPC_MultipleLocationIds_specs_1; + extern asn_TYPE_member_t asn_MBR_MultipleLocationIds_1[1]; + extern asn_per_constraints_t asn_PER_type_MultipleLocationIds_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_MultipleLocationIds_constr_1; /* Referred external types */ #include "LocationIdData.h" -#endif /* _MultipleLocationIds_H_ */ +#endif /* _MultipleLocationIds_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/NMR.h b/src/core/libs/supl2/asn-supl2/NMR.h index 160e23124..b19fe57fc 100644 --- a/src/core/libs/supl2/asn-supl2/NMR.h +++ b/src/core/libs/supl2/asn-supl2/NMR.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _NMR_H_ -#define _NMR_H_ +#ifndef _NMR_H_ +#define _NMR_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct NMRelement; + /* Forward declarations */ + struct NMRelement; -/* NMR */ -typedef struct NMR { - A_SEQUENCE_OF(struct NMRelement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NMR_t; + /* NMR */ + typedef struct NMR + { + A_SEQUENCE_OF(struct NMRelement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NMR; -extern asn_SET_OF_specifics_t asn_SPC_NMR_specs_1; -extern asn_TYPE_member_t asn_MBR_NMR_1[1]; -extern asn_per_constraints_t asn_PER_type_NMR_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NMR_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NMR; + extern asn_SET_OF_specifics_t asn_SPC_NMR_specs_1; + extern asn_TYPE_member_t asn_MBR_NMR_1[1]; + extern asn_per_constraints_t asn_PER_type_NMR_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_NMR_constr_1; /* Referred external types */ #include "NMRelement.h" -#endif /* _NMR_H_ */ +#endif /* _NMR_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/NMRelement.h b/src/core/libs/supl2/asn-supl2/NMRelement.h index 6525bb284..b6a495074 100644 --- a/src/core/libs/supl2/asn-supl2/NMRelement.h +++ b/src/core/libs/supl2/asn-supl2/NMRelement.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _NMRelement_H_ -#define _NMRelement_H_ +#ifndef _NMRelement_H_ +#define _NMRelement_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* NMRelement */ -typedef struct NMRelement { - long aRFCN; - long bSIC; - long rxLev; - /* + /* NMRelement */ + typedef struct NMRelement + { + long aRFCN; + long bSIC; + long rxLev; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NMRelement_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NMRelement; -extern asn_SEQUENCE_specifics_t asn_SPC_NMRelement_specs_1; -extern asn_TYPE_member_t asn_MBR_NMRelement_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NMRelement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NMRelement; + extern asn_SEQUENCE_specifics_t asn_SPC_NMRelement_specs_1; + extern asn_TYPE_member_t asn_MBR_NMRelement_1[3]; #ifdef __cplusplus } #endif -#endif /* _NMRelement_H_ */ +#endif /* _NMRelement_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/NavigationModel.h b/src/core/libs/supl2/asn-supl2/NavigationModel.h index 02d721665..5a402f1d2 100644 --- a/src/core/libs/supl2/asn-supl2/NavigationModel.h +++ b/src/core/libs/supl2/asn-supl2/NavigationModel.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _NavigationModel_H_ -#define _NavigationModel_H_ +#ifndef _NavigationModel_H_ +#define _NavigationModel_H_ #include "asn_application.h" @@ -16,32 +16,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SatelliteInfo; + /* Forward declarations */ + struct SatelliteInfo; -/* NavigationModel */ -typedef struct NavigationModel { - long gpsWeek; - long gpsToe; - long nSAT; - long toeLimit; - struct SatelliteInfo *satInfo /* OPTIONAL */; - /* + /* NavigationModel */ + typedef struct NavigationModel + { + long gpsWeek; + long gpsToe; + long nSAT; + long toeLimit; + struct SatelliteInfo *satInfo /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} NavigationModel_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_NavigationModel; -extern asn_SEQUENCE_specifics_t asn_SPC_NavigationModel_specs_1; -extern asn_TYPE_member_t asn_MBR_NavigationModel_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } NavigationModel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_NavigationModel; + extern asn_SEQUENCE_specifics_t asn_SPC_NavigationModel_specs_1; + extern asn_TYPE_member_t asn_MBR_NavigationModel_1[5]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_NavigationModel_1[5]; /* Referred external types */ #include "SatelliteInfo.h" -#endif /* _NavigationModel_H_ */ +#endif /* _NavigationModel_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Notification.h b/src/core/libs/supl2/asn-supl2/Notification.h index 87ea27520..566623dfb 100644 --- a/src/core/libs/supl2/asn-supl2/Notification.h +++ b/src/core/libs/supl2/asn-supl2/Notification.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Notification_H_ -#define _Notification_H_ +#ifndef _Notification_H_ +#define _Notification_H_ #include "asn_application.h" @@ -19,34 +19,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Ver2_Notification_extension; + /* Forward declarations */ + struct Ver2_Notification_extension; -/* Notification */ -typedef struct Notification { - NotificationType_t notificationType; - EncodingType_t *encodingType /* OPTIONAL */; - OCTET_STRING_t *requestorId /* OPTIONAL */; - FormatIndicator_t *requestorIdType /* OPTIONAL */; - OCTET_STRING_t *clientName /* OPTIONAL */; - FormatIndicator_t *clientNameType /* OPTIONAL */; - /* + /* Notification */ + typedef struct Notification + { + NotificationType_t notificationType; + EncodingType_t *encodingType /* OPTIONAL */; + OCTET_STRING_t *requestorId /* OPTIONAL */; + FormatIndicator_t *requestorIdType /* OPTIONAL */; + OCTET_STRING_t *clientName /* OPTIONAL */; + FormatIndicator_t *clientNameType /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_Notification_extension *ver2_Notification_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Notification_t; + struct Ver2_Notification_extension *ver2_Notification_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Notification; -extern asn_SEQUENCE_specifics_t asn_SPC_Notification_specs_1; -extern asn_TYPE_member_t asn_MBR_Notification_1[7]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Notification_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Notification; + extern asn_SEQUENCE_specifics_t asn_SPC_Notification_specs_1; + extern asn_TYPE_member_t asn_MBR_Notification_1[7]; #ifdef __cplusplus } @@ -55,5 +57,5 @@ extern asn_TYPE_member_t asn_MBR_Notification_1[7]; /* Referred external types */ #include "Ver2-Notification-extension.h" -#endif /* _Notification_H_ */ +#endif /* _Notification_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/NotificationMode.h b/src/core/libs/supl2/asn-supl2/NotificationMode.h index d62c2a8ba..62b0d184d 100644 --- a/src/core/libs/supl2/asn-supl2/NotificationMode.h +++ b/src/core/libs/supl2/asn-supl2/NotificationMode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _NotificationMode_H_ -#define _NotificationMode_H_ +#ifndef _NotificationMode_H_ +#define _NotificationMode_H_ #include "asn_application.h" @@ -15,38 +15,40 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum NotificationMode { - NotificationMode_normal = 0, - NotificationMode_basedOnLocation = 1 - /* + /* Dependencies */ + typedef enum NotificationMode + { + NotificationMode_normal = 0, + NotificationMode_basedOnLocation = 1 + /* * Enumeration is extensible */ -} e_NotificationMode; + } e_NotificationMode; -/* NotificationMode */ -typedef long NotificationMode_t; + /* NotificationMode */ + typedef long NotificationMode_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_NotificationMode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_NotificationMode; -extern const asn_INTEGER_specifics_t asn_SPC_NotificationMode_specs_1; -asn_struct_free_f NotificationMode_free; -asn_struct_print_f NotificationMode_print; -asn_constr_check_f NotificationMode_constraint; -ber_type_decoder_f NotificationMode_decode_ber; -der_type_encoder_f NotificationMode_encode_der; -xer_type_decoder_f NotificationMode_decode_xer; -xer_type_encoder_f NotificationMode_encode_xer; -per_type_decoder_f NotificationMode_decode_uper; -per_type_encoder_f NotificationMode_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_NotificationMode_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_NotificationMode; + extern const asn_INTEGER_specifics_t asn_SPC_NotificationMode_specs_1; + asn_struct_free_f NotificationMode_free; + asn_struct_print_f NotificationMode_print; + asn_constr_check_f NotificationMode_constraint; + ber_type_decoder_f NotificationMode_decode_ber; + der_type_encoder_f NotificationMode_encode_der; + xer_type_decoder_f NotificationMode_decode_xer; + xer_type_encoder_f NotificationMode_encode_xer; + per_type_decoder_f NotificationMode_decode_uper; + per_type_encoder_f NotificationMode_encode_uper; #ifdef __cplusplus } #endif -#endif /* _NotificationMode_H_ */ +#endif /* _NotificationMode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/NotificationResponse.h b/src/core/libs/supl2/asn-supl2/NotificationResponse.h index c062bc92c..21c4b6b29 100644 --- a/src/core/libs/supl2/asn-supl2/NotificationResponse.h +++ b/src/core/libs/supl2/asn-supl2/NotificationResponse.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _NotificationResponse_H_ -#define _NotificationResponse_H_ +#ifndef _NotificationResponse_H_ +#define _NotificationResponse_H_ #include "asn_application.h" @@ -15,38 +15,40 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum NotificationResponse { - NotificationResponse_allowed = 0, - NotificationResponse_notAllowed = 1 - /* + /* Dependencies */ + typedef enum NotificationResponse + { + NotificationResponse_allowed = 0, + NotificationResponse_notAllowed = 1 + /* * Enumeration is extensible */ -} e_NotificationResponse; + } e_NotificationResponse; -/* NotificationResponse */ -typedef long NotificationResponse_t; + /* NotificationResponse */ + typedef long NotificationResponse_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_NotificationResponse_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_NotificationResponse; -extern const asn_INTEGER_specifics_t asn_SPC_NotificationResponse_specs_1; -asn_struct_free_f NotificationResponse_free; -asn_struct_print_f NotificationResponse_print; -asn_constr_check_f NotificationResponse_constraint; -ber_type_decoder_f NotificationResponse_decode_ber; -der_type_encoder_f NotificationResponse_encode_der; -xer_type_decoder_f NotificationResponse_decode_xer; -xer_type_encoder_f NotificationResponse_encode_xer; -per_type_decoder_f NotificationResponse_decode_uper; -per_type_encoder_f NotificationResponse_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_NotificationResponse_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_NotificationResponse; + extern const asn_INTEGER_specifics_t asn_SPC_NotificationResponse_specs_1; + asn_struct_free_f NotificationResponse_free; + asn_struct_print_f NotificationResponse_print; + asn_constr_check_f NotificationResponse_constraint; + ber_type_decoder_f NotificationResponse_decode_ber; + der_type_encoder_f NotificationResponse_encode_der; + xer_type_decoder_f NotificationResponse_decode_xer; + xer_type_encoder_f NotificationResponse_encode_xer; + per_type_decoder_f NotificationResponse_decode_uper; + per_type_encoder_f NotificationResponse_encode_uper; #ifdef __cplusplus } #endif -#endif /* _NotificationResponse_H_ */ +#endif /* _NotificationResponse_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/NotificationType.h b/src/core/libs/supl2/asn-supl2/NotificationType.h index 913a73636..c34e2ede7 100644 --- a/src/core/libs/supl2/asn-supl2/NotificationType.h +++ b/src/core/libs/supl2/asn-supl2/NotificationType.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _NotificationType_H_ -#define _NotificationType_H_ +#ifndef _NotificationType_H_ +#define _NotificationType_H_ #include "asn_application.h" @@ -15,41 +15,43 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum NotificationType { - NotificationType_noNotificationNoVerification = 0, - NotificationType_notificationOnly = 1, - NotificationType_notificationAndVerficationAllowedNA = 2, - NotificationType_notificationAndVerficationDeniedNA = 3, - NotificationType_privacyOverride = 4 - /* + /* Dependencies */ + typedef enum NotificationType + { + NotificationType_noNotificationNoVerification = 0, + NotificationType_notificationOnly = 1, + NotificationType_notificationAndVerficationAllowedNA = 2, + NotificationType_notificationAndVerficationDeniedNA = 3, + NotificationType_privacyOverride = 4 + /* * Enumeration is extensible */ -} e_NotificationType; + } e_NotificationType; -/* NotificationType */ -typedef long NotificationType_t; + /* NotificationType */ + typedef long NotificationType_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_NotificationType_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_NotificationType; -extern const asn_INTEGER_specifics_t asn_SPC_NotificationType_specs_1; -asn_struct_free_f NotificationType_free; -asn_struct_print_f NotificationType_print; -asn_constr_check_f NotificationType_constraint; -ber_type_decoder_f NotificationType_decode_ber; -der_type_encoder_f NotificationType_encode_der; -xer_type_decoder_f NotificationType_decode_xer; -xer_type_encoder_f NotificationType_encode_xer; -per_type_decoder_f NotificationType_decode_uper; -per_type_encoder_f NotificationType_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_NotificationType_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_NotificationType; + extern const asn_INTEGER_specifics_t asn_SPC_NotificationType_specs_1; + asn_struct_free_f NotificationType_free; + asn_struct_print_f NotificationType_print; + asn_constr_check_f NotificationType_constraint; + ber_type_decoder_f NotificationType_decode_ber; + der_type_encoder_f NotificationType_encode_der; + xer_type_decoder_f NotificationType_decode_xer; + xer_type_encoder_f NotificationType_encode_xer; + per_type_decoder_f NotificationType_decode_uper; + per_type_encoder_f NotificationType_encode_uper; #ifdef __cplusplus } #endif -#endif /* _NotificationType_H_ */ +#endif /* _NotificationType_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/OPEN_TYPE.h b/src/core/libs/supl2/asn-supl2/OPEN_TYPE.h index 011c280f1..a9861a146 100644 --- a/src/core/libs/supl2/asn-supl2/OPEN_TYPE.h +++ b/src/core/libs/supl2/asn-supl2/OPEN_TYPE.h @@ -8,7 +8,8 @@ #include "asn_application.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif #define OPEN_TYPE_free CHOICE_free @@ -21,43 +22,43 @@ extern "C" { #define OPEN_TYPE_encode_xer CHOICE_encode_xer #define OPEN_TYPE_decode_uper NULL -extern asn_TYPE_operation_t asn_OP_OPEN_TYPE; + extern asn_TYPE_operation_t asn_OP_OPEN_TYPE; -/* + /* * Decode an Open Type which is potentially constraiend * by the other members of the parent structure. */ -asn_dec_rval_t OPEN_TYPE_ber_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - const asn_TYPE_member_t *element, - const void *ptr, size_t size); + asn_dec_rval_t OPEN_TYPE_ber_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + const asn_TYPE_member_t *element, + const void *ptr, size_t size); -asn_dec_rval_t OPEN_TYPE_xer_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - const asn_TYPE_member_t *element, - const void *ptr, size_t size); + asn_dec_rval_t OPEN_TYPE_xer_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + const asn_TYPE_member_t *element, + const void *ptr, size_t size); -asn_dec_rval_t OPEN_TYPE_oer_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - asn_TYPE_member_t *element, const void *ptr, - size_t size); + asn_dec_rval_t OPEN_TYPE_oer_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + asn_TYPE_member_t *element, const void *ptr, + size_t size); -asn_dec_rval_t OPEN_TYPE_uper_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *parent_type, - void *parent_structure, - const asn_TYPE_member_t *element, - asn_per_data_t *pd); + asn_dec_rval_t OPEN_TYPE_uper_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *parent_type, + void *parent_structure, + const asn_TYPE_member_t *element, + asn_per_data_t *pd); -asn_enc_rval_t OPEN_TYPE_encode_uper( - const asn_TYPE_descriptor_t *type_descriptor, - const asn_per_constraints_t *constraints, const void *struct_ptr, - asn_per_outp_t *per_output); + asn_enc_rval_t OPEN_TYPE_encode_uper( + const asn_TYPE_descriptor_t *type_descriptor, + const asn_per_constraints_t *constraints, const void *struct_ptr, + asn_per_outp_t *per_output); #ifdef __cplusplus } #endif -#endif /* ASN_OPEN_TYPE_H */ +#endif /* ASN_OPEN_TYPE_H */ diff --git a/src/core/libs/supl2/asn-supl2/PLMN-Identity.h b/src/core/libs/supl2/asn-supl2/PLMN-Identity.h index fd0133ee1..43bc9c8c9 100644 --- a/src/core/libs/supl2/asn-supl2/PLMN-Identity.h +++ b/src/core/libs/supl2/asn-supl2/PLMN-Identity.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PLMN_Identity_H_ -#define _PLMN_Identity_H_ +#ifndef _PLMN_Identity_H_ +#define _PLMN_Identity_H_ #include "asn_application.h" @@ -16,25 +16,27 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MCC; + /* Forward declarations */ + struct MCC; -/* PLMN-Identity */ -typedef struct PLMN_Identity { - struct MCC *mcc /* OPTIONAL */; - MNC_t mnc; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PLMN_Identity_t; + /* PLMN-Identity */ + typedef struct PLMN_Identity + { + struct MCC *mcc /* OPTIONAL */; + MNC_t mnc; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PLMN_Identity; -extern asn_SEQUENCE_specifics_t asn_SPC_PLMN_Identity_specs_1; -extern asn_TYPE_member_t asn_MBR_PLMN_Identity_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PLMN_Identity_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PLMN_Identity; + extern asn_SEQUENCE_specifics_t asn_SPC_PLMN_Identity_specs_1; + extern asn_TYPE_member_t asn_MBR_PLMN_Identity_1[2]; #ifdef __cplusplus } @@ -43,5 +45,5 @@ extern asn_TYPE_member_t asn_MBR_PLMN_Identity_1[2]; /* Referred external types */ #include "MCC.h" -#endif /* _PLMN_Identity_H_ */ +#endif /* _PLMN_Identity_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Pathloss.h b/src/core/libs/supl2/asn-supl2/Pathloss.h index 292841d68..15b56380e 100644 --- a/src/core/libs/supl2/asn-supl2/Pathloss.h +++ b/src/core/libs/supl2/asn-supl2/Pathloss.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Pathloss_H_ -#define _Pathloss_H_ +#ifndef _Pathloss_H_ +#define _Pathloss_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Pathloss */ -typedef long Pathloss_t; + /* Pathloss */ + typedef long Pathloss_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Pathloss_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Pathloss; -asn_struct_free_f Pathloss_free; -asn_struct_print_f Pathloss_print; -asn_constr_check_f Pathloss_constraint; -ber_type_decoder_f Pathloss_decode_ber; -der_type_encoder_f Pathloss_encode_der; -xer_type_decoder_f Pathloss_decode_xer; -xer_type_encoder_f Pathloss_encode_xer; -per_type_decoder_f Pathloss_decode_uper; -per_type_encoder_f Pathloss_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_Pathloss_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_Pathloss; + asn_struct_free_f Pathloss_free; + asn_struct_print_f Pathloss_print; + asn_constr_check_f Pathloss_constraint; + ber_type_decoder_f Pathloss_decode_ber; + der_type_encoder_f Pathloss_encode_der; + xer_type_decoder_f Pathloss_decode_xer; + xer_type_encoder_f Pathloss_encode_xer; + per_type_decoder_f Pathloss_decode_uper; + per_type_encoder_f Pathloss_encode_uper; #ifdef __cplusplus } #endif -#endif /* _Pathloss_H_ */ +#endif /* _Pathloss_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PeriodicParams.h b/src/core/libs/supl2/asn-supl2/PeriodicParams.h index 424107952..e7a1c9551 100644 --- a/src/core/libs/supl2/asn-supl2/PeriodicParams.h +++ b/src/core/libs/supl2/asn-supl2/PeriodicParams.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PeriodicParams_H_ -#define _PeriodicParams_H_ +#ifndef _PeriodicParams_H_ +#define _PeriodicParams_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PeriodicParams */ -typedef struct PeriodicParams { - long numberOfFixes; - long intervalBetweenFixes; - long *startTime /* OPTIONAL */; - /* + /* PeriodicParams */ + typedef struct PeriodicParams + { + long numberOfFixes; + long intervalBetweenFixes; + long *startTime /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PeriodicParams_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PeriodicParams; -extern asn_SEQUENCE_specifics_t asn_SPC_PeriodicParams_specs_1; -extern asn_TYPE_member_t asn_MBR_PeriodicParams_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PeriodicParams_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PeriodicParams; + extern asn_SEQUENCE_specifics_t asn_SPC_PeriodicParams_specs_1; + extern asn_TYPE_member_t asn_MBR_PeriodicParams_1[3]; #ifdef __cplusplus } #endif -#endif /* _PeriodicParams_H_ */ +#endif /* _PeriodicParams_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PhysCellId.h b/src/core/libs/supl2/asn-supl2/PhysCellId.h index 3d9525e34..ab5de7525 100644 --- a/src/core/libs/supl2/asn-supl2/PhysCellId.h +++ b/src/core/libs/supl2/asn-supl2/PhysCellId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PhysCellId_H_ -#define _PhysCellId_H_ +#ifndef _PhysCellId_H_ +#define _PhysCellId_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PhysCellId */ -typedef long PhysCellId_t; + /* PhysCellId */ + typedef long PhysCellId_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PhysCellId_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PhysCellId; -asn_struct_free_f PhysCellId_free; -asn_struct_print_f PhysCellId_print; -asn_constr_check_f PhysCellId_constraint; -ber_type_decoder_f PhysCellId_decode_ber; -der_type_encoder_f PhysCellId_encode_der; -xer_type_decoder_f PhysCellId_decode_xer; -xer_type_encoder_f PhysCellId_encode_xer; -per_type_decoder_f PhysCellId_decode_uper; -per_type_encoder_f PhysCellId_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_PhysCellId_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_PhysCellId; + asn_struct_free_f PhysCellId_free; + asn_struct_print_f PhysCellId_print; + asn_constr_check_f PhysCellId_constraint; + ber_type_decoder_f PhysCellId_decode_ber; + der_type_encoder_f PhysCellId_encode_der; + xer_type_decoder_f PhysCellId_decode_xer; + xer_type_encoder_f PhysCellId_encode_xer; + per_type_decoder_f PhysCellId_decode_uper; + per_type_encoder_f PhysCellId_encode_uper; #ifdef __cplusplus } #endif -#endif /* _PhysCellId_H_ */ +#endif /* _PhysCellId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PolygonArea.h b/src/core/libs/supl2/asn-supl2/PolygonArea.h index 1adec1bdd..d37fb610e 100644 --- a/src/core/libs/supl2/asn-supl2/PolygonArea.h +++ b/src/core/libs/supl2/asn-supl2/PolygonArea.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PolygonArea_H_ -#define _PolygonArea_H_ +#ifndef _PolygonArea_H_ +#define _PolygonArea_H_ #include "asn_application.h" @@ -17,26 +17,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PolygonArea */ -typedef struct PolygonArea { - PolygonDescription_t polygonDescription; - long *polygonHysteresis /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PolygonArea_t; + /* PolygonArea */ + typedef struct PolygonArea + { + PolygonDescription_t polygonDescription; + long *polygonHysteresis /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PolygonArea; -extern asn_SEQUENCE_specifics_t asn_SPC_PolygonArea_specs_1; -extern asn_TYPE_member_t asn_MBR_PolygonArea_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PolygonArea_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PolygonArea; + extern asn_SEQUENCE_specifics_t asn_SPC_PolygonArea_specs_1; + extern asn_TYPE_member_t asn_MBR_PolygonArea_1[2]; #ifdef __cplusplus } #endif -#endif /* _PolygonArea_H_ */ +#endif /* _PolygonArea_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PolygonDescription.h b/src/core/libs/supl2/asn-supl2/PolygonDescription.h index f84d21ab3..f6d9eeb7f 100644 --- a/src/core/libs/supl2/asn-supl2/PolygonDescription.h +++ b/src/core/libs/supl2/asn-supl2/PolygonDescription.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PolygonDescription_H_ -#define _PolygonDescription_H_ +#ifndef _PolygonDescription_H_ +#define _PolygonDescription_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Coordinate; + /* Forward declarations */ + struct Coordinate; -/* PolygonDescription */ -typedef struct PolygonDescription { - A_SEQUENCE_OF(struct Coordinate) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PolygonDescription_t; + /* PolygonDescription */ + typedef struct PolygonDescription + { + A_SEQUENCE_OF(struct Coordinate) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PolygonDescription; -extern asn_SET_OF_specifics_t asn_SPC_PolygonDescription_specs_1; -extern asn_TYPE_member_t asn_MBR_PolygonDescription_1[1]; -extern asn_per_constraints_t asn_PER_type_PolygonDescription_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PolygonDescription_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PolygonDescription; + extern asn_SET_OF_specifics_t asn_SPC_PolygonDescription_specs_1; + extern asn_TYPE_member_t asn_MBR_PolygonDescription_1[1]; + extern asn_per_constraints_t asn_PER_type_PolygonDescription_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_PolygonDescription_constr_1; /* Referred external types */ #include "Coordinate.h" -#endif /* _PolygonDescription_H_ */ +#endif /* _PolygonDescription_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PosMethod.h b/src/core/libs/supl2/asn-supl2/PosMethod.h index cc7e17c07..9df284f0a 100644 --- a/src/core/libs/supl2/asn-supl2/PosMethod.h +++ b/src/core/libs/supl2/asn-supl2/PosMethod.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PosMethod_H_ -#define _PosMethod_H_ +#ifndef _PosMethod_H_ +#define _PosMethod_H_ #include "asn_application.h" @@ -15,53 +15,55 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum PosMethod { - PosMethod_agpsSETassisted = 0, - PosMethod_agpsSETbased = 1, - PosMethod_agpsSETassistedpref = 2, - PosMethod_agpsSETbasedpref = 3, - PosMethod_autonomousGPS = 4, - PosMethod_aFLT = 5, - PosMethod_eCID = 6, - PosMethod_eOTD = 7, - PosMethod_oTDOA = 8, - PosMethod_noPosition = 9, - /* + /* Dependencies */ + typedef enum PosMethod + { + PosMethod_agpsSETassisted = 0, + PosMethod_agpsSETbased = 1, + PosMethod_agpsSETassistedpref = 2, + PosMethod_agpsSETbasedpref = 3, + PosMethod_autonomousGPS = 4, + PosMethod_aFLT = 5, + PosMethod_eCID = 6, + PosMethod_eOTD = 7, + PosMethod_oTDOA = 8, + PosMethod_noPosition = 9, + /* * Enumeration is extensible */ - PosMethod_ver2_historicalDataRetrieval = 10, - PosMethod_ver2_agnssSETassisted = 11, - PosMethod_ver2_agnssSETbased = 12, - PosMethod_ver2_agnssSETassistedpref = 13, - PosMethod_ver2_agnssSETbasedpref = 14, - PosMethod_ver2_autonomousGNSS = 15, - PosMethod_ver2_sessioninfoquery = 16 -} e_PosMethod; + PosMethod_ver2_historicalDataRetrieval = 10, + PosMethod_ver2_agnssSETassisted = 11, + PosMethod_ver2_agnssSETbased = 12, + PosMethod_ver2_agnssSETassistedpref = 13, + PosMethod_ver2_agnssSETbasedpref = 14, + PosMethod_ver2_autonomousGNSS = 15, + PosMethod_ver2_sessioninfoquery = 16 + } e_PosMethod; -/* PosMethod */ -typedef long PosMethod_t; + /* PosMethod */ + typedef long PosMethod_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PosMethod_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PosMethod; -extern const asn_INTEGER_specifics_t asn_SPC_PosMethod_specs_1; -asn_struct_free_f PosMethod_free; -asn_struct_print_f PosMethod_print; -asn_constr_check_f PosMethod_constraint; -ber_type_decoder_f PosMethod_decode_ber; -der_type_encoder_f PosMethod_encode_der; -xer_type_decoder_f PosMethod_decode_xer; -xer_type_encoder_f PosMethod_encode_xer; -per_type_decoder_f PosMethod_decode_uper; -per_type_encoder_f PosMethod_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_PosMethod_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_PosMethod; + extern const asn_INTEGER_specifics_t asn_SPC_PosMethod_specs_1; + asn_struct_free_f PosMethod_free; + asn_struct_print_f PosMethod_print; + asn_constr_check_f PosMethod_constraint; + ber_type_decoder_f PosMethod_decode_ber; + der_type_encoder_f PosMethod_encode_der; + xer_type_decoder_f PosMethod_decode_xer; + xer_type_encoder_f PosMethod_encode_xer; + per_type_decoder_f PosMethod_decode_uper; + per_type_encoder_f PosMethod_encode_uper; #ifdef __cplusplus } #endif -#endif /* _PosMethod_H_ */ +#endif /* _PosMethod_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PosPayLoad.h b/src/core/libs/supl2/asn-supl2/PosPayLoad.h index 1da88610f..86dc3f4ab 100644 --- a/src/core/libs/supl2/asn-supl2/PosPayLoad.h +++ b/src/core/libs/supl2/asn-supl2/PosPayLoad.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PosPayLoad_H_ -#define _PosPayLoad_H_ +#ifndef _PosPayLoad_H_ +#define _PosPayLoad_H_ #include "asn_application.h" @@ -17,46 +17,50 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum PosPayLoad_PR { - PosPayLoad_PR_NOTHING, /* No components present */ - PosPayLoad_PR_tia801payload, - PosPayLoad_PR_rrcPayload, - PosPayLoad_PR_rrlpPayload, - /* Extensions may appear below */ - PosPayLoad_PR_ver2_PosPayLoad_extension -} PosPayLoad_PR; + /* Dependencies */ + typedef enum PosPayLoad_PR + { + PosPayLoad_PR_NOTHING, /* No components present */ + PosPayLoad_PR_tia801payload, + PosPayLoad_PR_rrcPayload, + PosPayLoad_PR_rrlpPayload, + /* Extensions may appear below */ + PosPayLoad_PR_ver2_PosPayLoad_extension + } PosPayLoad_PR; -/* PosPayLoad */ -typedef struct PosPayLoad { - PosPayLoad_PR present; - union PosPayLoad_u { - OCTET_STRING_t tia801payload; - OCTET_STRING_t rrcPayload; - OCTET_STRING_t rrlpPayload; - /* + /* PosPayLoad */ + typedef struct PosPayLoad + { + PosPayLoad_PR present; + union PosPayLoad_u + { + OCTET_STRING_t tia801payload; + OCTET_STRING_t rrcPayload; + OCTET_STRING_t rrlpPayload; + /* * This type is extensible, * possible extensions are below. */ - Ver2_PosPayLoad_extension_t ver2_PosPayLoad_extension; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PosPayLoad_t; + Ver2_PosPayLoad_extension_t ver2_PosPayLoad_extension; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PosPayLoad; -extern asn_CHOICE_specifics_t asn_SPC_PosPayLoad_specs_1; -extern asn_TYPE_member_t asn_MBR_PosPayLoad_1[4]; -extern asn_per_constraints_t asn_PER_type_PosPayLoad_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PosPayLoad_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PosPayLoad; + extern asn_CHOICE_specifics_t asn_SPC_PosPayLoad_specs_1; + extern asn_TYPE_member_t asn_MBR_PosPayLoad_1[4]; + extern asn_per_constraints_t asn_PER_type_PosPayLoad_constr_1; #ifdef __cplusplus } #endif -#endif /* _PosPayLoad_H_ */ +#endif /* _PosPayLoad_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PosProtocol.h b/src/core/libs/supl2/asn-supl2/PosProtocol.h index a525581c6..acf991079 100644 --- a/src/core/libs/supl2/asn-supl2/PosProtocol.h +++ b/src/core/libs/supl2/asn-supl2/PosProtocol.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PosProtocol_H_ -#define _PosProtocol_H_ +#ifndef _PosProtocol_H_ +#define _PosProtocol_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Ver2_PosProtocol_extension; + /* Forward declarations */ + struct Ver2_PosProtocol_extension; -/* PosProtocol */ -typedef struct PosProtocol { - BOOLEAN_t tia801; - BOOLEAN_t rrlp; - BOOLEAN_t rrc; - /* + /* PosProtocol */ + typedef struct PosProtocol + { + BOOLEAN_t tia801; + BOOLEAN_t rrlp; + BOOLEAN_t rrc; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_PosProtocol_extension *ver2_PosProtocol_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PosProtocol_t; + struct Ver2_PosProtocol_extension *ver2_PosProtocol_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PosProtocol; -extern asn_SEQUENCE_specifics_t asn_SPC_PosProtocol_specs_1; -extern asn_TYPE_member_t asn_MBR_PosProtocol_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PosProtocol_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PosProtocol; + extern asn_SEQUENCE_specifics_t asn_SPC_PosProtocol_specs_1; + extern asn_TYPE_member_t asn_MBR_PosProtocol_1[4]; #ifdef __cplusplus } @@ -49,5 +51,5 @@ extern asn_TYPE_member_t asn_MBR_PosProtocol_1[4]; /* Referred external types */ #include "Ver2-PosProtocol-extension.h" -#endif /* _PosProtocol_H_ */ +#endif /* _PosProtocol_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP.h b/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP.h index a9f91d940..80275a803 100644 --- a/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP.h +++ b/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PosProtocolVersion3GPP_H_ -#define _PosProtocolVersion3GPP_H_ +#ifndef _PosProtocolVersion3GPP_H_ +#define _PosProtocolVersion3GPP_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PosProtocolVersion3GPP */ -typedef struct PosProtocolVersion3GPP { - long majorVersionField; - long technicalVersionField; - long editorialVersionField; - /* + /* PosProtocolVersion3GPP */ + typedef struct PosProtocolVersion3GPP + { + long majorVersionField; + long technicalVersionField; + long editorialVersionField; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PosProtocolVersion3GPP_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PosProtocolVersion3GPP; -extern asn_SEQUENCE_specifics_t asn_SPC_PosProtocolVersion3GPP_specs_1; -extern asn_TYPE_member_t asn_MBR_PosProtocolVersion3GPP_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PosProtocolVersion3GPP_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PosProtocolVersion3GPP; + extern asn_SEQUENCE_specifics_t asn_SPC_PosProtocolVersion3GPP_specs_1; + extern asn_TYPE_member_t asn_MBR_PosProtocolVersion3GPP_1[3]; #ifdef __cplusplus } #endif -#endif /* _PosProtocolVersion3GPP_H_ */ +#endif /* _PosProtocolVersion3GPP_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP2.h b/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP2.h index 7dd2360d4..327b4e5c1 100644 --- a/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP2.h +++ b/src/core/libs/supl2/asn-supl2/PosProtocolVersion3GPP2.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PosProtocolVersion3GPP2_H_ -#define _PosProtocolVersion3GPP2_H_ +#ifndef _PosProtocolVersion3GPP2_H_ +#define _PosProtocolVersion3GPP2_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Supported3GPP2PosProtocolVersion; + /* Forward declarations */ + struct Supported3GPP2PosProtocolVersion; -/* PosProtocolVersion3GPP2 */ -typedef struct PosProtocolVersion3GPP2 { - A_SEQUENCE_OF(struct Supported3GPP2PosProtocolVersion) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PosProtocolVersion3GPP2_t; + /* PosProtocolVersion3GPP2 */ + typedef struct PosProtocolVersion3GPP2 + { + A_SEQUENCE_OF(struct Supported3GPP2PosProtocolVersion) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PosProtocolVersion3GPP2; -extern asn_SET_OF_specifics_t asn_SPC_PosProtocolVersion3GPP2_specs_1; -extern asn_TYPE_member_t asn_MBR_PosProtocolVersion3GPP2_1[1]; -extern asn_per_constraints_t asn_PER_type_PosProtocolVersion3GPP2_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PosProtocolVersion3GPP2_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PosProtocolVersion3GPP2; + extern asn_SET_OF_specifics_t asn_SPC_PosProtocolVersion3GPP2_specs_1; + extern asn_TYPE_member_t asn_MBR_PosProtocolVersion3GPP2_1[1]; + extern asn_per_constraints_t asn_PER_type_PosProtocolVersion3GPP2_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_PosProtocolVersion3GPP2_constr_1; /* Referred external types */ #include "Supported3GPP2PosProtocolVersion.h" -#endif /* _PosProtocolVersion3GPP2_H_ */ +#endif /* _PosProtocolVersion3GPP2_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PosTechnology.h b/src/core/libs/supl2/asn-supl2/PosTechnology.h index 1be5da4ab..2d2e7ced7 100644 --- a/src/core/libs/supl2/asn-supl2/PosTechnology.h +++ b/src/core/libs/supl2/asn-supl2/PosTechnology.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PosTechnology_H_ -#define _PosTechnology_H_ +#ifndef _PosTechnology_H_ +#define _PosTechnology_H_ #include "asn_application.h" @@ -16,35 +16,37 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Ver2_PosTechnology_extension; + /* Forward declarations */ + struct Ver2_PosTechnology_extension; -/* PosTechnology */ -typedef struct PosTechnology { - BOOLEAN_t agpsSETassisted; - BOOLEAN_t agpsSETBased; - BOOLEAN_t autonomousGPS; - BOOLEAN_t aFLT; - BOOLEAN_t eCID; - BOOLEAN_t eOTD; - BOOLEAN_t oTDOA; - /* + /* PosTechnology */ + typedef struct PosTechnology + { + BOOLEAN_t agpsSETassisted; + BOOLEAN_t agpsSETBased; + BOOLEAN_t autonomousGPS; + BOOLEAN_t aFLT; + BOOLEAN_t eCID; + BOOLEAN_t eOTD; + BOOLEAN_t oTDOA; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_PosTechnology_extension *ver2_PosTechnology_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PosTechnology_t; + struct Ver2_PosTechnology_extension *ver2_PosTechnology_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PosTechnology; -extern asn_SEQUENCE_specifics_t asn_SPC_PosTechnology_specs_1; -extern asn_TYPE_member_t asn_MBR_PosTechnology_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PosTechnology_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PosTechnology; + extern asn_SEQUENCE_specifics_t asn_SPC_PosTechnology_specs_1; + extern asn_TYPE_member_t asn_MBR_PosTechnology_1[8]; #ifdef __cplusplus } @@ -53,5 +55,5 @@ extern asn_TYPE_member_t asn_MBR_PosTechnology_1[8]; /* Referred external types */ #include "Ver2-PosTechnology-extension.h" -#endif /* _PosTechnology_H_ */ +#endif /* _PosTechnology_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Position.h b/src/core/libs/supl2/asn-supl2/Position.h index 74a5054dd..8280fed4d 100644 --- a/src/core/libs/supl2/asn-supl2/Position.h +++ b/src/core/libs/supl2/asn-supl2/Position.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Position_H_ -#define _Position_H_ +#ifndef _Position_H_ +#define _Position_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Velocity; + /* Forward declarations */ + struct Velocity; -/* Position */ -typedef struct Position { - UTCTime_t timestamp; - PositionEstimate_t positionEstimate; - struct Velocity *velocity /* OPTIONAL */; - /* + /* Position */ + typedef struct Position + { + UTCTime_t timestamp; + PositionEstimate_t positionEstimate; + struct Velocity *velocity /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Position_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Position; -extern asn_SEQUENCE_specifics_t asn_SPC_Position_specs_1; -extern asn_TYPE_member_t asn_MBR_Position_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Position_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Position; + extern asn_SEQUENCE_specifics_t asn_SPC_Position_specs_1; + extern asn_TYPE_member_t asn_MBR_Position_1[3]; #ifdef __cplusplus } @@ -49,5 +51,5 @@ extern asn_TYPE_member_t asn_MBR_Position_1[3]; /* Referred external types */ #include "Velocity.h" -#endif /* _Position_H_ */ +#endif /* _Position_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PositionData.h b/src/core/libs/supl2/asn-supl2/PositionData.h index 8cc3e98e8..eefc7330a 100644 --- a/src/core/libs/supl2/asn-supl2/PositionData.h +++ b/src/core/libs/supl2/asn-supl2/PositionData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PositionData_H_ -#define _PositionData_H_ +#ifndef _PositionData_H_ +#define _PositionData_H_ #include "asn_application.h" @@ -17,32 +17,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GNSSPosTechnology; -struct GANSSsignalsInfo; + /* Forward declarations */ + struct GNSSPosTechnology; + struct GANSSsignalsInfo; -/* PositionData */ -typedef struct PositionData { - Position_t position; - PosMethod_t *posMethod /* OPTIONAL */; - struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; - struct GANSSsignalsInfo *ganssSignalsInfo /* OPTIONAL */; - /* + /* PositionData */ + typedef struct PositionData + { + Position_t position; + PosMethod_t *posMethod /* OPTIONAL */; + struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; + struct GANSSsignalsInfo *ganssSignalsInfo /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PositionData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PositionData; -extern asn_SEQUENCE_specifics_t asn_SPC_PositionData_specs_1; -extern asn_TYPE_member_t asn_MBR_PositionData_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PositionData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PositionData; + extern asn_SEQUENCE_specifics_t asn_SPC_PositionData_specs_1; + extern asn_TYPE_member_t asn_MBR_PositionData_1[4]; #ifdef __cplusplus } @@ -52,5 +54,5 @@ extern asn_TYPE_member_t asn_MBR_PositionData_1[4]; #include "GNSSPosTechnology.h" #include "GANSSsignalsInfo.h" -#endif /* _PositionData_H_ */ +#endif /* _PositionData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PositionEstimate.h b/src/core/libs/supl2/asn-supl2/PositionEstimate.h index 32ad9c216..7f76c349c 100644 --- a/src/core/libs/supl2/asn-supl2/PositionEstimate.h +++ b/src/core/libs/supl2/asn-supl2/PositionEstimate.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PositionEstimate_H_ -#define _PositionEstimate_H_ +#ifndef _PositionEstimate_H_ +#define _PositionEstimate_H_ #include "asn_application.h" @@ -17,47 +17,51 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum PositionEstimate__latitudeSign { - PositionEstimate__latitudeSign_north = 0, - PositionEstimate__latitudeSign_south = 1 -} e_PositionEstimate__latitudeSign; + /* Dependencies */ + typedef enum PositionEstimate__latitudeSign + { + PositionEstimate__latitudeSign_north = 0, + PositionEstimate__latitudeSign_south = 1 + } e_PositionEstimate__latitudeSign; -/* Forward declarations */ -struct AltitudeInfo; + /* Forward declarations */ + struct AltitudeInfo; -/* PositionEstimate */ -typedef struct PositionEstimate { - long latitudeSign; - long latitude; - long longitude; - struct PositionEstimate__uncertainty { - long uncertaintySemiMajor; - long uncertaintySemiMinor; - long orientationMajorAxis; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *uncertainty; - long *confidence /* OPTIONAL */; - struct AltitudeInfo *altitudeInfo /* OPTIONAL */; - /* + /* PositionEstimate */ + typedef struct PositionEstimate + { + long latitudeSign; + long latitude; + long longitude; + struct PositionEstimate__uncertainty + { + long uncertaintySemiMajor; + long uncertaintySemiMinor; + long orientationMajorAxis; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * uncertainty; + long *confidence /* OPTIONAL */; + struct AltitudeInfo *altitudeInfo /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PositionEstimate_t; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_latitudeSign_2; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_PositionEstimate; -extern asn_SEQUENCE_specifics_t asn_SPC_PositionEstimate_specs_1; -extern asn_TYPE_member_t asn_MBR_PositionEstimate_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PositionEstimate_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_latitudeSign_2; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_PositionEstimate; + extern asn_SEQUENCE_specifics_t asn_SPC_PositionEstimate_specs_1; + extern asn_TYPE_member_t asn_MBR_PositionEstimate_1[6]; #ifdef __cplusplus } @@ -66,5 +70,5 @@ extern asn_TYPE_member_t asn_MBR_PositionEstimate_1[6]; /* Referred external types */ #include "AltitudeInfo.h" -#endif /* _PositionEstimate_H_ */ +#endif /* _PositionEstimate_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PrefMethod.h b/src/core/libs/supl2/asn-supl2/PrefMethod.h index 2bfc7cd08..987ef4edd 100644 --- a/src/core/libs/supl2/asn-supl2/PrefMethod.h +++ b/src/core/libs/supl2/asn-supl2/PrefMethod.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PrefMethod_H_ -#define _PrefMethod_H_ +#ifndef _PrefMethod_H_ +#define _PrefMethod_H_ #include "asn_application.h" @@ -15,36 +15,38 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum PrefMethod { - PrefMethod_agpsSETassistedPreferred = 0, - PrefMethod_agpsSETBasedPreferred = 1, - PrefMethod_noPreference = 2 -} e_PrefMethod; + /* Dependencies */ + typedef enum PrefMethod + { + PrefMethod_agpsSETassistedPreferred = 0, + PrefMethod_agpsSETBasedPreferred = 1, + PrefMethod_noPreference = 2 + } e_PrefMethod; -/* PrefMethod */ -typedef long PrefMethod_t; + /* PrefMethod */ + typedef long PrefMethod_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PrefMethod_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PrefMethod; -extern const asn_INTEGER_specifics_t asn_SPC_PrefMethod_specs_1; -asn_struct_free_f PrefMethod_free; -asn_struct_print_f PrefMethod_print; -asn_constr_check_f PrefMethod_constraint; -ber_type_decoder_f PrefMethod_decode_ber; -der_type_encoder_f PrefMethod_encode_der; -xer_type_decoder_f PrefMethod_decode_xer; -xer_type_encoder_f PrefMethod_encode_xer; -per_type_decoder_f PrefMethod_decode_uper; -per_type_encoder_f PrefMethod_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_PrefMethod_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_PrefMethod; + extern const asn_INTEGER_specifics_t asn_SPC_PrefMethod_specs_1; + asn_struct_free_f PrefMethod_free; + asn_struct_print_f PrefMethod_print; + asn_constr_check_f PrefMethod_constraint; + ber_type_decoder_f PrefMethod_decode_ber; + der_type_encoder_f PrefMethod_encode_der; + xer_type_decoder_f PrefMethod_decode_xer; + xer_type_encoder_f PrefMethod_encode_xer; + per_type_decoder_f PrefMethod_decode_uper; + per_type_encoder_f PrefMethod_encode_uper; #ifdef __cplusplus } #endif -#endif /* _PrefMethod_H_ */ +#endif /* _PrefMethod_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PrimaryCCPCH-RSCP.h b/src/core/libs/supl2/asn-supl2/PrimaryCCPCH-RSCP.h index 63c12029e..6c4877b8b 100644 --- a/src/core/libs/supl2/asn-supl2/PrimaryCCPCH-RSCP.h +++ b/src/core/libs/supl2/asn-supl2/PrimaryCCPCH-RSCP.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PrimaryCCPCH_RSCP_H_ -#define _PrimaryCCPCH_RSCP_H_ +#ifndef _PrimaryCCPCH_RSCP_H_ +#define _PrimaryCCPCH_RSCP_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PrimaryCCPCH-RSCP */ -typedef long PrimaryCCPCH_RSCP_t; + /* PrimaryCCPCH-RSCP */ + typedef long PrimaryCCPCH_RSCP_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_PrimaryCCPCH_RSCP_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_PrimaryCCPCH_RSCP; -asn_struct_free_f PrimaryCCPCH_RSCP_free; -asn_struct_print_f PrimaryCCPCH_RSCP_print; -asn_constr_check_f PrimaryCCPCH_RSCP_constraint; -ber_type_decoder_f PrimaryCCPCH_RSCP_decode_ber; -der_type_encoder_f PrimaryCCPCH_RSCP_encode_der; -xer_type_decoder_f PrimaryCCPCH_RSCP_decode_xer; -xer_type_encoder_f PrimaryCCPCH_RSCP_encode_xer; -per_type_decoder_f PrimaryCCPCH_RSCP_decode_uper; -per_type_encoder_f PrimaryCCPCH_RSCP_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_PrimaryCCPCH_RSCP_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_PrimaryCCPCH_RSCP; + asn_struct_free_f PrimaryCCPCH_RSCP_free; + asn_struct_print_f PrimaryCCPCH_RSCP_print; + asn_constr_check_f PrimaryCCPCH_RSCP_constraint; + ber_type_decoder_f PrimaryCCPCH_RSCP_decode_ber; + der_type_encoder_f PrimaryCCPCH_RSCP_encode_der; + xer_type_decoder_f PrimaryCCPCH_RSCP_decode_xer; + xer_type_encoder_f PrimaryCCPCH_RSCP_encode_xer; + per_type_decoder_f PrimaryCCPCH_RSCP_decode_uper; + per_type_encoder_f PrimaryCCPCH_RSCP_encode_uper; #ifdef __cplusplus } #endif -#endif /* _PrimaryCCPCH_RSCP_H_ */ +#endif /* _PrimaryCCPCH_RSCP_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/PrimaryCPICH-Info.h b/src/core/libs/supl2/asn-supl2/PrimaryCPICH-Info.h index 08880006c..93ef1b439 100644 --- a/src/core/libs/supl2/asn-supl2/PrimaryCPICH-Info.h +++ b/src/core/libs/supl2/asn-supl2/PrimaryCPICH-Info.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _PrimaryCPICH_Info_H_ -#define _PrimaryCPICH_Info_H_ +#ifndef _PrimaryCPICH_Info_H_ +#define _PrimaryCPICH_Info_H_ #include "asn_application.h" @@ -16,25 +16,27 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* PrimaryCPICH-Info */ -typedef struct PrimaryCPICH_Info { - long primaryScramblingCode; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} PrimaryCPICH_Info_t; + /* PrimaryCPICH-Info */ + typedef struct PrimaryCPICH_Info + { + long primaryScramblingCode; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_PrimaryCPICH_Info; -extern asn_SEQUENCE_specifics_t asn_SPC_PrimaryCPICH_Info_specs_1; -extern asn_TYPE_member_t asn_MBR_PrimaryCPICH_Info_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } PrimaryCPICH_Info_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_PrimaryCPICH_Info; + extern asn_SEQUENCE_specifics_t asn_SPC_PrimaryCPICH_Info_specs_1; + extern asn_TYPE_member_t asn_MBR_PrimaryCPICH_Info_1[1]; #ifdef __cplusplus } #endif -#endif /* _PrimaryCPICH_Info_H_ */ +#endif /* _PrimaryCPICH_Info_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ProtLevel.h b/src/core/libs/supl2/asn-supl2/ProtLevel.h index bc906aeae..5dce84f12 100644 --- a/src/core/libs/supl2/asn-supl2/ProtLevel.h +++ b/src/core/libs/supl2/asn-supl2/ProtLevel.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ProtLevel_H_ -#define _ProtLevel_H_ +#ifndef _ProtLevel_H_ +#define _ProtLevel_H_ #include "asn_application.h" @@ -15,38 +15,40 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum ProtLevel { - ProtLevel_nullProtection = 0, - ProtLevel_basicProtection = 1 - /* + /* Dependencies */ + typedef enum ProtLevel + { + ProtLevel_nullProtection = 0, + ProtLevel_basicProtection = 1 + /* * Enumeration is extensible */ -} e_ProtLevel; + } e_ProtLevel; -/* ProtLevel */ -typedef long ProtLevel_t; + /* ProtLevel */ + typedef long ProtLevel_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ProtLevel_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ProtLevel; -extern const asn_INTEGER_specifics_t asn_SPC_ProtLevel_specs_1; -asn_struct_free_f ProtLevel_free; -asn_struct_print_f ProtLevel_print; -asn_constr_check_f ProtLevel_constraint; -ber_type_decoder_f ProtLevel_decode_ber; -der_type_encoder_f ProtLevel_encode_der; -xer_type_decoder_f ProtLevel_decode_xer; -xer_type_encoder_f ProtLevel_encode_xer; -per_type_decoder_f ProtLevel_decode_uper; -per_type_encoder_f ProtLevel_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ProtLevel_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ProtLevel; + extern const asn_INTEGER_specifics_t asn_SPC_ProtLevel_specs_1; + asn_struct_free_f ProtLevel_free; + asn_struct_print_f ProtLevel_print; + asn_constr_check_f ProtLevel_constraint; + ber_type_decoder_f ProtLevel_decode_ber; + der_type_encoder_f ProtLevel_encode_der; + xer_type_decoder_f ProtLevel_decode_xer; + xer_type_encoder_f ProtLevel_encode_xer; + per_type_decoder_f ProtLevel_decode_uper; + per_type_encoder_f ProtLevel_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ProtLevel_H_ */ +#endif /* _ProtLevel_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ProtectionLevel.h b/src/core/libs/supl2/asn-supl2/ProtectionLevel.h index 978ad8b4f..afbb3ceae 100644 --- a/src/core/libs/supl2/asn-supl2/ProtectionLevel.h +++ b/src/core/libs/supl2/asn-supl2/ProtectionLevel.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ProtectionLevel_H_ -#define _ProtectionLevel_H_ +#ifndef _ProtectionLevel_H_ +#define _ProtectionLevel_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct BasicProtectionParams; + /* Forward declarations */ + struct BasicProtectionParams; -/* ProtectionLevel */ -typedef struct ProtectionLevel { - ProtLevel_t protlevel; - struct BasicProtectionParams *basicProtectionParams /* OPTIONAL */; - /* + /* ProtectionLevel */ + typedef struct ProtectionLevel + { + ProtLevel_t protlevel; + struct BasicProtectionParams *basicProtectionParams /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ProtectionLevel_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ProtectionLevel; -extern asn_SEQUENCE_specifics_t asn_SPC_ProtectionLevel_specs_1; -extern asn_TYPE_member_t asn_MBR_ProtectionLevel_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ProtectionLevel_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ProtectionLevel; + extern asn_SEQUENCE_specifics_t asn_SPC_ProtectionLevel_specs_1; + extern asn_TYPE_member_t asn_MBR_ProtectionLevel_1[2]; #ifdef __cplusplus } @@ -47,5 +49,5 @@ extern asn_TYPE_member_t asn_MBR_ProtectionLevel_1[2]; /* Referred external types */ #include "BasicProtectionParams.h" -#endif /* _ProtectionLevel_H_ */ +#endif /* _ProtectionLevel_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/QoP.h b/src/core/libs/supl2/asn-supl2/QoP.h index dcc041a6c..cdc1f9881 100644 --- a/src/core/libs/supl2/asn-supl2/QoP.h +++ b/src/core/libs/supl2/asn-supl2/QoP.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _QoP_H_ -#define _QoP_H_ +#ifndef _QoP_H_ +#define _QoP_H_ #include "asn_application.h" @@ -16,32 +16,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* QoP */ -typedef struct QoP { - long horacc; - long *veracc /* OPTIONAL */; - long *maxLocAge /* OPTIONAL */; - long *delay /* OPTIONAL */; - /* + /* QoP */ + typedef struct QoP + { + long horacc; + long *veracc /* OPTIONAL */; + long *maxLocAge /* OPTIONAL */; + long *delay /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} QoP_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_QoP; -extern asn_SEQUENCE_specifics_t asn_SPC_QoP_specs_1; -extern asn_TYPE_member_t asn_MBR_QoP_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } QoP_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_QoP; + extern asn_SEQUENCE_specifics_t asn_SPC_QoP_specs_1; + extern asn_TYPE_member_t asn_MBR_QoP_1[4]; #ifdef __cplusplus } #endif -#endif /* _QoP_H_ */ +#endif /* _QoP_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RSRP-Range.h b/src/core/libs/supl2/asn-supl2/RSRP-Range.h index 2bf150005..f298b5999 100644 --- a/src/core/libs/supl2/asn-supl2/RSRP-Range.h +++ b/src/core/libs/supl2/asn-supl2/RSRP-Range.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RSRP_Range_H_ -#define _RSRP_Range_H_ +#ifndef _RSRP_Range_H_ +#define _RSRP_Range_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RSRP-Range */ -typedef long RSRP_Range_t; + /* RSRP-Range */ + typedef long RSRP_Range_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RSRP_Range_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RSRP_Range; -asn_struct_free_f RSRP_Range_free; -asn_struct_print_f RSRP_Range_print; -asn_constr_check_f RSRP_Range_constraint; -ber_type_decoder_f RSRP_Range_decode_ber; -der_type_encoder_f RSRP_Range_encode_der; -xer_type_decoder_f RSRP_Range_decode_xer; -xer_type_encoder_f RSRP_Range_encode_xer; -per_type_decoder_f RSRP_Range_decode_uper; -per_type_encoder_f RSRP_Range_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RSRP_Range_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RSRP_Range; + asn_struct_free_f RSRP_Range_free; + asn_struct_print_f RSRP_Range_print; + asn_constr_check_f RSRP_Range_constraint; + ber_type_decoder_f RSRP_Range_decode_ber; + der_type_encoder_f RSRP_Range_encode_der; + xer_type_decoder_f RSRP_Range_decode_xer; + xer_type_encoder_f RSRP_Range_encode_xer; + per_type_decoder_f RSRP_Range_decode_uper; + per_type_encoder_f RSRP_Range_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RSRP_Range_H_ */ +#endif /* _RSRP_Range_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RSRQ-Range.h b/src/core/libs/supl2/asn-supl2/RSRQ-Range.h index 8d23ac0b5..a6e9a021a 100644 --- a/src/core/libs/supl2/asn-supl2/RSRQ-Range.h +++ b/src/core/libs/supl2/asn-supl2/RSRQ-Range.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RSRQ_Range_H_ -#define _RSRQ_Range_H_ +#ifndef _RSRQ_Range_H_ +#define _RSRQ_Range_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RSRQ-Range */ -typedef long RSRQ_Range_t; + /* RSRQ-Range */ + typedef long RSRQ_Range_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RSRQ_Range_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RSRQ_Range; -asn_struct_free_f RSRQ_Range_free; -asn_struct_print_f RSRQ_Range_print; -asn_constr_check_f RSRQ_Range_constraint; -ber_type_decoder_f RSRQ_Range_decode_ber; -der_type_encoder_f RSRQ_Range_encode_der; -xer_type_decoder_f RSRQ_Range_decode_xer; -xer_type_encoder_f RSRQ_Range_encode_xer; -per_type_decoder_f RSRQ_Range_decode_uper; -per_type_encoder_f RSRQ_Range_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RSRQ_Range_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RSRQ_Range; + asn_struct_free_f RSRQ_Range_free; + asn_struct_print_f RSRQ_Range_print; + asn_constr_check_f RSRQ_Range_constraint; + ber_type_decoder_f RSRQ_Range_decode_ber; + der_type_encoder_f RSRQ_Range_encode_der; + xer_type_decoder_f RSRQ_Range_decode_xer; + xer_type_encoder_f RSRQ_Range_encode_xer; + per_type_decoder_f RSRQ_Range_decode_uper; + per_type_encoder_f RSRQ_Range_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RSRQ_Range_H_ */ +#endif /* _RSRQ_Range_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RTD.h b/src/core/libs/supl2/asn-supl2/RTD.h index 4779c1c57..13f8d8a6b 100644 --- a/src/core/libs/supl2/asn-supl2/RTD.h +++ b/src/core/libs/supl2/asn-supl2/RTD.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RTD_H_ -#define _RTD_H_ +#ifndef _RTD_H_ +#define _RTD_H_ #include "asn_application.h" @@ -17,31 +17,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RTD */ -typedef struct RTD { - long rTDValue; - RTDUnits_t rTDUnits; - long *rTDAccuracy /* OPTIONAL */; - /* + /* RTD */ + typedef struct RTD + { + long rTDValue; + RTDUnits_t rTDUnits; + long *rTDAccuracy /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RTD_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RTD; -extern asn_SEQUENCE_specifics_t asn_SPC_RTD_specs_1; -extern asn_TYPE_member_t asn_MBR_RTD_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } RTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_RTD; + extern asn_SEQUENCE_specifics_t asn_SPC_RTD_specs_1; + extern asn_TYPE_member_t asn_MBR_RTD_1[3]; #ifdef __cplusplus } #endif -#endif /* _RTD_H_ */ +#endif /* _RTD_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RTDUnits.h b/src/core/libs/supl2/asn-supl2/RTDUnits.h index 5d9050ecd..4ce39ecbb 100644 --- a/src/core/libs/supl2/asn-supl2/RTDUnits.h +++ b/src/core/libs/supl2/asn-supl2/RTDUnits.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RTDUnits_H_ -#define _RTDUnits_H_ +#ifndef _RTDUnits_H_ +#define _RTDUnits_H_ #include "asn_application.h" @@ -15,41 +15,43 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum RTDUnits { - RTDUnits_microseconds = 0, - RTDUnits_hundredsofnanoseconds = 1, - RTDUnits_tensofnanoseconds = 2, - RTDUnits_nanoseconds = 3, - RTDUnits_tenthsofnanoseconds = 4 - /* + /* Dependencies */ + typedef enum RTDUnits + { + RTDUnits_microseconds = 0, + RTDUnits_hundredsofnanoseconds = 1, + RTDUnits_tensofnanoseconds = 2, + RTDUnits_nanoseconds = 3, + RTDUnits_tenthsofnanoseconds = 4 + /* * Enumeration is extensible */ -} e_RTDUnits; + } e_RTDUnits; -/* RTDUnits */ -typedef long RTDUnits_t; + /* RTDUnits */ + typedef long RTDUnits_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RTDUnits_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RTDUnits; -extern const asn_INTEGER_specifics_t asn_SPC_RTDUnits_specs_1; -asn_struct_free_f RTDUnits_free; -asn_struct_print_f RTDUnits_print; -asn_constr_check_f RTDUnits_constraint; -ber_type_decoder_f RTDUnits_decode_ber; -der_type_encoder_f RTDUnits_encode_der; -xer_type_decoder_f RTDUnits_decode_xer; -xer_type_encoder_f RTDUnits_encode_xer; -per_type_decoder_f RTDUnits_decode_uper; -per_type_encoder_f RTDUnits_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RTDUnits_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RTDUnits; + extern const asn_INTEGER_specifics_t asn_SPC_RTDUnits_specs_1; + asn_struct_free_f RTDUnits_free; + asn_struct_print_f RTDUnits_print; + asn_constr_check_f RTDUnits_constraint; + ber_type_decoder_f RTDUnits_decode_ber; + der_type_encoder_f RTDUnits_encode_der; + xer_type_decoder_f RTDUnits_decode_xer; + xer_type_encoder_f RTDUnits_encode_xer; + per_type_decoder_f RTDUnits_decode_uper; + per_type_encoder_f RTDUnits_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RTDUnits_H_ */ +#endif /* _RTDUnits_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RelativeTime.h b/src/core/libs/supl2/asn-supl2/RelativeTime.h index 51ebc5532..02e4e6d0f 100644 --- a/src/core/libs/supl2/asn-supl2/RelativeTime.h +++ b/src/core/libs/supl2/asn-supl2/RelativeTime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RelativeTime_H_ -#define _RelativeTime_H_ +#ifndef _RelativeTime_H_ +#define _RelativeTime_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RelativeTime */ -typedef long RelativeTime_t; + /* RelativeTime */ + typedef long RelativeTime_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_RelativeTime_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_RelativeTime; -asn_struct_free_f RelativeTime_free; -asn_struct_print_f RelativeTime_print; -asn_constr_check_f RelativeTime_constraint; -ber_type_decoder_f RelativeTime_decode_ber; -der_type_encoder_f RelativeTime_encode_der; -xer_type_decoder_f RelativeTime_decode_xer; -xer_type_encoder_f RelativeTime_encode_xer; -per_type_decoder_f RelativeTime_decode_uper; -per_type_encoder_f RelativeTime_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_RelativeTime_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_RelativeTime; + asn_struct_free_f RelativeTime_free; + asn_struct_print_f RelativeTime_print; + asn_constr_check_f RelativeTime_constraint; + ber_type_decoder_f RelativeTime_decode_ber; + der_type_encoder_f RelativeTime_encode_der; + xer_type_decoder_f RelativeTime_decode_xer; + xer_type_encoder_f RelativeTime_encode_xer; + per_type_decoder_f RelativeTime_decode_uper; + per_type_encoder_f RelativeTime_encode_uper; #ifdef __cplusplus } #endif -#endif /* _RelativeTime_H_ */ +#endif /* _RelativeTime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RepeatedReportingParams.h b/src/core/libs/supl2/asn-supl2/RepeatedReportingParams.h index 3ae22413c..3c2741766 100644 --- a/src/core/libs/supl2/asn-supl2/RepeatedReportingParams.h +++ b/src/core/libs/supl2/asn-supl2/RepeatedReportingParams.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RepeatedReportingParams_H_ -#define _RepeatedReportingParams_H_ +#ifndef _RepeatedReportingParams_H_ +#define _RepeatedReportingParams_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RepeatedReportingParams */ -typedef struct RepeatedReportingParams { - long minimumIntervalTime; - long maximumNumberOfReports; - /* + /* RepeatedReportingParams */ + typedef struct RepeatedReportingParams + { + long minimumIntervalTime; + long maximumNumberOfReports; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RepeatedReportingParams_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RepeatedReportingParams; -extern asn_SEQUENCE_specifics_t asn_SPC_RepeatedReportingParams_specs_1; -extern asn_TYPE_member_t asn_MBR_RepeatedReportingParams_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } RepeatedReportingParams_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_RepeatedReportingParams; + extern asn_SEQUENCE_specifics_t asn_SPC_RepeatedReportingParams_specs_1; + extern asn_TYPE_member_t asn_MBR_RepeatedReportingParams_1[2]; #ifdef __cplusplus } #endif -#endif /* _RepeatedReportingParams_H_ */ +#endif /* _RepeatedReportingParams_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReportData.h b/src/core/libs/supl2/asn-supl2/ReportData.h index 2f2922ca3..db76d4439 100644 --- a/src/core/libs/supl2/asn-supl2/ReportData.h +++ b/src/core/libs/supl2/asn-supl2/ReportData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReportData_H_ -#define _ReportData_H_ +#ifndef _ReportData_H_ +#define _ReportData_H_ #include "asn_application.h" @@ -16,33 +16,35 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct PositionData; -struct MultipleLocationIds; -struct TimeStamp; + /* Forward declarations */ + struct PositionData; + struct MultipleLocationIds; + struct TimeStamp; -/* ReportData */ -typedef struct ReportData { - struct PositionData *positionData /* OPTIONAL */; - struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; - ResultCode_t *resultCode /* OPTIONAL */; - struct TimeStamp *timestamp /* OPTIONAL */; - /* + /* ReportData */ + typedef struct ReportData + { + struct PositionData *positionData /* OPTIONAL */; + struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; + ResultCode_t *resultCode /* OPTIONAL */; + struct TimeStamp *timestamp /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportData; -extern asn_SEQUENCE_specifics_t asn_SPC_ReportData_specs_1; -extern asn_TYPE_member_t asn_MBR_ReportData_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReportData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReportData; + extern asn_SEQUENCE_specifics_t asn_SPC_ReportData_specs_1; + extern asn_TYPE_member_t asn_MBR_ReportData_1[4]; #ifdef __cplusplus } @@ -53,5 +55,5 @@ extern asn_TYPE_member_t asn_MBR_ReportData_1[4]; #include "MultipleLocationIds.h" #include "TimeStamp.h" -#endif /* _ReportData_H_ */ +#endif /* _ReportData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReportDataList.h b/src/core/libs/supl2/asn-supl2/ReportDataList.h index 0796db190..f31a554d9 100644 --- a/src/core/libs/supl2/asn-supl2/ReportDataList.h +++ b/src/core/libs/supl2/asn-supl2/ReportDataList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReportDataList_H_ -#define _ReportDataList_H_ +#ifndef _ReportDataList_H_ +#define _ReportDataList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReportData; + /* Forward declarations */ + struct ReportData; -/* ReportDataList */ -typedef struct ReportDataList { - A_SEQUENCE_OF(struct ReportData) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportDataList_t; + /* ReportDataList */ + typedef struct ReportDataList + { + A_SEQUENCE_OF(struct ReportData) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportDataList; -extern asn_SET_OF_specifics_t asn_SPC_ReportDataList_specs_1; -extern asn_TYPE_member_t asn_MBR_ReportDataList_1[1]; -extern asn_per_constraints_t asn_PER_type_ReportDataList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReportDataList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReportDataList; + extern asn_SET_OF_specifics_t asn_SPC_ReportDataList_specs_1; + extern asn_TYPE_member_t asn_MBR_ReportDataList_1[1]; + extern asn_per_constraints_t asn_PER_type_ReportDataList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_ReportDataList_constr_1; /* Referred external types */ #include "ReportData.h" -#endif /* _ReportDataList_H_ */ +#endif /* _ReportDataList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReportedLocation.h b/src/core/libs/supl2/asn-supl2/ReportedLocation.h index 3ae5c048e..d4b0249cb 100644 --- a/src/core/libs/supl2/asn-supl2/ReportedLocation.h +++ b/src/core/libs/supl2/asn-supl2/ReportedLocation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReportedLocation_H_ -#define _ReportedLocation_H_ +#ifndef _ReportedLocation_H_ +#define _ReportedLocation_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ReportedLocation */ -typedef struct ReportedLocation { - LocationEncodingDescriptor_t locationEncodingDescriptor; - LocationData_t locationData; - /* + /* ReportedLocation */ + typedef struct ReportedLocation + { + LocationEncodingDescriptor_t locationEncodingDescriptor; + LocationData_t locationData; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportedLocation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportedLocation; -extern asn_SEQUENCE_specifics_t asn_SPC_ReportedLocation_specs_1; -extern asn_TYPE_member_t asn_MBR_ReportedLocation_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReportedLocation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReportedLocation; + extern asn_SEQUENCE_specifics_t asn_SPC_ReportedLocation_specs_1; + extern asn_TYPE_member_t asn_MBR_ReportedLocation_1[2]; #ifdef __cplusplus } #endif -#endif /* _ReportedLocation_H_ */ +#endif /* _ReportedLocation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReportingCap.h b/src/core/libs/supl2/asn-supl2/ReportingCap.h index 7cf6496d1..5aaf4f07f 100644 --- a/src/core/libs/supl2/asn-supl2/ReportingCap.h +++ b/src/core/libs/supl2/asn-supl2/ReportingCap.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReportingCap_H_ -#define _ReportingCap_H_ +#ifndef _ReportingCap_H_ +#define _ReportingCap_H_ #include "asn_application.h" @@ -17,31 +17,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct BatchRepCap; + /* Forward declarations */ + struct BatchRepCap; -/* ReportingCap */ -typedef struct ReportingCap { - long minInt; - long *maxInt /* OPTIONAL */; - Ver2_ULP_Components_RepMode_t repMode; - struct BatchRepCap *batchRepCap /* OPTIONAL */; - /* + /* ReportingCap */ + typedef struct ReportingCap + { + long minInt; + long *maxInt /* OPTIONAL */; + Ver2_ULP_Components_RepMode_t repMode; + struct BatchRepCap *batchRepCap /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportingCap_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportingCap; -extern asn_SEQUENCE_specifics_t asn_SPC_ReportingCap_specs_1; -extern asn_TYPE_member_t asn_MBR_ReportingCap_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReportingCap_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReportingCap; + extern asn_SEQUENCE_specifics_t asn_SPC_ReportingCap_specs_1; + extern asn_TYPE_member_t asn_MBR_ReportingCap_1[4]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_ReportingCap_1[4]; /* Referred external types */ #include "BatchRepCap.h" -#endif /* _ReportingCap_H_ */ +#endif /* _ReportingCap_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReportingCriteria.h b/src/core/libs/supl2/asn-supl2/ReportingCriteria.h index 54365b397..9b02f13cb 100644 --- a/src/core/libs/supl2/asn-supl2/ReportingCriteria.h +++ b/src/core/libs/supl2/asn-supl2/ReportingCriteria.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReportingCriteria_H_ -#define _ReportingCriteria_H_ +#ifndef _ReportingCriteria_H_ +#define _ReportingCriteria_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct TimeWindow; + /* Forward declarations */ + struct TimeWindow; -/* ReportingCriteria */ -typedef struct ReportingCriteria { - struct TimeWindow *timeWindow /* OPTIONAL */; - long *maxNumberofReports /* OPTIONAL */; - long *minTimeInterval /* OPTIONAL */; - /* + /* ReportingCriteria */ + typedef struct ReportingCriteria + { + struct TimeWindow *timeWindow /* OPTIONAL */; + long *maxNumberofReports /* OPTIONAL */; + long *minTimeInterval /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportingCriteria_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportingCriteria; -extern asn_SEQUENCE_specifics_t asn_SPC_ReportingCriteria_specs_1; -extern asn_TYPE_member_t asn_MBR_ReportingCriteria_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReportingCriteria_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReportingCriteria; + extern asn_SEQUENCE_specifics_t asn_SPC_ReportingCriteria_specs_1; + extern asn_TYPE_member_t asn_MBR_ReportingCriteria_1[3]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_ReportingCriteria_1[3]; /* Referred external types */ #include "TimeWindow.h" -#endif /* _ReportingCriteria_H_ */ +#endif /* _ReportingCriteria_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReportingMode.h b/src/core/libs/supl2/asn-supl2/ReportingMode.h index c2729c782..345421614 100644 --- a/src/core/libs/supl2/asn-supl2/ReportingMode.h +++ b/src/core/libs/supl2/asn-supl2/ReportingMode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReportingMode_H_ -#define _ReportingMode_H_ +#ifndef _ReportingMode_H_ +#define _ReportingMode_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct BatchRepConditions; -struct BatchRepType; + /* Forward declarations */ + struct BatchRepConditions; + struct BatchRepType; -/* ReportingMode */ -typedef struct ReportingMode { - SUPL_TRIGGERED_RESPONSE_RepMode_t repMode; - struct BatchRepConditions *batchRepConditions /* OPTIONAL */; - struct BatchRepType *batchRepType /* OPTIONAL */; - /* + /* ReportingMode */ + typedef struct ReportingMode + { + SUPL_TRIGGERED_RESPONSE_RepMode_t repMode; + struct BatchRepConditions *batchRepConditions /* OPTIONAL */; + struct BatchRepType *batchRepType /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReportingMode_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReportingMode; -extern asn_SEQUENCE_specifics_t asn_SPC_ReportingMode_specs_1; -extern asn_TYPE_member_t asn_MBR_ReportingMode_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReportingMode_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReportingMode; + extern asn_SEQUENCE_specifics_t asn_SPC_ReportingMode_specs_1; + extern asn_TYPE_member_t asn_MBR_ReportingMode_1[3]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_ReportingMode_1[3]; #include "BatchRepConditions.h" #include "BatchRepType.h" -#endif /* _ReportingMode_H_ */ +#endif /* _ReportingMode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ReqDataBitAssistanceList.h b/src/core/libs/supl2/asn-supl2/ReqDataBitAssistanceList.h index 154360bbd..9f75fa86b 100644 --- a/src/core/libs/supl2/asn-supl2/ReqDataBitAssistanceList.h +++ b/src/core/libs/supl2/asn-supl2/ReqDataBitAssistanceList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ReqDataBitAssistanceList_H_ -#define _ReqDataBitAssistanceList_H_ +#ifndef _ReqDataBitAssistanceList_H_ +#define _ReqDataBitAssistanceList_H_ #include "asn_application.h" @@ -19,36 +19,40 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ReqDataBitAssistanceList */ -typedef struct ReqDataBitAssistanceList { - GANSSSignals_t gnssSignals; - long ganssDataBitInterval; - struct ReqDataBitAssistanceList__ganssDataBitSatList { - A_SEQUENCE_OF(long) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *ganssDataBitSatList; - /* + /* ReqDataBitAssistanceList */ + typedef struct ReqDataBitAssistanceList + { + GANSSSignals_t gnssSignals; + long ganssDataBitInterval; + struct ReqDataBitAssistanceList__ganssDataBitSatList + { + A_SEQUENCE_OF(long) + list; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * ganssDataBitSatList; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ReqDataBitAssistanceList_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ReqDataBitAssistanceList; -extern asn_SEQUENCE_specifics_t asn_SPC_ReqDataBitAssistanceList_specs_1; -extern asn_TYPE_member_t asn_MBR_ReqDataBitAssistanceList_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ReqDataBitAssistanceList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ReqDataBitAssistanceList; + extern asn_SEQUENCE_specifics_t asn_SPC_ReqDataBitAssistanceList_specs_1; + extern asn_TYPE_member_t asn_MBR_ReqDataBitAssistanceList_1[3]; #ifdef __cplusplus } #endif -#endif /* _ReqDataBitAssistanceList_H_ */ +#endif /* _ReqDataBitAssistanceList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/RequestedAssistData.h b/src/core/libs/supl2/asn-supl2/RequestedAssistData.h index 0892c65ed..64f645bb2 100644 --- a/src/core/libs/supl2/asn-supl2/RequestedAssistData.h +++ b/src/core/libs/supl2/asn-supl2/RequestedAssistData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _RequestedAssistData_H_ -#define _RequestedAssistData_H_ +#ifndef _RequestedAssistData_H_ +#define _RequestedAssistData_H_ #include "asn_application.h" @@ -16,39 +16,41 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct NavigationModel; -struct Ver2_RequestedAssistData_extension; + /* Forward declarations */ + struct NavigationModel; + struct Ver2_RequestedAssistData_extension; -/* RequestedAssistData */ -typedef struct RequestedAssistData { - BOOLEAN_t almanacRequested; - BOOLEAN_t utcModelRequested; - BOOLEAN_t ionosphericModelRequested; - BOOLEAN_t dgpsCorrectionsRequested; - BOOLEAN_t referenceLocationRequested; - BOOLEAN_t referenceTimeRequested; - BOOLEAN_t acquisitionAssistanceRequested; - BOOLEAN_t realTimeIntegrityRequested; - BOOLEAN_t navigationModelRequested; - struct NavigationModel *navigationModelData /* OPTIONAL */; - /* + /* RequestedAssistData */ + typedef struct RequestedAssistData + { + BOOLEAN_t almanacRequested; + BOOLEAN_t utcModelRequested; + BOOLEAN_t ionosphericModelRequested; + BOOLEAN_t dgpsCorrectionsRequested; + BOOLEAN_t referenceLocationRequested; + BOOLEAN_t referenceTimeRequested; + BOOLEAN_t acquisitionAssistanceRequested; + BOOLEAN_t realTimeIntegrityRequested; + BOOLEAN_t navigationModelRequested; + struct NavigationModel *navigationModelData /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_RequestedAssistData_extension *ver2_RequestedAssistData_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} RequestedAssistData_t; + struct Ver2_RequestedAssistData_extension *ver2_RequestedAssistData_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_RequestedAssistData; -extern asn_SEQUENCE_specifics_t asn_SPC_RequestedAssistData_specs_1; -extern asn_TYPE_member_t asn_MBR_RequestedAssistData_1[11]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } RequestedAssistData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_RequestedAssistData; + extern asn_SEQUENCE_specifics_t asn_SPC_RequestedAssistData_specs_1; + extern asn_TYPE_member_t asn_MBR_RequestedAssistData_1[11]; #ifdef __cplusplus } @@ -58,5 +60,5 @@ extern asn_TYPE_member_t asn_MBR_RequestedAssistData_1[11]; #include "NavigationModel.h" #include "Ver2-RequestedAssistData-extension.h" -#endif /* _RequestedAssistData_H_ */ +#endif /* _RequestedAssistData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ResultCode.h b/src/core/libs/supl2/asn-supl2/ResultCode.h index 232061a55..b005a3be5 100644 --- a/src/core/libs/supl2/asn-supl2/ResultCode.h +++ b/src/core/libs/supl2/asn-supl2/ResultCode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ResultCode_H_ -#define _ResultCode_H_ +#ifndef _ResultCode_H_ +#define _ResultCode_H_ #include "asn_application.h" @@ -15,43 +15,45 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum ResultCode { - ResultCode_outofradiocoverage = 1, - ResultCode_noposition = 2, - ResultCode_nomeasurement = 3, - ResultCode_nopositionnomeasurement = 4, - ResultCode_outofmemory = 5, - ResultCode_outofmemoryintermediatereporting = 6, - ResultCode_other = 7 - /* + /* Dependencies */ + typedef enum ResultCode + { + ResultCode_outofradiocoverage = 1, + ResultCode_noposition = 2, + ResultCode_nomeasurement = 3, + ResultCode_nopositionnomeasurement = 4, + ResultCode_outofmemory = 5, + ResultCode_outofmemoryintermediatereporting = 6, + ResultCode_other = 7 + /* * Enumeration is extensible */ -} e_ResultCode; + } e_ResultCode; -/* ResultCode */ -typedef long ResultCode_t; + /* ResultCode */ + typedef long ResultCode_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_ResultCode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_ResultCode; -extern const asn_INTEGER_specifics_t asn_SPC_ResultCode_specs_1; -asn_struct_free_f ResultCode_free; -asn_struct_print_f ResultCode_print; -asn_constr_check_f ResultCode_constraint; -ber_type_decoder_f ResultCode_decode_ber; -der_type_encoder_f ResultCode_encode_der; -xer_type_decoder_f ResultCode_decode_xer; -xer_type_encoder_f ResultCode_encode_xer; -per_type_decoder_f ResultCode_decode_uper; -per_type_encoder_f ResultCode_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_ResultCode_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_ResultCode; + extern const asn_INTEGER_specifics_t asn_SPC_ResultCode_specs_1; + asn_struct_free_f ResultCode_free; + asn_struct_print_f ResultCode_print; + asn_constr_check_f ResultCode_constraint; + ber_type_decoder_f ResultCode_decode_ber; + der_type_encoder_f ResultCode_encode_der; + xer_type_decoder_f ResultCode_decode_xer; + xer_type_encoder_f ResultCode_encode_xer; + per_type_decoder_f ResultCode_decode_uper; + per_type_encoder_f ResultCode_encode_uper; #ifdef __cplusplus } #endif -#endif /* _ResultCode_H_ */ +#endif /* _ResultCode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SET-GANSSReferenceTime.h b/src/core/libs/supl2/asn-supl2/SET-GANSSReferenceTime.h index 3eb99e2cd..b578ddfe6 100644 --- a/src/core/libs/supl2/asn-supl2/SET-GANSSReferenceTime.h +++ b/src/core/libs/supl2/asn-supl2/SET-GANSSReferenceTime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SET_GANSSReferenceTime_H_ -#define _SET_GANSSReferenceTime_H_ +#ifndef _SET_GANSSReferenceTime_H_ +#define _SET_GANSSReferenceTime_H_ #include "asn_application.h" @@ -19,65 +19,73 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SET_GANSSReferenceTime__modeSpecificInfo_PR { - SET_GANSSReferenceTime__modeSpecificInfo_PR_NOTHING, /* No components present */ - SET_GANSSReferenceTime__modeSpecificInfo_PR_fdd, - SET_GANSSReferenceTime__modeSpecificInfo_PR_tdd -} SET_GANSSReferenceTime__modeSpecificInfo_PR; + /* Dependencies */ + typedef enum SET_GANSSReferenceTime__modeSpecificInfo_PR + { + SET_GANSSReferenceTime__modeSpecificInfo_PR_NOTHING, /* No components present */ + SET_GANSSReferenceTime__modeSpecificInfo_PR_fdd, + SET_GANSSReferenceTime__modeSpecificInfo_PR_tdd + } SET_GANSSReferenceTime__modeSpecificInfo_PR; -/* SET-GANSSReferenceTime */ -typedef struct SET_GANSSReferenceTime { - struct SET_GANSSReferenceTime__set_GANSSTimingOfCell { - long ms_part; - unsigned long ls_part; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *set_GANSSTimingOfCell; - struct SET_GANSSReferenceTime__modeSpecificInfo { - SET_GANSSReferenceTime__modeSpecificInfo_PR present; - union SET_GANSSReferenceTime__modeSpecificInfo_u { - struct SET_GANSSReferenceTime__modeSpecificInfo__fdd { - PrimaryCPICH_Info_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } fdd; - struct SET_GANSSReferenceTime__modeSpecificInfo__tdd { - CellParametersID_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } tdd; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *modeSpecificInfo; - long sfn; - long *ganss_TODUncertainty /* OPTIONAL */; - /* + /* SET-GANSSReferenceTime */ + typedef struct SET_GANSSReferenceTime + { + struct SET_GANSSReferenceTime__set_GANSSTimingOfCell + { + long ms_part; + unsigned long ls_part; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * set_GANSSTimingOfCell; + struct SET_GANSSReferenceTime__modeSpecificInfo + { + SET_GANSSReferenceTime__modeSpecificInfo_PR present; + union SET_GANSSReferenceTime__modeSpecificInfo_u + { + struct SET_GANSSReferenceTime__modeSpecificInfo__fdd + { + PrimaryCPICH_Info_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } fdd; + struct SET_GANSSReferenceTime__modeSpecificInfo__tdd + { + CellParametersID_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } tdd; + } choice; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * modeSpecificInfo; + long sfn; + long *ganss_TODUncertainty /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SET_GANSSReferenceTime_t; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ls_part_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SET_GANSSReferenceTime; -extern asn_SEQUENCE_specifics_t asn_SPC_SET_GANSSReferenceTime_specs_1; -extern asn_TYPE_member_t asn_MBR_SET_GANSSReferenceTime_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SET_GANSSReferenceTime_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_ls_part_4; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_SET_GANSSReferenceTime; + extern asn_SEQUENCE_specifics_t asn_SPC_SET_GANSSReferenceTime_specs_1; + extern asn_TYPE_member_t asn_MBR_SET_GANSSReferenceTime_1[4]; #ifdef __cplusplus } #endif -#endif /* _SET_GANSSReferenceTime_H_ */ +#endif /* _SET_GANSSReferenceTime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SETAuthKey.h b/src/core/libs/supl2/asn-supl2/SETAuthKey.h index 97cc075e5..642330c7a 100644 --- a/src/core/libs/supl2/asn-supl2/SETAuthKey.h +++ b/src/core/libs/supl2/asn-supl2/SETAuthKey.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SETAuthKey_H_ -#define _SETAuthKey_H_ +#ifndef _SETAuthKey_H_ +#define _SETAuthKey_H_ #include "asn_application.h" @@ -16,43 +16,47 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SETAuthKey_PR { - SETAuthKey_PR_NOTHING, /* No components present */ - SETAuthKey_PR_shortKey, - SETAuthKey_PR_longKey - /* Extensions may appear below */ - -} SETAuthKey_PR; + /* Dependencies */ + typedef enum SETAuthKey_PR + { + SETAuthKey_PR_NOTHING, /* No components present */ + SETAuthKey_PR_shortKey, + SETAuthKey_PR_longKey + /* Extensions may appear below */ -/* SETAuthKey */ -typedef struct SETAuthKey { - SETAuthKey_PR present; - union SETAuthKey_u { - BIT_STRING_t shortKey; - BIT_STRING_t longKey; - /* + } SETAuthKey_PR; + + /* SETAuthKey */ + typedef struct SETAuthKey + { + SETAuthKey_PR present; + union SETAuthKey_u + { + BIT_STRING_t shortKey; + BIT_STRING_t longKey; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SETAuthKey_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SETAuthKey; -extern asn_CHOICE_specifics_t asn_SPC_SETAuthKey_specs_1; -extern asn_TYPE_member_t asn_MBR_SETAuthKey_1[2]; -extern asn_per_constraints_t asn_PER_type_SETAuthKey_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SETAuthKey_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SETAuthKey; + extern asn_CHOICE_specifics_t asn_SPC_SETAuthKey_specs_1; + extern asn_TYPE_member_t asn_MBR_SETAuthKey_1[2]; + extern asn_per_constraints_t asn_PER_type_SETAuthKey_constr_1; #ifdef __cplusplus } #endif -#endif /* _SETAuthKey_H_ */ +#endif /* _SETAuthKey_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SETCapabilities.h b/src/core/libs/supl2/asn-supl2/SETCapabilities.h index f3cc4ac6f..f4bd14b2c 100644 --- a/src/core/libs/supl2/asn-supl2/SETCapabilities.h +++ b/src/core/libs/supl2/asn-supl2/SETCapabilities.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SETCapabilities_H_ -#define _SETCapabilities_H_ +#ifndef _SETCapabilities_H_ +#define _SETCapabilities_H_ #include "asn_application.h" @@ -18,31 +18,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Ver2_SETCapabilities_extension; + /* Forward declarations */ + struct Ver2_SETCapabilities_extension; -/* SETCapabilities */ -typedef struct SETCapabilities { - PosTechnology_t posTechnology; - PrefMethod_t prefMethod; - PosProtocol_t posProtocol; - /* + /* SETCapabilities */ + typedef struct SETCapabilities + { + PosTechnology_t posTechnology; + PrefMethod_t prefMethod; + PosProtocol_t posProtocol; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SETCapabilities_extension *ver2_SETCapabilities_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SETCapabilities_t; + struct Ver2_SETCapabilities_extension *ver2_SETCapabilities_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SETCapabilities; -extern asn_SEQUENCE_specifics_t asn_SPC_SETCapabilities_specs_1; -extern asn_TYPE_member_t asn_MBR_SETCapabilities_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SETCapabilities_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SETCapabilities; + extern asn_SEQUENCE_specifics_t asn_SPC_SETCapabilities_specs_1; + extern asn_TYPE_member_t asn_MBR_SETCapabilities_1[4]; #ifdef __cplusplus } @@ -51,5 +53,5 @@ extern asn_TYPE_member_t asn_MBR_SETCapabilities_1[4]; /* Referred external types */ #include "Ver2-SETCapabilities-extension.h" -#endif /* _SETCapabilities_H_ */ +#endif /* _SETCapabilities_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SETId.h b/src/core/libs/supl2/asn-supl2/SETId.h index 99df24201..011a5bd77 100644 --- a/src/core/libs/supl2/asn-supl2/SETId.h +++ b/src/core/libs/supl2/asn-supl2/SETId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SETId_H_ -#define _SETId_H_ +#ifndef _SETId_H_ +#define _SETId_H_ #include "asn_application.h" @@ -19,51 +19,55 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SETId_PR { - SETId_PR_NOTHING, /* No components present */ - SETId_PR_msisdn, - SETId_PR_mdn, - SETId_PR_min, - SETId_PR_imsi, - SETId_PR_nai, - SETId_PR_iPAddress - /* Extensions may appear below */ - -} SETId_PR; + /* Dependencies */ + typedef enum SETId_PR + { + SETId_PR_NOTHING, /* No components present */ + SETId_PR_msisdn, + SETId_PR_mdn, + SETId_PR_min, + SETId_PR_imsi, + SETId_PR_nai, + SETId_PR_iPAddress + /* Extensions may appear below */ -/* SETId */ -typedef struct SETId { - SETId_PR present; - union SETId_u { - OCTET_STRING_t msisdn; - OCTET_STRING_t mdn; - BIT_STRING_t min; - OCTET_STRING_t imsi; - IA5String_t nai; - IPAddress_t iPAddress; - /* + } SETId_PR; + + /* SETId */ + typedef struct SETId + { + SETId_PR present; + union SETId_u + { + OCTET_STRING_t msisdn; + OCTET_STRING_t mdn; + BIT_STRING_t min; + OCTET_STRING_t imsi; + IA5String_t nai; + IPAddress_t iPAddress; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SETId_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SETId; -extern asn_CHOICE_specifics_t asn_SPC_SETId_specs_1; -extern asn_TYPE_member_t asn_MBR_SETId_1[6]; -extern asn_per_constraints_t asn_PER_type_SETId_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SETId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SETId; + extern asn_CHOICE_specifics_t asn_SPC_SETId_specs_1; + extern asn_TYPE_member_t asn_MBR_SETId_1[6]; + extern asn_per_constraints_t asn_PER_type_SETId_constr_1; #ifdef __cplusplus } #endif -#endif /* _SETId_H_ */ +#endif /* _SETId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SLPAddress.h b/src/core/libs/supl2/asn-supl2/SLPAddress.h index 4b26531aa..502b73331 100644 --- a/src/core/libs/supl2/asn-supl2/SLPAddress.h +++ b/src/core/libs/supl2/asn-supl2/SLPAddress.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SLPAddress_H_ -#define _SLPAddress_H_ +#ifndef _SLPAddress_H_ +#define _SLPAddress_H_ #include "asn_application.h" @@ -17,43 +17,47 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SLPAddress_PR { - SLPAddress_PR_NOTHING, /* No components present */ - SLPAddress_PR_iPAddress, - SLPAddress_PR_fQDN - /* Extensions may appear below */ - -} SLPAddress_PR; + /* Dependencies */ + typedef enum SLPAddress_PR + { + SLPAddress_PR_NOTHING, /* No components present */ + SLPAddress_PR_iPAddress, + SLPAddress_PR_fQDN + /* Extensions may appear below */ -/* SLPAddress */ -typedef struct SLPAddress { - SLPAddress_PR present; - union SLPAddress_u { - IPAddress_t iPAddress; - FQDN_t fQDN; - /* + } SLPAddress_PR; + + /* SLPAddress */ + typedef struct SLPAddress + { + SLPAddress_PR present; + union SLPAddress_u + { + IPAddress_t iPAddress; + FQDN_t fQDN; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SLPAddress_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SLPAddress; -extern asn_CHOICE_specifics_t asn_SPC_SLPAddress_specs_1; -extern asn_TYPE_member_t asn_MBR_SLPAddress_1[2]; -extern asn_per_constraints_t asn_PER_type_SLPAddress_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SLPAddress_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SLPAddress; + extern asn_CHOICE_specifics_t asn_SPC_SLPAddress_specs_1; + extern asn_TYPE_member_t asn_MBR_SLPAddress_1[2]; + extern asn_per_constraints_t asn_PER_type_SLPAddress_constr_1; #ifdef __cplusplus } #endif -#endif /* _SLPAddress_H_ */ +#endif /* _SLPAddress_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SLPMode.h b/src/core/libs/supl2/asn-supl2/SLPMode.h index ea349ea4a..44c39c6ea 100644 --- a/src/core/libs/supl2/asn-supl2/SLPMode.h +++ b/src/core/libs/supl2/asn-supl2/SLPMode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SLPMode_H_ -#define _SLPMode_H_ +#ifndef _SLPMode_H_ +#define _SLPMode_H_ #include "asn_application.h" @@ -15,35 +15,37 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SLPMode { - SLPMode_proxy = 0, - SLPMode_nonProxy = 1 -} e_SLPMode; + /* Dependencies */ + typedef enum SLPMode + { + SLPMode_proxy = 0, + SLPMode_nonProxy = 1 + } e_SLPMode; -/* SLPMode */ -typedef long SLPMode_t; + /* SLPMode */ + typedef long SLPMode_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SLPMode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SLPMode; -extern const asn_INTEGER_specifics_t asn_SPC_SLPMode_specs_1; -asn_struct_free_f SLPMode_free; -asn_struct_print_f SLPMode_print; -asn_constr_check_f SLPMode_constraint; -ber_type_decoder_f SLPMode_decode_ber; -der_type_encoder_f SLPMode_encode_der; -xer_type_decoder_f SLPMode_decode_xer; -xer_type_encoder_f SLPMode_encode_xer; -per_type_decoder_f SLPMode_decode_uper; -per_type_encoder_f SLPMode_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SLPMode_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SLPMode; + extern const asn_INTEGER_specifics_t asn_SPC_SLPMode_specs_1; + asn_struct_free_f SLPMode_free; + asn_struct_print_f SLPMode_print; + asn_constr_check_f SLPMode_constraint; + ber_type_decoder_f SLPMode_decode_ber; + der_type_encoder_f SLPMode_encode_der; + xer_type_decoder_f SLPMode_decode_xer; + xer_type_encoder_f SLPMode_encode_xer; + per_type_decoder_f SLPMode_decode_uper; + per_type_encoder_f SLPMode_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SLPMode_H_ */ +#endif /* _SLPMode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SPCSETKey.h b/src/core/libs/supl2/asn-supl2/SPCSETKey.h index 94c4999cc..b38e972af 100644 --- a/src/core/libs/supl2/asn-supl2/SPCSETKey.h +++ b/src/core/libs/supl2/asn-supl2/SPCSETKey.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SPCSETKey_H_ -#define _SPCSETKey_H_ +#ifndef _SPCSETKey_H_ +#define _SPCSETKey_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SPCSETKey */ -typedef BIT_STRING_t SPCSETKey_t; + /* SPCSETKey */ + typedef BIT_STRING_t SPCSETKey_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SPCSETKey_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SPCSETKey; -asn_struct_free_f SPCSETKey_free; -asn_struct_print_f SPCSETKey_print; -asn_constr_check_f SPCSETKey_constraint; -ber_type_decoder_f SPCSETKey_decode_ber; -der_type_encoder_f SPCSETKey_encode_der; -xer_type_decoder_f SPCSETKey_decode_xer; -xer_type_encoder_f SPCSETKey_encode_xer; -per_type_decoder_f SPCSETKey_decode_uper; -per_type_encoder_f SPCSETKey_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SPCSETKey_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SPCSETKey; + asn_struct_free_f SPCSETKey_free; + asn_struct_print_f SPCSETKey_print; + asn_constr_check_f SPCSETKey_constraint; + ber_type_decoder_f SPCSETKey_decode_ber; + der_type_encoder_f SPCSETKey_encode_der; + xer_type_decoder_f SPCSETKey_decode_xer; + xer_type_encoder_f SPCSETKey_encode_xer; + per_type_decoder_f SPCSETKey_decode_uper; + per_type_encoder_f SPCSETKey_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SPCSETKey_H_ */ +#endif /* _SPCSETKey_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SPCSETKeylifetime.h b/src/core/libs/supl2/asn-supl2/SPCSETKeylifetime.h index d74b07716..70d44ba95 100644 --- a/src/core/libs/supl2/asn-supl2/SPCSETKeylifetime.h +++ b/src/core/libs/supl2/asn-supl2/SPCSETKeylifetime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SPCSETKeylifetime_H_ -#define _SPCSETKeylifetime_H_ +#ifndef _SPCSETKeylifetime_H_ +#define _SPCSETKeylifetime_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SPCSETKeylifetime */ -typedef long SPCSETKeylifetime_t; + /* SPCSETKeylifetime */ + typedef long SPCSETKeylifetime_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SPCSETKeylifetime_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SPCSETKeylifetime; -asn_struct_free_f SPCSETKeylifetime_free; -asn_struct_print_f SPCSETKeylifetime_print; -asn_constr_check_f SPCSETKeylifetime_constraint; -ber_type_decoder_f SPCSETKeylifetime_decode_ber; -der_type_encoder_f SPCSETKeylifetime_encode_der; -xer_type_decoder_f SPCSETKeylifetime_decode_xer; -xer_type_encoder_f SPCSETKeylifetime_encode_xer; -per_type_decoder_f SPCSETKeylifetime_decode_uper; -per_type_encoder_f SPCSETKeylifetime_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SPCSETKeylifetime_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SPCSETKeylifetime; + asn_struct_free_f SPCSETKeylifetime_free; + asn_struct_print_f SPCSETKeylifetime_print; + asn_constr_check_f SPCSETKeylifetime_constraint; + ber_type_decoder_f SPCSETKeylifetime_decode_ber; + der_type_encoder_f SPCSETKeylifetime_encode_der; + xer_type_decoder_f SPCSETKeylifetime_decode_xer; + xer_type_encoder_f SPCSETKeylifetime_encode_xer; + per_type_decoder_f SPCSETKeylifetime_decode_uper; + per_type_encoder_f SPCSETKeylifetime_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SPCSETKeylifetime_H_ */ +#endif /* _SPCSETKeylifetime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SPCTID.h b/src/core/libs/supl2/asn-supl2/SPCTID.h index a2b6e2c50..5a438dbc7 100644 --- a/src/core/libs/supl2/asn-supl2/SPCTID.h +++ b/src/core/libs/supl2/asn-supl2/SPCTID.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SPCTID_H_ -#define _SPCTID_H_ +#ifndef _SPCTID_H_ +#define _SPCTID_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SPCTID */ -typedef struct SPCTID { - BIT_STRING_t rAND; - FQDN_t slpFQDN; - /* + /* SPCTID */ + typedef struct SPCTID + { + BIT_STRING_t rAND; + FQDN_t slpFQDN; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SPCTID_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SPCTID; -extern asn_SEQUENCE_specifics_t asn_SPC_SPCTID_specs_1; -extern asn_TYPE_member_t asn_MBR_SPCTID_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SPCTID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SPCTID; + extern asn_SEQUENCE_specifics_t asn_SPC_SPCTID_specs_1; + extern asn_TYPE_member_t asn_MBR_SPCTID_1[2]; #ifdef __cplusplus } #endif -#endif /* _SPCTID_H_ */ +#endif /* _SPCTID_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPL-TRIGGERED-RESPONSE_RepMode.h b/src/core/libs/supl2/asn-supl2/SUPL-TRIGGERED-RESPONSE_RepMode.h index d7149d55b..be2252490 100644 --- a/src/core/libs/supl2/asn-supl2/SUPL-TRIGGERED-RESPONSE_RepMode.h +++ b/src/core/libs/supl2/asn-supl2/SUPL-TRIGGERED-RESPONSE_RepMode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPL_TRIGGERED_RESPONSE_RepMode_H_ -#define _SUPL_TRIGGERED_RESPONSE_RepMode_H_ +#ifndef _SUPL_TRIGGERED_RESPONSE_RepMode_H_ +#define _SUPL_TRIGGERED_RESPONSE_RepMode_H_ #include "asn_application.h" @@ -15,39 +15,41 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SUPL_TRIGGERED_RESPONSE_RepMode { - SUPL_TRIGGERED_RESPONSE_RepMode_realtime = 1, - SUPL_TRIGGERED_RESPONSE_RepMode_quasirealtime = 2, - SUPL_TRIGGERED_RESPONSE_RepMode_batch = 3 - /* + /* Dependencies */ + typedef enum SUPL_TRIGGERED_RESPONSE_RepMode + { + SUPL_TRIGGERED_RESPONSE_RepMode_realtime = 1, + SUPL_TRIGGERED_RESPONSE_RepMode_quasirealtime = 2, + SUPL_TRIGGERED_RESPONSE_RepMode_batch = 3 + /* * Enumeration is extensible */ -} e_SUPL_TRIGGERED_RESPONSE_RepMode; + } e_SUPL_TRIGGERED_RESPONSE_RepMode; -/* RepMode */ -typedef long SUPL_TRIGGERED_RESPONSE_RepMode_t; + /* RepMode */ + typedef long SUPL_TRIGGERED_RESPONSE_RepMode_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_SUPL_TRIGGERED_RESPONSE_RepMode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_SUPL_TRIGGERED_RESPONSE_RepMode; -extern const asn_INTEGER_specifics_t asn_SPC_SUPL_TRIGGERED_RESPONSE_RepMode_specs_1; -asn_struct_free_f SUPL_TRIGGERED_RESPONSE_RepMode_free; -asn_struct_print_f SUPL_TRIGGERED_RESPONSE_RepMode_print; -asn_constr_check_f SUPL_TRIGGERED_RESPONSE_RepMode_constraint; -ber_type_decoder_f SUPL_TRIGGERED_RESPONSE_RepMode_decode_ber; -der_type_encoder_f SUPL_TRIGGERED_RESPONSE_RepMode_encode_der; -xer_type_decoder_f SUPL_TRIGGERED_RESPONSE_RepMode_decode_xer; -xer_type_encoder_f SUPL_TRIGGERED_RESPONSE_RepMode_encode_xer; -per_type_decoder_f SUPL_TRIGGERED_RESPONSE_RepMode_decode_uper; -per_type_encoder_f SUPL_TRIGGERED_RESPONSE_RepMode_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_SUPL_TRIGGERED_RESPONSE_RepMode_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_SUPL_TRIGGERED_RESPONSE_RepMode; + extern const asn_INTEGER_specifics_t asn_SPC_SUPL_TRIGGERED_RESPONSE_RepMode_specs_1; + asn_struct_free_f SUPL_TRIGGERED_RESPONSE_RepMode_free; + asn_struct_print_f SUPL_TRIGGERED_RESPONSE_RepMode_print; + asn_constr_check_f SUPL_TRIGGERED_RESPONSE_RepMode_constraint; + ber_type_decoder_f SUPL_TRIGGERED_RESPONSE_RepMode_decode_ber; + der_type_encoder_f SUPL_TRIGGERED_RESPONSE_RepMode_encode_der; + xer_type_decoder_f SUPL_TRIGGERED_RESPONSE_RepMode_decode_xer; + xer_type_encoder_f SUPL_TRIGGERED_RESPONSE_RepMode_encode_xer; + per_type_decoder_f SUPL_TRIGGERED_RESPONSE_RepMode_decode_uper; + per_type_encoder_f SUPL_TRIGGERED_RESPONSE_RepMode_encode_uper; #ifdef __cplusplus } #endif -#endif /* _SUPL_TRIGGERED_RESPONSE_RepMode_H_ */ +#endif /* _SUPL_TRIGGERED_RESPONSE_RepMode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLAUTHREQ.h b/src/core/libs/supl2/asn-supl2/SUPLAUTHREQ.h index 6168b4bf1..5f97bc63f 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLAUTHREQ.h +++ b/src/core/libs/supl2/asn-supl2/SUPLAUTHREQ.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLAUTHREQ_H_ -#define _SUPLAUTHREQ_H_ +#ifndef _SUPLAUTHREQ_H_ +#define _SUPLAUTHREQ_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SETCapabilities; + /* Forward declarations */ + struct SETCapabilities; -/* SUPLAUTHREQ */ -typedef struct SUPLAUTHREQ { - Ver_t *ver /* OPTIONAL */; - struct SETCapabilities *sETCapabilities /* OPTIONAL */; - /* + /* SUPLAUTHREQ */ + typedef struct SUPLAUTHREQ + { + Ver_t *ver /* OPTIONAL */; + struct SETCapabilities *sETCapabilities /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLAUTHREQ_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLAUTHREQ; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLAUTHREQ_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLAUTHREQ_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLAUTHREQ_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLAUTHREQ; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLAUTHREQ_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLAUTHREQ_1[2]; #ifdef __cplusplus } @@ -47,5 +49,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLAUTHREQ_1[2]; /* Referred external types */ #include "SETCapabilities.h" -#endif /* _SUPLAUTHREQ_H_ */ +#endif /* _SUPLAUTHREQ_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLAUTHRESP.h b/src/core/libs/supl2/asn-supl2/SUPLAUTHRESP.h index 1f45d0dd6..7be91ddac 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLAUTHRESP.h +++ b/src/core/libs/supl2/asn-supl2/SUPLAUTHRESP.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLAUTHRESP_H_ -#define _SUPLAUTHRESP_H_ +#ifndef _SUPLAUTHRESP_H_ +#define _SUPLAUTHRESP_H_ #include "asn_application.h" @@ -18,31 +18,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SUPLAUTHRESP */ -typedef struct SUPLAUTHRESP { - SPCSETKey_t sPCSETKey; - SPCTID_t sPCTID; - SPCSETKeylifetime_t *sPCSETKeylifetime /* OPTIONAL */; - /* + /* SUPLAUTHRESP */ + typedef struct SUPLAUTHRESP + { + SPCSETKey_t sPCSETKey; + SPCTID_t sPCTID; + SPCSETKeylifetime_t *sPCSETKeylifetime /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLAUTHRESP_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLAUTHRESP; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLAUTHRESP_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLAUTHRESP_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLAUTHRESP_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLAUTHRESP; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLAUTHRESP_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLAUTHRESP_1[3]; #ifdef __cplusplus } #endif -#endif /* _SUPLAUTHRESP_H_ */ +#endif /* _SUPLAUTHRESP_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLEND.h b/src/core/libs/supl2/asn-supl2/SUPLEND.h index ed8add557..d03ba6566 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLEND.h +++ b/src/core/libs/supl2/asn-supl2/SUPLEND.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLEND_H_ -#define _SUPLEND_H_ +#ifndef _SUPLEND_H_ +#define _SUPLEND_H_ #include "asn_application.h" @@ -17,32 +17,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Position; -struct Ver2_SUPL_END_extension; + /* Forward declarations */ + struct Position; + struct Ver2_SUPL_END_extension; -/* SUPLEND */ -typedef struct SUPLEND { - struct Position *position /* OPTIONAL */; - StatusCode_t *statusCode /* OPTIONAL */; - Ver_t *ver /* OPTIONAL */; - /* + /* SUPLEND */ + typedef struct SUPLEND + { + struct Position *position /* OPTIONAL */; + StatusCode_t *statusCode /* OPTIONAL */; + Ver_t *ver /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SUPL_END_extension *ver2_SUPL_END_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLEND_t; + struct Ver2_SUPL_END_extension *ver2_SUPL_END_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLEND; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLEND_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLEND_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLEND_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLEND; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLEND_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLEND_1[4]; #ifdef __cplusplus } @@ -52,5 +54,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLEND_1[4]; #include "Position.h" #include "Ver2-SUPL-END-extension.h" -#endif /* _SUPLEND_H_ */ +#endif /* _SUPLEND_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLINIT.h b/src/core/libs/supl2/asn-supl2/SUPLINIT.h index 990f9f29d..4f6c34eeb 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLINIT.h +++ b/src/core/libs/supl2/asn-supl2/SUPLINIT.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLINIT_H_ -#define _SUPLINIT_H_ +#ifndef _SUPLINIT_H_ +#define _SUPLINIT_H_ #include "asn_application.h" @@ -19,38 +19,40 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Notification; -struct SLPAddress; -struct QoP; -struct Ver2_SUPL_INIT_extension; + /* Forward declarations */ + struct Notification; + struct SLPAddress; + struct QoP; + struct Ver2_SUPL_INIT_extension; -/* SUPLINIT */ -typedef struct SUPLINIT { - PosMethod_t posMethod; - struct Notification *notification /* OPTIONAL */; - struct SLPAddress *sLPAddress /* OPTIONAL */; - struct QoP *qoP /* OPTIONAL */; - SLPMode_t sLPMode; - MAC_t *mAC /* OPTIONAL */; - KeyIdentity_t *keyIdentity /* OPTIONAL */; - /* + /* SUPLINIT */ + typedef struct SUPLINIT + { + PosMethod_t posMethod; + struct Notification *notification /* OPTIONAL */; + struct SLPAddress *sLPAddress /* OPTIONAL */; + struct QoP *qoP /* OPTIONAL */; + SLPMode_t sLPMode; + MAC_t *mAC /* OPTIONAL */; + KeyIdentity_t *keyIdentity /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SUPL_INIT_extension *ver2_SUPL_INIT_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLINIT_t; + struct Ver2_SUPL_INIT_extension *ver2_SUPL_INIT_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLINIT; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLINIT_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLINIT_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLINIT_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLINIT; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLINIT_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLINIT_1[8]; #ifdef __cplusplus } @@ -62,5 +64,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLINIT_1[8]; #include "QoP.h" #include "Ver2-SUPL-INIT-extension.h" -#endif /* _SUPLINIT_H_ */ +#endif /* _SUPLINIT_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLPOS.h b/src/core/libs/supl2/asn-supl2/SUPLPOS.h index 36693826b..96fa42d2c 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLPOS.h +++ b/src/core/libs/supl2/asn-supl2/SUPLPOS.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLPOS_H_ -#define _SUPLPOS_H_ +#ifndef _SUPLPOS_H_ +#define _SUPLPOS_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct Velocity; -struct Ver2_SUPL_POS_extension; + /* Forward declarations */ + struct Velocity; + struct Ver2_SUPL_POS_extension; -/* SUPLPOS */ -typedef struct SUPLPOS { - PosPayLoad_t posPayLoad; - struct Velocity *velocity /* OPTIONAL */; - /* + /* SUPLPOS */ + typedef struct SUPLPOS + { + PosPayLoad_t posPayLoad; + struct Velocity *velocity /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SUPL_POS_extension *ver2_SUPL_POS_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLPOS_t; + struct Ver2_SUPL_POS_extension *ver2_SUPL_POS_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLPOS; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLPOS_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLPOS_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLPOS_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLPOS; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLPOS_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLPOS_1[3]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLPOS_1[3]; #include "Velocity.h" #include "Ver2-SUPL-POS-extension.h" -#endif /* _SUPLPOS_H_ */ +#endif /* _SUPLPOS_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLPOSINIT.h b/src/core/libs/supl2/asn-supl2/SUPLPOSINIT.h index 3371535f9..3041505cb 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLPOSINIT.h +++ b/src/core/libs/supl2/asn-supl2/SUPLPOSINIT.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLPOSINIT_H_ -#define _SUPLPOSINIT_H_ +#ifndef _SUPLPOSINIT_H_ +#define _SUPLPOSINIT_H_ #include "asn_application.h" @@ -18,37 +18,39 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct RequestedAssistData; -struct Position; -struct SUPLPOS; -struct Ver2_SUPL_POS_INIT_extension; + /* Forward declarations */ + struct RequestedAssistData; + struct Position; + struct SUPLPOS; + struct Ver2_SUPL_POS_INIT_extension; -/* SUPLPOSINIT */ -typedef struct SUPLPOSINIT { - SETCapabilities_t sETCapabilities; - struct RequestedAssistData *requestedAssistData /* OPTIONAL */; - LocationId_t locationId; - struct Position *position /* OPTIONAL */; - struct SUPLPOS *sUPLPOS /* OPTIONAL */; - Ver_t *ver /* OPTIONAL */; - /* + /* SUPLPOSINIT */ + typedef struct SUPLPOSINIT + { + SETCapabilities_t sETCapabilities; + struct RequestedAssistData *requestedAssistData /* OPTIONAL */; + LocationId_t locationId; + struct Position *position /* OPTIONAL */; + struct SUPLPOS *sUPLPOS /* OPTIONAL */; + Ver_t *ver /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SUPL_POS_INIT_extension *ver2_SUPL_POS_INIT_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLPOSINIT_t; + struct Ver2_SUPL_POS_INIT_extension *ver2_SUPL_POS_INIT_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLPOSINIT; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLPOSINIT_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLPOSINIT_1[7]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLPOSINIT_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLPOSINIT; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLPOSINIT_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLPOSINIT_1[7]; #ifdef __cplusplus } @@ -60,5 +62,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLPOSINIT_1[7]; #include "SUPLPOS.h" #include "Ver2-SUPL-POS-INIT-extension.h" -#endif /* _SUPLPOSINIT_H_ */ +#endif /* _SUPLPOSINIT_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLRESPONSE.h b/src/core/libs/supl2/asn-supl2/SUPLRESPONSE.h index 608a5aba7..6430b28a7 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLRESPONSE.h +++ b/src/core/libs/supl2/asn-supl2/SUPLRESPONSE.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLRESPONSE_H_ -#define _SUPLRESPONSE_H_ +#ifndef _SUPLRESPONSE_H_ +#define _SUPLRESPONSE_H_ #include "asn_application.h" @@ -17,34 +17,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SLPAddress; -struct SETAuthKey; -struct Ver2_SUPL_RESPONSE_extension; + /* Forward declarations */ + struct SLPAddress; + struct SETAuthKey; + struct Ver2_SUPL_RESPONSE_extension; -/* SUPLRESPONSE */ -typedef struct SUPLRESPONSE { - PosMethod_t posMethod; - struct SLPAddress *sLPAddress /* OPTIONAL */; - struct SETAuthKey *sETAuthKey /* OPTIONAL */; - KeyIdentity4_t *keyIdentity4 /* OPTIONAL */; - /* + /* SUPLRESPONSE */ + typedef struct SUPLRESPONSE + { + PosMethod_t posMethod; + struct SLPAddress *sLPAddress /* OPTIONAL */; + struct SETAuthKey *sETAuthKey /* OPTIONAL */; + KeyIdentity4_t *keyIdentity4 /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SUPL_RESPONSE_extension *ver2_SUPL_RESPONSE_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLRESPONSE_t; + struct Ver2_SUPL_RESPONSE_extension *ver2_SUPL_RESPONSE_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLRESPONSE; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLRESPONSE_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLRESPONSE_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLRESPONSE_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLRESPONSE; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLRESPONSE_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLRESPONSE_1[5]; #ifdef __cplusplus } @@ -55,5 +57,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLRESPONSE_1[5]; #include "SETAuthKey.h" #include "Ver2-SUPL-RESPONSE-extension.h" -#endif /* _SUPLRESPONSE_H_ */ +#endif /* _SUPLRESPONSE_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SUPLSTART.h b/src/core/libs/supl2/asn-supl2/SUPLSTART.h index ff5d4add7..7e48f063a 100644 --- a/src/core/libs/supl2/asn-supl2/SUPLSTART.h +++ b/src/core/libs/supl2/asn-supl2/SUPLSTART.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SUPLSTART_H_ -#define _SUPLSTART_H_ +#ifndef _SUPLSTART_H_ +#define _SUPLSTART_H_ #include "asn_application.h" @@ -17,32 +17,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct QoP; -struct Ver2_SUPL_START_extension; + /* Forward declarations */ + struct QoP; + struct Ver2_SUPL_START_extension; -/* SUPLSTART */ -typedef struct SUPLSTART { - SETCapabilities_t sETCapabilities; - LocationId_t locationId; - struct QoP *qoP /* OPTIONAL */; - /* + /* SUPLSTART */ + typedef struct SUPLSTART + { + SETCapabilities_t sETCapabilities; + LocationId_t locationId; + struct QoP *qoP /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct Ver2_SUPL_START_extension *ver2_SUPL_START_extension /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SUPLSTART_t; + struct Ver2_SUPL_START_extension *ver2_SUPL_START_extension /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SUPLSTART; -extern asn_SEQUENCE_specifics_t asn_SPC_SUPLSTART_specs_1; -extern asn_TYPE_member_t asn_MBR_SUPLSTART_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SUPLSTART_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SUPLSTART; + extern asn_SEQUENCE_specifics_t asn_SPC_SUPLSTART_specs_1; + extern asn_TYPE_member_t asn_MBR_SUPLSTART_1[4]; #ifdef __cplusplus } @@ -52,5 +54,5 @@ extern asn_TYPE_member_t asn_MBR_SUPLSTART_1[4]; #include "QoP.h" #include "Ver2-SUPL-START-extension.h" -#endif /* _SUPLSTART_H_ */ +#endif /* _SUPLSTART_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SatelliteInfo.h b/src/core/libs/supl2/asn-supl2/SatelliteInfo.h index e927f2b76..2102e48e5 100644 --- a/src/core/libs/supl2/asn-supl2/SatelliteInfo.h +++ b/src/core/libs/supl2/asn-supl2/SatelliteInfo.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SatelliteInfo_H_ -#define _SatelliteInfo_H_ +#ifndef _SatelliteInfo_H_ +#define _SatelliteInfo_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SatelliteInfoElement; + /* Forward declarations */ + struct SatelliteInfoElement; -/* SatelliteInfo */ -typedef struct SatelliteInfo { - A_SEQUENCE_OF(struct SatelliteInfoElement) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SatelliteInfo_t; + /* SatelliteInfo */ + typedef struct SatelliteInfo + { + A_SEQUENCE_OF(struct SatelliteInfoElement) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SatelliteInfo; -extern asn_SET_OF_specifics_t asn_SPC_SatelliteInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_SatelliteInfo_1[1]; -extern asn_per_constraints_t asn_PER_type_SatelliteInfo_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SatelliteInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SatelliteInfo; + extern asn_SET_OF_specifics_t asn_SPC_SatelliteInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_SatelliteInfo_1[1]; + extern asn_per_constraints_t asn_PER_type_SatelliteInfo_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_SatelliteInfo_constr_1; /* Referred external types */ #include "SatelliteInfoElement.h" -#endif /* _SatelliteInfo_H_ */ +#endif /* _SatelliteInfo_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SatelliteInfoElement.h b/src/core/libs/supl2/asn-supl2/SatelliteInfoElement.h index d1ba077eb..32944d581 100644 --- a/src/core/libs/supl2/asn-supl2/SatelliteInfoElement.h +++ b/src/core/libs/supl2/asn-supl2/SatelliteInfoElement.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SatelliteInfoElement_H_ -#define _SatelliteInfoElement_H_ +#ifndef _SatelliteInfoElement_H_ +#define _SatelliteInfoElement_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SatelliteInfoElement */ -typedef struct SatelliteInfoElement { - long satId; - long iODE; - /* + /* SatelliteInfoElement */ + typedef struct SatelliteInfoElement + { + long satId; + long iODE; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SatelliteInfoElement_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SatelliteInfoElement; -extern asn_SEQUENCE_specifics_t asn_SPC_SatelliteInfoElement_specs_1; -extern asn_TYPE_member_t asn_MBR_SatelliteInfoElement_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SatelliteInfoElement_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SatelliteInfoElement; + extern asn_SEQUENCE_specifics_t asn_SPC_SatelliteInfoElement_specs_1; + extern asn_TYPE_member_t asn_MBR_SatelliteInfoElement_1[2]; #ifdef __cplusplus } #endif -#endif /* _SatelliteInfoElement_H_ */ +#endif /* _SatelliteInfoElement_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SatellitesListRelatedData.h b/src/core/libs/supl2/asn-supl2/SatellitesListRelatedData.h index 0ea889ac9..3b9f63aac 100644 --- a/src/core/libs/supl2/asn-supl2/SatellitesListRelatedData.h +++ b/src/core/libs/supl2/asn-supl2/SatellitesListRelatedData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SatellitesListRelatedData_H_ -#define _SatellitesListRelatedData_H_ +#ifndef _SatellitesListRelatedData_H_ +#define _SatellitesListRelatedData_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SatellitesListRelatedData */ -typedef struct SatellitesListRelatedData { - long satId; - long iod; - /* + /* SatellitesListRelatedData */ + typedef struct SatellitesListRelatedData + { + long satId; + long iod; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SatellitesListRelatedData_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SatellitesListRelatedData; -extern asn_SEQUENCE_specifics_t asn_SPC_SatellitesListRelatedData_specs_1; -extern asn_TYPE_member_t asn_MBR_SatellitesListRelatedData_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SatellitesListRelatedData_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SatellitesListRelatedData; + extern asn_SEQUENCE_specifics_t asn_SPC_SatellitesListRelatedData_specs_1; + extern asn_TYPE_member_t asn_MBR_SatellitesListRelatedData_1[2]; #ifdef __cplusplus } #endif -#endif /* _SatellitesListRelatedData_H_ */ +#endif /* _SatellitesListRelatedData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SatellitesListRelatedDataList.h b/src/core/libs/supl2/asn-supl2/SatellitesListRelatedDataList.h index bba3b88ee..12fed6186 100644 --- a/src/core/libs/supl2/asn-supl2/SatellitesListRelatedDataList.h +++ b/src/core/libs/supl2/asn-supl2/SatellitesListRelatedDataList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SatellitesListRelatedDataList_H_ -#define _SatellitesListRelatedDataList_H_ +#ifndef _SatellitesListRelatedDataList_H_ +#define _SatellitesListRelatedDataList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SatellitesListRelatedData; + /* Forward declarations */ + struct SatellitesListRelatedData; -/* SatellitesListRelatedDataList */ -typedef struct SatellitesListRelatedDataList { - A_SEQUENCE_OF(struct SatellitesListRelatedData) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SatellitesListRelatedDataList_t; + /* SatellitesListRelatedDataList */ + typedef struct SatellitesListRelatedDataList + { + A_SEQUENCE_OF(struct SatellitesListRelatedData) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SatellitesListRelatedDataList; -extern asn_SET_OF_specifics_t asn_SPC_SatellitesListRelatedDataList_specs_1; -extern asn_TYPE_member_t asn_MBR_SatellitesListRelatedDataList_1[1]; -extern asn_per_constraints_t asn_PER_type_SatellitesListRelatedDataList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SatellitesListRelatedDataList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SatellitesListRelatedDataList; + extern asn_SET_OF_specifics_t asn_SPC_SatellitesListRelatedDataList_specs_1; + extern asn_TYPE_member_t asn_MBR_SatellitesListRelatedDataList_1[1]; + extern asn_per_constraints_t asn_PER_type_SatellitesListRelatedDataList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_SatellitesListRelatedDataList_constr_1 /* Referred external types */ #include "SatellitesListRelatedData.h" -#endif /* _SatellitesListRelatedDataList_H_ */ +#endif /* _SatellitesListRelatedDataList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ServiceCapabilities.h b/src/core/libs/supl2/asn-supl2/ServiceCapabilities.h index a250fa535..af8f000f2 100644 --- a/src/core/libs/supl2/asn-supl2/ServiceCapabilities.h +++ b/src/core/libs/supl2/asn-supl2/ServiceCapabilities.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ServiceCapabilities_H_ -#define _ServiceCapabilities_H_ +#ifndef _ServiceCapabilities_H_ +#define _ServiceCapabilities_H_ #include "asn_application.h" @@ -17,32 +17,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReportingCap; -struct EventTriggerCapabilities; + /* Forward declarations */ + struct ReportingCap; + struct EventTriggerCapabilities; -/* ServiceCapabilities */ -typedef struct ServiceCapabilities { - ServicesSupported_t servicesSupported; - struct ReportingCap *reportingCapabilities /* OPTIONAL */; - struct EventTriggerCapabilities *eventTriggerCapabilities /* OPTIONAL */; - SessionCapabilities_t sessionCapabilities; - /* + /* ServiceCapabilities */ + typedef struct ServiceCapabilities + { + ServicesSupported_t servicesSupported; + struct ReportingCap *reportingCapabilities /* OPTIONAL */; + struct EventTriggerCapabilities *eventTriggerCapabilities /* OPTIONAL */; + SessionCapabilities_t sessionCapabilities; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ServiceCapabilities_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ServiceCapabilities; -extern asn_SEQUENCE_specifics_t asn_SPC_ServiceCapabilities_specs_1; -extern asn_TYPE_member_t asn_MBR_ServiceCapabilities_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ServiceCapabilities_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ServiceCapabilities; + extern asn_SEQUENCE_specifics_t asn_SPC_ServiceCapabilities_specs_1; + extern asn_TYPE_member_t asn_MBR_ServiceCapabilities_1[4]; #ifdef __cplusplus } @@ -52,5 +54,5 @@ extern asn_TYPE_member_t asn_MBR_ServiceCapabilities_1[4]; #include "ReportingCap.h" #include "EventTriggerCapabilities.h" -#endif /* _ServiceCapabilities_H_ */ +#endif /* _ServiceCapabilities_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ServicesSupported.h b/src/core/libs/supl2/asn-supl2/ServicesSupported.h index d907a9ef7..2a8aa99b9 100644 --- a/src/core/libs/supl2/asn-supl2/ServicesSupported.h +++ b/src/core/libs/supl2/asn-supl2/ServicesSupported.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ServicesSupported_H_ -#define _ServicesSupported_H_ +#ifndef _ServicesSupported_H_ +#define _ServicesSupported_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ServicesSupported */ -typedef struct ServicesSupported { - BOOLEAN_t periodicTrigger; - BOOLEAN_t areaEventTrigger; - /* + /* ServicesSupported */ + typedef struct ServicesSupported + { + BOOLEAN_t periodicTrigger; + BOOLEAN_t areaEventTrigger; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ServicesSupported_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ServicesSupported; -extern asn_SEQUENCE_specifics_t asn_SPC_ServicesSupported_specs_1; -extern asn_TYPE_member_t asn_MBR_ServicesSupported_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ServicesSupported_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ServicesSupported; + extern asn_SEQUENCE_specifics_t asn_SPC_ServicesSupported_specs_1; + extern asn_TYPE_member_t asn_MBR_ServicesSupported_1[2]; #ifdef __cplusplus } #endif -#endif /* _ServicesSupported_H_ */ +#endif /* _ServicesSupported_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SessionCapabilities.h b/src/core/libs/supl2/asn-supl2/SessionCapabilities.h index 8e29f9362..b162a710f 100644 --- a/src/core/libs/supl2/asn-supl2/SessionCapabilities.h +++ b/src/core/libs/supl2/asn-supl2/SessionCapabilities.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SessionCapabilities_H_ -#define _SessionCapabilities_H_ +#ifndef _SessionCapabilities_H_ +#define _SessionCapabilities_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SessionCapabilities */ -typedef struct SessionCapabilities { - long maxNumberTotalSessions; - long maxNumberPeriodicSessions; - long maxNumberTriggeredSessions; - /* + /* SessionCapabilities */ + typedef struct SessionCapabilities + { + long maxNumberTotalSessions; + long maxNumberPeriodicSessions; + long maxNumberTriggeredSessions; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SessionCapabilities_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SessionCapabilities; -extern asn_SEQUENCE_specifics_t asn_SPC_SessionCapabilities_specs_1; -extern asn_TYPE_member_t asn_MBR_SessionCapabilities_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SessionCapabilities_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SessionCapabilities; + extern asn_SEQUENCE_specifics_t asn_SPC_SessionCapabilities_specs_1; + extern asn_TYPE_member_t asn_MBR_SessionCapabilities_1[3]; #ifdef __cplusplus } #endif -#endif /* _SessionCapabilities_H_ */ +#endif /* _SessionCapabilities_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SessionID.h b/src/core/libs/supl2/asn-supl2/SessionID.h index 0568600ec..3d269c69d 100644 --- a/src/core/libs/supl2/asn-supl2/SessionID.h +++ b/src/core/libs/supl2/asn-supl2/SessionID.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SessionID_H_ -#define _SessionID_H_ +#ifndef _SessionID_H_ +#define _SessionID_H_ #include "asn_application.h" @@ -15,26 +15,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SetSessionID; -struct SlpSessionID; + /* Forward declarations */ + struct SetSessionID; + struct SlpSessionID; -/* SessionID */ -typedef struct SessionID { - struct SetSessionID *setSessionID /* OPTIONAL */; - struct SlpSessionID *slpSessionID /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SessionID_t; + /* SessionID */ + typedef struct SessionID + { + struct SetSessionID *setSessionID /* OPTIONAL */; + struct SlpSessionID *slpSessionID /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SessionID; -extern asn_SEQUENCE_specifics_t asn_SPC_SessionID_specs_1; -extern asn_TYPE_member_t asn_MBR_SessionID_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SessionID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SessionID; + extern asn_SEQUENCE_specifics_t asn_SPC_SessionID_specs_1; + extern asn_TYPE_member_t asn_MBR_SessionID_1[2]; #ifdef __cplusplus } @@ -44,5 +46,5 @@ extern asn_TYPE_member_t asn_MBR_SessionID_1[2]; #include "SetSessionID.h" #include "SlpSessionID.h" -#endif /* _SessionID_H_ */ +#endif /* _SessionID_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SessionInformation.h b/src/core/libs/supl2/asn-supl2/SessionInformation.h index 7dc68367b..c2da9f695 100644 --- a/src/core/libs/supl2/asn-supl2/SessionInformation.h +++ b/src/core/libs/supl2/asn-supl2/SessionInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SessionInformation_H_ -#define _SessionInformation_H_ +#ifndef _SessionInformation_H_ +#define _SessionInformation_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SessionInformation */ -typedef struct SessionInformation { - SessionID_t sessionID; - /* + /* SessionInformation */ + typedef struct SessionInformation + { + SessionID_t sessionID; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SessionInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SessionInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_SessionInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_SessionInformation_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SessionInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SessionInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_SessionInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_SessionInformation_1[1]; #ifdef __cplusplus } #endif -#endif /* _SessionInformation_H_ */ +#endif /* _SessionInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SessionList.h b/src/core/libs/supl2/asn-supl2/SessionList.h index 291c7d04b..b730edac1 100644 --- a/src/core/libs/supl2/asn-supl2/SessionList.h +++ b/src/core/libs/supl2/asn-supl2/SessionList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SessionList_H_ -#define _SessionList_H_ +#ifndef _SessionList_H_ +#define _SessionList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SessionInformation; + /* Forward declarations */ + struct SessionInformation; -/* SessionList */ -typedef struct SessionList { - A_SEQUENCE_OF(struct SessionInformation) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SessionList_t; + /* SessionList */ + typedef struct SessionList + { + A_SEQUENCE_OF(struct SessionInformation) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SessionList; -extern asn_SET_OF_specifics_t asn_SPC_SessionList_specs_1; -extern asn_TYPE_member_t asn_MBR_SessionList_1[1]; -extern asn_per_constraints_t asn_PER_type_SessionList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SessionList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SessionList; + extern asn_SET_OF_specifics_t asn_SPC_SessionList_specs_1; + extern asn_TYPE_member_t asn_MBR_SessionList_1[1]; + extern asn_per_constraints_t asn_PER_type_SessionList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_SessionList_constr_1; /* Referred external types */ #include "SessionInformation.h" -#endif /* _SessionList_H_ */ +#endif /* _SessionList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SetSessionID.h b/src/core/libs/supl2/asn-supl2/SetSessionID.h index eec2ef85d..199edb280 100644 --- a/src/core/libs/supl2/asn-supl2/SetSessionID.h +++ b/src/core/libs/supl2/asn-supl2/SetSessionID.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SetSessionID_H_ -#define _SetSessionID_H_ +#ifndef _SetSessionID_H_ +#define _SetSessionID_H_ #include "asn_application.h" @@ -17,26 +17,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SetSessionID */ -typedef struct SetSessionID { - long sessionId; - SETId_t setId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SetSessionID_t; + /* SetSessionID */ + typedef struct SetSessionID + { + long sessionId; + SETId_t setId; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SetSessionID; -extern asn_SEQUENCE_specifics_t asn_SPC_SetSessionID_specs_1; -extern asn_TYPE_member_t asn_MBR_SetSessionID_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SetSessionID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SetSessionID; + extern asn_SEQUENCE_specifics_t asn_SPC_SetSessionID_specs_1; + extern asn_TYPE_member_t asn_MBR_SetSessionID_1[2]; #ifdef __cplusplus } #endif -#endif /* _SetSessionID_H_ */ +#endif /* _SetSessionID_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SlpSessionID.h b/src/core/libs/supl2/asn-supl2/SlpSessionID.h index b6132af87..926b5dfc0 100644 --- a/src/core/libs/supl2/asn-supl2/SlpSessionID.h +++ b/src/core/libs/supl2/asn-supl2/SlpSessionID.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SlpSessionID_H_ -#define _SlpSessionID_H_ +#ifndef _SlpSessionID_H_ +#define _SlpSessionID_H_ #include "asn_application.h" @@ -17,26 +17,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SlpSessionID */ -typedef struct SlpSessionID { - OCTET_STRING_t sessionID; - SLPAddress_t slpId; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SlpSessionID_t; + /* SlpSessionID */ + typedef struct SlpSessionID + { + OCTET_STRING_t sessionID; + SLPAddress_t slpId; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SlpSessionID; -extern asn_SEQUENCE_specifics_t asn_SPC_SlpSessionID_specs_1; -extern asn_TYPE_member_t asn_MBR_SlpSessionID_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SlpSessionID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SlpSessionID; + extern asn_SEQUENCE_specifics_t asn_SPC_SlpSessionID_specs_1; + extern asn_TYPE_member_t asn_MBR_SlpSessionID_1[2]; #ifdef __cplusplus } #endif -#endif /* _SlpSessionID_H_ */ +#endif /* _SlpSessionID_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Status.h b/src/core/libs/supl2/asn-supl2/Status.h index ef3c47c57..fc8b453db 100644 --- a/src/core/libs/supl2/asn-supl2/Status.h +++ b/src/core/libs/supl2/asn-supl2/Status.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Status_H_ -#define _Status_H_ +#ifndef _Status_H_ +#define _Status_H_ #include "asn_application.h" @@ -15,39 +15,41 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum Status { - Status_stale = 0, - Status_current = 1, - Status_unknown = 2 - /* + /* Dependencies */ + typedef enum Status + { + Status_stale = 0, + Status_current = 1, + Status_unknown = 2 + /* * Enumeration is extensible */ -} e_Status; + } e_Status; -/* Status */ -typedef long Status_t; + /* Status */ + typedef long Status_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Status_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Status; -extern const asn_INTEGER_specifics_t asn_SPC_Status_specs_1; -asn_struct_free_f Status_free; -asn_struct_print_f Status_print; -asn_constr_check_f Status_constraint; -ber_type_decoder_f Status_decode_ber; -der_type_encoder_f Status_encode_der; -xer_type_decoder_f Status_decode_xer; -xer_type_encoder_f Status_encode_xer; -per_type_decoder_f Status_decode_uper; -per_type_encoder_f Status_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_Status_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_Status; + extern const asn_INTEGER_specifics_t asn_SPC_Status_specs_1; + asn_struct_free_f Status_free; + asn_struct_print_f Status_print; + asn_constr_check_f Status_constraint; + ber_type_decoder_f Status_decode_ber; + der_type_encoder_f Status_encode_der; + xer_type_decoder_f Status_decode_xer; + xer_type_encoder_f Status_encode_xer; + per_type_decoder_f Status_decode_uper; + per_type_encoder_f Status_encode_uper; #ifdef __cplusplus } #endif -#endif /* _Status_H_ */ +#endif /* _Status_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/StatusCode.h b/src/core/libs/supl2/asn-supl2/StatusCode.h index 3c1bd1a6d..5d4c034e7 100644 --- a/src/core/libs/supl2/asn-supl2/StatusCode.h +++ b/src/core/libs/supl2/asn-supl2/StatusCode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _StatusCode_H_ -#define _StatusCode_H_ +#ifndef _StatusCode_H_ +#define _StatusCode_H_ #include "asn_application.h" @@ -15,61 +15,63 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum StatusCode { - StatusCode_unspecified = 0, - StatusCode_systemFailure = 1, - StatusCode_unexpectedMessage = 2, - StatusCode_protocolError = 3, - StatusCode_dataMissing = 4, - StatusCode_unexpectedDataValue = 5, - StatusCode_posMethodFailure = 6, - StatusCode_posMethodMismatch = 7, - StatusCode_posProtocolMismatch = 8, - StatusCode_targetSETnotReachable = 9, - StatusCode_versionNotSupported = 10, - StatusCode_resourceShortage = 11, - StatusCode_invalidSessionId = 12, - StatusCode_nonProxyModeNotSupported = 13, - StatusCode_proxyModeNotSupported = 14, - StatusCode_positioningNotPermitted = 15, - StatusCode_authNetFailure = 16, - StatusCode_authSuplinitFailure = 17, - StatusCode_consentDeniedByUser = 100, - StatusCode_consentGrantedByUser = 101, - /* + /* Dependencies */ + typedef enum StatusCode + { + StatusCode_unspecified = 0, + StatusCode_systemFailure = 1, + StatusCode_unexpectedMessage = 2, + StatusCode_protocolError = 3, + StatusCode_dataMissing = 4, + StatusCode_unexpectedDataValue = 5, + StatusCode_posMethodFailure = 6, + StatusCode_posMethodMismatch = 7, + StatusCode_posProtocolMismatch = 8, + StatusCode_targetSETnotReachable = 9, + StatusCode_versionNotSupported = 10, + StatusCode_resourceShortage = 11, + StatusCode_invalidSessionId = 12, + StatusCode_nonProxyModeNotSupported = 13, + StatusCode_proxyModeNotSupported = 14, + StatusCode_positioningNotPermitted = 15, + StatusCode_authNetFailure = 16, + StatusCode_authSuplinitFailure = 17, + StatusCode_consentDeniedByUser = 100, + StatusCode_consentGrantedByUser = 101, + /* * Enumeration is extensible */ - StatusCode_ver2_incompatibleProtectionLevel = 18, - StatusCode_ver2_serviceNotSupported = 19, - StatusCode_ver2_insufficientInterval = 20, - StatusCode_ver2_noSUPLCoverage = 21, - StatusCode_ver2_sessionStopped = 102 -} e_StatusCode; + StatusCode_ver2_incompatibleProtectionLevel = 18, + StatusCode_ver2_serviceNotSupported = 19, + StatusCode_ver2_insufficientInterval = 20, + StatusCode_ver2_noSUPLCoverage = 21, + StatusCode_ver2_sessionStopped = 102 + } e_StatusCode; -/* StatusCode */ -typedef long StatusCode_t; + /* StatusCode */ + typedef long StatusCode_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_StatusCode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_StatusCode; -extern const asn_INTEGER_specifics_t asn_SPC_StatusCode_specs_1; -asn_struct_free_f StatusCode_free; -asn_struct_print_f StatusCode_print; -asn_constr_check_f StatusCode_constraint; -ber_type_decoder_f StatusCode_decode_ber; -der_type_encoder_f StatusCode_encode_der; -xer_type_decoder_f StatusCode_decode_xer; -xer_type_encoder_f StatusCode_encode_xer; -per_type_decoder_f StatusCode_decode_uper; -per_type_encoder_f StatusCode_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_StatusCode_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_StatusCode; + extern const asn_INTEGER_specifics_t asn_SPC_StatusCode_specs_1; + asn_struct_free_f StatusCode_free; + asn_struct_print_f StatusCode_print; + asn_constr_check_f StatusCode_constraint; + ber_type_decoder_f StatusCode_decode_ber; + der_type_encoder_f StatusCode_encode_der; + xer_type_decoder_f StatusCode_decode_xer; + xer_type_encoder_f StatusCode_encode_xer; + per_type_decoder_f StatusCode_decode_uper; + per_type_encoder_f StatusCode_encode_uper; #ifdef __cplusplus } #endif -#endif /* _StatusCode_H_ */ +#endif /* _StatusCode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Supported3GPP2PosProtocolVersion.h b/src/core/libs/supl2/asn-supl2/Supported3GPP2PosProtocolVersion.h index f5b3d0bbf..6b1719c14 100644 --- a/src/core/libs/supl2/asn-supl2/Supported3GPP2PosProtocolVersion.h +++ b/src/core/libs/supl2/asn-supl2/Supported3GPP2PosProtocolVersion.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Supported3GPP2PosProtocolVersion_H_ -#define _Supported3GPP2PosProtocolVersion_H_ +#ifndef _Supported3GPP2PosProtocolVersion_H_ +#define _Supported3GPP2PosProtocolVersion_H_ #include "asn_application.h" @@ -17,31 +17,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Supported3GPP2PosProtocolVersion */ -typedef struct Supported3GPP2PosProtocolVersion { - BIT_STRING_t revisionNumber; - long pointReleaseNumber; - long internalEditLevel; - /* + /* Supported3GPP2PosProtocolVersion */ + typedef struct Supported3GPP2PosProtocolVersion + { + BIT_STRING_t revisionNumber; + long pointReleaseNumber; + long internalEditLevel; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Supported3GPP2PosProtocolVersion_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Supported3GPP2PosProtocolVersion; -extern asn_SEQUENCE_specifics_t asn_SPC_Supported3GPP2PosProtocolVersion_specs_1; -extern asn_TYPE_member_t asn_MBR_Supported3GPP2PosProtocolVersion_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Supported3GPP2PosProtocolVersion_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Supported3GPP2PosProtocolVersion; + extern asn_SEQUENCE_specifics_t asn_SPC_Supported3GPP2PosProtocolVersion_specs_1; + extern asn_TYPE_member_t asn_MBR_Supported3GPP2PosProtocolVersion_1[3]; #ifdef __cplusplus } #endif -#endif /* _Supported3GPP2PosProtocolVersion_H_ */ +#endif /* _Supported3GPP2PosProtocolVersion_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedBearers.h b/src/core/libs/supl2/asn-supl2/SupportedBearers.h index 0a720ca0b..9d2c058e2 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedBearers.h +++ b/src/core/libs/supl2/asn-supl2/SupportedBearers.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedBearers_H_ -#define _SupportedBearers_H_ +#ifndef _SupportedBearers_H_ +#define _SupportedBearers_H_ #include "asn_application.h" @@ -16,36 +16,38 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SupportedBearers */ -typedef struct SupportedBearers { - BOOLEAN_t gsm; - BOOLEAN_t wcdma; - BOOLEAN_t lte; - BOOLEAN_t cdma; - BOOLEAN_t hprd; - BOOLEAN_t umb; - BOOLEAN_t wlan; - BOOLEAN_t wiMAX; - /* + /* SupportedBearers */ + typedef struct SupportedBearers + { + BOOLEAN_t gsm; + BOOLEAN_t wcdma; + BOOLEAN_t lte; + BOOLEAN_t cdma; + BOOLEAN_t hprd; + BOOLEAN_t umb; + BOOLEAN_t wlan; + BOOLEAN_t wiMAX; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedBearers_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedBearers; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedBearers_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedBearers_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedBearers_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedBearers; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedBearers_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedBearers_1[8]; #ifdef __cplusplus } #endif -#endif /* _SupportedBearers_H_ */ +#endif /* _SupportedBearers_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedNetworkInformation.h b/src/core/libs/supl2/asn-supl2/SupportedNetworkInformation.h index fd4b77845..a36b8fe7b 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedNetworkInformation.h +++ b/src/core/libs/supl2/asn-supl2/SupportedNetworkInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedNetworkInformation_H_ -#define _SupportedNetworkInformation_H_ +#ifndef _SupportedNetworkInformation_H_ +#define _SupportedNetworkInformation_H_ #include "asn_application.h" @@ -16,44 +16,46 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SupportedWLANInfo; -struct SupportedWLANApsList; -struct SupportedWCDMAInfo; + /* Forward declarations */ + struct SupportedWLANInfo; + struct SupportedWLANApsList; + struct SupportedWCDMAInfo; -/* SupportedNetworkInformation */ -typedef struct SupportedNetworkInformation { - BOOLEAN_t wLAN; - struct SupportedWLANInfo *supportedWLANInfo /* OPTIONAL */; - struct SupportedWLANApsList *supportedWLANApsList /* OPTIONAL */; - BOOLEAN_t gSM; - BOOLEAN_t wCDMA; - struct SupportedWCDMAInfo *supportedWCDMAInfo /* OPTIONAL */; - BOOLEAN_t cDMA; - BOOLEAN_t hRDP; - BOOLEAN_t uMB; - BOOLEAN_t lTE; - BOOLEAN_t wIMAX; - BOOLEAN_t historic; - BOOLEAN_t nonServing; - BOOLEAN_t uTRANGPSReferenceTime; - BOOLEAN_t uTRANGANSSReferenceTime; - /* + /* SupportedNetworkInformation */ + typedef struct SupportedNetworkInformation + { + BOOLEAN_t wLAN; + struct SupportedWLANInfo *supportedWLANInfo /* OPTIONAL */; + struct SupportedWLANApsList *supportedWLANApsList /* OPTIONAL */; + BOOLEAN_t gSM; + BOOLEAN_t wCDMA; + struct SupportedWCDMAInfo *supportedWCDMAInfo /* OPTIONAL */; + BOOLEAN_t cDMA; + BOOLEAN_t hRDP; + BOOLEAN_t uMB; + BOOLEAN_t lTE; + BOOLEAN_t wIMAX; + BOOLEAN_t historic; + BOOLEAN_t nonServing; + BOOLEAN_t uTRANGPSReferenceTime; + BOOLEAN_t uTRANGANSSReferenceTime; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedNetworkInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedNetworkInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedNetworkInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedNetworkInformation_1[15]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedNetworkInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedNetworkInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedNetworkInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedNetworkInformation_1[15]; #ifdef __cplusplus } @@ -64,5 +66,5 @@ extern asn_TYPE_member_t asn_MBR_SupportedNetworkInformation_1[15]; #include "SupportedWLANApsList.h" #include "SupportedWCDMAInfo.h" -#endif /* _SupportedNetworkInformation_H_ */ +#endif /* _SupportedNetworkInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedWCDMAInfo.h b/src/core/libs/supl2/asn-supl2/SupportedWCDMAInfo.h index f9160892b..1351c104c 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedWCDMAInfo.h +++ b/src/core/libs/supl2/asn-supl2/SupportedWCDMAInfo.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedWCDMAInfo_H_ -#define _SupportedWCDMAInfo_H_ +#ifndef _SupportedWCDMAInfo_H_ +#define _SupportedWCDMAInfo_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SupportedWCDMAInfo */ -typedef struct SupportedWCDMAInfo { - BOOLEAN_t mRL; - /* + /* SupportedWCDMAInfo */ + typedef struct SupportedWCDMAInfo + { + BOOLEAN_t mRL; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedWCDMAInfo_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedWCDMAInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWCDMAInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedWCDMAInfo_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedWCDMAInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedWCDMAInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWCDMAInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedWCDMAInfo_1[1]; #ifdef __cplusplus } #endif -#endif /* _SupportedWCDMAInfo_H_ */ +#endif /* _SupportedWCDMAInfo_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedWLANApData.h b/src/core/libs/supl2/asn-supl2/SupportedWLANApData.h index 782e3bfda..bd9a53e11 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedWLANApData.h +++ b/src/core/libs/supl2/asn-supl2/SupportedWLANApData.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedWLANApData_H_ -#define _SupportedWLANApData_H_ +#ifndef _SupportedWLANApData_H_ +#define _SupportedWLANApData_H_ #include "asn_application.h" @@ -17,41 +17,44 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum SupportedWLANApData__apDevType { - SupportedWLANApData__apDevType_wlan802_11a = 0, - SupportedWLANApData__apDevType_wlan802_11b = 1, - SupportedWLANApData__apDevType_wlan802_11g = 2 - /* + /* Dependencies */ + typedef enum SupportedWLANApData__apDevType + { + SupportedWLANApData__apDevType_wlan802_11a = 0, + SupportedWLANApData__apDevType_wlan802_11b = 1, + SupportedWLANApData__apDevType_wlan802_11g = 2 + /* * Enumeration is extensible */ -} e_SupportedWLANApData__apDevType; + } e_SupportedWLANApData__apDevType; -/* SupportedWLANApData */ -typedef struct SupportedWLANApData { - BIT_STRING_t apMACAddress; - long apDevType; - /* + /* SupportedWLANApData */ + typedef struct SupportedWLANApData + { + BIT_STRING_t apMACAddress; + long apDevType; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedWLANApData_t; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_apDevType_3; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApData; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApData_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedWLANApData_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedWLANApData_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_apDevType_3; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApData; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApData_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedWLANApData_1[2]; #ifdef __cplusplus } #endif -#endif /* _SupportedWLANApData_H_ */ +#endif /* _SupportedWLANApData_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11a.h b/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11a.h index 676e8fe56..159919267 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11a.h +++ b/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11a.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedWLANApsChannel11a_H_ -#define _SupportedWLANApsChannel11a_H_ +#ifndef _SupportedWLANApsChannel11a_H_ +#define _SupportedWLANApsChannel11a_H_ #include "asn_application.h" @@ -16,40 +16,42 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SupportedWLANApsChannel11a */ -typedef struct SupportedWLANApsChannel11a { - BOOLEAN_t ch34; - BOOLEAN_t ch36; - BOOLEAN_t ch38; - BOOLEAN_t ch40; - BOOLEAN_t ch42; - BOOLEAN_t ch44; - BOOLEAN_t ch46; - BOOLEAN_t ch48; - BOOLEAN_t ch52; - BOOLEAN_t ch56; - BOOLEAN_t ch60; - BOOLEAN_t ch64; - BOOLEAN_t ch149; - BOOLEAN_t ch153; - BOOLEAN_t ch157; - BOOLEAN_t ch161; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedWLANApsChannel11a_t; + /* SupportedWLANApsChannel11a */ + typedef struct SupportedWLANApsChannel11a + { + BOOLEAN_t ch34; + BOOLEAN_t ch36; + BOOLEAN_t ch38; + BOOLEAN_t ch40; + BOOLEAN_t ch42; + BOOLEAN_t ch44; + BOOLEAN_t ch46; + BOOLEAN_t ch48; + BOOLEAN_t ch52; + BOOLEAN_t ch56; + BOOLEAN_t ch60; + BOOLEAN_t ch64; + BOOLEAN_t ch149; + BOOLEAN_t ch153; + BOOLEAN_t ch157; + BOOLEAN_t ch161; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApsChannel11a; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApsChannel11a_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedWLANApsChannel11a_1[16]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedWLANApsChannel11a_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApsChannel11a; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApsChannel11a_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedWLANApsChannel11a_1[16]; #ifdef __cplusplus } #endif -#endif /* _SupportedWLANApsChannel11a_H_ */ +#endif /* _SupportedWLANApsChannel11a_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11bg.h b/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11bg.h index cc4887b8a..b70077a11 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11bg.h +++ b/src/core/libs/supl2/asn-supl2/SupportedWLANApsChannel11bg.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedWLANApsChannel11bg_H_ -#define _SupportedWLANApsChannel11bg_H_ +#ifndef _SupportedWLANApsChannel11bg_H_ +#define _SupportedWLANApsChannel11bg_H_ #include "asn_application.h" @@ -16,38 +16,40 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SupportedWLANApsChannel11bg */ -typedef struct SupportedWLANApsChannel11bg { - BOOLEAN_t ch1; - BOOLEAN_t ch2; - BOOLEAN_t ch3; - BOOLEAN_t ch4; - BOOLEAN_t ch5; - BOOLEAN_t ch6; - BOOLEAN_t ch7; - BOOLEAN_t ch8; - BOOLEAN_t ch9; - BOOLEAN_t ch10; - BOOLEAN_t ch11; - BOOLEAN_t ch12; - BOOLEAN_t ch13; - BOOLEAN_t ch14; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedWLANApsChannel11bg_t; + /* SupportedWLANApsChannel11bg */ + typedef struct SupportedWLANApsChannel11bg + { + BOOLEAN_t ch1; + BOOLEAN_t ch2; + BOOLEAN_t ch3; + BOOLEAN_t ch4; + BOOLEAN_t ch5; + BOOLEAN_t ch6; + BOOLEAN_t ch7; + BOOLEAN_t ch8; + BOOLEAN_t ch9; + BOOLEAN_t ch10; + BOOLEAN_t ch11; + BOOLEAN_t ch12; + BOOLEAN_t ch13; + BOOLEAN_t ch14; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApsChannel11bg; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApsChannel11bg_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedWLANApsChannel11bg_1[14]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedWLANApsChannel11bg_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApsChannel11bg; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApsChannel11bg_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedWLANApsChannel11bg_1[14]; #ifdef __cplusplus } #endif -#endif /* _SupportedWLANApsChannel11bg_H_ */ +#endif /* _SupportedWLANApsChannel11bg_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedWLANApsList.h b/src/core/libs/supl2/asn-supl2/SupportedWLANApsList.h index a15d6ba93..16c8efc83 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedWLANApsList.h +++ b/src/core/libs/supl2/asn-supl2/SupportedWLANApsList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedWLANApsList_H_ -#define _SupportedWLANApsList_H_ +#ifndef _SupportedWLANApsList_H_ +#define _SupportedWLANApsList_H_ #include "asn_application.h" @@ -17,37 +17,41 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SupportedWLANApsChannel11a; -struct SupportedWLANApsChannel11bg; -struct SupportedWLANApData; + /* Forward declarations */ + struct SupportedWLANApsChannel11a; + struct SupportedWLANApsChannel11bg; + struct SupportedWLANApData; -/* SupportedWLANApsList */ -typedef struct SupportedWLANApsList { - struct SupportedWLANApsList__supportedWLANApDataList { - A_SEQUENCE_OF(struct SupportedWLANApData) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } supportedWLANApDataList; - struct SupportedWLANApsChannel11a *supportedWLANapsChannel11a /* OPTIONAL */; - struct SupportedWLANApsChannel11bg *supportedWLANapsChannel11bg /* OPTIONAL */; - /* + /* SupportedWLANApsList */ + typedef struct SupportedWLANApsList + { + struct SupportedWLANApsList__supportedWLANApDataList + { + A_SEQUENCE_OF(struct SupportedWLANApData) + list; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } supportedWLANApDataList; + struct SupportedWLANApsChannel11a *supportedWLANapsChannel11a /* OPTIONAL */; + struct SupportedWLANApsChannel11bg *supportedWLANapsChannel11bg /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedWLANApsList_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApsList; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApsList_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedWLANApsList_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedWLANApsList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANApsList; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANApsList_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedWLANApsList_1[3]; #ifdef __cplusplus } @@ -58,5 +62,5 @@ extern asn_TYPE_member_t asn_MBR_SupportedWLANApsList_1[3]; #include "SupportedWLANApsChannel11bg.h" #include "SupportedWLANApData.h" -#endif /* _SupportedWLANApsList_H_ */ +#endif /* _SupportedWLANApsList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/SupportedWLANInfo.h b/src/core/libs/supl2/asn-supl2/SupportedWLANInfo.h index 95deec95d..d07ff48e8 100644 --- a/src/core/libs/supl2/asn-supl2/SupportedWLANInfo.h +++ b/src/core/libs/supl2/asn-supl2/SupportedWLANInfo.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _SupportedWLANInfo_H_ -#define _SupportedWLANInfo_H_ +#ifndef _SupportedWLANInfo_H_ +#define _SupportedWLANInfo_H_ #include "asn_application.h" @@ -16,40 +16,42 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* SupportedWLANInfo */ -typedef struct SupportedWLANInfo { - BOOLEAN_t apTP; - BOOLEAN_t apAG; - BOOLEAN_t apSN; - BOOLEAN_t apDevType; - BOOLEAN_t apRSSI; - BOOLEAN_t apChanFreq; - BOOLEAN_t apRTD; - BOOLEAN_t setTP; - BOOLEAN_t setAG; - BOOLEAN_t setSN; - BOOLEAN_t setRSSI; - BOOLEAN_t apRepLoc; - /* + /* SupportedWLANInfo */ + typedef struct SupportedWLANInfo + { + BOOLEAN_t apTP; + BOOLEAN_t apAG; + BOOLEAN_t apSN; + BOOLEAN_t apDevType; + BOOLEAN_t apRSSI; + BOOLEAN_t apChanFreq; + BOOLEAN_t apRTD; + BOOLEAN_t setTP; + BOOLEAN_t setAG; + BOOLEAN_t setSN; + BOOLEAN_t setRSSI; + BOOLEAN_t apRepLoc; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} SupportedWLANInfo_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANInfo; -extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANInfo_specs_1; -extern asn_TYPE_member_t asn_MBR_SupportedWLANInfo_1[12]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } SupportedWLANInfo_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_SupportedWLANInfo; + extern asn_SEQUENCE_specifics_t asn_SPC_SupportedWLANInfo_specs_1; + extern asn_TYPE_member_t asn_MBR_SupportedWLANInfo_1[12]; #ifdef __cplusplus } #endif -#endif /* _SupportedWLANInfo_H_ */ +#endif /* _SupportedWLANInfo_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TAResolution.h b/src/core/libs/supl2/asn-supl2/TAResolution.h index 5350c16b2..205fa7122 100644 --- a/src/core/libs/supl2/asn-supl2/TAResolution.h +++ b/src/core/libs/supl2/asn-supl2/TAResolution.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TAResolution_H_ -#define _TAResolution_H_ +#ifndef _TAResolution_H_ +#define _TAResolution_H_ #include "asn_application.h" @@ -15,39 +15,41 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum TAResolution { - TAResolution_res10chip = 0, - TAResolution_res05chip = 1, - TAResolution_res0125chip = 2 - /* + /* Dependencies */ + typedef enum TAResolution + { + TAResolution_res10chip = 0, + TAResolution_res05chip = 1, + TAResolution_res0125chip = 2 + /* * Enumeration is extensible */ -} e_TAResolution; + } e_TAResolution; -/* TAResolution */ -typedef long TAResolution_t; + /* TAResolution */ + typedef long TAResolution_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TAResolution_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TAResolution; -extern const asn_INTEGER_specifics_t asn_SPC_TAResolution_specs_1; -asn_struct_free_f TAResolution_free; -asn_struct_print_f TAResolution_print; -asn_constr_check_f TAResolution_constraint; -ber_type_decoder_f TAResolution_decode_ber; -der_type_encoder_f TAResolution_encode_der; -xer_type_decoder_f TAResolution_decode_xer; -xer_type_encoder_f TAResolution_encode_xer; -per_type_decoder_f TAResolution_decode_uper; -per_type_encoder_f TAResolution_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TAResolution_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TAResolution; + extern const asn_INTEGER_specifics_t asn_SPC_TAResolution_specs_1; + asn_struct_free_f TAResolution_free; + asn_struct_print_f TAResolution_print; + asn_constr_check_f TAResolution_constraint; + ber_type_decoder_f TAResolution_decode_ber; + der_type_encoder_f TAResolution_encode_der; + xer_type_decoder_f TAResolution_decode_xer; + xer_type_encoder_f TAResolution_encode_xer; + per_type_decoder_f TAResolution_decode_uper; + per_type_encoder_f TAResolution_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TAResolution_H_ */ +#endif /* _TAResolution_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TGSN.h b/src/core/libs/supl2/asn-supl2/TGSN.h index b52918854..e7452c63c 100644 --- a/src/core/libs/supl2/asn-supl2/TGSN.h +++ b/src/core/libs/supl2/asn-supl2/TGSN.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TGSN_H_ -#define _TGSN_H_ +#ifndef _TGSN_H_ +#define _TGSN_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TGSN */ -typedef long TGSN_t; + /* TGSN */ + typedef long TGSN_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TGSN_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TGSN; -asn_struct_free_f TGSN_free; -asn_struct_print_f TGSN_print; -asn_constr_check_f TGSN_constraint; -ber_type_decoder_f TGSN_decode_ber; -der_type_encoder_f TGSN_encode_der; -xer_type_decoder_f TGSN_decode_xer; -xer_type_encoder_f TGSN_encode_xer; -per_type_decoder_f TGSN_decode_uper; -per_type_encoder_f TGSN_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TGSN_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TGSN; + asn_struct_free_f TGSN_free; + asn_struct_print_f TGSN_print; + asn_constr_check_f TGSN_constraint; + ber_type_decoder_f TGSN_decode_ber; + der_type_encoder_f TGSN_encode_der; + xer_type_decoder_f TGSN_decode_xer; + xer_type_encoder_f TGSN_encode_xer; + per_type_decoder_f TGSN_decode_uper; + per_type_encoder_f TGSN_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TGSN_H_ */ +#endif /* _TGSN_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ThirdParty.h b/src/core/libs/supl2/asn-supl2/ThirdParty.h index b55b121d0..cddca9f02 100644 --- a/src/core/libs/supl2/asn-supl2/ThirdParty.h +++ b/src/core/libs/supl2/asn-supl2/ThirdParty.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ThirdParty_H_ -#define _ThirdParty_H_ +#ifndef _ThirdParty_H_ +#define _ThirdParty_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ThirdPartyID; + /* Forward declarations */ + struct ThirdPartyID; -/* ThirdParty */ -typedef struct ThirdParty { - A_SEQUENCE_OF(struct ThirdPartyID) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ThirdParty_t; + /* ThirdParty */ + typedef struct ThirdParty + { + A_SEQUENCE_OF(struct ThirdPartyID) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ThirdParty; -extern asn_SET_OF_specifics_t asn_SPC_ThirdParty_specs_1; -extern asn_TYPE_member_t asn_MBR_ThirdParty_1[1]; -extern asn_per_constraints_t asn_PER_type_ThirdParty_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ThirdParty_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ThirdParty; + extern asn_SET_OF_specifics_t asn_SPC_ThirdParty_specs_1; + extern asn_TYPE_member_t asn_MBR_ThirdParty_1[1]; + extern asn_per_constraints_t asn_PER_type_ThirdParty_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_ThirdParty_constr_1; /* Referred external types */ #include "ThirdPartyID.h" -#endif /* _ThirdParty_H_ */ +#endif /* _ThirdParty_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ThirdPartyID.h b/src/core/libs/supl2/asn-supl2/ThirdPartyID.h index d78680711..29e3ca032 100644 --- a/src/core/libs/supl2/asn-supl2/ThirdPartyID.h +++ b/src/core/libs/supl2/asn-supl2/ThirdPartyID.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ThirdPartyID_H_ -#define _ThirdPartyID_H_ +#ifndef _ThirdPartyID_H_ +#define _ThirdPartyID_H_ #include "asn_application.h" @@ -19,55 +19,59 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum ThirdPartyID_PR { - ThirdPartyID_PR_NOTHING, /* No components present */ - ThirdPartyID_PR_logicalName, - ThirdPartyID_PR_msisdn, - ThirdPartyID_PR_emailaddr, - ThirdPartyID_PR_sip_uri, - ThirdPartyID_PR_ims_public_identity, - ThirdPartyID_PR_min, - ThirdPartyID_PR_mdn, - ThirdPartyID_PR_uri - /* Extensions may appear below */ - -} ThirdPartyID_PR; + /* Dependencies */ + typedef enum ThirdPartyID_PR + { + ThirdPartyID_PR_NOTHING, /* No components present */ + ThirdPartyID_PR_logicalName, + ThirdPartyID_PR_msisdn, + ThirdPartyID_PR_emailaddr, + ThirdPartyID_PR_sip_uri, + ThirdPartyID_PR_ims_public_identity, + ThirdPartyID_PR_min, + ThirdPartyID_PR_mdn, + ThirdPartyID_PR_uri + /* Extensions may appear below */ -/* ThirdPartyID */ -typedef struct ThirdPartyID { - ThirdPartyID_PR present; - union ThirdPartyID_u { - IA5String_t logicalName; - OCTET_STRING_t msisdn; - IA5String_t emailaddr; - VisibleString_t sip_uri; - VisibleString_t ims_public_identity; - BIT_STRING_t min; - OCTET_STRING_t mdn; - VisibleString_t uri; - /* + } ThirdPartyID_PR; + + /* ThirdPartyID */ + typedef struct ThirdPartyID + { + ThirdPartyID_PR present; + union ThirdPartyID_u + { + IA5String_t logicalName; + OCTET_STRING_t msisdn; + IA5String_t emailaddr; + VisibleString_t sip_uri; + VisibleString_t ims_public_identity; + BIT_STRING_t min; + OCTET_STRING_t mdn; + VisibleString_t uri; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ThirdPartyID_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ThirdPartyID; -extern asn_CHOICE_specifics_t asn_SPC_ThirdPartyID_specs_1; -extern asn_TYPE_member_t asn_MBR_ThirdPartyID_1[8]; -extern asn_per_constraints_t asn_PER_type_ThirdPartyID_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ThirdPartyID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ThirdPartyID; + extern asn_CHOICE_specifics_t asn_SPC_ThirdPartyID_specs_1; + extern asn_TYPE_member_t asn_MBR_ThirdPartyID_1[8]; + extern asn_per_constraints_t asn_PER_type_ThirdPartyID_constr_1; #ifdef __cplusplus } #endif -#endif /* _ThirdPartyID_H_ */ +#endif /* _ThirdPartyID_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TimeStamp.h b/src/core/libs/supl2/asn-supl2/TimeStamp.h index 55dd06db6..2d8c2cfd7 100644 --- a/src/core/libs/supl2/asn-supl2/TimeStamp.h +++ b/src/core/libs/supl2/asn-supl2/TimeStamp.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TimeStamp_H_ -#define _TimeStamp_H_ +#ifndef _TimeStamp_H_ +#define _TimeStamp_H_ #include "asn_application.h" @@ -17,37 +17,41 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum TimeStamp_PR { - TimeStamp_PR_NOTHING, /* No components present */ - TimeStamp_PR_absoluteTime, - TimeStamp_PR_relativeTime -} TimeStamp_PR; + /* Dependencies */ + typedef enum TimeStamp_PR + { + TimeStamp_PR_NOTHING, /* No components present */ + TimeStamp_PR_absoluteTime, + TimeStamp_PR_relativeTime + } TimeStamp_PR; -/* TimeStamp */ -typedef struct TimeStamp { - TimeStamp_PR present; - union TimeStamp_u { - UTCTime_t absoluteTime; - long relativeTime; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TimeStamp_t; + /* TimeStamp */ + typedef struct TimeStamp + { + TimeStamp_PR present; + union TimeStamp_u + { + UTCTime_t absoluteTime; + long relativeTime; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeStamp; -extern asn_CHOICE_specifics_t asn_SPC_TimeStamp_specs_1; -extern asn_TYPE_member_t asn_MBR_TimeStamp_1[2]; -extern asn_per_constraints_t asn_PER_type_TimeStamp_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TimeStamp_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TimeStamp; + extern asn_CHOICE_specifics_t asn_SPC_TimeStamp_specs_1; + extern asn_TYPE_member_t asn_MBR_TimeStamp_1[2]; + extern asn_per_constraints_t asn_PER_type_TimeStamp_constr_1; #ifdef __cplusplus } #endif -#endif /* _TimeStamp_H_ */ +#endif /* _TimeStamp_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TimeWindow.h b/src/core/libs/supl2/asn-supl2/TimeWindow.h index 5d44e14dd..bc03a5268 100644 --- a/src/core/libs/supl2/asn-supl2/TimeWindow.h +++ b/src/core/libs/supl2/asn-supl2/TimeWindow.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TimeWindow_H_ -#define _TimeWindow_H_ +#ifndef _TimeWindow_H_ +#define _TimeWindow_H_ #include "asn_application.h" @@ -16,26 +16,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TimeWindow */ -typedef struct TimeWindow { - long startTime; - long stopTime; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TimeWindow_t; + /* TimeWindow */ + typedef struct TimeWindow + { + long startTime; + long stopTime; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeWindow; -extern asn_SEQUENCE_specifics_t asn_SPC_TimeWindow_specs_1; -extern asn_TYPE_member_t asn_MBR_TimeWindow_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TimeWindow_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TimeWindow; + extern asn_SEQUENCE_specifics_t asn_SPC_TimeWindow_specs_1; + extern asn_TYPE_member_t asn_MBR_TimeWindow_1[2]; #ifdef __cplusplus } #endif -#endif /* _TimeWindow_H_ */ +#endif /* _TimeWindow_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TimeslotISCP-List.h b/src/core/libs/supl2/asn-supl2/TimeslotISCP-List.h index 296842b39..5ac194c1f 100644 --- a/src/core/libs/supl2/asn-supl2/TimeslotISCP-List.h +++ b/src/core/libs/supl2/asn-supl2/TimeslotISCP-List.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TimeslotISCP_List_H_ -#define _TimeslotISCP_List_H_ +#ifndef _TimeslotISCP_List_H_ +#define _TimeslotISCP_List_H_ #include "asn_application.h" @@ -17,26 +17,29 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TimeslotISCP-List */ -typedef struct TimeslotISCP_List { - A_SEQUENCE_OF(TimeslotISCP_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TimeslotISCP_List_t; + /* TimeslotISCP-List */ + typedef struct TimeslotISCP_List + { + A_SEQUENCE_OF(TimeslotISCP_t) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimeslotISCP_List; -extern asn_SET_OF_specifics_t asn_SPC_TimeslotISCP_List_specs_1; -extern asn_TYPE_member_t asn_MBR_TimeslotISCP_List_1[1]; -extern asn_per_constraints_t asn_PER_type_TimeslotISCP_List_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TimeslotISCP_List_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TimeslotISCP_List; + extern asn_SET_OF_specifics_t asn_SPC_TimeslotISCP_List_specs_1; + extern asn_TYPE_member_t asn_MBR_TimeslotISCP_List_1[1]; + extern asn_per_constraints_t asn_PER_type_TimeslotISCP_List_constr_1; #ifdef __cplusplus } #endif -#endif /* _TimeslotISCP_List_H_ */ +#endif /* _TimeslotISCP_List_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TimeslotISCP.h b/src/core/libs/supl2/asn-supl2/TimeslotISCP.h index c9709a1db..5e8cae1d0 100644 --- a/src/core/libs/supl2/asn-supl2/TimeslotISCP.h +++ b/src/core/libs/supl2/asn-supl2/TimeslotISCP.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TimeslotISCP_H_ -#define _TimeslotISCP_H_ +#ifndef _TimeslotISCP_H_ +#define _TimeslotISCP_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TimeslotISCP */ -typedef long TimeslotISCP_t; + /* TimeslotISCP */ + typedef long TimeslotISCP_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TimeslotISCP_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TimeslotISCP; -asn_struct_free_f TimeslotISCP_free; -asn_struct_print_f TimeslotISCP_print; -asn_constr_check_f TimeslotISCP_constraint; -ber_type_decoder_f TimeslotISCP_decode_ber; -der_type_encoder_f TimeslotISCP_encode_der; -xer_type_decoder_f TimeslotISCP_decode_xer; -xer_type_encoder_f TimeslotISCP_encode_xer; -per_type_decoder_f TimeslotISCP_decode_uper; -per_type_encoder_f TimeslotISCP_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TimeslotISCP_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TimeslotISCP; + asn_struct_free_f TimeslotISCP_free; + asn_struct_print_f TimeslotISCP_print; + asn_constr_check_f TimeslotISCP_constraint; + ber_type_decoder_f TimeslotISCP_decode_ber; + der_type_encoder_f TimeslotISCP_encode_der; + xer_type_decoder_f TimeslotISCP_decode_xer; + xer_type_encoder_f TimeslotISCP_encode_xer; + per_type_decoder_f TimeslotISCP_decode_uper; + per_type_encoder_f TimeslotISCP_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TimeslotISCP_H_ */ +#endif /* _TimeslotISCP_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TimingAdvance.h b/src/core/libs/supl2/asn-supl2/TimingAdvance.h index 8d4079f56..bf6f8aa99 100644 --- a/src/core/libs/supl2/asn-supl2/TimingAdvance.h +++ b/src/core/libs/supl2/asn-supl2/TimingAdvance.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TimingAdvance_H_ -#define _TimingAdvance_H_ +#ifndef _TimingAdvance_H_ +#define _TimingAdvance_H_ #include "asn_application.h" @@ -18,31 +18,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TimingAdvance */ -typedef struct TimingAdvance { - long tA; - TAResolution_t *tAResolution /* OPTIONAL */; - ChipRate_t *chipRate /* OPTIONAL */; - /* + /* TimingAdvance */ + typedef struct TimingAdvance + { + long tA; + TAResolution_t *tAResolution /* OPTIONAL */; + ChipRate_t *chipRate /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TimingAdvance_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TimingAdvance; -extern asn_SEQUENCE_specifics_t asn_SPC_TimingAdvance_specs_1; -extern asn_TYPE_member_t asn_MBR_TimingAdvance_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TimingAdvance_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TimingAdvance; + extern asn_SEQUENCE_specifics_t asn_SPC_TimingAdvance_specs_1; + extern asn_TYPE_member_t asn_MBR_TimingAdvance_1[3]; #ifdef __cplusplus } #endif -#endif /* _TimingAdvance_H_ */ +#endif /* _TimingAdvance_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TrackingAreaCode.h b/src/core/libs/supl2/asn-supl2/TrackingAreaCode.h index 615ac70ee..798fbd032 100644 --- a/src/core/libs/supl2/asn-supl2/TrackingAreaCode.h +++ b/src/core/libs/supl2/asn-supl2/TrackingAreaCode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TrackingAreaCode_H_ -#define _TrackingAreaCode_H_ +#ifndef _TrackingAreaCode_H_ +#define _TrackingAreaCode_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* TrackingAreaCode */ -typedef BIT_STRING_t TrackingAreaCode_t; + /* TrackingAreaCode */ + typedef BIT_STRING_t TrackingAreaCode_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TrackingAreaCode_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TrackingAreaCode; -asn_struct_free_f TrackingAreaCode_free; -asn_struct_print_f TrackingAreaCode_print; -asn_constr_check_f TrackingAreaCode_constraint; -ber_type_decoder_f TrackingAreaCode_decode_ber; -der_type_encoder_f TrackingAreaCode_encode_der; -xer_type_decoder_f TrackingAreaCode_decode_xer; -xer_type_encoder_f TrackingAreaCode_encode_xer; -per_type_decoder_f TrackingAreaCode_decode_uper; -per_type_encoder_f TrackingAreaCode_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TrackingAreaCode_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TrackingAreaCode; + asn_struct_free_f TrackingAreaCode_free; + asn_struct_print_f TrackingAreaCode_print; + asn_constr_check_f TrackingAreaCode_constraint; + ber_type_decoder_f TrackingAreaCode_decode_ber; + der_type_encoder_f TrackingAreaCode_encode_der; + xer_type_decoder_f TrackingAreaCode_decode_xer; + xer_type_encoder_f TrackingAreaCode_encode_xer; + per_type_decoder_f TrackingAreaCode_decode_uper; + per_type_encoder_f TrackingAreaCode_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TrackingAreaCode_H_ */ +#endif /* _TrackingAreaCode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TriggerParams.h b/src/core/libs/supl2/asn-supl2/TriggerParams.h index 4c9f54fd7..03e3a280f 100644 --- a/src/core/libs/supl2/asn-supl2/TriggerParams.h +++ b/src/core/libs/supl2/asn-supl2/TriggerParams.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TriggerParams_H_ -#define _TriggerParams_H_ +#ifndef _TriggerParams_H_ +#define _TriggerParams_H_ #include "asn_application.h" @@ -17,43 +17,47 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum TriggerParams_PR { - TriggerParams_PR_NOTHING, /* No components present */ - TriggerParams_PR_periodicParams, - TriggerParams_PR_areaEventParams - /* Extensions may appear below */ - -} TriggerParams_PR; + /* Dependencies */ + typedef enum TriggerParams_PR + { + TriggerParams_PR_NOTHING, /* No components present */ + TriggerParams_PR_periodicParams, + TriggerParams_PR_areaEventParams + /* Extensions may appear below */ -/* TriggerParams */ -typedef struct TriggerParams { - TriggerParams_PR present; - union TriggerParams_u { - PeriodicParams_t periodicParams; - AreaEventParams_t areaEventParams; - /* + } TriggerParams_PR; + + /* TriggerParams */ + typedef struct TriggerParams + { + TriggerParams_PR present; + union TriggerParams_u + { + PeriodicParams_t periodicParams; + AreaEventParams_t areaEventParams; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} TriggerParams_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_TriggerParams; -extern asn_CHOICE_specifics_t asn_SPC_TriggerParams_specs_1; -extern asn_TYPE_member_t asn_MBR_TriggerParams_1[2]; -extern asn_per_constraints_t asn_PER_type_TriggerParams_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } TriggerParams_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_TriggerParams; + extern asn_CHOICE_specifics_t asn_SPC_TriggerParams_specs_1; + extern asn_TYPE_member_t asn_MBR_TriggerParams_1[2]; + extern asn_per_constraints_t asn_PER_type_TriggerParams_constr_1; #ifdef __cplusplus } #endif -#endif /* _TriggerParams_H_ */ +#endif /* _TriggerParams_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/TriggerType.h b/src/core/libs/supl2/asn-supl2/TriggerType.h index b00745152..2fcf7fc73 100644 --- a/src/core/libs/supl2/asn-supl2/TriggerType.h +++ b/src/core/libs/supl2/asn-supl2/TriggerType.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _TriggerType_H_ -#define _TriggerType_H_ +#ifndef _TriggerType_H_ +#define _TriggerType_H_ #include "asn_application.h" @@ -15,38 +15,40 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum TriggerType { - TriggerType_periodic = 0, - TriggerType_areaEvent = 1 - /* + /* Dependencies */ + typedef enum TriggerType + { + TriggerType_periodic = 0, + TriggerType_areaEvent = 1 + /* * Enumeration is extensible */ -} e_TriggerType; + } e_TriggerType; -/* TriggerType */ -typedef long TriggerType_t; + /* TriggerType */ + typedef long TriggerType_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_TriggerType_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_TriggerType; -extern const asn_INTEGER_specifics_t asn_SPC_TriggerType_specs_1; -asn_struct_free_f TriggerType_free; -asn_struct_print_f TriggerType_print; -asn_constr_check_f TriggerType_constraint; -ber_type_decoder_f TriggerType_decode_ber; -der_type_encoder_f TriggerType_encode_der; -xer_type_decoder_f TriggerType_decode_xer; -xer_type_encoder_f TriggerType_encode_xer; -per_type_decoder_f TriggerType_decode_uper; -per_type_encoder_f TriggerType_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_TriggerType_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_TriggerType; + extern const asn_INTEGER_specifics_t asn_SPC_TriggerType_specs_1; + asn_struct_free_f TriggerType_free; + asn_struct_print_f TriggerType_print; + asn_constr_check_f TriggerType_constraint; + ber_type_decoder_f TriggerType_decode_ber; + der_type_encoder_f TriggerType_encode_der; + xer_type_decoder_f TriggerType_decode_xer; + xer_type_encoder_f TriggerType_encode_xer; + per_type_decoder_f TriggerType_decode_uper; + per_type_encoder_f TriggerType_encode_uper; #ifdef __cplusplus } #endif -#endif /* _TriggerType_H_ */ +#endif /* _TriggerType_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UARFCN.h b/src/core/libs/supl2/asn-supl2/UARFCN.h index ac016e953..7137724d9 100644 --- a/src/core/libs/supl2/asn-supl2/UARFCN.h +++ b/src/core/libs/supl2/asn-supl2/UARFCN.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UARFCN_H_ -#define _UARFCN_H_ +#ifndef _UARFCN_H_ +#define _UARFCN_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UARFCN */ -typedef long UARFCN_t; + /* UARFCN */ + typedef long UARFCN_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_UARFCN_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_UARFCN; -asn_struct_free_f UARFCN_free; -asn_struct_print_f UARFCN_print; -asn_constr_check_f UARFCN_constraint; -ber_type_decoder_f UARFCN_decode_ber; -der_type_encoder_f UARFCN_encode_der; -xer_type_decoder_f UARFCN_decode_xer; -xer_type_encoder_f UARFCN_encode_xer; -per_type_decoder_f UARFCN_decode_uper; -per_type_encoder_f UARFCN_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_UARFCN_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_UARFCN; + asn_struct_free_f UARFCN_free; + asn_struct_print_f UARFCN_print; + asn_constr_check_f UARFCN_constraint; + ber_type_decoder_f UARFCN_decode_ber; + der_type_encoder_f UARFCN_encode_der; + xer_type_decoder_f UARFCN_decode_xer; + xer_type_encoder_f UARFCN_encode_xer; + per_type_decoder_f UARFCN_decode_uper; + per_type_encoder_f UARFCN_encode_uper; #ifdef __cplusplus } #endif -#endif /* _UARFCN_H_ */ +#endif /* _UARFCN_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/ULP-PDU.h b/src/core/libs/supl2/asn-supl2/ULP-PDU.h index b16c090f1..522102c20 100644 --- a/src/core/libs/supl2/asn-supl2/ULP-PDU.h +++ b/src/core/libs/supl2/asn-supl2/ULP-PDU.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _ULP_PDU_H_ -#define _ULP_PDU_H_ +#ifndef _ULP_PDU_H_ +#define _ULP_PDU_H_ #include "asn_application.h" @@ -19,26 +19,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* ULP-PDU */ -typedef struct ULP_PDU { - long length; - Version_t version; - SessionID_t sessionID; - UlpMessage_t message; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} ULP_PDU_t; + /* ULP-PDU */ + typedef struct ULP_PDU + { + long length; + Version_t version; + SessionID_t sessionID; + UlpMessage_t message; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_ULP_PDU; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } ULP_PDU_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_ULP_PDU; #ifdef __cplusplus } #endif -#endif /* _ULP_PDU_H_ */ +#endif /* _ULP_PDU_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UMBAreaId.h b/src/core/libs/supl2/asn-supl2/UMBAreaId.h index 6905a50ea..0001dd66f 100644 --- a/src/core/libs/supl2/asn-supl2/UMBAreaId.h +++ b/src/core/libs/supl2/asn-supl2/UMBAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UMBAreaId_H_ -#define _UMBAreaId_H_ +#ifndef _UMBAreaId_H_ +#define _UMBAreaId_H_ #include "asn_application.h" @@ -17,31 +17,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UMBAreaId */ -typedef struct UMBAreaId { - long *refMCC /* OPTIONAL */; - long *refMNC /* OPTIONAL */; - BIT_STRING_t *refSECTORID /* OPTIONAL */; - /* + /* UMBAreaId */ + typedef struct UMBAreaId + { + long *refMCC /* OPTIONAL */; + long *refMNC /* OPTIONAL */; + BIT_STRING_t *refSECTORID /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UMBAreaId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UMBAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_UMBAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_UMBAreaId_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UMBAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UMBAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_UMBAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_UMBAreaId_1[3]; #ifdef __cplusplus } #endif -#endif /* _UMBAreaId_H_ */ +#endif /* _UMBAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTCTime.h b/src/core/libs/supl2/asn-supl2/UTCTime.h index cb7b6b9cc..6f96107e7 100644 --- a/src/core/libs/supl2/asn-supl2/UTCTime.h +++ b/src/core/libs/supl2/asn-supl2/UTCTime.h @@ -2,47 +2,48 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _UTCTime_H_ -#define _UTCTime_H_ +#ifndef _UTCTime_H_ +#define _UTCTime_H_ #include "OCTET_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef OCTET_STRING_t UTCTime_t; /* Implemented via OCTET STRING */ + typedef OCTET_STRING_t UTCTime_t; /* Implemented via OCTET STRING */ -extern asn_TYPE_descriptor_t asn_DEF_UTCTime; -extern asn_TYPE_operation_t asn_OP_UTCTime; + extern asn_TYPE_descriptor_t asn_DEF_UTCTime; + extern asn_TYPE_operation_t asn_OP_UTCTime; -asn_struct_print_f UTCTime_print; -asn_struct_compare_f UTCTime_compare; -asn_constr_check_f UTCTime_constraint; -xer_type_encoder_f UTCTime_encode_xer; -asn_random_fill_f UTCTime_random_fill; + asn_struct_print_f UTCTime_print; + asn_struct_compare_f UTCTime_compare; + asn_constr_check_f UTCTime_constraint; + xer_type_encoder_f UTCTime_encode_xer; + asn_random_fill_f UTCTime_random_fill; -#define UTCTime_free OCTET_STRING_free -#define UTCTime_decode_ber OCTET_STRING_decode_ber -#define UTCTime_encode_der OCTET_STRING_encode_der -#define UTCTime_decode_xer OCTET_STRING_decode_xer_utf8 -#define UTCTime_decode_uper OCTET_STRING_decode_uper -#define UTCTime_encode_uper OCTET_STRING_encode_uper +#define UTCTime_free OCTET_STRING_free +#define UTCTime_decode_ber OCTET_STRING_decode_ber +#define UTCTime_encode_der OCTET_STRING_encode_der +#define UTCTime_decode_xer OCTET_STRING_decode_xer_utf8 +#define UTCTime_decode_uper OCTET_STRING_decode_uper +#define UTCTime_encode_uper OCTET_STRING_encode_uper -/*********************** + /*********************** * Some handy helpers. * ***********************/ -struct tm; /* */ + struct tm; /* */ -/* See asn_GT2time() in GeneralizedTime.h */ -time_t asn_UT2time(const UTCTime_t *, struct tm *_optional_tm4fill, int as_gmt); + /* See asn_GT2time() in GeneralizedTime.h */ + time_t asn_UT2time(const UTCTime_t *, struct tm *_optional_tm4fill, int as_gmt); -/* See asn_time2GT() in GeneralizedTime.h */ -UTCTime_t *asn_time2UT(UTCTime_t *__opt_ut, const struct tm *, int force_gmt); + /* See asn_time2GT() in GeneralizedTime.h */ + UTCTime_t *asn_time2UT(UTCTime_t *__opt_ut, const struct tm *, int force_gmt); #ifdef __cplusplus } #endif -#endif /* _UTCTime_H_ */ +#endif /* _UTCTime_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/UTRA-CarrierRSSI.h b/src/core/libs/supl2/asn-supl2/UTRA-CarrierRSSI.h index 11bbe156e..4e6acb12d 100644 --- a/src/core/libs/supl2/asn-supl2/UTRA-CarrierRSSI.h +++ b/src/core/libs/supl2/asn-supl2/UTRA-CarrierRSSI.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRA_CarrierRSSI_H_ -#define _UTRA_CarrierRSSI_H_ +#ifndef _UTRA_CarrierRSSI_H_ +#define _UTRA_CarrierRSSI_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "NativeInteger.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UTRA-CarrierRSSI */ -typedef long UTRA_CarrierRSSI_t; + /* UTRA-CarrierRSSI */ + typedef long UTRA_CarrierRSSI_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_UTRA_CarrierRSSI_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_UTRA_CarrierRSSI; -asn_struct_free_f UTRA_CarrierRSSI_free; -asn_struct_print_f UTRA_CarrierRSSI_print; -asn_constr_check_f UTRA_CarrierRSSI_constraint; -ber_type_decoder_f UTRA_CarrierRSSI_decode_ber; -der_type_encoder_f UTRA_CarrierRSSI_encode_der; -xer_type_decoder_f UTRA_CarrierRSSI_decode_xer; -xer_type_encoder_f UTRA_CarrierRSSI_encode_xer; -per_type_decoder_f UTRA_CarrierRSSI_decode_uper; -per_type_encoder_f UTRA_CarrierRSSI_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_UTRA_CarrierRSSI_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_UTRA_CarrierRSSI; + asn_struct_free_f UTRA_CarrierRSSI_free; + asn_struct_print_f UTRA_CarrierRSSI_print; + asn_constr_check_f UTRA_CarrierRSSI_constraint; + ber_type_decoder_f UTRA_CarrierRSSI_decode_ber; + der_type_encoder_f UTRA_CarrierRSSI_encode_der; + xer_type_decoder_f UTRA_CarrierRSSI_decode_xer; + xer_type_encoder_f UTRA_CarrierRSSI_encode_xer; + per_type_decoder_f UTRA_CarrierRSSI_decode_uper; + per_type_encoder_f UTRA_CarrierRSSI_encode_uper; #ifdef __cplusplus } #endif -#endif /* _UTRA_CarrierRSSI_H_ */ +#endif /* _UTRA_CarrierRSSI_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTime.h b/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTime.h index 6257717ff..879c579d6 100644 --- a/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTime.h +++ b/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRAN_GANSSReferenceTime_H_ -#define _UTRAN_GANSSReferenceTime_H_ +#ifndef _UTRAN_GANSSReferenceTime_H_ +#define _UTRAN_GANSSReferenceTime_H_ #include "asn_application.h" @@ -19,59 +19,66 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UTRAN_GANSSReferenceTime__modeSpecificInfo_PR { - UTRAN_GANSSReferenceTime__modeSpecificInfo_PR_NOTHING, /* No components present */ - UTRAN_GANSSReferenceTime__modeSpecificInfo_PR_fdd, - UTRAN_GANSSReferenceTime__modeSpecificInfo_PR_tdd -} UTRAN_GANSSReferenceTime__modeSpecificInfo_PR; + /* Dependencies */ + typedef enum UTRAN_GANSSReferenceTime__modeSpecificInfo_PR + { + UTRAN_GANSSReferenceTime__modeSpecificInfo_PR_NOTHING, /* No components present */ + UTRAN_GANSSReferenceTime__modeSpecificInfo_PR_fdd, + UTRAN_GANSSReferenceTime__modeSpecificInfo_PR_tdd + } UTRAN_GANSSReferenceTime__modeSpecificInfo_PR; -/* UTRAN-GANSSReferenceTime */ -typedef struct UTRAN_GANSSReferenceTime { - long ganssTOD; - long *utran_GANSSTimingOfCell /* OPTIONAL */; - struct UTRAN_GANSSReferenceTime__modeSpecificInfo { - UTRAN_GANSSReferenceTime__modeSpecificInfo_PR present; - union UTRAN_GANSSReferenceTime__modeSpecificInfo_u { - struct UTRAN_GANSSReferenceTime__modeSpecificInfo__fdd { - PrimaryCPICH_Info_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } fdd; - struct UTRAN_GANSSReferenceTime__modeSpecificInfo__tdd { - CellParametersID_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } tdd; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *modeSpecificInfo; - long sfn; - long *ganss_TODUncertainty /* OPTIONAL */; - /* + /* UTRAN-GANSSReferenceTime */ + typedef struct UTRAN_GANSSReferenceTime + { + long ganssTOD; + long *utran_GANSSTimingOfCell /* OPTIONAL */; + struct UTRAN_GANSSReferenceTime__modeSpecificInfo + { + UTRAN_GANSSReferenceTime__modeSpecificInfo_PR present; + union UTRAN_GANSSReferenceTime__modeSpecificInfo_u + { + struct UTRAN_GANSSReferenceTime__modeSpecificInfo__fdd + { + PrimaryCPICH_Info_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } fdd; + struct UTRAN_GANSSReferenceTime__modeSpecificInfo__tdd + { + CellParametersID_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } tdd; + } choice; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * modeSpecificInfo; + long sfn; + long *ganss_TODUncertainty /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTRAN_GANSSReferenceTime_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GANSSReferenceTime; -extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GANSSReferenceTime_specs_1; -extern asn_TYPE_member_t asn_MBR_UTRAN_GANSSReferenceTime_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTRAN_GANSSReferenceTime_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GANSSReferenceTime; + extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GANSSReferenceTime_specs_1; + extern asn_TYPE_member_t asn_MBR_UTRAN_GANSSReferenceTime_1[5]; #ifdef __cplusplus } #endif -#endif /* _UTRAN_GANSSReferenceTime_H_ */ +#endif /* _UTRAN_GANSSReferenceTime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeAssistance.h b/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeAssistance.h index 7ca6b8bd7..76cdf81d9 100644 --- a/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeAssistance.h +++ b/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeAssistance.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRAN_GANSSReferenceTimeAssistance_H_ -#define _UTRAN_GANSSReferenceTimeAssistance_H_ +#ifndef _UTRAN_GANSSReferenceTimeAssistance_H_ +#define _UTRAN_GANSSReferenceTimeAssistance_H_ #include "asn_application.h" @@ -18,28 +18,30 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UTRAN-GANSSReferenceTimeAssistance */ -typedef struct UTRAN_GANSSReferenceTimeAssistance { - long *ganssDay /* OPTIONAL */; - long ganssTimeID; - UTRAN_GANSSReferenceTime_t utran_GANSSReferenceTime; - UTRANGANSSDriftRate_t *utranGANSSDriftRate /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTRAN_GANSSReferenceTimeAssistance_t; + /* UTRAN-GANSSReferenceTimeAssistance */ + typedef struct UTRAN_GANSSReferenceTimeAssistance + { + long *ganssDay /* OPTIONAL */; + long ganssTimeID; + UTRAN_GANSSReferenceTime_t utran_GANSSReferenceTime; + UTRANGANSSDriftRate_t *utranGANSSDriftRate /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GANSSReferenceTimeAssistance; -extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GANSSReferenceTimeAssistance_specs_1; -extern asn_TYPE_member_t asn_MBR_UTRAN_GANSSReferenceTimeAssistance_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTRAN_GANSSReferenceTimeAssistance_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GANSSReferenceTimeAssistance; + extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GANSSReferenceTimeAssistance_specs_1; + extern asn_TYPE_member_t asn_MBR_UTRAN_GANSSReferenceTimeAssistance_1[4]; #ifdef __cplusplus } #endif -#endif /* _UTRAN_GANSSReferenceTimeAssistance_H_ */ +#endif /* _UTRAN_GANSSReferenceTimeAssistance_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeResult.h b/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeResult.h index 4588f4542..5333a0899 100644 --- a/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeResult.h +++ b/src/core/libs/supl2/asn-supl2/UTRAN-GANSSReferenceTimeResult.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRAN_GANSSReferenceTimeResult_H_ -#define _UTRAN_GANSSReferenceTimeResult_H_ +#ifndef _UTRAN_GANSSReferenceTimeResult_H_ +#define _UTRAN_GANSSReferenceTimeResult_H_ #include "asn_application.h" @@ -17,30 +17,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UTRAN-GANSSReferenceTimeResult */ -typedef struct UTRAN_GANSSReferenceTimeResult { - long ganssTimeID; - SET_GANSSReferenceTime_t set_GANSSReferenceTime; - /* + /* UTRAN-GANSSReferenceTimeResult */ + typedef struct UTRAN_GANSSReferenceTimeResult + { + long ganssTimeID; + SET_GANSSReferenceTime_t set_GANSSReferenceTime; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTRAN_GANSSReferenceTimeResult_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GANSSReferenceTimeResult; -extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GANSSReferenceTimeResult_specs_1; -extern asn_TYPE_member_t asn_MBR_UTRAN_GANSSReferenceTimeResult_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTRAN_GANSSReferenceTimeResult_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GANSSReferenceTimeResult; + extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GANSSReferenceTimeResult_specs_1; + extern asn_TYPE_member_t asn_MBR_UTRAN_GANSSReferenceTimeResult_1[2]; #ifdef __cplusplus } #endif -#endif /* _UTRAN_GANSSReferenceTimeResult_H_ */ +#endif /* _UTRAN_GANSSReferenceTimeResult_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTime.h b/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTime.h index b449d4941..9a649ad21 100644 --- a/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTime.h +++ b/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTime.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRAN_GPSReferenceTime_H_ -#define _UTRAN_GPSReferenceTime_H_ +#ifndef _UTRAN_GPSReferenceTime_H_ +#define _UTRAN_GPSReferenceTime_H_ #include "asn_application.h" @@ -19,60 +19,68 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UTRAN_GPSReferenceTime__modeSpecificInfo_PR { - UTRAN_GPSReferenceTime__modeSpecificInfo_PR_NOTHING, /* No components present */ - UTRAN_GPSReferenceTime__modeSpecificInfo_PR_fdd, - UTRAN_GPSReferenceTime__modeSpecificInfo_PR_tdd -} UTRAN_GPSReferenceTime__modeSpecificInfo_PR; + /* Dependencies */ + typedef enum UTRAN_GPSReferenceTime__modeSpecificInfo_PR + { + UTRAN_GPSReferenceTime__modeSpecificInfo_PR_NOTHING, /* No components present */ + UTRAN_GPSReferenceTime__modeSpecificInfo_PR_fdd, + UTRAN_GPSReferenceTime__modeSpecificInfo_PR_tdd + } UTRAN_GPSReferenceTime__modeSpecificInfo_PR; -/* UTRAN-GPSReferenceTime */ -typedef struct UTRAN_GPSReferenceTime { - struct UTRAN_GPSReferenceTime__utran_GPSTimingOfCell { - long ms_part; - unsigned long ls_part; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } utran_GPSTimingOfCell; - struct UTRAN_GPSReferenceTime__modeSpecificInfo { - UTRAN_GPSReferenceTime__modeSpecificInfo_PR present; - union UTRAN_GPSReferenceTime__modeSpecificInfo_u { - struct UTRAN_GPSReferenceTime__modeSpecificInfo__fdd { - PrimaryCPICH_Info_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } fdd; - struct UTRAN_GPSReferenceTime__modeSpecificInfo__tdd { - CellParametersID_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } tdd; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *modeSpecificInfo; - long sfn; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTRAN_GPSReferenceTime_t; + /* UTRAN-GPSReferenceTime */ + typedef struct UTRAN_GPSReferenceTime + { + struct UTRAN_GPSReferenceTime__utran_GPSTimingOfCell + { + long ms_part; + unsigned long ls_part; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ls_part_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GPSReferenceTime; -extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GPSReferenceTime_specs_1; -extern asn_TYPE_member_t asn_MBR_UTRAN_GPSReferenceTime_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } utran_GPSTimingOfCell; + struct UTRAN_GPSReferenceTime__modeSpecificInfo + { + UTRAN_GPSReferenceTime__modeSpecificInfo_PR present; + union UTRAN_GPSReferenceTime__modeSpecificInfo_u + { + struct UTRAN_GPSReferenceTime__modeSpecificInfo__fdd + { + PrimaryCPICH_Info_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } fdd; + struct UTRAN_GPSReferenceTime__modeSpecificInfo__tdd + { + CellParametersID_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } tdd; + } choice; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * modeSpecificInfo; + long sfn; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTRAN_GPSReferenceTime_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_ls_part_4; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GPSReferenceTime; + extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GPSReferenceTime_specs_1; + extern asn_TYPE_member_t asn_MBR_UTRAN_GPSReferenceTime_1[3]; #ifdef __cplusplus } #endif -#endif /* _UTRAN_GPSReferenceTime_H_ */ +#endif /* _UTRAN_GPSReferenceTime_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeAssistance.h b/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeAssistance.h index 3fbddd6d1..e37ba2488 100644 --- a/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeAssistance.h +++ b/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeAssistance.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRAN_GPSReferenceTimeAssistance_H_ -#define _UTRAN_GPSReferenceTimeAssistance_H_ +#ifndef _UTRAN_GPSReferenceTimeAssistance_H_ +#define _UTRAN_GPSReferenceTimeAssistance_H_ #include "asn_application.h" @@ -18,27 +18,29 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UTRAN-GPSReferenceTimeAssistance */ -typedef struct UTRAN_GPSReferenceTimeAssistance { - UTRAN_GPSReferenceTime_t utran_GPSReferenceTime; - long *gpsReferenceTimeUncertainty /* OPTIONAL */; - UTRANGPSDriftRate_t *utranGPSDriftRate /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTRAN_GPSReferenceTimeAssistance_t; + /* UTRAN-GPSReferenceTimeAssistance */ + typedef struct UTRAN_GPSReferenceTimeAssistance + { + UTRAN_GPSReferenceTime_t utran_GPSReferenceTime; + long *gpsReferenceTimeUncertainty /* OPTIONAL */; + UTRANGPSDriftRate_t *utranGPSDriftRate /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GPSReferenceTimeAssistance; -extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GPSReferenceTimeAssistance_specs_1; -extern asn_TYPE_member_t asn_MBR_UTRAN_GPSReferenceTimeAssistance_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTRAN_GPSReferenceTimeAssistance_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GPSReferenceTimeAssistance; + extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GPSReferenceTimeAssistance_specs_1; + extern asn_TYPE_member_t asn_MBR_UTRAN_GPSReferenceTimeAssistance_1[3]; #ifdef __cplusplus } #endif -#endif /* _UTRAN_GPSReferenceTimeAssistance_H_ */ +#endif /* _UTRAN_GPSReferenceTimeAssistance_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeResult.h b/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeResult.h index 180d28650..03ed8fbba 100644 --- a/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeResult.h +++ b/src/core/libs/supl2/asn-supl2/UTRAN-GPSReferenceTimeResult.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRAN_GPSReferenceTimeResult_H_ -#define _UTRAN_GPSReferenceTimeResult_H_ +#ifndef _UTRAN_GPSReferenceTimeResult_H_ +#define _UTRAN_GPSReferenceTimeResult_H_ #include "asn_application.h" @@ -19,65 +19,73 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR { - UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR_NOTHING, /* No components present */ - UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR_fdd, - UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR_tdd -} UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR; + /* Dependencies */ + typedef enum UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR + { + UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR_NOTHING, /* No components present */ + UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR_fdd, + UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR_tdd + } UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR; -/* UTRAN-GPSReferenceTimeResult */ -typedef struct UTRAN_GPSReferenceTimeResult { - struct UTRAN_GPSReferenceTimeResult__set_GPSTimingOfCell { - long ms_part; - unsigned long ls_part; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } set_GPSTimingOfCell; - struct UTRAN_GPSReferenceTimeResult__modeSpecificInfo { - UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR present; - union UTRAN_GPSReferenceTimeResult__modeSpecificInfo_u { - struct UTRAN_GPSReferenceTimeResult__modeSpecificInfo__fdd { - PrimaryCPICH_Info_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } fdd; - struct UTRAN_GPSReferenceTimeResult__modeSpecificInfo__tdd { - CellParametersID_t referenceIdentity; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } tdd; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *modeSpecificInfo; - long sfn; - long *gpsReferenceTimeUncertainty /* OPTIONAL */; - /* + /* UTRAN-GPSReferenceTimeResult */ + typedef struct UTRAN_GPSReferenceTimeResult + { + struct UTRAN_GPSReferenceTimeResult__set_GPSTimingOfCell + { + long ms_part; + unsigned long ls_part; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } set_GPSTimingOfCell; + struct UTRAN_GPSReferenceTimeResult__modeSpecificInfo + { + UTRAN_GPSReferenceTimeResult__modeSpecificInfo_PR present; + union UTRAN_GPSReferenceTimeResult__modeSpecificInfo_u + { + struct UTRAN_GPSReferenceTimeResult__modeSpecificInfo__fdd + { + PrimaryCPICH_Info_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } fdd; + struct UTRAN_GPSReferenceTimeResult__modeSpecificInfo__tdd + { + CellParametersID_t referenceIdentity; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } tdd; + } choice; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * modeSpecificInfo; + long sfn; + long *gpsReferenceTimeUncertainty /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UTRAN_GPSReferenceTimeResult_t; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_ls_part_4; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GPSReferenceTimeResult; -extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GPSReferenceTimeResult_specs_1; -extern asn_TYPE_member_t asn_MBR_UTRAN_GPSReferenceTimeResult_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UTRAN_GPSReferenceTimeResult_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_ls_part_4; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_UTRAN_GPSReferenceTimeResult; + extern asn_SEQUENCE_specifics_t asn_SPC_UTRAN_GPSReferenceTimeResult_specs_1; + extern asn_TYPE_member_t asn_MBR_UTRAN_GPSReferenceTimeResult_1[4]; #ifdef __cplusplus } #endif -#endif /* _UTRAN_GPSReferenceTimeResult_H_ */ +#endif /* _UTRAN_GPSReferenceTimeResult_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRANGANSSDriftRate.h b/src/core/libs/supl2/asn-supl2/UTRANGANSSDriftRate.h index a5e58e6a6..5148b30c6 100644 --- a/src/core/libs/supl2/asn-supl2/UTRANGANSSDriftRate.h +++ b/src/core/libs/supl2/asn-supl2/UTRANGANSSDriftRate.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRANGANSSDriftRate_H_ -#define _UTRANGANSSDriftRate_H_ +#ifndef _UTRANGANSSDriftRate_H_ +#define _UTRANGANSSDriftRate_H_ #include "asn_application.h" @@ -15,48 +15,50 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UTRANGANSSDriftRate { - UTRANGANSSDriftRate_utran_GANSSDrift0 = 0, - UTRANGANSSDriftRate_utran_GANSSDrift1 = 1, - UTRANGANSSDriftRate_utran_GANSSDrift2 = 2, - UTRANGANSSDriftRate_utran_GANSSDrift5 = 3, - UTRANGANSSDriftRate_utran_GANSSDrift10 = 4, - UTRANGANSSDriftRate_utran_GANSSDrift15 = 5, - UTRANGANSSDriftRate_utran_GANSSDrift25 = 6, - UTRANGANSSDriftRate_utran_GANSSDrift50 = 7, - UTRANGANSSDriftRate_utran_GANSSDrift_1 = 8, - UTRANGANSSDriftRate_utran_GANSSDrift_2 = 9, - UTRANGANSSDriftRate_utran_GANSSDrift_5 = 10, - UTRANGANSSDriftRate_utran_GANSSDrift_10 = 11, - UTRANGANSSDriftRate_utran_GANSSDrift_15 = 12, - UTRANGANSSDriftRate_utran_GANSSDrift_25 = 13, - UTRANGANSSDriftRate_utran_GANSSDrift_50 = 14 -} e_UTRANGANSSDriftRate; + /* Dependencies */ + typedef enum UTRANGANSSDriftRate + { + UTRANGANSSDriftRate_utran_GANSSDrift0 = 0, + UTRANGANSSDriftRate_utran_GANSSDrift1 = 1, + UTRANGANSSDriftRate_utran_GANSSDrift2 = 2, + UTRANGANSSDriftRate_utran_GANSSDrift5 = 3, + UTRANGANSSDriftRate_utran_GANSSDrift10 = 4, + UTRANGANSSDriftRate_utran_GANSSDrift15 = 5, + UTRANGANSSDriftRate_utran_GANSSDrift25 = 6, + UTRANGANSSDriftRate_utran_GANSSDrift50 = 7, + UTRANGANSSDriftRate_utran_GANSSDrift_1 = 8, + UTRANGANSSDriftRate_utran_GANSSDrift_2 = 9, + UTRANGANSSDriftRate_utran_GANSSDrift_5 = 10, + UTRANGANSSDriftRate_utran_GANSSDrift_10 = 11, + UTRANGANSSDriftRate_utran_GANSSDrift_15 = 12, + UTRANGANSSDriftRate_utran_GANSSDrift_25 = 13, + UTRANGANSSDriftRate_utran_GANSSDrift_50 = 14 + } e_UTRANGANSSDriftRate; -/* UTRANGANSSDriftRate */ -typedef long UTRANGANSSDriftRate_t; + /* UTRANGANSSDriftRate */ + typedef long UTRANGANSSDriftRate_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_UTRANGANSSDriftRate_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_UTRANGANSSDriftRate; -extern const asn_INTEGER_specifics_t asn_SPC_UTRANGANSSDriftRate_specs_1; -asn_struct_free_f UTRANGANSSDriftRate_free; -asn_struct_print_f UTRANGANSSDriftRate_print; -asn_constr_check_f UTRANGANSSDriftRate_constraint; -ber_type_decoder_f UTRANGANSSDriftRate_decode_ber; -der_type_encoder_f UTRANGANSSDriftRate_encode_der; -xer_type_decoder_f UTRANGANSSDriftRate_decode_xer; -xer_type_encoder_f UTRANGANSSDriftRate_encode_xer; -per_type_decoder_f UTRANGANSSDriftRate_decode_uper; -per_type_encoder_f UTRANGANSSDriftRate_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_UTRANGANSSDriftRate_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_UTRANGANSSDriftRate; + extern const asn_INTEGER_specifics_t asn_SPC_UTRANGANSSDriftRate_specs_1; + asn_struct_free_f UTRANGANSSDriftRate_free; + asn_struct_print_f UTRANGANSSDriftRate_print; + asn_constr_check_f UTRANGANSSDriftRate_constraint; + ber_type_decoder_f UTRANGANSSDriftRate_decode_ber; + der_type_encoder_f UTRANGANSSDriftRate_encode_der; + xer_type_decoder_f UTRANGANSSDriftRate_decode_xer; + xer_type_encoder_f UTRANGANSSDriftRate_encode_xer; + per_type_decoder_f UTRANGANSSDriftRate_decode_uper; + per_type_encoder_f UTRANGANSSDriftRate_encode_uper; #ifdef __cplusplus } #endif -#endif /* _UTRANGANSSDriftRate_H_ */ +#endif /* _UTRANGANSSDriftRate_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UTRANGPSDriftRate.h b/src/core/libs/supl2/asn-supl2/UTRANGPSDriftRate.h index 2a1ac7419..2786c9b30 100644 --- a/src/core/libs/supl2/asn-supl2/UTRANGPSDriftRate.h +++ b/src/core/libs/supl2/asn-supl2/UTRANGPSDriftRate.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UTRANGPSDriftRate_H_ -#define _UTRANGPSDriftRate_H_ +#ifndef _UTRANGPSDriftRate_H_ +#define _UTRANGPSDriftRate_H_ #include "asn_application.h" @@ -15,48 +15,50 @@ #include "NativeEnumerated.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UTRANGPSDriftRate { - UTRANGPSDriftRate_utran_GPSDrift0 = 0, - UTRANGPSDriftRate_utran_GPSDrift1 = 1, - UTRANGPSDriftRate_utran_GPSDrift2 = 2, - UTRANGPSDriftRate_utran_GPSDrift5 = 3, - UTRANGPSDriftRate_utran_GPSDrift10 = 4, - UTRANGPSDriftRate_utran_GPSDrift15 = 5, - UTRANGPSDriftRate_utran_GPSDrift25 = 6, - UTRANGPSDriftRate_utran_GPSDrift50 = 7, - UTRANGPSDriftRate_utran_GPSDrift_1 = 8, - UTRANGPSDriftRate_utran_GPSDrift_2 = 9, - UTRANGPSDriftRate_utran_GPSDrift_5 = 10, - UTRANGPSDriftRate_utran_GPSDrift_10 = 11, - UTRANGPSDriftRate_utran_GPSDrift_15 = 12, - UTRANGPSDriftRate_utran_GPSDrift_25 = 13, - UTRANGPSDriftRate_utran_GPSDrift_50 = 14 -} e_UTRANGPSDriftRate; + /* Dependencies */ + typedef enum UTRANGPSDriftRate + { + UTRANGPSDriftRate_utran_GPSDrift0 = 0, + UTRANGPSDriftRate_utran_GPSDrift1 = 1, + UTRANGPSDriftRate_utran_GPSDrift2 = 2, + UTRANGPSDriftRate_utran_GPSDrift5 = 3, + UTRANGPSDriftRate_utran_GPSDrift10 = 4, + UTRANGPSDriftRate_utran_GPSDrift15 = 5, + UTRANGPSDriftRate_utran_GPSDrift25 = 6, + UTRANGPSDriftRate_utran_GPSDrift50 = 7, + UTRANGPSDriftRate_utran_GPSDrift_1 = 8, + UTRANGPSDriftRate_utran_GPSDrift_2 = 9, + UTRANGPSDriftRate_utran_GPSDrift_5 = 10, + UTRANGPSDriftRate_utran_GPSDrift_10 = 11, + UTRANGPSDriftRate_utran_GPSDrift_15 = 12, + UTRANGPSDriftRate_utran_GPSDrift_25 = 13, + UTRANGPSDriftRate_utran_GPSDrift_50 = 14 + } e_UTRANGPSDriftRate; -/* UTRANGPSDriftRate */ -typedef long UTRANGPSDriftRate_t; + /* UTRANGPSDriftRate */ + typedef long UTRANGPSDriftRate_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_UTRANGPSDriftRate_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_UTRANGPSDriftRate; -extern const asn_INTEGER_specifics_t asn_SPC_UTRANGPSDriftRate_specs_1; -asn_struct_free_f UTRANGPSDriftRate_free; -asn_struct_print_f UTRANGPSDriftRate_print; -asn_constr_check_f UTRANGPSDriftRate_constraint; -ber_type_decoder_f UTRANGPSDriftRate_decode_ber; -der_type_encoder_f UTRANGPSDriftRate_encode_der; -xer_type_decoder_f UTRANGPSDriftRate_decode_xer; -xer_type_encoder_f UTRANGPSDriftRate_encode_xer; -per_type_decoder_f UTRANGPSDriftRate_decode_uper; -per_type_encoder_f UTRANGPSDriftRate_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_UTRANGPSDriftRate_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_UTRANGPSDriftRate; + extern const asn_INTEGER_specifics_t asn_SPC_UTRANGPSDriftRate_specs_1; + asn_struct_free_f UTRANGPSDriftRate_free; + asn_struct_print_f UTRANGPSDriftRate_print; + asn_constr_check_f UTRANGPSDriftRate_constraint; + ber_type_decoder_f UTRANGPSDriftRate_decode_ber; + der_type_encoder_f UTRANGPSDriftRate_encode_der; + xer_type_decoder_f UTRANGPSDriftRate_decode_xer; + xer_type_encoder_f UTRANGPSDriftRate_encode_xer; + per_type_decoder_f UTRANGPSDriftRate_decode_uper; + per_type_encoder_f UTRANGPSDriftRate_encode_uper; #ifdef __cplusplus } #endif -#endif /* _UTRANGPSDriftRate_H_ */ +#endif /* _UTRANGPSDriftRate_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UlpMessage.h b/src/core/libs/supl2/asn-supl2/UlpMessage.h index eb3b845ca..354081352 100644 --- a/src/core/libs/supl2/asn-supl2/UlpMessage.h +++ b/src/core/libs/supl2/asn-supl2/UlpMessage.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UlpMessage_H_ -#define _UlpMessage_H_ +#ifndef _UlpMessage_H_ +#define _UlpMessage_H_ #include "asn_application.h" @@ -30,68 +30,72 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum UlpMessage_PR { - UlpMessage_PR_NOTHING, /* No components present */ - UlpMessage_PR_msSUPLINIT, - UlpMessage_PR_msSUPLSTART, - UlpMessage_PR_msSUPLRESPONSE, - UlpMessage_PR_msSUPLPOSINIT, - UlpMessage_PR_msSUPLPOS, - UlpMessage_PR_msSUPLEND, - UlpMessage_PR_msSUPLAUTHREQ, - UlpMessage_PR_msSUPLAUTHRESP, - /* Extensions may appear below */ - UlpMessage_PR_msSUPLTRIGGEREDSTART, - UlpMessage_PR_msSUPLTRIGGEREDRESPONSE, - UlpMessage_PR_msSUPLTRIGGEREDSTOP, - UlpMessage_PR_msSUPLNOTIFY, - UlpMessage_PR_msSUPLNOTIFYRESPONSE, - UlpMessage_PR_msSUPLSETINIT, - UlpMessage_PR_msSUPLREPORT -} UlpMessage_PR; + /* Dependencies */ + typedef enum UlpMessage_PR + { + UlpMessage_PR_NOTHING, /* No components present */ + UlpMessage_PR_msSUPLINIT, + UlpMessage_PR_msSUPLSTART, + UlpMessage_PR_msSUPLRESPONSE, + UlpMessage_PR_msSUPLPOSINIT, + UlpMessage_PR_msSUPLPOS, + UlpMessage_PR_msSUPLEND, + UlpMessage_PR_msSUPLAUTHREQ, + UlpMessage_PR_msSUPLAUTHRESP, + /* Extensions may appear below */ + UlpMessage_PR_msSUPLTRIGGEREDSTART, + UlpMessage_PR_msSUPLTRIGGEREDRESPONSE, + UlpMessage_PR_msSUPLTRIGGEREDSTOP, + UlpMessage_PR_msSUPLNOTIFY, + UlpMessage_PR_msSUPLNOTIFYRESPONSE, + UlpMessage_PR_msSUPLSETINIT, + UlpMessage_PR_msSUPLREPORT + } UlpMessage_PR; -/* UlpMessage */ -typedef struct UlpMessage { - UlpMessage_PR present; - union UlpMessage_u { - SUPLINIT_t msSUPLINIT; - SUPLSTART_t msSUPLSTART; - SUPLRESPONSE_t msSUPLRESPONSE; - SUPLPOSINIT_t msSUPLPOSINIT; - SUPLPOS_t msSUPLPOS; - SUPLEND_t msSUPLEND; - SUPLAUTHREQ_t msSUPLAUTHREQ; - SUPLAUTHRESP_t msSUPLAUTHRESP; - /* + /* UlpMessage */ + typedef struct UlpMessage + { + UlpMessage_PR present; + union UlpMessage_u + { + SUPLINIT_t msSUPLINIT; + SUPLSTART_t msSUPLSTART; + SUPLRESPONSE_t msSUPLRESPONSE; + SUPLPOSINIT_t msSUPLPOSINIT; + SUPLPOS_t msSUPLPOS; + SUPLEND_t msSUPLEND; + SUPLAUTHREQ_t msSUPLAUTHREQ; + SUPLAUTHRESP_t msSUPLAUTHRESP; + /* * This type is extensible, * possible extensions are below. */ - Ver2_SUPLTRIGGEREDSTART_t msSUPLTRIGGEREDSTART; - Ver2_SUPLTRIGGEREDRESPONSE_t msSUPLTRIGGEREDRESPONSE; - Ver2_SUPLTRIGGEREDSTOP_t msSUPLTRIGGEREDSTOP; - Ver2_SUPLNOTIFY_t msSUPLNOTIFY; - Ver2_SUPLNOTIFYRESPONSE_t msSUPLNOTIFYRESPONSE; - Ver2_SUPLSETINIT_t msSUPLSETINIT; - Ver2_SUPLREPORT_t msSUPLREPORT; - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UlpMessage_t; + Ver2_SUPLTRIGGEREDSTART_t msSUPLTRIGGEREDSTART; + Ver2_SUPLTRIGGEREDRESPONSE_t msSUPLTRIGGEREDRESPONSE; + Ver2_SUPLTRIGGEREDSTOP_t msSUPLTRIGGEREDSTOP; + Ver2_SUPLNOTIFY_t msSUPLNOTIFY; + Ver2_SUPLNOTIFYRESPONSE_t msSUPLNOTIFYRESPONSE; + Ver2_SUPLSETINIT_t msSUPLSETINIT; + Ver2_SUPLREPORT_t msSUPLREPORT; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UlpMessage; -extern asn_CHOICE_specifics_t asn_SPC_UlpMessage_specs_1; -extern asn_TYPE_member_t asn_MBR_UlpMessage_1[15]; -extern asn_per_constraints_t asn_PER_type_UlpMessage_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UlpMessage_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UlpMessage; + extern asn_CHOICE_specifics_t asn_SPC_UlpMessage_specs_1; + extern asn_TYPE_member_t asn_MBR_UlpMessage_1[15]; + extern asn_per_constraints_t asn_PER_type_UlpMessage_constr_1; #ifdef __cplusplus } #endif -#endif /* _UlpMessage_H_ */ +#endif /* _UlpMessage_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/UmbCellInformation.h b/src/core/libs/supl2/asn-supl2/UmbCellInformation.h index 07552ef00..a6c17e18b 100644 --- a/src/core/libs/supl2/asn-supl2/UmbCellInformation.h +++ b/src/core/libs/supl2/asn-supl2/UmbCellInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _UmbCellInformation_H_ -#define _UmbCellInformation_H_ +#ifndef _UmbCellInformation_H_ +#define _UmbCellInformation_H_ #include "asn_application.h" @@ -17,35 +17,37 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* UmbCellInformation */ -typedef struct UmbCellInformation { - BIT_STRING_t refSECTORID; - long refMCC; - long refMNC; - long refBASELAT; - long reBASELONG; - long refWeekNumber; - long refSeconds; - /* + /* UmbCellInformation */ + typedef struct UmbCellInformation + { + BIT_STRING_t refSECTORID; + long refMCC; + long refMNC; + long refBASELAT; + long reBASELONG; + long refWeekNumber; + long refSeconds; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} UmbCellInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_UmbCellInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_UmbCellInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_UmbCellInformation_1[7]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } UmbCellInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_UmbCellInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_UmbCellInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_UmbCellInformation_1[7]; #ifdef __cplusplus } #endif -#endif /* _UmbCellInformation_H_ */ +#endif /* _UmbCellInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Velocity.h b/src/core/libs/supl2/asn-supl2/Velocity.h index 107ebed11..c489f9529 100644 --- a/src/core/libs/supl2/asn-supl2/Velocity.h +++ b/src/core/libs/supl2/asn-supl2/Velocity.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Velocity_H_ -#define _Velocity_H_ +#ifndef _Velocity_H_ +#define _Velocity_H_ #include "asn_application.h" @@ -19,47 +19,51 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum Velocity_PR { - Velocity_PR_NOTHING, /* No components present */ - Velocity_PR_horvel, - Velocity_PR_horandvervel, - Velocity_PR_horveluncert, - Velocity_PR_horandveruncert - /* Extensions may appear below */ - -} Velocity_PR; + /* Dependencies */ + typedef enum Velocity_PR + { + Velocity_PR_NOTHING, /* No components present */ + Velocity_PR_horvel, + Velocity_PR_horandvervel, + Velocity_PR_horveluncert, + Velocity_PR_horandveruncert + /* Extensions may appear below */ -/* Velocity */ -typedef struct Velocity { - Velocity_PR present; - union Velocity_u { - Horvel_t horvel; - Horandvervel_t horandvervel; - Horveluncert_t horveluncert; - Horandveruncert_t horandveruncert; - /* + } Velocity_PR; + + /* Velocity */ + typedef struct Velocity + { + Velocity_PR present; + union Velocity_u + { + Horvel_t horvel; + Horandvervel_t horandvervel; + Horveluncert_t horveluncert; + Horandveruncert_t horandveruncert; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Velocity_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Velocity; -extern asn_CHOICE_specifics_t asn_SPC_Velocity_specs_1; -extern asn_TYPE_member_t asn_MBR_Velocity_1[4]; -extern asn_per_constraints_t asn_PER_type_Velocity_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Velocity_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Velocity; + extern asn_CHOICE_specifics_t asn_SPC_Velocity_specs_1; + extern asn_TYPE_member_t asn_MBR_Velocity_1[4]; + extern asn_per_constraints_t asn_PER_type_Velocity_constr_1; #ifdef __cplusplus } #endif -#endif /* _Velocity_H_ */ +#endif /* _Velocity_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver.h b/src/core/libs/supl2/asn-supl2/Ver.h index 7a4e50336..692c3fda7 100644 --- a/src/core/libs/supl2/asn-supl2/Ver.h +++ b/src/core/libs/supl2/asn-supl2/Ver.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver_H_ -#define _Ver_H_ +#ifndef _Ver_H_ +#define _Ver_H_ #include "asn_application.h" @@ -15,28 +15,29 @@ #include "BIT_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ver */ -typedef BIT_STRING_t Ver_t; + /* Ver */ + typedef BIT_STRING_t Ver_t; -/* Implementation */ -extern asn_per_constraints_t asn_PER_type_Ver_constr_1; -extern asn_TYPE_descriptor_t asn_DEF_Ver; -asn_struct_free_f Ver_free; -asn_struct_print_f Ver_print; -asn_constr_check_f Ver_constraint; -ber_type_decoder_f Ver_decode_ber; -der_type_encoder_f Ver_encode_der; -xer_type_decoder_f Ver_decode_xer; -xer_type_encoder_f Ver_encode_xer; -per_type_decoder_f Ver_decode_uper; -per_type_encoder_f Ver_encode_uper; + /* Implementation */ + extern asn_per_constraints_t asn_PER_type_Ver_constr_1; + extern asn_TYPE_descriptor_t asn_DEF_Ver; + asn_struct_free_f Ver_free; + asn_struct_print_f Ver_print; + asn_constr_check_f Ver_constraint; + ber_type_decoder_f Ver_decode_ber; + der_type_encoder_f Ver_encode_der; + xer_type_decoder_f Ver_decode_xer; + xer_type_encoder_f Ver_encode_xer; + per_type_decoder_f Ver_decode_uper; + per_type_encoder_f Ver_encode_uper; #ifdef __cplusplus } #endif -#endif /* _Ver_H_ */ +#endif /* _Ver_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-CellInfo-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-CellInfo-extension.h index cd494936f..aa30d5a19 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-CellInfo-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-CellInfo-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_CellInfo_extension_H_ -#define _Ver2_CellInfo_extension_H_ +#ifndef _Ver2_CellInfo_extension_H_ +#define _Ver2_CellInfo_extension_H_ #include "asn_application.h" @@ -20,49 +20,53 @@ #include "constr_CHOICE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum Ver2_CellInfo_extension_PR { - Ver2_CellInfo_extension_PR_NOTHING, /* No components present */ - Ver2_CellInfo_extension_PR_hrpdCell, - Ver2_CellInfo_extension_PR_umbCell, - Ver2_CellInfo_extension_PR_lteCell, - Ver2_CellInfo_extension_PR_wlanAP, - Ver2_CellInfo_extension_PR_wimaxBS - /* Extensions may appear below */ - -} Ver2_CellInfo_extension_PR; + /* Dependencies */ + typedef enum Ver2_CellInfo_extension_PR + { + Ver2_CellInfo_extension_PR_NOTHING, /* No components present */ + Ver2_CellInfo_extension_PR_hrpdCell, + Ver2_CellInfo_extension_PR_umbCell, + Ver2_CellInfo_extension_PR_lteCell, + Ver2_CellInfo_extension_PR_wlanAP, + Ver2_CellInfo_extension_PR_wimaxBS + /* Extensions may appear below */ -/* Ver2-CellInfo-extension */ -typedef struct Ver2_CellInfo_extension { - Ver2_CellInfo_extension_PR present; - union Ver2_CellInfo_extension_u { - HrpdCellInformation_t hrpdCell; - UmbCellInformation_t umbCell; - LteCellInformation_t lteCell; - WlanAPInformation_t wlanAP; - WimaxBSInformation_t wimaxBS; - /* + } Ver2_CellInfo_extension_PR; + + /* Ver2-CellInfo-extension */ + typedef struct Ver2_CellInfo_extension + { + Ver2_CellInfo_extension_PR present; + union Ver2_CellInfo_extension_u + { + HrpdCellInformation_t hrpdCell; + UmbCellInformation_t umbCell; + LteCellInformation_t lteCell; + WlanAPInformation_t wlanAP; + WimaxBSInformation_t wimaxBS; + /* * This type is extensible, * possible extensions are below. */ - } choice; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_CellInfo_extension_t; + } choice; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_CellInfo_extension; -extern asn_CHOICE_specifics_t asn_SPC_Ver2_CellInfo_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_CellInfo_extension_1[5]; -extern asn_per_constraints_t asn_PER_type_Ver2_CellInfo_extension_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_CellInfo_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_CellInfo_extension; + extern asn_CHOICE_specifics_t asn_SPC_Ver2_CellInfo_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_CellInfo_extension_1[5]; + extern asn_per_constraints_t asn_PER_type_Ver2_CellInfo_extension_constr_1; #ifdef __cplusplus } #endif -#endif /* _Ver2_CellInfo_extension_H_ */ +#endif /* _Ver2_CellInfo_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-Notification-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-Notification-extension.h index cbd4ca6f7..1c74e699c 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-Notification-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-Notification-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_Notification_extension_H_ -#define _Ver2_Notification_extension_H_ +#ifndef _Ver2_Notification_extension_H_ +#define _Ver2_Notification_extension_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ver2-Notification-extension */ -typedef struct Ver2_Notification_extension { - NULL_t *emergencyCallLocation /* OPTIONAL */; - /* + /* Ver2-Notification-extension */ + typedef struct Ver2_Notification_extension + { + NULL_t *emergencyCallLocation /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_Notification_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_Notification_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_Notification_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_Notification_extension_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_Notification_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_Notification_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_Notification_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_Notification_extension_1[1]; #ifdef __cplusplus } #endif -#endif /* _Ver2_Notification_extension_H_ */ +#endif /* _Ver2_Notification_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-PosPayLoad-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-PosPayLoad-extension.h index b5775efa7..90dd81e8c 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-PosPayLoad-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-PosPayLoad-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_PosPayLoad_extension_H_ -#define _Ver2_PosPayLoad_extension_H_ +#ifndef _Ver2_PosPayLoad_extension_H_ +#define _Ver2_PosPayLoad_extension_H_ #include "asn_application.h" @@ -18,40 +18,46 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ver2-PosPayLoad-extension */ -typedef struct Ver2_PosPayLoad_extension { - struct Ver2_PosPayLoad_extension__lPPPayload { - A_SEQUENCE_OF(OCTET_STRING_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *lPPPayload; - struct Ver2_PosPayLoad_extension__tIA801Payload { - A_SEQUENCE_OF(OCTET_STRING_t) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; - } *tIA801Payload; - /* + /* Ver2-PosPayLoad-extension */ + typedef struct Ver2_PosPayLoad_extension + { + struct Ver2_PosPayLoad_extension__lPPPayload + { + A_SEQUENCE_OF(OCTET_STRING_t) + list; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * lPPPayload; + struct Ver2_PosPayLoad_extension__tIA801Payload + { + A_SEQUENCE_OF(OCTET_STRING_t) + list; + + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } * tIA801Payload; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_PosPayLoad_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_PosPayLoad_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_PosPayLoad_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_PosPayLoad_extension_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_PosPayLoad_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_PosPayLoad_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_PosPayLoad_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_PosPayLoad_extension_1[2]; #ifdef __cplusplus } #endif -#endif /* _Ver2_PosPayLoad_extension_H_ */ +#endif /* _Ver2_PosPayLoad_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-PosProtocol-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-PosProtocol-extension.h index 32ea51ac7..c7ce895ea 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-PosProtocol-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-PosProtocol-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_PosProtocol_extension_H_ -#define _Ver2_PosProtocol_extension_H_ +#ifndef _Ver2_PosProtocol_extension_H_ +#define _Ver2_PosProtocol_extension_H_ #include "asn_application.h" @@ -16,33 +16,35 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct PosProtocolVersion3GPP; -struct PosProtocolVersion3GPP2; + /* Forward declarations */ + struct PosProtocolVersion3GPP; + struct PosProtocolVersion3GPP2; -/* Ver2-PosProtocol-extension */ -typedef struct Ver2_PosProtocol_extension { - BOOLEAN_t lpp; - struct PosProtocolVersion3GPP *posProtocolVersionRRLP /* OPTIONAL */; - struct PosProtocolVersion3GPP *posProtocolVersionRRC /* OPTIONAL */; - struct PosProtocolVersion3GPP2 *posProtocolVersionTIA801 /* OPTIONAL */; - struct PosProtocolVersion3GPP *posProtocolVersionLPP /* OPTIONAL */; - /* + /* Ver2-PosProtocol-extension */ + typedef struct Ver2_PosProtocol_extension + { + BOOLEAN_t lpp; + struct PosProtocolVersion3GPP *posProtocolVersionRRLP /* OPTIONAL */; + struct PosProtocolVersion3GPP *posProtocolVersionRRC /* OPTIONAL */; + struct PosProtocolVersion3GPP2 *posProtocolVersionTIA801 /* OPTIONAL */; + struct PosProtocolVersion3GPP *posProtocolVersionLPP /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_PosProtocol_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_PosProtocol_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_PosProtocol_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_PosProtocol_extension_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_PosProtocol_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_PosProtocol_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_PosProtocol_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_PosProtocol_extension_1[5]; #ifdef __cplusplus } @@ -52,5 +54,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_PosProtocol_extension_1[5]; #include "PosProtocolVersion3GPP.h" #include "PosProtocolVersion3GPP2.h" -#endif /* _Ver2_PosProtocol_extension_H_ */ +#endif /* _Ver2_PosProtocol_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-PosTechnology-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-PosTechnology-extension.h index e101b1d8a..7ef5ed4a7 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-PosTechnology-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-PosTechnology-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_PosTechnology_extension_H_ -#define _Ver2_PosTechnology_extension_H_ +#ifndef _Ver2_PosTechnology_extension_H_ +#define _Ver2_PosTechnology_extension_H_ #include "asn_application.h" @@ -15,28 +15,30 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GANSSPositionMethods; + /* Forward declarations */ + struct GANSSPositionMethods; -/* Ver2-PosTechnology-extension */ -typedef struct Ver2_PosTechnology_extension { - struct GANSSPositionMethods *gANSSPositionMethods /* OPTIONAL */; - /* + /* Ver2-PosTechnology-extension */ + typedef struct Ver2_PosTechnology_extension + { + struct GANSSPositionMethods *gANSSPositionMethods /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_PosTechnology_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_PosTechnology_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_PosTechnology_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_PosTechnology_extension_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_PosTechnology_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_PosTechnology_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_PosTechnology_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_PosTechnology_extension_1[1]; #ifdef __cplusplus } @@ -45,5 +47,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_PosTechnology_extension_1[1]; /* Referred external types */ #include "GANSSPositionMethods.h" -#endif /* _Ver2_PosTechnology_extension_H_ */ +#endif /* _Ver2_PosTechnology_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-RequestedAssistData-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-RequestedAssistData-extension.h index b5d6bcff2..1bb372197 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-RequestedAssistData-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-RequestedAssistData-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_RequestedAssistData_extension_H_ -#define _Ver2_RequestedAssistData_extension_H_ +#ifndef _Ver2_RequestedAssistData_extension_H_ +#define _Ver2_RequestedAssistData_extension_H_ #include "asn_application.h" @@ -15,34 +15,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct GanssRequestedCommonAssistanceDataList; -struct GanssRequestedGenericAssistanceDataList; -struct ExtendedEphemeris; -struct ExtendedEphCheck; + /* Forward declarations */ + struct GanssRequestedCommonAssistanceDataList; + struct GanssRequestedGenericAssistanceDataList; + struct ExtendedEphemeris; + struct ExtendedEphCheck; -/* Ver2-RequestedAssistData-extension */ -typedef struct Ver2_RequestedAssistData_extension { - struct GanssRequestedCommonAssistanceDataList *ganssRequestedCommonAssistanceDataList /* OPTIONAL */; - struct GanssRequestedGenericAssistanceDataList *ganssRequestedGenericAssistanceDataList /* OPTIONAL */; - struct ExtendedEphemeris *extendedEphemeris /* OPTIONAL */; - struct ExtendedEphCheck *extendedEphemerisCheck /* OPTIONAL */; - /* + /* Ver2-RequestedAssistData-extension */ + typedef struct Ver2_RequestedAssistData_extension + { + struct GanssRequestedCommonAssistanceDataList *ganssRequestedCommonAssistanceDataList /* OPTIONAL */; + struct GanssRequestedGenericAssistanceDataList *ganssRequestedGenericAssistanceDataList /* OPTIONAL */; + struct ExtendedEphemeris *extendedEphemeris /* OPTIONAL */; + struct ExtendedEphCheck *extendedEphemerisCheck /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_RequestedAssistData_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_RequestedAssistData_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_RequestedAssistData_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_RequestedAssistData_extension_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_RequestedAssistData_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_RequestedAssistData_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_RequestedAssistData_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_RequestedAssistData_extension_1[4]; #ifdef __cplusplus } @@ -54,5 +56,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_RequestedAssistData_extension_1[4]; #include "ExtendedEphemeris.h" #include "ExtendedEphCheck.h" -#endif /* _Ver2_RequestedAssistData_extension_H_ */ +#endif /* _Ver2_RequestedAssistData_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SETCapabilities-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SETCapabilities-extension.h index e1cead2f3..b9337f1c0 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SETCapabilities-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SETCapabilities-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SETCapabilities_extension_H_ -#define _Ver2_SETCapabilities_extension_H_ +#ifndef _Ver2_SETCapabilities_extension_H_ +#define _Ver2_SETCapabilities_extension_H_ #include "asn_application.h" @@ -15,30 +15,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ServiceCapabilities; -struct SupportedBearers; + /* Forward declarations */ + struct ServiceCapabilities; + struct SupportedBearers; -/* Ver2-SETCapabilities-extension */ -typedef struct Ver2_SETCapabilities_extension { - struct ServiceCapabilities *serviceCapabilities /* OPTIONAL */; - /* + /* Ver2-SETCapabilities-extension */ + typedef struct Ver2_SETCapabilities_extension + { + struct ServiceCapabilities *serviceCapabilities /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - struct SupportedBearers *supportedBearers /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SETCapabilities_extension_t; + struct SupportedBearers *supportedBearers /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SETCapabilities_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SETCapabilities_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SETCapabilities_extension_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SETCapabilities_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SETCapabilities_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SETCapabilities_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SETCapabilities_extension_1[2]; #ifdef __cplusplus } @@ -48,5 +50,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SETCapabilities_extension_1[2]; #include "ServiceCapabilities.h" #include "SupportedBearers.h" -#endif /* _Ver2_SETCapabilities_extension_H_ */ +#endif /* _Ver2_SETCapabilities_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-END-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-END-extension.h index d4525a467..f94d8bd0c 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-END-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-END-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPL_END_extension_H_ -#define _Ver2_SUPL_END_extension_H_ +#ifndef _Ver2_SUPL_END_extension_H_ +#define _Ver2_SUPL_END_extension_H_ #include "asn_application.h" @@ -15,28 +15,30 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SETCapabilities; + /* Forward declarations */ + struct SETCapabilities; -/* Ver2-SUPL-END-extension */ -typedef struct Ver2_SUPL_END_extension { - struct SETCapabilities *sETCapabilities /* OPTIONAL */; - /* + /* Ver2-SUPL-END-extension */ + typedef struct Ver2_SUPL_END_extension + { + struct SETCapabilities *sETCapabilities /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPL_END_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_END_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_END_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_END_extension_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPL_END_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_END_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_END_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_END_extension_1[1]; #ifdef __cplusplus } @@ -45,5 +47,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_END_extension_1[1]; /* Referred external types */ #include "SETCapabilities.h" -#endif /* _Ver2_SUPL_END_extension_H_ */ +#endif /* _Ver2_SUPL_END_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-INIT-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-INIT-extension.h index b504319c1..38dbf9a48 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-INIT-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-INIT-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPL_INIT_extension_H_ -#define _Ver2_SUPL_INIT_extension_H_ +#ifndef _Ver2_SUPL_INIT_extension_H_ +#define _Ver2_SUPL_INIT_extension_H_ #include "asn_application.h" @@ -18,39 +18,41 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SupportedNetworkInformation; -struct SLPAddress; -struct HistoricReporting; -struct ProtectionLevel; -struct GNSSPosTechnology; + /* Forward declarations */ + struct SupportedNetworkInformation; + struct SLPAddress; + struct HistoricReporting; + struct ProtectionLevel; + struct GNSSPosTechnology; -/* Ver2-SUPL-INIT-extension */ -typedef struct Ver2_SUPL_INIT_extension { - NotificationMode_t *notificationMode /* OPTIONAL */; - struct SupportedNetworkInformation *supportedNetworkInformation /* OPTIONAL */; - TriggerType_t *triggerType /* OPTIONAL */; - struct SLPAddress *e_SLPAddress /* OPTIONAL */; - struct HistoricReporting *historicReporting /* OPTIONAL */; - struct ProtectionLevel *protectionLevel /* OPTIONAL */; - struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; - long *minimumMajorVersion /* OPTIONAL */; - /* + /* Ver2-SUPL-INIT-extension */ + typedef struct Ver2_SUPL_INIT_extension + { + NotificationMode_t *notificationMode /* OPTIONAL */; + struct SupportedNetworkInformation *supportedNetworkInformation /* OPTIONAL */; + TriggerType_t *triggerType /* OPTIONAL */; + struct SLPAddress *e_SLPAddress /* OPTIONAL */; + struct HistoricReporting *historicReporting /* OPTIONAL */; + struct ProtectionLevel *protectionLevel /* OPTIONAL */; + struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; + long *minimumMajorVersion /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPL_INIT_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_INIT_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_INIT_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_INIT_extension_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPL_INIT_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_INIT_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_INIT_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_INIT_extension_1[8]; #ifdef __cplusplus } @@ -63,5 +65,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_INIT_extension_1[8]; #include "ProtectionLevel.h" #include "GNSSPosTechnology.h" -#endif /* _Ver2_SUPL_INIT_extension_H_ */ +#endif /* _Ver2_SUPL_INIT_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-INIT-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-INIT-extension.h index 518efe1ce..4c5f4fb4c 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-INIT-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-INIT-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPL_POS_INIT_extension_H_ -#define _Ver2_SUPL_POS_INIT_extension_H_ +#ifndef _Ver2_SUPL_POS_INIT_extension_H_ +#define _Ver2_SUPL_POS_INIT_extension_H_ #include "asn_application.h" @@ -15,32 +15,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MultipleLocationIds; -struct UTRAN_GPSReferenceTimeResult; -struct UTRAN_GANSSReferenceTimeResult; + /* Forward declarations */ + struct MultipleLocationIds; + struct UTRAN_GPSReferenceTimeResult; + struct UTRAN_GANSSReferenceTimeResult; -/* Ver2-SUPL-POS-INIT-extension */ -typedef struct Ver2_SUPL_POS_INIT_extension { - struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; - struct UTRAN_GPSReferenceTimeResult *utran_GPSReferenceTimeResult /* OPTIONAL */; - struct UTRAN_GANSSReferenceTimeResult *utran_GANSSReferenceTimeResult /* OPTIONAL */; - /* + /* Ver2-SUPL-POS-INIT-extension */ + typedef struct Ver2_SUPL_POS_INIT_extension + { + struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; + struct UTRAN_GPSReferenceTimeResult *utran_GPSReferenceTimeResult /* OPTIONAL */; + struct UTRAN_GANSSReferenceTimeResult *utran_GANSSReferenceTimeResult /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPL_POS_INIT_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_POS_INIT_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_POS_INIT_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_POS_INIT_extension_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPL_POS_INIT_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_POS_INIT_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_POS_INIT_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_POS_INIT_extension_1[3]; #ifdef __cplusplus } @@ -51,5 +53,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_POS_INIT_extension_1[3]; #include "UTRAN-GPSReferenceTimeResult.h" #include "UTRAN-GANSSReferenceTimeResult.h" -#endif /* _Ver2_SUPL_POS_INIT_extension_H_ */ +#endif /* _Ver2_SUPL_POS_INIT_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-extension.h index c26d0a81b..cd5e6e789 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-POS-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPL_POS_extension_H_ -#define _Ver2_SUPL_POS_extension_H_ +#ifndef _Ver2_SUPL_POS_extension_H_ +#define _Ver2_SUPL_POS_extension_H_ #include "asn_application.h" @@ -15,34 +15,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct UTRAN_GPSReferenceTimeAssistance; -struct UTRAN_GPSReferenceTimeResult; -struct UTRAN_GANSSReferenceTimeAssistance; -struct UTRAN_GANSSReferenceTimeResult; + /* Forward declarations */ + struct UTRAN_GPSReferenceTimeAssistance; + struct UTRAN_GPSReferenceTimeResult; + struct UTRAN_GANSSReferenceTimeAssistance; + struct UTRAN_GANSSReferenceTimeResult; -/* Ver2-SUPL-POS-extension */ -typedef struct Ver2_SUPL_POS_extension { - struct UTRAN_GPSReferenceTimeAssistance *utran_GPSReferenceTimeAssistance /* OPTIONAL */; - struct UTRAN_GPSReferenceTimeResult *utran_GPSReferenceTimeResult /* OPTIONAL */; - struct UTRAN_GANSSReferenceTimeAssistance *utran_GANSSReferenceTimeAssistance /* OPTIONAL */; - struct UTRAN_GANSSReferenceTimeResult *utran_GANSSReferenceTimeResult /* OPTIONAL */; - /* + /* Ver2-SUPL-POS-extension */ + typedef struct Ver2_SUPL_POS_extension + { + struct UTRAN_GPSReferenceTimeAssistance *utran_GPSReferenceTimeAssistance /* OPTIONAL */; + struct UTRAN_GPSReferenceTimeResult *utran_GPSReferenceTimeResult /* OPTIONAL */; + struct UTRAN_GANSSReferenceTimeAssistance *utran_GANSSReferenceTimeAssistance /* OPTIONAL */; + struct UTRAN_GANSSReferenceTimeResult *utran_GANSSReferenceTimeResult /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPL_POS_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_POS_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_POS_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_POS_extension_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPL_POS_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_POS_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_POS_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_POS_extension_1[4]; #ifdef __cplusplus } @@ -54,5 +56,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_POS_extension_1[4]; #include "UTRAN-GANSSReferenceTimeAssistance.h" #include "UTRAN-GANSSReferenceTimeResult.h" -#endif /* _Ver2_SUPL_POS_extension_H_ */ +#endif /* _Ver2_SUPL_POS_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-RESPONSE-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-RESPONSE-extension.h index 74a4a2f9e..dd970adeb 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-RESPONSE-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-RESPONSE-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPL_RESPONSE_extension_H_ -#define _Ver2_SUPL_RESPONSE_extension_H_ +#ifndef _Ver2_SUPL_RESPONSE_extension_H_ +#define _Ver2_SUPL_RESPONSE_extension_H_ #include "asn_application.h" @@ -17,36 +17,38 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SupportedNetworkInformation; -struct SPCTID; -struct Position; -struct GNSSPosTechnology; + /* Forward declarations */ + struct SupportedNetworkInformation; + struct SPCTID; + struct Position; + struct GNSSPosTechnology; -/* Ver2-SUPL-RESPONSE-extension */ -typedef struct Ver2_SUPL_RESPONSE_extension { - struct SupportedNetworkInformation *supportedNetworkInformation /* OPTIONAL */; - SPCSETKey_t *sPCSETKey /* OPTIONAL */; - struct SPCTID *sPCTID /* OPTIONAL */; - SPCSETKeylifetime_t *sPCSETKeylifetime /* OPTIONAL */; - struct Position *initialApproximateposition /* OPTIONAL */; - struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; - /* + /* Ver2-SUPL-RESPONSE-extension */ + typedef struct Ver2_SUPL_RESPONSE_extension + { + struct SupportedNetworkInformation *supportedNetworkInformation /* OPTIONAL */; + SPCSETKey_t *sPCSETKey /* OPTIONAL */; + struct SPCTID *sPCTID /* OPTIONAL */; + SPCSETKeylifetime_t *sPCSETKeylifetime /* OPTIONAL */; + struct Position *initialApproximateposition /* OPTIONAL */; + struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPL_RESPONSE_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_RESPONSE_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_RESPONSE_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_RESPONSE_extension_1[6]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPL_RESPONSE_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_RESPONSE_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_RESPONSE_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_RESPONSE_extension_1[6]; #ifdef __cplusplus } @@ -58,5 +60,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_RESPONSE_extension_1[6]; #include "Position.h" #include "GNSSPosTechnology.h" -#endif /* _Ver2_SUPL_RESPONSE_extension_H_ */ +#endif /* _Ver2_SUPL_RESPONSE_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-START-extension.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-START-extension.h index cfd021110..c9d8112b6 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPL-START-extension.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPL-START-extension.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPL_START_extension_H_ -#define _Ver2_SUPL_START_extension_H_ +#ifndef _Ver2_SUPL_START_extension_H_ +#define _Ver2_SUPL_START_extension_H_ #include "asn_application.h" @@ -15,34 +15,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct MultipleLocationIds; -struct ThirdParty; -struct ApplicationID; -struct Position; + /* Forward declarations */ + struct MultipleLocationIds; + struct ThirdParty; + struct ApplicationID; + struct Position; -/* Ver2-SUPL-START-extension */ -typedef struct Ver2_SUPL_START_extension { - struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; - struct ThirdParty *thirdParty /* OPTIONAL */; - struct ApplicationID *applicationID /* OPTIONAL */; - struct Position *position /* OPTIONAL */; - /* + /* Ver2-SUPL-START-extension */ + typedef struct Ver2_SUPL_START_extension + { + struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; + struct ThirdParty *thirdParty /* OPTIONAL */; + struct ApplicationID *applicationID /* OPTIONAL */; + struct Position *position /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPL_START_extension_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_START_extension; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_START_extension_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_START_extension_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPL_START_extension_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPL_START_extension; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPL_START_extension_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_START_extension_1[4]; #ifdef __cplusplus } @@ -54,5 +56,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPL_START_extension_1[4]; #include "ApplicationID.h" #include "Position.h" -#endif /* _Ver2_SUPL_START_extension_H_ */ +#endif /* _Ver2_SUPL_START_extension_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFY.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFY.h index b1bf124d6..f3f99a4ac 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFY.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFY.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLNOTIFY_H_ -#define _Ver2_SUPLNOTIFY_H_ +#ifndef _Ver2_SUPLNOTIFY_H_ +#define _Ver2_SUPLNOTIFY_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ver2-SUPLNOTIFY */ -typedef struct Ver2_SUPLNOTIFY { - Notification_t notification; - /* + /* Ver2-SUPLNOTIFY */ + typedef struct Ver2_SUPLNOTIFY + { + Notification_t notification; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLNOTIFY_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLNOTIFY; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLNOTIFY_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLNOTIFY_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLNOTIFY_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLNOTIFY; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLNOTIFY_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLNOTIFY_1[1]; #ifdef __cplusplus } #endif -#endif /* _Ver2_SUPLNOTIFY_H_ */ +#endif /* _Ver2_SUPLNOTIFY_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFYRESPONSE.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFYRESPONSE.h index 203d48fe5..84b194a9f 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFYRESPONSE.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLNOTIFYRESPONSE.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLNOTIFYRESPONSE_H_ -#define _Ver2_SUPLNOTIFYRESPONSE_H_ +#ifndef _Ver2_SUPLNOTIFYRESPONSE_H_ +#define _Ver2_SUPLNOTIFYRESPONSE_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ver2-SUPLNOTIFYRESPONSE */ -typedef struct Ver2_SUPLNOTIFYRESPONSE { - NotificationResponse_t *notificationResponse /* OPTIONAL */; - /* + /* Ver2-SUPLNOTIFYRESPONSE */ + typedef struct Ver2_SUPLNOTIFYRESPONSE + { + NotificationResponse_t *notificationResponse /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLNOTIFYRESPONSE_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLNOTIFYRESPONSE; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLNOTIFYRESPONSE_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLNOTIFYRESPONSE_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLNOTIFYRESPONSE_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLNOTIFYRESPONSE; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLNOTIFYRESPONSE_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLNOTIFYRESPONSE_1[1]; #ifdef __cplusplus } #endif -#endif /* _Ver2_SUPLNOTIFYRESPONSE_H_ */ +#endif /* _Ver2_SUPLNOTIFYRESPONSE_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLREPORT.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLREPORT.h index 67ec5eb8a..9d3cc7503 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLREPORT.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLREPORT.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLREPORT_H_ -#define _Ver2_SUPLREPORT_H_ +#ifndef _Ver2_SUPLREPORT_H_ +#define _Ver2_SUPLREPORT_H_ #include "asn_application.h" @@ -17,34 +17,36 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct SessionList; -struct SETCapabilities; -struct ReportDataList; + /* Forward declarations */ + struct SessionList; + struct SETCapabilities; + struct ReportDataList; -/* Ver2-SUPLREPORT */ -typedef struct Ver2_SUPLREPORT { - struct SessionList *sessionList /* OPTIONAL */; - struct SETCapabilities *sETCapabilities /* OPTIONAL */; - struct ReportDataList *reportDataList /* OPTIONAL */; - Ver_t *ver /* OPTIONAL */; - NULL_t *moreComponents /* OPTIONAL */; - /* + /* Ver2-SUPLREPORT */ + typedef struct Ver2_SUPLREPORT + { + struct SessionList *sessionList /* OPTIONAL */; + struct SETCapabilities *sETCapabilities /* OPTIONAL */; + struct ReportDataList *reportDataList /* OPTIONAL */; + Ver_t *ver /* OPTIONAL */; + NULL_t *moreComponents /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLREPORT_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLREPORT; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLREPORT_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLREPORT_1[5]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLREPORT_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLREPORT; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLREPORT_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLREPORT_1[5]; #ifdef __cplusplus } @@ -55,5 +57,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPLREPORT_1[5]; #include "SETCapabilities.h" #include "ReportDataList.h" -#endif /* _Ver2_SUPLREPORT_H_ */ +#endif /* _Ver2_SUPLREPORT_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLSETINIT.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLSETINIT.h index 124d51ebe..737c5e75a 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLSETINIT.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLSETINIT.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLSETINIT_H_ -#define _Ver2_SUPLSETINIT_H_ +#ifndef _Ver2_SUPLSETINIT_H_ +#define _Ver2_SUPLSETINIT_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct QoP; -struct ApplicationID; + /* Forward declarations */ + struct QoP; + struct ApplicationID; -/* Ver2-SUPLSETINIT */ -typedef struct Ver2_SUPLSETINIT { - SETId_t targetSETID; - struct QoP *qoP /* OPTIONAL */; - struct ApplicationID *applicationID /* OPTIONAL */; - /* + /* Ver2-SUPLSETINIT */ + typedef struct Ver2_SUPLSETINIT + { + SETId_t targetSETID; + struct QoP *qoP /* OPTIONAL */; + struct ApplicationID *applicationID /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLSETINIT_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLSETINIT; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLSETINIT_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLSETINIT_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLSETINIT_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLSETINIT; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLSETINIT_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLSETINIT_1[3]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPLSETINIT_1[3]; #include "QoP.h" #include "ApplicationID.h" -#endif /* _Ver2_SUPLSETINIT_H_ */ +#endif /* _Ver2_SUPLSETINIT_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDRESPONSE.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDRESPONSE.h index ad636f24b..07d338611 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDRESPONSE.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDRESPONSE.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLTRIGGEREDRESPONSE_H_ -#define _Ver2_SUPLTRIGGEREDRESPONSE_H_ +#ifndef _Ver2_SUPLTRIGGEREDRESPONSE_H_ +#define _Ver2_SUPLTRIGGEREDRESPONSE_H_ #include "asn_application.h" @@ -18,41 +18,43 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct TriggerParams; -struct SLPAddress; -struct SupportedNetworkInformation; -struct ReportingMode; -struct SPCTID; -struct GNSSPosTechnology; + /* Forward declarations */ + struct TriggerParams; + struct SLPAddress; + struct SupportedNetworkInformation; + struct ReportingMode; + struct SPCTID; + struct GNSSPosTechnology; -/* Ver2-SUPLTRIGGEREDRESPONSE */ -typedef struct Ver2_SUPLTRIGGEREDRESPONSE { - PosMethod_t posMethod; - struct TriggerParams *triggerParams /* OPTIONAL */; - struct SLPAddress *sLPAddress /* OPTIONAL */; - struct SupportedNetworkInformation *supportedNetworkInformation /* OPTIONAL */; - struct ReportingMode *reportingMode /* OPTIONAL */; - SPCSETKey_t *sPCSETKey /* OPTIONAL */; - struct SPCTID *sPCTID /* OPTIONAL */; - SPCSETKeylifetime_t *sPCSETKeylifetime /* OPTIONAL */; - struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; - /* + /* Ver2-SUPLTRIGGEREDRESPONSE */ + typedef struct Ver2_SUPLTRIGGEREDRESPONSE + { + PosMethod_t posMethod; + struct TriggerParams *triggerParams /* OPTIONAL */; + struct SLPAddress *sLPAddress /* OPTIONAL */; + struct SupportedNetworkInformation *supportedNetworkInformation /* OPTIONAL */; + struct ReportingMode *reportingMode /* OPTIONAL */; + SPCSETKey_t *sPCSETKey /* OPTIONAL */; + struct SPCTID *sPCTID /* OPTIONAL */; + SPCSETKeylifetime_t *sPCSETKeylifetime /* OPTIONAL */; + struct GNSSPosTechnology *gnssPosTechnology /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLTRIGGEREDRESPONSE_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLTRIGGEREDRESPONSE; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLTRIGGEREDRESPONSE_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDRESPONSE_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLTRIGGEREDRESPONSE_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLTRIGGEREDRESPONSE; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLTRIGGEREDRESPONSE_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDRESPONSE_1[9]; #ifdef __cplusplus } @@ -66,5 +68,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDRESPONSE_1[9]; #include "SPCTID.h" #include "GNSSPosTechnology.h" -#endif /* _Ver2_SUPLTRIGGEREDRESPONSE_H_ */ +#endif /* _Ver2_SUPLTRIGGEREDRESPONSE_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTART.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTART.h index 393bbbb31..5619446f6 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTART.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTART.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLTRIGGEREDSTART_H_ -#define _Ver2_SUPLTRIGGEREDSTART_H_ +#ifndef _Ver2_SUPLTRIGGEREDSTART_H_ +#define _Ver2_SUPLTRIGGEREDSTART_H_ #include "asn_application.h" @@ -20,45 +20,47 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct QoP; -struct MultipleLocationIds; -struct ThirdParty; -struct ApplicationID; -struct TriggerParams; -struct Position; -struct ReportingCap; + /* Forward declarations */ + struct QoP; + struct MultipleLocationIds; + struct ThirdParty; + struct ApplicationID; + struct TriggerParams; + struct Position; + struct ReportingCap; -/* Ver2-SUPLTRIGGEREDSTART */ -typedef struct Ver2_SUPLTRIGGEREDSTART { - SETCapabilities_t sETCapabilities; - LocationId_t locationId; - Ver_t *ver /* OPTIONAL */; - struct QoP *qoP /* OPTIONAL */; - struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; - struct ThirdParty *thirdParty /* OPTIONAL */; - struct ApplicationID *applicationID /* OPTIONAL */; - TriggerType_t *triggerType /* OPTIONAL */; - struct TriggerParams *triggerParams /* OPTIONAL */; - struct Position *position /* OPTIONAL */; - struct ReportingCap *reportingCap /* OPTIONAL */; - CauseCode_t *causeCode /* OPTIONAL */; - /* + /* Ver2-SUPLTRIGGEREDSTART */ + typedef struct Ver2_SUPLTRIGGEREDSTART + { + SETCapabilities_t sETCapabilities; + LocationId_t locationId; + Ver_t *ver /* OPTIONAL */; + struct QoP *qoP /* OPTIONAL */; + struct MultipleLocationIds *multipleLocationIds /* OPTIONAL */; + struct ThirdParty *thirdParty /* OPTIONAL */; + struct ApplicationID *applicationID /* OPTIONAL */; + TriggerType_t *triggerType /* OPTIONAL */; + struct TriggerParams *triggerParams /* OPTIONAL */; + struct Position *position /* OPTIONAL */; + struct ReportingCap *reportingCap /* OPTIONAL */; + CauseCode_t *causeCode /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLTRIGGEREDSTART_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLTRIGGEREDSTART; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLTRIGGEREDSTART_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDSTART_1[12]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLTRIGGEREDSTART_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLTRIGGEREDSTART; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLTRIGGEREDSTART_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDSTART_1[12]; #ifdef __cplusplus } @@ -73,5 +75,5 @@ extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDSTART_1[12]; #include "Position.h" #include "ReportingCap.h" -#endif /* _Ver2_SUPLTRIGGEREDSTART_H_ */ +#endif /* _Ver2_SUPLTRIGGEREDSTART_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTOP.h b/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTOP.h index 553fa5d88..ace056e3b 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTOP.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-SUPLTRIGGEREDSTOP.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_SUPLTRIGGEREDSTOP_H_ -#define _Ver2_SUPLTRIGGEREDSTOP_H_ +#ifndef _Ver2_SUPLTRIGGEREDSTOP_H_ +#define _Ver2_SUPLTRIGGEREDSTOP_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Ver2-SUPLTRIGGEREDSTOP */ -typedef struct Ver2_SUPLTRIGGEREDSTOP { - StatusCode_t *statusCode /* OPTIONAL */; - /* + /* Ver2-SUPLTRIGGEREDSTOP */ + typedef struct Ver2_SUPLTRIGGEREDSTOP + { + StatusCode_t *statusCode /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_SUPLTRIGGEREDSTOP_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLTRIGGEREDSTOP; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLTRIGGEREDSTOP_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDSTOP_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_SUPLTRIGGEREDSTOP_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_SUPLTRIGGEREDSTOP; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_SUPLTRIGGEREDSTOP_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_SUPLTRIGGEREDSTOP_1[1]; #ifdef __cplusplus } #endif -#endif /* _Ver2_SUPLTRIGGEREDSTOP_H_ */ +#endif /* _Ver2_SUPLTRIGGEREDSTOP_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Ver2-ULP-Components_RepMode.h b/src/core/libs/supl2/asn-supl2/Ver2-ULP-Components_RepMode.h index b7874c341..486fa91c4 100644 --- a/src/core/libs/supl2/asn-supl2/Ver2-ULP-Components_RepMode.h +++ b/src/core/libs/supl2/asn-supl2/Ver2-ULP-Components_RepMode.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Ver2_ULP_Components_RepMode_H_ -#define _Ver2_ULP_Components_RepMode_H_ +#ifndef _Ver2_ULP_Components_RepMode_H_ +#define _Ver2_ULP_Components_RepMode_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* RepMode */ -typedef struct Ver2_ULP_Components_RepMode { - BOOLEAN_t realtime; - BOOLEAN_t quasirealtime; - BOOLEAN_t batch; - /* + /* RepMode */ + typedef struct Ver2_ULP_Components_RepMode + { + BOOLEAN_t realtime; + BOOLEAN_t quasirealtime; + BOOLEAN_t batch; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Ver2_ULP_Components_RepMode_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Ver2_ULP_Components_RepMode; -extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_ULP_Components_RepMode_specs_1; -extern asn_TYPE_member_t asn_MBR_Ver2_ULP_Components_RepMode_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Ver2_ULP_Components_RepMode_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Ver2_ULP_Components_RepMode; + extern asn_SEQUENCE_specifics_t asn_SPC_Ver2_ULP_Components_RepMode_specs_1; + extern asn_TYPE_member_t asn_MBR_Ver2_ULP_Components_RepMode_1[3]; #ifdef __cplusplus } #endif -#endif /* _Ver2_ULP_Components_RepMode_H_ */ +#endif /* _Ver2_ULP_Components_RepMode_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/Version.h b/src/core/libs/supl2/asn-supl2/Version.h index f1ab36793..ea1c701ad 100644 --- a/src/core/libs/supl2/asn-supl2/Version.h +++ b/src/core/libs/supl2/asn-supl2/Version.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _Version_H_ -#define _Version_H_ +#ifndef _Version_H_ +#define _Version_H_ #include "asn_application.h" @@ -16,27 +16,29 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Version */ -typedef struct Version { - long maj; - long min; - long servind; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} Version_t; + /* Version */ + typedef struct Version + { + long maj; + long min; + long servind; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_Version; -extern asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1; -extern asn_TYPE_member_t asn_MBR_Version_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } Version_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_Version; + extern asn_SEQUENCE_specifics_t asn_SPC_Version_specs_1; + extern asn_TYPE_member_t asn_MBR_Version_1[3]; #ifdef __cplusplus } #endif -#endif /* _Version_H_ */ +#endif /* _Version_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/VisibleString.h b/src/core/libs/supl2/asn-supl2/VisibleString.h index 7adc9f9b8..0d9f909f1 100644 --- a/src/core/libs/supl2/asn-supl2/VisibleString.h +++ b/src/core/libs/supl2/asn-supl2/VisibleString.h @@ -2,35 +2,36 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _VisibleString_H_ -#define _VisibleString_H_ +#ifndef _VisibleString_H_ +#define _VisibleString_H_ #include "OCTET_STRING.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef OCTET_STRING_t VisibleString_t; /* Implemented via OCTET STRING */ + typedef OCTET_STRING_t VisibleString_t; /* Implemented via OCTET STRING */ -extern asn_TYPE_descriptor_t asn_DEF_VisibleString; -extern asn_TYPE_operation_t asn_OP_VisibleString; + extern asn_TYPE_descriptor_t asn_DEF_VisibleString; + extern asn_TYPE_operation_t asn_OP_VisibleString; -asn_constr_check_f VisibleString_constraint; + asn_constr_check_f VisibleString_constraint; -#define VisibleString_free OCTET_STRING_free -#define VisibleString_print OCTET_STRING_print -#define VisibleString_compare OCTET_STRING_compare -#define VisibleString_constraint VisibleString_constraint -#define VisibleString_decode_ber OCTET_STRING_decode_ber -#define VisibleString_encode_der OCTET_STRING_encode_der -#define VisibleString_decode_xer OCTET_STRING_decode_xer_hex -#define VisibleString_encode_xer OCTET_STRING_encode_xer -#define VisibleString_decode_uper OCTET_STRING_decode_uper -#define VisibleString_encode_uper OCTET_STRING_encode_uper +#define VisibleString_free OCTET_STRING_free +#define VisibleString_print OCTET_STRING_print +#define VisibleString_compare OCTET_STRING_compare +#define VisibleString_constraint VisibleString_constraint +#define VisibleString_decode_ber OCTET_STRING_decode_ber +#define VisibleString_encode_der OCTET_STRING_encode_der +#define VisibleString_decode_xer OCTET_STRING_decode_xer_hex +#define VisibleString_encode_xer OCTET_STRING_encode_xer +#define VisibleString_decode_uper OCTET_STRING_decode_uper +#define VisibleString_encode_uper OCTET_STRING_encode_uper #ifdef __cplusplus } #endif -#endif /* _VisibleString_H_ */ +#endif /* _VisibleString_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/WCDMAAreaId.h b/src/core/libs/supl2/asn-supl2/WCDMAAreaId.h index 89bef1ab5..c34495241 100644 --- a/src/core/libs/supl2/asn-supl2/WCDMAAreaId.h +++ b/src/core/libs/supl2/asn-supl2/WCDMAAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WCDMAAreaId_H_ -#define _WCDMAAreaId_H_ +#ifndef _WCDMAAreaId_H_ +#define _WCDMAAreaId_H_ #include "asn_application.h" @@ -16,32 +16,34 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* WCDMAAreaId */ -typedef struct WCDMAAreaId { - long *refMCC /* OPTIONAL */; - long *refMNC /* OPTIONAL */; - long *refLAC /* OPTIONAL */; - long *refUC /* OPTIONAL */; - /* + /* WCDMAAreaId */ + typedef struct WCDMAAreaId + { + long *refMCC /* OPTIONAL */; + long *refMNC /* OPTIONAL */; + long *refLAC /* OPTIONAL */; + long *refUC /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WCDMAAreaId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WCDMAAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_WCDMAAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_WCDMAAreaId_1[4]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WCDMAAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WCDMAAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_WCDMAAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_WCDMAAreaId_1[4]; #ifdef __cplusplus } #endif -#endif /* _WCDMAAreaId_H_ */ +#endif /* _WCDMAAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WLANAreaId.h b/src/core/libs/supl2/asn-supl2/WLANAreaId.h index 223dd3d55..929fbb2ef 100644 --- a/src/core/libs/supl2/asn-supl2/WLANAreaId.h +++ b/src/core/libs/supl2/asn-supl2/WLANAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WLANAreaId_H_ -#define _WLANAreaId_H_ +#ifndef _WLANAreaId_H_ +#define _WLANAreaId_H_ #include "asn_application.h" @@ -16,29 +16,31 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* WLANAreaId */ -typedef struct WLANAreaId { - BIT_STRING_t apMACAddress; - /* + /* WLANAreaId */ + typedef struct WLANAreaId + { + BIT_STRING_t apMACAddress; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WLANAreaId_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WLANAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_WLANAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_WLANAreaId_1[1]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WLANAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WLANAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_WLANAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_WLANAreaId_1[1]; #ifdef __cplusplus } #endif -#endif /* _WLANAreaId_H_ */ +#endif /* _WLANAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WcdmaCellInformation.h b/src/core/libs/supl2/asn-supl2/WcdmaCellInformation.h index a7982bf52..bcbd615c0 100644 --- a/src/core/libs/supl2/asn-supl2/WcdmaCellInformation.h +++ b/src/core/libs/supl2/asn-supl2/WcdmaCellInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WcdmaCellInformation_H_ -#define _WcdmaCellInformation_H_ +#ifndef _WcdmaCellInformation_H_ +#define _WcdmaCellInformation_H_ #include "asn_application.h" @@ -16,37 +16,39 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct FrequencyInfo; -struct MeasuredResultsList; -struct TimingAdvance; + /* Forward declarations */ + struct FrequencyInfo; + struct MeasuredResultsList; + struct TimingAdvance; -/* WcdmaCellInformation */ -typedef struct WcdmaCellInformation { - long refMCC; - long refMNC; - long refUC; - struct FrequencyInfo *frequencyInfo /* OPTIONAL */; - long *primaryScramblingCode /* OPTIONAL */; - struct MeasuredResultsList *measuredResultsList /* OPTIONAL */; - /* + /* WcdmaCellInformation */ + typedef struct WcdmaCellInformation + { + long refMCC; + long refMNC; + long refUC; + struct FrequencyInfo *frequencyInfo /* OPTIONAL */; + long *primaryScramblingCode /* OPTIONAL */; + struct MeasuredResultsList *measuredResultsList /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - long *cellParametersId /* OPTIONAL */; - struct TimingAdvance *timingAdvance /* OPTIONAL */; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WcdmaCellInformation_t; + long *cellParametersId /* OPTIONAL */; + struct TimingAdvance *timingAdvance /* OPTIONAL */; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WcdmaCellInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_WcdmaCellInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_WcdmaCellInformation_1[8]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WcdmaCellInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WcdmaCellInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_WcdmaCellInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_WcdmaCellInformation_1[8]; #ifdef __cplusplus } @@ -57,5 +59,5 @@ extern asn_TYPE_member_t asn_MBR_WcdmaCellInformation_1[8]; #include "MeasuredResultsList.h" #include "TimingAdvance.h" -#endif /* _WcdmaCellInformation_H_ */ +#endif /* _WcdmaCellInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WimaxAreaId.h b/src/core/libs/supl2/asn-supl2/WimaxAreaId.h index 0d8c8b6b1..39b5025f3 100644 --- a/src/core/libs/supl2/asn-supl2/WimaxAreaId.h +++ b/src/core/libs/supl2/asn-supl2/WimaxAreaId.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WimaxAreaId_H_ -#define _WimaxAreaId_H_ +#ifndef _WimaxAreaId_H_ +#define _WimaxAreaId_H_ #include "asn_application.h" @@ -16,26 +16,28 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* WimaxAreaId */ -typedef struct WimaxAreaId { - BIT_STRING_t *bsID_MSB /* OPTIONAL */; - BIT_STRING_t bsID_LSB; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WimaxAreaId_t; + /* WimaxAreaId */ + typedef struct WimaxAreaId + { + BIT_STRING_t *bsID_MSB /* OPTIONAL */; + BIT_STRING_t bsID_LSB; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WimaxAreaId; -extern asn_SEQUENCE_specifics_t asn_SPC_WimaxAreaId_specs_1; -extern asn_TYPE_member_t asn_MBR_WimaxAreaId_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WimaxAreaId_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WimaxAreaId; + extern asn_SEQUENCE_specifics_t asn_SPC_WimaxAreaId_specs_1; + extern asn_TYPE_member_t asn_MBR_WimaxAreaId_1[2]; #ifdef __cplusplus } #endif -#endif /* _WimaxAreaId_H_ */ +#endif /* _WimaxAreaId_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WimaxBSInformation.h b/src/core/libs/supl2/asn-supl2/WimaxBSInformation.h index d55214490..e41afe387 100644 --- a/src/core/libs/supl2/asn-supl2/WimaxBSInformation.h +++ b/src/core/libs/supl2/asn-supl2/WimaxBSInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WimaxBSInformation_H_ -#define _WimaxBSInformation_H_ +#ifndef _WimaxBSInformation_H_ +#define _WimaxBSInformation_H_ #include "asn_application.h" @@ -16,31 +16,33 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct WimaxRTD; -struct WimaxNMRList; + /* Forward declarations */ + struct WimaxRTD; + struct WimaxNMRList; -/* WimaxBSInformation */ -typedef struct WimaxBSInformation { - WimaxBsID_t wimaxBsID; - struct WimaxRTD *wimaxRTD /* OPTIONAL */; - struct WimaxNMRList *wimaxNMRList /* OPTIONAL */; - /* + /* WimaxBSInformation */ + typedef struct WimaxBSInformation + { + WimaxBsID_t wimaxBsID; + struct WimaxRTD *wimaxRTD /* OPTIONAL */; + struct WimaxNMRList *wimaxNMRList /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WimaxBSInformation_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WimaxBSInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_WimaxBSInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_WimaxBSInformation_1[3]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WimaxBSInformation_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WimaxBSInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_WimaxBSInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_WimaxBSInformation_1[3]; #ifdef __cplusplus } @@ -50,5 +52,5 @@ extern asn_TYPE_member_t asn_MBR_WimaxBSInformation_1[3]; #include "WimaxRTD.h" #include "WimaxNMRList.h" -#endif /* _WimaxBSInformation_H_ */ +#endif /* _WimaxBSInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WimaxBsID.h b/src/core/libs/supl2/asn-supl2/WimaxBsID.h index 82c795a35..2fcf92aae 100644 --- a/src/core/libs/supl2/asn-supl2/WimaxBsID.h +++ b/src/core/libs/supl2/asn-supl2/WimaxBsID.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WimaxBsID_H_ -#define _WimaxBsID_H_ +#ifndef _WimaxBsID_H_ +#define _WimaxBsID_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* WimaxBsID */ -typedef struct WimaxBsID { - BIT_STRING_t *bsID_MSB /* OPTIONAL */; - BIT_STRING_t bsID_LSB; - /* + /* WimaxBsID */ + typedef struct WimaxBsID + { + BIT_STRING_t *bsID_MSB /* OPTIONAL */; + BIT_STRING_t bsID_LSB; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WimaxBsID_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WimaxBsID; -extern asn_SEQUENCE_specifics_t asn_SPC_WimaxBsID_specs_1; -extern asn_TYPE_member_t asn_MBR_WimaxBsID_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WimaxBsID_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WimaxBsID; + extern asn_SEQUENCE_specifics_t asn_SPC_WimaxBsID_specs_1; + extern asn_TYPE_member_t asn_MBR_WimaxBsID_1[2]; #ifdef __cplusplus } #endif -#endif /* _WimaxBsID_H_ */ +#endif /* _WimaxBsID_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WimaxNMR.h b/src/core/libs/supl2/asn-supl2/WimaxNMR.h index 166e523f0..875c21c19 100644 --- a/src/core/libs/supl2/asn-supl2/WimaxNMR.h +++ b/src/core/libs/supl2/asn-supl2/WimaxNMR.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WimaxNMR_H_ -#define _WimaxNMR_H_ +#ifndef _WimaxNMR_H_ +#define _WimaxNMR_H_ #include "asn_application.h" @@ -17,36 +17,38 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct ReportedLocation; + /* Forward declarations */ + struct ReportedLocation; -/* WimaxNMR */ -typedef struct WimaxNMR { - WimaxBsID_t wimaxBsID; - long *relDelay /* OPTIONAL */; - long *relDelaystd /* OPTIONAL */; - long *rSSI /* OPTIONAL */; - long *rSSIstd /* OPTIONAL */; - long *bSTxPower /* OPTIONAL */; - long *cINR /* OPTIONAL */; - long *cINRstd /* OPTIONAL */; - struct ReportedLocation *bSLocation /* OPTIONAL */; - /* + /* WimaxNMR */ + typedef struct WimaxNMR + { + WimaxBsID_t wimaxBsID; + long *relDelay /* OPTIONAL */; + long *relDelaystd /* OPTIONAL */; + long *rSSI /* OPTIONAL */; + long *rSSIstd /* OPTIONAL */; + long *bSTxPower /* OPTIONAL */; + long *cINR /* OPTIONAL */; + long *cINRstd /* OPTIONAL */; + struct ReportedLocation *bSLocation /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WimaxNMR_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WimaxNMR; -extern asn_SEQUENCE_specifics_t asn_SPC_WimaxNMR_specs_1; -extern asn_TYPE_member_t asn_MBR_WimaxNMR_1[9]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WimaxNMR_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WimaxNMR; + extern asn_SEQUENCE_specifics_t asn_SPC_WimaxNMR_specs_1; + extern asn_TYPE_member_t asn_MBR_WimaxNMR_1[9]; #ifdef __cplusplus } @@ -55,5 +57,5 @@ extern asn_TYPE_member_t asn_MBR_WimaxNMR_1[9]; /* Referred external types */ #include "ReportedLocation.h" -#endif /* _WimaxNMR_H_ */ +#endif /* _WimaxNMR_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WimaxNMRList.h b/src/core/libs/supl2/asn-supl2/WimaxNMRList.h index 6b673afe7..e02ea31eb 100644 --- a/src/core/libs/supl2/asn-supl2/WimaxNMRList.h +++ b/src/core/libs/supl2/asn-supl2/WimaxNMRList.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WimaxNMRList_H_ -#define _WimaxNMRList_H_ +#ifndef _WimaxNMRList_H_ +#define _WimaxNMRList_H_ #include "asn_application.h" @@ -16,25 +16,28 @@ #include "constr_SEQUENCE_OF.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Forward declarations */ -struct WimaxNMR; + /* Forward declarations */ + struct WimaxNMR; -/* WimaxNMRList */ -typedef struct WimaxNMRList { - A_SEQUENCE_OF(struct WimaxNMR) list; - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WimaxNMRList_t; + /* WimaxNMRList */ + typedef struct WimaxNMRList + { + A_SEQUENCE_OF(struct WimaxNMR) + list; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WimaxNMRList; -extern asn_SET_OF_specifics_t asn_SPC_WimaxNMRList_specs_1; -extern asn_TYPE_member_t asn_MBR_WimaxNMRList_1[1]; -extern asn_per_constraints_t asn_PER_type_WimaxNMRList_constr_1; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WimaxNMRList_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WimaxNMRList; + extern asn_SET_OF_specifics_t asn_SPC_WimaxNMRList_specs_1; + extern asn_TYPE_member_t asn_MBR_WimaxNMRList_1[1]; + extern asn_per_constraints_t asn_PER_type_WimaxNMRList_constr_1; #ifdef __cplusplus } @@ -43,5 +46,5 @@ extern asn_per_constraints_t asn_PER_type_WimaxNMRList_constr_1; /* Referred external types */ #include "WimaxNMR.h" -#endif /* _WimaxNMRList_H_ */ +#endif /* _WimaxNMRList_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WimaxRTD.h b/src/core/libs/supl2/asn-supl2/WimaxRTD.h index 38d6a1259..e4a5a935b 100644 --- a/src/core/libs/supl2/asn-supl2/WimaxRTD.h +++ b/src/core/libs/supl2/asn-supl2/WimaxRTD.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WimaxRTD_H_ -#define _WimaxRTD_H_ +#ifndef _WimaxRTD_H_ +#define _WimaxRTD_H_ #include "asn_application.h" @@ -16,30 +16,32 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* WimaxRTD */ -typedef struct WimaxRTD { - long rTD; - long *rTDstd /* OPTIONAL */; - /* + /* WimaxRTD */ + typedef struct WimaxRTD + { + long rTD; + long *rTDstd /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WimaxRTD_t; -/* Implementation */ -extern asn_TYPE_descriptor_t asn_DEF_WimaxRTD; -extern asn_SEQUENCE_specifics_t asn_SPC_WimaxRTD_specs_1; -extern asn_TYPE_member_t asn_MBR_WimaxRTD_1[2]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WimaxRTD_t; + + /* Implementation */ + extern asn_TYPE_descriptor_t asn_DEF_WimaxRTD; + extern asn_SEQUENCE_specifics_t asn_SPC_WimaxRTD_specs_1; + extern asn_TYPE_member_t asn_MBR_WimaxRTD_1[2]; #ifdef __cplusplus } #endif -#endif /* _WimaxRTD_H_ */ +#endif /* _WimaxRTD_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/WlanAPInformation.h b/src/core/libs/supl2/asn-supl2/WlanAPInformation.h index cb54d525c..0d6db8605 100644 --- a/src/core/libs/supl2/asn-supl2/WlanAPInformation.h +++ b/src/core/libs/supl2/asn-supl2/WlanAPInformation.h @@ -5,8 +5,8 @@ * `asn1c -S ../../skeletons -pdu=ULP-PDU -pdu=SUPLINIT -fcompound-names -no-gen-OER` */ -#ifndef _WlanAPInformation_H_ -#define _WlanAPInformation_H_ +#ifndef _WlanAPInformation_H_ +#define _WlanAPInformation_H_ #include "asn_application.h" @@ -18,52 +18,55 @@ #include "constr_SEQUENCE.h" #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* Dependencies */ -typedef enum WlanAPInformation__apDeviceType { - WlanAPInformation__apDeviceType_wlan802_11a = 0, - WlanAPInformation__apDeviceType_wlan802_11b = 1, - WlanAPInformation__apDeviceType_wlan802_11g = 2 - /* + /* Dependencies */ + typedef enum WlanAPInformation__apDeviceType + { + WlanAPInformation__apDeviceType_wlan802_11a = 0, + WlanAPInformation__apDeviceType_wlan802_11b = 1, + WlanAPInformation__apDeviceType_wlan802_11g = 2 + /* * Enumeration is extensible */ -} e_WlanAPInformation__apDeviceType; + } e_WlanAPInformation__apDeviceType; -/* Forward declarations */ -struct RTD; -struct ReportedLocation; + /* Forward declarations */ + struct RTD; + struct ReportedLocation; -/* WlanAPInformation */ -typedef struct WlanAPInformation { - BIT_STRING_t apMACAddress; - long *apTransmitPower /* OPTIONAL */; - long *apAntennaGain /* OPTIONAL */; - long *apSignaltoNoise /* OPTIONAL */; - long *apDeviceType /* OPTIONAL */; - long *apSignalStrength /* OPTIONAL */; - long *apChannelFrequency /* OPTIONAL */; - struct RTD *apRoundTripDelay /* OPTIONAL */; - long *setTransmitPower /* OPTIONAL */; - long *setAntennaGain /* OPTIONAL */; - long *setSignaltoNoise /* OPTIONAL */; - long *setSignalStrength /* OPTIONAL */; - struct ReportedLocation *apReportedLocation /* OPTIONAL */; - /* + /* WlanAPInformation */ + typedef struct WlanAPInformation + { + BIT_STRING_t apMACAddress; + long *apTransmitPower /* OPTIONAL */; + long *apAntennaGain /* OPTIONAL */; + long *apSignaltoNoise /* OPTIONAL */; + long *apDeviceType /* OPTIONAL */; + long *apSignalStrength /* OPTIONAL */; + long *apChannelFrequency /* OPTIONAL */; + struct RTD *apRoundTripDelay /* OPTIONAL */; + long *setTransmitPower /* OPTIONAL */; + long *setAntennaGain /* OPTIONAL */; + long *setSignaltoNoise /* OPTIONAL */; + long *setSignalStrength /* OPTIONAL */; + struct ReportedLocation *apReportedLocation /* OPTIONAL */; + /* * This type is extensible, * possible extensions are below. */ - - /* Context for parsing across buffer boundaries */ - asn_struct_ctx_t _asn_ctx; -} WlanAPInformation_t; -/* Implementation */ -/* extern asn_TYPE_descriptor_t asn_DEF_apDeviceType_6; // (Use -fall-defs-global to expose) */ -extern asn_TYPE_descriptor_t asn_DEF_WlanAPInformation; -extern asn_SEQUENCE_specifics_t asn_SPC_WlanAPInformation_specs_1; -extern asn_TYPE_member_t asn_MBR_WlanAPInformation_1[13]; + /* Context for parsing across buffer boundaries */ + asn_struct_ctx_t _asn_ctx; + } WlanAPInformation_t; + + /* Implementation */ + /* extern asn_TYPE_descriptor_t asn_DEF_apDeviceType_6; // (Use -fall-defs-global to expose) */ + extern asn_TYPE_descriptor_t asn_DEF_WlanAPInformation; + extern asn_SEQUENCE_specifics_t asn_SPC_WlanAPInformation_specs_1; + extern asn_TYPE_member_t asn_MBR_WlanAPInformation_1[13]; #ifdef __cplusplus } @@ -73,5 +76,5 @@ extern asn_TYPE_member_t asn_MBR_WlanAPInformation_1[13]; #include "RTD.h" #include "ReportedLocation.h" -#endif /* _WlanAPInformation_H_ */ +#endif /* _WlanAPInformation_H_ */ #include "asn_internal.h" diff --git a/src/core/libs/supl2/asn-supl2/asn_SET_OF.h b/src/core/libs/supl2/asn-supl2/asn_SET_OF.h index 882e1a47d..ebb9c6faf 100644 --- a/src/core/libs/supl2/asn-supl2/asn_SET_OF.h +++ b/src/core/libs/supl2/asn-supl2/asn_SET_OF.h @@ -2,46 +2,49 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_SET_OF_H -#define ASN_SET_OF_H +#ifndef ASN_SET_OF_H +#define ASN_SET_OF_H #ifdef __cplusplus #define A_SET_OF(type) \ - struct { \ + struct \ + { \ type **array; \ int count; /* Meaningful size */ \ int size; /* Allocated size */ \ void (*free)(decltype(*array)); \ } -#else /* C */ +#else /* C */ #define A_SET_OF(type) \ - struct { \ + struct \ + { \ type **array; \ int count; /* Meaningful size */ \ int size; /* Allocated size */ \ - void (*free)(type *); \ + void (*free)(type *); \ } #endif #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -#define ASN_SET_ADD(headptr, ptr) \ - asn_set_add((headptr), (ptr)) +#define ASN_SET_ADD(headptr, ptr) \ + asn_set_add((headptr), (ptr)) -/******************************************* + /******************************************* * Implementation of the SET OF structure. */ -/* + /* * Add another structure into the set by its pointer. * RETURN VALUES: * 0 for success and -1/errno for failure. */ -int asn_set_add(void *asn_set_of_x, void *ptr); + int asn_set_add(void *asn_set_of_x, void *ptr); -/* + /* * Delete the element from the set by its number (base 0). * This is a constant-time operation. The order of elements before the * deleted ones is guaranteed, the order of elements after the deleted @@ -49,24 +52,24 @@ int asn_set_add(void *asn_set_of_x, void *ptr); * If _do_free is given AND the (*free) is initialized, the element * will be freed using the custom (*free) function as well. */ -void asn_set_del(void *asn_set_of_x, int number, int _do_free); + void asn_set_del(void *asn_set_of_x, int number, int _do_free); -/* + /* * Empty the contents of the set. Will free the elements, if (*free) is given. * Will NOT free the set itself. */ -void asn_set_empty(void *asn_set_of_x); + void asn_set_empty(void *asn_set_of_x); -/* + /* * Cope with different conversions requirements to/from void in C and C++. * This is mostly useful for support library. */ -typedef A_SET_OF(void) asn_anonymous_set_; -#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr)) -#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr)) + typedef A_SET_OF(void) asn_anonymous_set_; +#define _A_SET_FROM_VOID(ptr) ((asn_anonymous_set_ *)(ptr)) +#define _A_CSET_FROM_VOID(ptr) ((const asn_anonymous_set_ *)(ptr)) #ifdef __cplusplus } #endif -#endif /* ASN_SET_OF_H */ +#endif /* ASN_SET_OF_H */ diff --git a/src/core/libs/supl2/asn-supl2/asn_codecs.h b/src/core/libs/supl2/asn-supl2/asn_codecs.h index e75c2709c..53b1a3733 100644 --- a/src/core/libs/supl2/asn-supl2/asn_codecs.h +++ b/src/core/libs/supl2/asn-supl2/asn_codecs.h @@ -2,16 +2,17 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_CODECS_H -#define ASN_CODECS_H +#ifndef ASN_CODECS_H +#define ASN_CODECS_H #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -struct asn_TYPE_descriptor_s; /* Forward declaration */ + struct asn_TYPE_descriptor_s; /* Forward declaration */ -/* + /* * This structure defines a set of parameters that may be passed * to every ASN.1 encoder or decoder function. * WARNING: if max_stack_size member is set, and you are calling the @@ -20,8 +21,9 @@ struct asn_TYPE_descriptor_s; /* Forward declaration */ * If you can't always satisfy this requirement, use ber_decode(), * xer_decode() and uper_decode() functions instead. */ -typedef struct asn_codec_ctx_s { - /* + typedef struct asn_codec_ctx_s + { + /* * Limit the decoder routines to use no (much) more stack than a given * number of bytes. Most of decoders are stack-based, and this * would protect against stack overflows if the number of nested @@ -32,45 +34,52 @@ typedef struct asn_codec_ctx_s { * this variable. Be careful in multithreaded environments, as the * stack size is rather limited. */ - size_t max_stack_size; /* 0 disables stack bounds checking */ -} asn_codec_ctx_t; + size_t max_stack_size; /* 0 disables stack bounds checking */ + } asn_codec_ctx_t; -/* + /* * Type of the return value of the encoding functions (der_encode, xer_encode). */ -typedef struct asn_enc_rval_s { - /* + typedef struct asn_enc_rval_s + { + /* * Number of bytes encoded. * -1 indicates failure to encode the structure. * In this case, the members below this one are meaningful. */ - ssize_t encoded; + ssize_t encoded; - /* + /* * Members meaningful when (encoded == -1), for post mortem analysis. */ - /* Type which cannot be encoded */ - const struct asn_TYPE_descriptor_s *failed_type; + /* Type which cannot be encoded */ + const struct asn_TYPE_descriptor_s *failed_type; - /* Pointer to the structure of that type */ - const void *structure_ptr; -} asn_enc_rval_t; -#define ASN__ENCODE_FAILED do { \ - asn_enc_rval_t tmp_error; \ - tmp_error.encoded = -1; \ - tmp_error.failed_type = td; \ - tmp_error.structure_ptr = sptr; \ - ASN_DEBUG("Failed to encode element %s", td ? td->name : ""); \ - return tmp_error; \ -} while(0) -#define ASN__ENCODED_OK(rval) do { \ - rval.structure_ptr = 0; \ - rval.failed_type = 0; \ - return rval; \ -} while(0) + /* Pointer to the structure of that type */ + const void *structure_ptr; + } asn_enc_rval_t; +#define ASN__ENCODE_FAILED \ + do \ + { \ + asn_enc_rval_t tmp_error; \ + tmp_error.encoded = -1; \ + tmp_error.failed_type = td; \ + tmp_error.structure_ptr = sptr; \ + ASN_DEBUG("Failed to encode element %s", td ? td->name : ""); \ + return tmp_error; \ + } \ + while (0) +#define ASN__ENCODED_OK(rval) \ + do \ + { \ + rval.structure_ptr = 0; \ + rval.failed_type = 0; \ + return rval; \ + } \ + while (0) -/* + /* * Type of the return value of the decoding functions (ber_decode, xer_decode) * * Please note that the number of consumed bytes is ALWAYS meaningful, @@ -78,31 +87,39 @@ typedef struct asn_enc_rval_s { * decoded bytes, hence providing a possibility to fail with more diagnostics * (i.e., print the offending remainder of the buffer). */ -enum asn_dec_rval_code_e { - RC_OK, /* Decoded successfully */ - RC_WMORE, /* More data expected, call again */ - RC_FAIL /* Failure to decode data */ -}; -typedef struct asn_dec_rval_s { - enum asn_dec_rval_code_e code; /* Result code */ - size_t consumed; /* Number of bytes consumed */ -} asn_dec_rval_t; -#define ASN__DECODE_FAILED do { \ - asn_dec_rval_t tmp_error; \ - tmp_error.code = RC_FAIL; \ - tmp_error.consumed = 0; \ - ASN_DEBUG("Failed to decode element %s", td ? td->name : ""); \ - return tmp_error; \ -} while(0) -#define ASN__DECODE_STARVED do { \ - asn_dec_rval_t tmp_error; \ - tmp_error.code = RC_WMORE; \ - tmp_error.consumed = 0; \ - return tmp_error; \ -} while(0) + enum asn_dec_rval_code_e + { + RC_OK, /* Decoded successfully */ + RC_WMORE, /* More data expected, call again */ + RC_FAIL /* Failure to decode data */ + }; + typedef struct asn_dec_rval_s + { + enum asn_dec_rval_code_e code; /* Result code */ + size_t consumed; /* Number of bytes consumed */ + } asn_dec_rval_t; +#define ASN__DECODE_FAILED \ + do \ + { \ + asn_dec_rval_t tmp_error; \ + tmp_error.code = RC_FAIL; \ + tmp_error.consumed = 0; \ + ASN_DEBUG("Failed to decode element %s", td ? td->name : ""); \ + return tmp_error; \ + } \ + while (0) +#define ASN__DECODE_STARVED \ + do \ + { \ + asn_dec_rval_t tmp_error; \ + tmp_error.code = RC_WMORE; \ + tmp_error.consumed = 0; \ + return tmp_error; \ + } \ + while (0) #ifdef __cplusplus } #endif -#endif /* ASN_CODECS_H */ +#endif /* ASN_CODECS_H */ diff --git a/src/core/libs/supl2/asn-supl2/asn_internal.h b/src/core/libs/supl2/asn-supl2/asn_internal.h index 273608314..09a747c7f 100644 --- a/src/core/libs/supl2/asn-supl2/asn_internal.h +++ b/src/core/libs/supl2/asn-supl2/asn_internal.h @@ -5,74 +5,94 @@ /* * Declarations internally useful for the ASN.1 support code. */ -#ifndef ASN_INTERNAL_H -#define ASN_INTERNAL_H -#define __EXTENSIONS__ /* for Sun */ +#ifndef ASN_INTERNAL_H +#define ASN_INTERNAL_H +#define __EXTENSIONS__ /* for Sun */ -#include "asn_application.h" /* Application-visible API */ +#include "asn_application.h" /* Application-visible API */ -#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */ -#include /* for assert() macro */ +#ifndef __NO_ASSERT_H__ /* Include assert.h only for internal use. */ +#include /* for assert() macro */ #endif -#ifdef __cplusplus -extern "C" { +#ifdef __cplusplus +extern "C" +{ #endif /* Environment version might be used to avoid running with the old library */ -#define ASN1C_ENVIRONMENT_VERSION 923 /* Compile-time version */ -int get_asn1c_environment_version(void); /* Run-time version */ +#define ASN1C_ENVIRONMENT_VERSION 923 /* Compile-time version */ + int get_asn1c_environment_version(void); /* Run-time version */ -#define CALLOC(nmemb, size) calloc(nmemb, size) -#define MALLOC(size) malloc(size) -#define REALLOC(oldptr, size) realloc(oldptr, size) -#define FREEMEM(ptr) free(ptr) +#define CALLOC(nmemb, size) calloc(nmemb, size) +#define MALLOC(size) malloc(size) +#define REALLOC(oldptr, size) realloc(oldptr, size) +#define FREEMEM(ptr) free(ptr) -#define asn_debug_indent 0 -#define ASN_DEBUG_INDENT_ADD(i) do{}while(0) +#define asn_debug_indent 0 +#define ASN_DEBUG_INDENT_ADD(i) \ + do \ + { \ + } \ + while (0) -#ifdef EMIT_ASN_DEBUG +#ifdef EMIT_ASN_DEBUG #warning "Use ASN_EMIT_DEBUG instead of EMIT_ASN_DEBUG" -#define ASN_EMIT_DEBUG EMIT_ASN_DEBUG +#define ASN_EMIT_DEBUG EMIT_ASN_DEBUG #endif /* * A macro for debugging the ASN.1 internals. * You may enable or override it. */ -#ifndef ASN_DEBUG /* If debugging code is not defined elsewhere... */ -#if ASN_EMIT_DEBUG == 1 /* And it was asked to emit this code... */ +#ifndef ASN_DEBUG /* If debugging code is not defined elsewhere... */ +#if ASN_EMIT_DEBUG == 1 /* And it was asked to emit this code... */ #if __STDC_VERSION__ >= 199901L -#ifdef ASN_THREAD_SAFE +#ifdef ASN_THREAD_SAFE /* Thread safety requires sacrifice in output indentation: * Retain empty definition of ASN_DEBUG_INDENT_ADD. */ -#else /* !ASN_THREAD_SAFE */ -#undef ASN_DEBUG_INDENT_ADD -#undef asn_debug_indent -int asn_debug_indent; -#define ASN_DEBUG_INDENT_ADD(i) do { asn_debug_indent += i; } while(0) -#endif /* ASN_THREAD_SAFE */ -#define ASN_DEBUG(fmt, args...) do { \ - int adi = asn_debug_indent; \ - while(adi--) fprintf(stderr, " "); \ - fprintf(stderr, fmt, ##args); \ - fprintf(stderr, " (%s:%d)\n", \ - __FILE__, __LINE__); \ - } while(0) -#else /* !C99 */ -void CC_PRINTFLIKE(1, 2) ASN_DEBUG_f(const char *fmt, ...); -#define ASN_DEBUG ASN_DEBUG_f -#endif /* C99 */ -#else /* ASN_EMIT_DEBUG != 1 */ +#else /* !ASN_THREAD_SAFE */ +#undef ASN_DEBUG_INDENT_ADD +#undef asn_debug_indent + int asn_debug_indent; +#define ASN_DEBUG_INDENT_ADD(i) \ + do \ + { \ + asn_debug_indent += i; \ + } \ + while (0) +#endif /* ASN_THREAD_SAFE */ +#define ASN_DEBUG(fmt, args...) \ + do \ + { \ + int adi = asn_debug_indent; \ + while (adi--) fprintf(stderr, " "); \ + fprintf(stderr, fmt, ##args); \ + fprintf(stderr, " (%s:%d)\n", \ + __FILE__, __LINE__); \ + } \ + while (0) +#else /* !C99 */ + void CC_PRINTFLIKE(1, 2) ASN_DEBUG_f(const char *fmt, ...); +#define ASN_DEBUG ASN_DEBUG_f +#endif /* C99 */ +#else /* ASN_EMIT_DEBUG != 1 */ #if __STDC_VERSION__ >= 199901L -#define ASN_DEBUG(...) do{}while(0) -#else /* not C99 */ -static void CC_PRINTFLIKE(1, 2) ASN_DEBUG(const char *fmt, ...) { (void)fmt; } -#endif /* C99 or better */ -#endif /* ASN_EMIT_DEBUG */ -#endif /* ASN_DEBUG */ +#define ASN_DEBUG(...) \ + do \ + { \ + } \ + while (0) +#else /* not C99 */ + static void CC_PRINTFLIKE(1, 2) ASN_DEBUG(const char *fmt, ...) + { + (void)fmt; + } +#endif /* C99 or better */ +#endif /* ASN_EMIT_DEBUG */ +#endif /* ASN_DEBUG */ -/* + /* * Print to a callback. * The callback is expected to return negative values on error. * 0 and positive values are treated as success. @@ -80,72 +100,80 @@ static void CC_PRINTFLIKE(1, 2) ASN_DEBUG(const char *fmt, ...) { (void)fmt; } * -1: Failed to format or invoke the callback. * >0: Size of the data that got delivered to the callback. */ -ssize_t CC_PRINTFLIKE(3, 4) -asn__format_to_callback( - int (*callback)(const void *, size_t, void *key), void *key, - const char *fmt, ...); + ssize_t CC_PRINTFLIKE(3, 4) + asn__format_to_callback( + int (*callback)(const void *, size_t, void *key), void *key, + const char *fmt, ...); /* * Invoke the application-supplied callback and fail, if something is wrong. */ #define ASN__E_cbc(buf, size) (cb((buf), (size), app_key) < 0) -#define ASN__E_CALLBACK(size, foo) \ - do { \ - if(foo) goto cb_failed; \ - er.encoded += (size); \ - } while(0) +#define ASN__E_CALLBACK(size, foo) \ + do \ + { \ + if (foo) goto cb_failed; \ + er.encoded += (size); \ + } \ + while (0) #define ASN__CALLBACK(buf, size) ASN__E_CALLBACK(size, ASN__E_cbc(buf, size)) #define ASN__CALLBACK2(buf1, size1, buf2, size2) \ ASN__E_CALLBACK((size1) + (size2), \ - ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2)) -#define ASN__CALLBACK3(buf1, size1, buf2, size2, buf3, size3) \ - ASN__E_CALLBACK((size1) + (size2) + (size3), \ - ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2) \ - || ASN__E_cbc(buf3, size3)) + ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2)) +#define ASN__CALLBACK3(buf1, size1, buf2, size2, buf3, size3) \ + ASN__E_CALLBACK((size1) + (size2) + (size3), \ + ASN__E_cbc(buf1, size1) || ASN__E_cbc(buf2, size2) || ASN__E_cbc(buf3, size3)) -#define ASN__TEXT_INDENT(nl, level) \ - do { \ - int tmp_level = (level); \ - int tmp_nl = ((nl) != 0); \ - int tmp_i; \ - if(tmp_nl) ASN__CALLBACK("\n", 1); \ - if(tmp_level < 0) tmp_level = 0; \ - for(tmp_i = 0; tmp_i < tmp_level; tmp_i++) ASN__CALLBACK(" ", 4); \ - } while(0) +#define ASN__TEXT_INDENT(nl, level) \ + do \ + { \ + int tmp_level = (level); \ + int tmp_nl = ((nl) != 0); \ + int tmp_i; \ + if (tmp_nl) ASN__CALLBACK("\n", 1); \ + if (tmp_level < 0) tmp_level = 0; \ + for (tmp_i = 0; tmp_i < tmp_level; tmp_i++) ASN__CALLBACK(" ", 4); \ + } \ + while (0) -#define _i_INDENT(nl) do { \ - int tmp_i; \ - if((nl) && cb("\n", 1, app_key) < 0) \ - return -1; \ - for(tmp_i = 0; tmp_i < ilevel; tmp_i++) \ - if(cb(" ", 4, app_key) < 0) \ - return -1; \ - } while(0) +#define _i_INDENT(nl) \ + do \ + { \ + int tmp_i; \ + if ((nl) && cb("\n", 1, app_key) < 0) \ + return -1; \ + for (tmp_i = 0; tmp_i < ilevel; tmp_i++) \ + if (cb(" ", 4, app_key) < 0) \ + return -1; \ + } \ + while (0) /* * Check stack against overflow, if limit is set. */ -#define ASN__DEFAULT_STACK_MAX (30000) -static int CC_NOTUSED -ASN__STACK_OVERFLOW_CHECK(const asn_codec_ctx_t *ctx) { - if(ctx && ctx->max_stack_size) { +#define ASN__DEFAULT_STACK_MAX (30000) + static int CC_NOTUSED + ASN__STACK_OVERFLOW_CHECK(const asn_codec_ctx_t *ctx) + { + if (ctx && ctx->max_stack_size) + { + /* ctx MUST be allocated on the stack */ + ptrdiff_t usedstack = ((const char *)ctx - (const char *)&ctx); + if (usedstack > 0) usedstack = -usedstack; /* grows up! */ - /* ctx MUST be allocated on the stack */ - ptrdiff_t usedstack = ((const char *)ctx - (const char *)&ctx); - if(usedstack > 0) usedstack = -usedstack; /* grows up! */ + /* double negative required to avoid int wrap-around */ + if (usedstack < -(ptrdiff_t)ctx->max_stack_size) + { + ASN_DEBUG("Stack limit %ld reached", + (long)ctx->max_stack_size); + return -1; + } + } + return 0; + } - /* double negative required to avoid int wrap-around */ - if(usedstack < -(ptrdiff_t)ctx->max_stack_size) { - ASN_DEBUG("Stack limit %ld reached", - (long)ctx->max_stack_size); - return -1; - } - } - return 0; -} - -#ifdef __cplusplus +#ifdef __cplusplus } #endif -#endif /* ASN_INTERNAL_H */ +#endif /* ASN_INTERNAL_H */ diff --git a/src/core/libs/supl2/asn-supl2/asn_random_fill.h b/src/core/libs/supl2/asn-supl2/asn_random_fill.h index 47f9b8af0..a6e87feda 100644 --- a/src/core/libs/supl2/asn-supl2/asn_random_fill.h +++ b/src/core/libs/supl2/asn-supl2/asn_random_fill.h @@ -2,8 +2,8 @@ * Copyright (c) 2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef ASN_RANDOM_FILL -#define ASN_RANDOM_FILL +#ifndef ASN_RANDOM_FILL +#define ASN_RANDOM_FILL /* Forward declarations */ struct asn_TYPE_descriptor_s; @@ -21,8 +21,10 @@ struct asn_encoding_constraints_s; * In case the return differs from ARFILL_OK, the (struct_ptr) contents * and (current_length) value remain in their original state. */ -typedef struct asn_random_fill_result_s { - enum { +typedef struct asn_random_fill_result_s +{ + enum + { ARFILL_FAILED = -1, /* System error (memory?) */ ARFILL_OK = 0, /* Initialization succeeded */ ARFILL_SKIPPED = 1 /* Not done due to (length?) constraint */ @@ -41,11 +43,11 @@ typedef asn_random_fill_result_t(asn_random_fill_f)( * might be several times larger or smaller than the length limit. */ int asn_random_fill(const struct asn_TYPE_descriptor_s *td, void **struct_ptr, - size_t approx_max_length_limit); + size_t approx_max_length_limit); /* * Returns a random number between min and max. */ intmax_t asn_random_between(intmax_t min, intmax_t max); -#endif /* ASN_RANDOM_FILL */ +#endif /* ASN_RANDOM_FILL */ diff --git a/src/core/libs/supl2/asn-supl2/asn_system.h b/src/core/libs/supl2/asn-supl2/asn_system.h index fa8cf1165..9f3353b8b 100644 --- a/src/core/libs/supl2/asn-supl2/asn_system.h +++ b/src/core/libs/supl2/asn-supl2/asn_system.h @@ -5,10 +5,10 @@ /* * Miscellaneous system-dependent types. */ -#ifndef ASN_SYSTEM_H -#define ASN_SYSTEM_H +#ifndef ASN_SYSTEM_H +#define ASN_SYSTEM_H -#ifdef HAVE_CONFIG_H +#ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -20,114 +20,111 @@ #define _BSD_SOURCE /* for snprintf() on some linux systems */ #endif -#include /* For snprintf(3) */ -#include /* For *alloc(3) */ -#include /* For memcpy(3) */ -#include /* For size_t */ -#include /* For LONG_MAX */ -#include /* For va_start */ -#include /* for offsetof and ptrdiff_t */ +#include /* For snprintf(3) */ +#include /* For *alloc(3) */ +#include /* For memcpy(3) */ +#include /* For size_t */ +#include /* For LONG_MAX */ +#include /* For va_start */ +#include /* for offsetof and ptrdiff_t */ -#ifdef _WIN32 +#ifdef _WIN32 #include -#define snprintf _snprintf -#define vsnprintf _vsnprintf +#define snprintf _snprintf +#define vsnprintf _vsnprintf /* To avoid linking with ws2_32.lib, here's the definition of ntohl() */ -#define sys_ntohl(l) ((((l) << 24) & 0xff000000) \ - | (((l) << 8) & 0xff0000) \ - | (((l) >> 8) & 0xff00) \ - | ((l >> 24) & 0xff)) +#define sys_ntohl(l) ((((l) << 24) & 0xff000000) | (((l) << 8) & 0xff0000) | (((l) >> 8) & 0xff00) | ((l >> 24) & 0xff)) -#ifdef _MSC_VER /* MSVS.Net */ +#ifdef _MSC_VER /* MSVS.Net */ #ifndef __cplusplus #define inline __inline #endif -#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ -#define ssize_t SSIZE_T +#ifndef ASSUMESTDTYPES /* Standard types have been defined elsewhere */ +#define ssize_t SSIZE_T #if _MSC_VER < 1600 -typedef char int8_t; -typedef short int16_t; -typedef int int32_t; -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; +typedef char int8_t; +typedef short int16_t; +typedef int int32_t; +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; #else /* _MSC_VER >= 1600 */ #include #endif /* _MSC_VER < 1600 */ -#endif /* ASSUMESTDTYPES */ +#endif /* ASSUMESTDTYPES */ #define WIN32_LEAN_AND_MEAN #include #include #define isnan _isnan #define finite _finite #define copysign _copysign -#define ilogb _logb -#else /* !_MSC_VER */ +#define ilogb _logb +#else /* !_MSC_VER */ #include -#endif /* _MSC_VER */ +#endif /* _MSC_VER */ -#else /* !_WIN32 */ +#else /* !_WIN32 */ #if defined(__vxworks) #include -#else /* !defined(__vxworks) */ +#else /* !defined(__vxworks) */ -#include /* C99 specifies this file */ +#include /* C99 specifies this file */ #include /* for ntohl() */ -#define sys_ntohl(foo) ntohl(foo) -#endif /* defined(__vxworks) */ +#define sys_ntohl(foo) ntohl(foo) +#endif /* defined(__vxworks) */ -#endif /* _WIN32 */ +#endif /* _WIN32 */ -#if __GNUC__ >= 3 || defined(__clang__) -#define CC_ATTRIBUTE(attr) __attribute__((attr)) +#if __GNUC__ >= 3 || defined(__clang__) +#define CC_ATTRIBUTE(attr) __attribute__((attr)) #else #define CC_ATTRIBUTE(attr) #endif -#define CC_PRINTFLIKE(fmt, var) CC_ATTRIBUTE(format(printf, fmt, var)) -#define CC_NOTUSED CC_ATTRIBUTE(unused) +#define CC_PRINTFLIKE(fmt, var) CC_ATTRIBUTE(format(printf, fmt, var)) +#define CC_NOTUSED CC_ATTRIBUTE(unused) #ifndef CC_ATTR_NO_SANITIZE -#define CC_ATTR_NO_SANITIZE(what) CC_ATTRIBUTE(no_sanitize(what)) +#define CC_ATTR_NO_SANITIZE(what) CC_ATTRIBUTE(no_sanitize(what)) #endif /* Figure out if thread safety is requested */ #if !defined(ASN_THREAD_SAFE) && (defined(THREAD_SAFE) || defined(_REENTRANT)) -#define ASN_THREAD_SAFE -#endif /* Thread safety */ +#define ASN_THREAD_SAFE +#endif /* Thread safety */ -#ifndef offsetof /* If not defined by */ -#define offsetof(s, m) ((ptrdiff_t)&(((s *)0)->m) - (ptrdiff_t)((s *)0)) -#endif /* offsetof */ +#ifndef offsetof /* If not defined by */ +#define offsetof(s, m) ((ptrdiff_t) & (((s *)0)->m) - (ptrdiff_t)((s *)0)) +#endif /* offsetof */ -#ifndef MIN /* Suitable for comparing primitive types (integers) */ +#ifndef MIN /* Suitable for comparing primitive types (integers) */ #if defined(__GNUC__) -#define MIN(a,b) ({ __typeof a _a = a; __typeof b _b = b; \ +#define MIN(a, b) ({ __typeof a _a = a; __typeof b _b = b; \ ((_a)<(_b)?(_a):(_b)); }) -#else /* !__GNUC__ */ -#define MIN(a,b) ((a)<(b)?(a):(b)) /* Unsafe variant */ -#endif /* __GNUC__ */ -#endif /* MIN */ +#else /* !__GNUC__ */ +#define MIN(a, b) ((a) < (b) ? (a) : (b)) /* Unsafe variant */ +#endif /* __GNUC__ */ +#endif /* MIN */ #if __STDC_VERSION__ >= 199901L #ifndef SIZE_MAX -#define SIZE_MAX ((~((size_t)0)) >> 1) +#define SIZE_MAX ((~((size_t)0)) >> 1) #endif -#ifndef RSIZE_MAX /* C11, Annex K */ -#define RSIZE_MAX (SIZE_MAX >> 1) +#ifndef RSIZE_MAX /* C11, Annex K */ +#define RSIZE_MAX (SIZE_MAX >> 1) #endif -#ifndef RSSIZE_MAX /* Halve signed size even further than unsigned */ -#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) +#ifndef RSSIZE_MAX /* Halve signed size even further than unsigned */ +#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) #endif -#else /* Old compiler */ -#undef SIZE_MAX -#undef RSIZE_MAX -#undef RSSIZE_MAX -#define SIZE_MAX ((~((size_t)0)) >> 1) -#define RSIZE_MAX (SIZE_MAX >> 1) -#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) +#else /* Old compiler */ +#undef SIZE_MAX +#undef RSIZE_MAX +#undef RSSIZE_MAX +#define SIZE_MAX ((~((size_t)0)) >> 1) +#define RSIZE_MAX (SIZE_MAX >> 1) +#define RSSIZE_MAX ((ssize_t)(RSIZE_MAX >> 1)) #endif #if __STDC_VERSION__ >= 199901L @@ -147,4 +144,4 @@ typedef unsigned int uint32_t; #endif #endif -#endif /* ASN_SYSTEM_H */ +#endif /* ASN_SYSTEM_H */ diff --git a/src/core/libs/supl2/asn-supl2/ber_tlv_length.h b/src/core/libs/supl2/asn-supl2/ber_tlv_length.h index d1e4d48dd..3e7948428 100644 --- a/src/core/libs/supl2/asn-supl2/ber_tlv_length.h +++ b/src/core/libs/supl2/asn-supl2/ber_tlv_length.h @@ -2,16 +2,17 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BER_TLV_LENGTH_H_ -#define _BER_TLV_LENGTH_H_ +#ifndef _BER_TLV_LENGTH_H_ +#define _BER_TLV_LENGTH_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -typedef ssize_t ber_tlv_len_t; + typedef ssize_t ber_tlv_len_t; -/* + /* * This function tries to fetch the length of the BER TLV value and place it * in *len_r. * RETURN VALUES: @@ -21,30 +22,30 @@ typedef ssize_t ber_tlv_len_t; * On return with >0, len_r is constrained as -1..MAX, where -1 mean * that the value is of indefinite length. */ -ssize_t ber_fetch_length(int _is_constructed, const void *bufptr, size_t size, - ber_tlv_len_t *len_r); + ssize_t ber_fetch_length(int _is_constructed, const void *bufptr, size_t size, + ber_tlv_len_t *len_r); -/* + /* * This function expects bufptr to be positioned over L in TLV. * It returns number of bytes occupied by L and V together, suitable * for skipping. The function properly handles indefinite length. * RETURN VALUES: * Standard {-1,0,>0} convention. */ -ssize_t ber_skip_length( - const struct asn_codec_ctx_s *opt_codec_ctx, /* optional context */ - int _is_constructed, const void *bufptr, size_t size); + ssize_t ber_skip_length( + const struct asn_codec_ctx_s *opt_codec_ctx, /* optional context */ + int _is_constructed, const void *bufptr, size_t size); -/* + /* * This function serializes the length (L from TLV) in DER format. * It always returns number of bytes necessary to represent the length, * it is a caller's responsibility to check the return value * against the supplied buffer's size. */ -size_t der_tlv_length_serialize(ber_tlv_len_t len, void *bufptr, size_t size); + size_t der_tlv_length_serialize(ber_tlv_len_t len, void *bufptr, size_t size); #ifdef __cplusplus } #endif -#endif /* _BER_TLV_LENGTH_H_ */ +#endif /* _BER_TLV_LENGTH_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/ber_tlv_tag.h b/src/core/libs/supl2/asn-supl2/ber_tlv_tag.h index ce227add6..750ff3582 100644 --- a/src/core/libs/supl2/asn-supl2/ber_tlv_tag.h +++ b/src/core/libs/supl2/asn-supl2/ber_tlv_tag.h @@ -2,59 +2,61 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _BER_TLV_TAG_H_ -#define _BER_TLV_TAG_H_ +#ifndef _BER_TLV_TAG_H_ +#define _BER_TLV_TAG_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -enum asn_tag_class { - ASN_TAG_CLASS_UNIVERSAL = 0, /* 0b00 */ - ASN_TAG_CLASS_APPLICATION = 1, /* 0b01 */ - ASN_TAG_CLASS_CONTEXT = 2, /* 0b10 */ - ASN_TAG_CLASS_PRIVATE = 3 /* 0b11 */ -}; -typedef unsigned ber_tlv_tag_t; /* BER TAG from Tag-Length-Value */ + enum asn_tag_class + { + ASN_TAG_CLASS_UNIVERSAL = 0, /* 0b00 */ + ASN_TAG_CLASS_APPLICATION = 1, /* 0b01 */ + ASN_TAG_CLASS_CONTEXT = 2, /* 0b10 */ + ASN_TAG_CLASS_PRIVATE = 3 /* 0b11 */ + }; + typedef unsigned ber_tlv_tag_t; /* BER TAG from Tag-Length-Value */ /* * Tag class is encoded together with tag value for optimization purposes. */ -#define BER_TAG_CLASS(tag) ((tag) & 0x3) -#define BER_TAG_VALUE(tag) ((tag) >> 2) -#define BER_TLV_CONSTRUCTED(tagptr) (((*(const uint8_t *)tagptr)&0x20)?1:0) +#define BER_TAG_CLASS(tag) ((tag)&0x3) +#define BER_TAG_VALUE(tag) ((tag) >> 2) +#define BER_TLV_CONSTRUCTED(tagptr) (((*(const uint8_t *)tagptr) & 0x20) ? 1 : 0) -#define BER_TAGS_EQUAL(tag1, tag2) ((tag1) == (tag2)) +#define BER_TAGS_EQUAL(tag1, tag2) ((tag1) == (tag2)) -/* + /* * Several functions for printing the TAG in the canonical form * (i.e. "[PRIVATE 0]"). * Return values correspond to their libc counterparts (if any). */ -ssize_t ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t buflen); -ssize_t ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *); -char *ber_tlv_tag_string(ber_tlv_tag_t tag); + ssize_t ber_tlv_tag_snprint(ber_tlv_tag_t tag, char *buf, size_t buflen); + ssize_t ber_tlv_tag_fwrite(ber_tlv_tag_t tag, FILE *); + char *ber_tlv_tag_string(ber_tlv_tag_t tag); -/* + /* * This function tries to fetch the tag from the input stream. * RETURN VALUES: * 0: More data expected than bufptr contains. * -1: Fatal error deciphering tag. * >0: Number of bytes used from bufptr. tag_r will contain the tag. */ -ssize_t ber_fetch_tag(const void *bufptr, size_t size, ber_tlv_tag_t *tag_r); + ssize_t ber_fetch_tag(const void *bufptr, size_t size, ber_tlv_tag_t *tag_r); -/* + /* * This function serializes the tag (T from TLV) in BER format. * It always returns number of bytes necessary to represent the tag, * it is a caller's responsibility to check the return value * against the supplied buffer's size. */ -size_t ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufptr, size_t size); + size_t ber_tlv_tag_serialize(ber_tlv_tag_t tag, void *bufptr, size_t size); #ifdef __cplusplus } #endif -#endif /* _BER_TLV_TAG_H_ */ +#endif /* _BER_TLV_TAG_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/config.h b/src/core/libs/supl2/asn-supl2/config.h index 2dda9297a..fda33a7e8 100644 --- a/src/core/libs/supl2/asn-supl2/config.h +++ b/src/core/libs/supl2/asn-supl2/config.h @@ -1,10 +1,12 @@ extern int opt_debug; -#define ASN_DEBUG(fmt, args...) do { \ - if(opt_debug < 2) break; \ - fprintf(stderr, fmt, ##args); \ - fprintf(stderr, " (%s:%d)\n", \ - __FILE__, __LINE__); \ - } while(0) - +#define ASN_DEBUG(fmt, args...) \ + do \ + { \ + if (opt_debug < 2) break; \ + fprintf(stderr, fmt, ##args); \ + fprintf(stderr, " (%s:%d)\n", \ + __FILE__, __LINE__); \ + } \ + while (0) diff --git a/src/core/libs/supl2/asn-supl2/per_opentype.h b/src/core/libs/supl2/asn-supl2/per_opentype.h index 7e7dc6109..0515a6b0c 100644 --- a/src/core/libs/supl2/asn-supl2/per_opentype.h +++ b/src/core/libs/supl2/asn-supl2/per_opentype.h @@ -2,31 +2,32 @@ * Copyright (c) 2007-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _PER_OPENTYPE_H_ -#define _PER_OPENTYPE_H_ +#ifndef _PER_OPENTYPE_H_ +#define _PER_OPENTYPE_H_ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, - const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, - void **sptr, asn_per_data_t *pd); + asn_dec_rval_t uper_open_type_get(const asn_codec_ctx_t *opt_codec_ctx, + const asn_TYPE_descriptor_t *td, + const asn_per_constraints_t *constraints, + void **sptr, asn_per_data_t *pd); -int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx, - asn_per_data_t *pd); + int uper_open_type_skip(const asn_codec_ctx_t *opt_codec_ctx, + asn_per_data_t *pd); -/* + /* * X.691 (2015/08), #11.2 * Returns -1 if error is encountered. 0 if all OK. */ -int uper_open_type_put(const asn_TYPE_descriptor_t *td, - const asn_per_constraints_t *constraints, - const void *sptr, asn_per_outp_t *po); + int uper_open_type_put(const asn_TYPE_descriptor_t *td, + const asn_per_constraints_t *constraints, + const void *sptr, asn_per_outp_t *po); #ifdef __cplusplus } #endif -#endif /* _PER_OPENTYPE_H_ */ +#endif /* _PER_OPENTYPE_H_ */ diff --git a/src/core/libs/supl2/asn-supl2/xer_support.h b/src/core/libs/supl2/asn-supl2/xer_support.h index ebf258667..afb26deb7 100644 --- a/src/core/libs/supl2/asn-supl2/xer_support.h +++ b/src/core/libs/supl2/asn-supl2/xer_support.h @@ -3,31 +3,33 @@ * Copyright (c) 2003-2017 Lev Walkin . All rights reserved. * Redistribution and modifications are permitted subject to BSD license. */ -#ifndef _XER_SUPPORT_H_ -#define _XER_SUPPORT_H_ +#ifndef _XER_SUPPORT_H_ +#define _XER_SUPPORT_H_ -#include "asn_system.h" /* Platform-specific types */ +#include "asn_system.h" /* Platform-specific types */ #ifdef __cplusplus -extern "C" { +extern "C" +{ #endif -/* + /* * Types of data transferred to the application. */ -typedef enum { - PXML_TEXT, /* Plain text between XML tags. */ - PXML_TAG, /* A tag, starting with '<'. */ - PXML_COMMENT, /* An XML comment, including "". */ - /* + typedef enum + { + PXML_TEXT, /* Plain text between XML tags. */ + PXML_TAG, /* A tag, starting with '<'. */ + PXML_COMMENT, /* An XML comment, including "". */ + /* * The following chunk types are reported if the chunk * terminates the specified XML element. */ - PXML_TAG_END, /* Tag ended */ - PXML_COMMENT_END /* Comment ended */ -} pxml_chunk_type_e; + PXML_TAG_END, /* Tag ended */ + PXML_COMMENT_END /* Comment ended */ + } pxml_chunk_type_e; -/* + /* * Callback function that is called by the parser when parsed data is * available. The _opaque is the pointer to a field containing opaque user * data specified in pxml_create() call. The chunk type is _type and the text @@ -35,21 +37,21 @@ typedef enum { * pxml_feed() call) starting at offset _offset and of _size bytes size. * The chunk is NOT '\0'-terminated. */ -typedef int (pxml_callback_f)(pxml_chunk_type_e _type, - const void *_chunk_data, size_t _chunk_size, void *_key); + typedef int(pxml_callback_f)(pxml_chunk_type_e _type, + const void *_chunk_data, size_t _chunk_size, void *_key); -/* + /* * Parse the given buffer as it were a chunk of XML data. * Invoke the specified callback each time the meaninful data is found. * This function returns number of bytes consumed from the bufer. * It will always be lesser than or equal to the specified _size. * The next invocation of this function must account the difference. */ -ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size, - pxml_callback_f *cb, void *_key); + ssize_t pxml_parse(int *_stateContext, const void *_buf, size_t _size, + pxml_callback_f *cb, void *_key); #ifdef __cplusplus } #endif -#endif /* _XER_SUPPORT_H_ */ +#endif /* _XER_SUPPORT_H_ */