push code back with legal issues fix
[ric-plt/e2mgr.git] / E2Manager / asn1codec / inc / x2setup_request_wrapper.h
1 /*
2  *
3  * Copyright 2019 AT&T Intellectual Property
4  * Copyright 2019 Nokia
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  *      http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  */
19
20 /*******************************************************************************
21  *
22  *   Copyright (c) 2019 AT&T Intellectual Property.
23  *
24  *   Licensed under the Apache License, Version 2.0 (the "License");
25  *   you may not use this file except in compliance with the License.
26  *   You may obtain a copy of the License at
27  *
28  *       http://www.apache.org/licenses/LICENSE-2.0
29  *
30  *   Unless required by applicable law or agreed to in writing, software
31  *   distributed under the License is distributed on an "AS IS" BASIS,
32  *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
33  *   See the License for the specific language governing permissions and
34  *   limitations under the License.
35  *
36  *******************************************************************************/
37
38 // Standard Includes: ANSI C/C++, MSA, and Third-Party Libraries
39
40 #include <stddef.h>
41 #include <stdbool.h>
42 #include <stdint.h>
43 #include <asn1codec_utils.h>
44
45 #ifndef INC_X2SETUP_REQUEST_WRAPPER_H
46 #define INC_X2SETUP_REQUEST_WRAPPER_H
47
48 #ifdef __cplusplus
49 extern "C"
50 {
51 #endif
52 bool
53 build_pack_x2setup_request(
54         uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/,uint8_t const* ric_flag,
55         size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf);
56
57 bool
58 build_pack_endc_x2setup_request(
59                 uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/, uint8_t const *ric_flag,
60                 size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf
61 );
62 bool
63 build_pack_x2setup_request_aux(
64         uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/,uint8_t const* ric_flag,
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 bool
68 build_pack_endc_x2setup_request_aux(
69                 uint8_t const* pLMN_Identity, uint8_t const* eNBId, unsigned int bitqty /*18, 20, 21, 28*/, uint8_t const *ric_flag,
70                 size_t* packed_buf_size, unsigned char* packed_buf,size_t err_buf_size, char* err_buf, enum asn_transfer_syntax syntax);
71
72 #ifdef __cplusplus
73 }
74 #endif
75
76 #endif /* INC_X2SETUP_REQUEST_WRAPPER_H */
77