Copy latest code to master
[ric-plt/resource-status-manager.git] / RSM / 3rdparty / asn1codec / inc / resource_status_request_wrapper.h
1 /*
2  * Copyright 2019 AT&T Intellectual Property
3  * Copyright 2019 Nokia
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18 /*
19  * This source code is part of the near-RT RIC (RAN Intelligent Controller)
20  * platform project (RICP).
21  */
22
23
24
25 #include <stddef.h>
26 #include <stdbool.h>
27 #include <stdint.h>
28 #include <asn1codec_utils.h>
29
30 #ifndef INC_RESOURCE_STATUS_REQUEST_WRAPPER_H
31 #define INC_RESOURCE_STATUS_REQUEST_WRAPPER_H
32
33 #ifdef __cplusplus
34 extern "C"
35 {
36 #endif
37
38 bool
39 build_pack_resource_status_request(
40                 uint8_t const** pLMN_Identities,
41         uint8_t const** eUTRANCellIdentifiers,
42         size_t nECGIs,
43                 Measurement_ID_t measurement_ID, Measurement_ID_t measurement_ID2,
44                 Registration_Request_t registration_Request /*Registration_Request_start,Registration_Request_stop,Registration_Request_partial_stop, Registration_Request_add*/,
45                 uint32_t reportCharacteristics,
46                 ReportingPeriodicity_t reportingPeriodicity /*ReportingPeriodicity_one_thousand_ms,     ReportingPeriodicity_two_thousand_ms, ReportingPeriodicity_five_thousand_ms,ReportingPeriodicity_ten_thousand_ms*/,
47                 PartialSuccessIndicator_t partialSuccessIndicator /*PartialSuccessIndicator_partial_success_allowed*/,
48                 ReportingPeriodicityRSRPMR_t reportingPeriodicityRSRPMR /*ReportingPeriodicityRSRPMR_one_hundred_20_ms, ReportingPeriodicityRSRPMR_two_hundred_40_ms, ReportingPeriodicityRSRPMR_four_hundred_80_ms,ReportingPeriodicityRSRPMR_six_hundred_40_ms*/,
49                 ReportingPeriodicityCSIR_t reportingPeriodicityCSIR /*  ReportingPeriodicityCSIR_ms5, ReportingPeriodicityCSIR_ms10,ReportingPeriodicityCSIR_ms20,ReportingPeriodicityCSIR_ms40,ReportingPeriodicityCSIR_ms80*/,
50                 size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf
51 );
52
53 bool
54 build_pack_resource_status_request_aux(
55                 uint8_t const** pLMN_Identities,
56         uint8_t const** eUTRANCellIdentifiers,
57         size_t nECGIs,
58                 Measurement_ID_t measurement_ID, Measurement_ID_t measurement_ID2,
59                 Registration_Request_t registration_Request /*Registration_Request_start,Registration_Request_stop,Registration_Request_partial_stop, Registration_Request_add*/,
60                 uint32_t reportCharacteristics,
61                 ReportingPeriodicity_t reportingPeriodicity /*ReportingPeriodicity_one_thousand_ms,     ReportingPeriodicity_two_thousand_ms, ReportingPeriodicity_five_thousand_ms,ReportingPeriodicity_ten_thousand_ms*/,
62                 PartialSuccessIndicator_t partialSuccessIndicator /*PartialSuccessIndicator_partial_success_allowed*/,
63                 ReportingPeriodicityRSRPMR_t reportingPeriodicityRSRPMR /*ReportingPeriodicityRSRPMR_one_hundred_20_ms, ReportingPeriodicityRSRPMR_two_hundred_40_ms, ReportingPeriodicityRSRPMR_four_hundred_80_ms,ReportingPeriodicityRSRPMR_six_hundred_40_ms*/,
64                 ReportingPeriodicityCSIR_t reportingPeriodicityCSIR /*  ReportingPeriodicityCSIR_ms5, ReportingPeriodicityCSIR_ms10,ReportingPeriodicityCSIR_ms20,ReportingPeriodicityCSIR_ms40,ReportingPeriodicityCSIR_ms80*/,
65                 size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf,enum asn_transfer_syntax syntax
66 );
67
68 #ifdef __cplusplus
69 }
70 #endif
71
72 #endif /* INC_RESOURCE_STATUS_REQUEST_WRAPPER_H */
73