📄 asn1c.1
字号:
.TH ASN1C 1 "\*(Dt" "ASN.1 Compiler" "ASN.1 Compiler".SH NAMEasn1c \- ASN.1 Compiler.SH SYNOPSISasn1c [\fB\-E\fR [\fB-F\fR] | \fB\-P\fR | \fB\-R\fR] [\fB\-S\fR\fIdir\fR] [\fB-X\fR] [\fB\-W\fR\fIdebug-\fR...] [\fB\-f\fR\fIoption\fR...] [\fB\-p\fR\fIrint-\fR...] \fIinfile\fR....SH DESCRIPTIONasn1c compiles the ASN.1 specifications into the set oftarget language (C/C++) encoders and decoders for BER, DER, XER,and other encoding standards..SH OPTIONS.TP\fIOverall Options\fR\fB\-E \-F \-P \-R\fR.BI "\-S " directory\fB\-X.TP\fIWarning Options\fR.br\fB\-Werror \-Wdebug-lexer \-Wdebug-fixer \-Wdebug-compiler\fR.TP\fILanguage Options\fR.br\fB\-fall-defs-global \-fbless-SIZE \-fnative-types \-fno-constraints \-funnamed-unions \-ftypes88\fR.TP\fIOutput Options\fR.br.B \-print-constraints \-print-lines.SH OVERALL OPTIONS.TP.B \-EStop after the parsing stage and print the reconstructed ASN.1specification code to the standard output..TP.B \-FUsed together with \c.B \-E\c, instructs the compiler to stop after the ASN.1 syntaxtree fixing stage and dump the reconstructed ASN.1 specificationto the standard output..TP.B \-PDump the compiled output to the standard output instead of creating thetarget language files on disk..TP.B \-RRestrict the compiler to generate only the ASN.1 tables,omitting the usual support code..TP\fB\-S\fR \fIdirectory\fRUse the specified directory with ASN.1 skeleton files..TP.B \-XGenerate the XML DTD schema for the specified ASN.1 files..SH WARNING OPTIONS.TP.B \-WerrorTreat warnings as errors; abort if any warning is produced..TP.B \-Wdebug-lexerEnable lexer debugging during the ASN.1 parsing stage..TP.B \-Wdebug-fixerEnable ASN.1 syntax tree fixer debugging during the fixing stage..TP.B \-Wdebug-compilerEnable debugging during the actual compile time..SH LANGUAGE OPTIONS.TP.B \-fall-defs-globalNormally the compiler hides the definitions (asn1_DEF_xxx) of the innerstructure elements (members of SEQUENCE, SET and other types). This optionmakes all such definitions global.Enabling this option may pollute the namespace by making lots of asn1_DEF_xxxstructures globally visible, but will allow you to manipulate(encode and decode) the individual members of any complex ASN.1 structure..TP.B \-fbless-SIZEAllow SIZE() constraint for INTEGER, ENUMERATED, and other types for which thisconstraint is normally prohibited by the standard. This is a violation ofan ASN.1 standard and compiler may fail to produce the meaningful code..TP.B \-fnative-typesUse the native machine's data types (int, double) whenever possible,instead of the compound INTEGER_t, ENUMERATED_t and REAL_t types..TP.B \-fno-constraintsDo not generate ASN.1 subtype constraint checking code. This may make a shorter executable..TP.B \-funnamed-unionsEnable unnamed unions in the definitions of target language's structures..TP.B \-ftypes88Pretend to support only ASN.1:1988 embedded types. Certain reserved words,such as UniversalString and BMPString, become ordinary type referencesand may be redefined by the specification..SH OUTPUT OPTIONS.TP.B \-print-constraintsWhen -EF are also specified, this option forces the compiler to explainits internal understanding of subtype constraints..TP.B \-print-linesGenerate "-- #line" comments in \fB-E\fR output..SH SEE ALSO.TP\&\fIunber\fR\|(1), \&\fIenber\fR\|(1).SH AUTHORSLev Walkin <vlm@lionet.info>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -