Scroll to navigation

ASNTOOL(1) NCBI Tools User's Manual ASNTOOL(1)

NAME

asntool - process ASN.1 module specifications

SYNOPSIS

asntool [-] [-B filename] [-D N] [-F N] [-G] [-I str] [-J type] [-K str] [-L str] [-M filename,...] [-N N] [-P str] [-Q] [-S filename] [-T filename] [-U N] [-V] [-X filename] [-Z] [-b N] [-d filename] [-e filename] [-f filename] [-l filename] -m filename [-o filename] [-p filename] [-t str] [-v filename] [-w N] [-x filename]

DESCRIPTION

asntool reads, validates, and displays ASN.1 module specifications.

OPTIONS

A summary of options is included below.

-
Print usage message
Generate objects and code in files named filename.*
Debugging level for code generation:
0
No debugging (default)
1
Shallow debugging
2
Deep debugging
3-9
Same as 2
Fix non-printing characters:
0
Replace with #, post ERROR (default)
1
Replace with # silently
2
Pass through silently
3
Replace with #, post FATAL
Generate object loader .c and .h files
Put "#include str" in generated .c file
Register type type with object manager
In generated .c, force name of #included asn header to str
Label registered type as str
Search the ASN.1 modules in filename,... for external references
UTF8 input conversion:
0
Convert silently (default)
1
Convert, post WARNING first time
2
Convert, post WARNING each time
3
Do not convert
XML module prefix for DOCTYPE
Use quoted syntax form for generated include files
Send debugging output to filename rather than stderr
Dump ASN.1 tree to filename
UTF8 output conversion:
0
Convert silently (default)
1
Convert, post WARNING first time
2
Convert, post WARNING each time
3
Do not convert
Force CHOICE objects to use custom structures rather than ValNodePtrs, for compatibility with some old hand-coded object loaders.
Write XML DTD to filename. If filename is "m", print each module to a separate file.
Bit twiddle for optional zero value base slots
Use N-byte buffers (default = 1024; anything between 512 and 10000 is legal)
Read binary values from filename (requires -t)
Write binary values to filename
Write ASN.1 module to filename
Write ASN.1 loader to filename
Read ASN.1 module from filename
Write header to filename
Write print values to filename
Expect binary values to have type str
Read print values from filename
Limit values in #defines to N bits (default = 31; anything between 31 and 128 is legal)
Write XML data to filename

AUTHOR

The National Center for Biotechnology Information.

2016-09-01 NCBI