Enhanced SIM for E2AP v1 for TS UC
[sim/e2-interface.git] / e2sim / e2apv1sim / src / ASN1 / asn / ber / common.hpp
1 #pragma once
2 /******************************************************************************
3 *
4 *   Copyright (c) 2019 AT&T Intellectual Property.
5 *   Copyright (c) 2018-2019 Nokia.
6 *
7 *   Licensed under the Apache License, Version 2.0 (the "License");
8 *   you may not use this file except in compliance with the License.
9 *   You may obtain a copy of the License at
10 *
11 *       http://www.apache.org/licenses/LICENSE-2.0
12 *
13 *   Unless required by applicable law or agreed to in writing, software
14 *   distributed under the License is distributed on an "AS IS" BASIS,
15 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 *   See the License for the specific language governing permissions and
17 *   limitations under the License.
18 *
19 ******************************************************************************/
20
21 // Standard Includes: ANSI C/C++, MSA, and Third-Party Libraries
22 #include <cstdio>
23
24 // Local Includes: Application specific classes, functions, and libraries
25 #include "asn/asn.hpp"
26 #include "asn/buffer.hpp"
27 #include "asn/ber/context.hpp"
28 #include "asn/ber/tools.hpp"
29
30 //#define ASN_DECODER_TRACE_ENABLE
31 //#define ASN_ENCODER_TRACE_ENABLE
32
33 #ifdef ASN_DECODER_TRACE_ENABLE
34 #define ASN_DECODER_TRACE(FMT, ...) printf(FMT "\n", __VA_ARGS__)
35 #else
36 #define ASN_DECODER_TRACE(...)
37 #endif
38
39 #ifdef ASN_ENCODER_TRACE_ENABLE
40 #define ASN_ENCODER_TRACE(FMT, ...) printf(FMT "\n", __VA_ARGS__)
41 #else
42 #define ASN_ENCODER_TRACE(...)
43 #endif
44
45 namespace asn {
46 namespace ber {
47
48 template <class IE> struct Element;
49
50 } //namespace ber
51 } //namespace asn