aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.source.ULP/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sample.source.ULP/config.h')
-rw-r--r--examples/sample.source.ULP/config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/sample.source.ULP/config.h b/examples/sample.source.ULP/config.h
new file mode 100644
index 00000000..2dda9297
--- /dev/null
+++ b/examples/sample.source.ULP/config.h
@@ -0,0 +1,10 @@
+
+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)
+