Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mkchdr(1) [debian man page]

MKCHDR(1)						      General Commands Manual							 MKCHDR(1)

NAME
mkchdr - creates a C header file from a type table SYNOPSIS
mkchdr <tbl-file> [output-file] DESCRIPTION
mkchdr will generate a C header file from the given type table. The C data structures will be written to the given output file. If an output file is not given, the C header is written to stdout. The generated C data structure is the value representation that table driven encoder expects (and decoder returns) for the type definitions in the given type table. The table driven encoder and decoder, etc. routines do not use the generated header - they treat the data in a generic way. The generated header file simply saves you the hassle of dealing with ASN.1 values in the same generic way. Instead you get properly named structs and field names. You do not need to use mkchdr to use the table driven encoders etc. but it is recommended. FILES
snacc/tbl-tools/mkchdr/ Source code for the mkchdr program BUGS
There is no means of customizing the generated data structure. COPYING
Copyright (c) 1993 Mike Sample and the University of British Columbia Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. AUTHOR
Mike Sample <msample@cs.ubc.ca>, University of British Columbia ACKNOWLEDGEMENTS
This work was made possible by grants from the Canadian Institute for Telecommunications Research (CITR) and Natural Sciences and Engineer- ing Research Council of Canada (NSERC). 11 July 1993 MKCHDR(1)

Check Out this Related Man Page

BERDECODE(1)							  [FIXME: manual]						      BERDECODE(1)

NAME
berdecode - decode BER encoded data SYNOPSIS
berdecode [-s bytestostrip] [-strip bytestostrip] [-d] [-debug] [-t tablefilename] [-table tablefilename] [filename] [-] DESCRIPTION
This program reads a binary ASN.1 grammar file generated by snacc -T and uses it to decode ASN.1 BER encoded data from files or stdin. From every message the first <bytestostrip> bytes (default 2) are skipped. Flag -d gives additional information during decoding. This manual page was written for the Debian GNU/Linux distribution because the original program does have only a README file. SEE ALSO
snacc (1), mkchdr(1), ptbl(1), pval(1), snacc-config(1). Please install the snacc-doc package for more information on snacc. AUTHOR
This manual page was written by W. Martin Borgert (debacle@debian.org) for the Debian GNU/Linux system. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 3 or any later version published by the Free Software Foundation. AUTHOR
W. Martin Borgert Author. COPYRIGHT
Copyright (C) 2000 W. Martin Borgert [FIXME: source] 2000-04-25 BERDECODE(1)
Man Page