diff options
author | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2007-06-29 12:44:01 +0000 |
---|---|---|
committer | vlm <vlm@59561ff5-6e30-0410-9f3c-9617f08c8826> | 2007-06-29 12:44:01 +0000 |
commit | 4416cc63cc5565d687243e943ea9ceb70ff8e27d (patch) | |
tree | 1bb272acbef3641a5c49f5f8ae1d9826a213f6b0 | |
parent | bed38ddc060cfc0370616e9f17a18761292a2d6b (diff) |
ability to display title
git-svn-id: https://asn1c.svn.sourceforge.net/svnroot/asn1c/trunk@1362 59561ff5-6e30-0410-9f3c-9617f08c8826
-rw-r--r-- | skeletons/converter-sample.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/skeletons/converter-sample.c b/skeletons/converter-sample.c index 4f5b8ed2..0a682a27 100644 --- a/skeletons/converter-sample.c +++ b/skeletons/converter-sample.c @@ -1,6 +1,7 @@ /* * Generic converter template for a selected ASN.1 type. - * Copyright (c) 2005, 2006 Lev Walkin <vlm@lionet.info>. All rights reserved. + * Copyright (c) 2005, 2006, 2007 Lev Walkin <vlm@lionet.info>. + * All rights reserved. * * To compile with your own ASN.1 type, please redefine the PDU as shown: * @@ -186,6 +187,11 @@ main(int ac, char *av[]) { #endif /* JUNKTEST */ case 'h': default: +#ifdef ASN_CONVERTER_TITLE +#define _AXS(x) #x +#define _ASX(x) _AXS(x) + fprintf(stderr, "%s\n", _ASX(ASN_CONVERTER_TITLE)); +#endif fprintf(stderr, "Usage: %s [options] <data.ber> ...\n", av[0]); fprintf(stderr, "Where options are:\n"); if(pduType->uper_decoder) |