aboutsummaryrefslogtreecommitdiffstats
path: root/examples/sample.source.ULP/config.h
diff options
context:
space:
mode:
authorvlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-06-29 12:46:06 +0000
committervlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826>2007-06-29 12:46:06 +0000
commit4362b1da54997981cfbaaac67e667d06b26e8734 (patch)
tree34491b93d0c4c870ccb6f0bccf60d2a9e1b12678 /examples/sample.source.ULP/config.h
parent4416cc63cc5565d687243e943ea9ceb70ff8e27d (diff)
Open Mobile Alliance UserPlane Location Protocol
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1363 59561ff5-6e30-0410-9f3c-9617f08c8826
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)
+