X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=examples%2Fsample.source.ULP%2Fconfig.h;fp=examples%2Fsample.source.ULP%2Fconfig.h;h=2dda9297a492229da4da21a2fa619f71e03940dc;hb=70ee6fc793ec8e828067a3569849b6c216054497;hp=0000000000000000000000000000000000000000;hpb=59f84608ec15c016958a6e0e0ddd813f376c0925;p=com%2Fasn1c.git diff --git a/examples/sample.source.ULP/config.h b/examples/sample.source.ULP/config.h new file mode 100644 index 0000000..2dda929 --- /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) +