O-CU-UP
[scp/ocu/5gnr.git] / Include / config.h
diff --git a/Include/config.h b/Include/config.h
new file mode 100644 (file)
index 0000000..80d776e
--- /dev/null
@@ -0,0 +1,16 @@
+/******************************************************************************
+###############################################################################
+#   Copyright (c) [2017-2020] [ICT/CAS]                                        #
+#   Licensed under the ORAN Software License v1.0 (License)             #
+###############################################################################
+******************************************************************************/
+
+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)
+