Commit f47d068a authored by Lev Walkin's avatar Lev Walkin

new content

parent 866cff1a
...@@ -177,7 +177,7 @@ standardized encoding rules (BER, DER, XER). ...@@ -177,7 +177,7 @@ standardized encoding rules (BER, DER, XER).
<P> <P>
For example, suppose the following ASN.1 module is given<A NAME="tex2html1" For example, suppose the following ASN.1 module is given<A NAME="tex2html1"
HREF="#foot818"><SUP>1.1</SUP></A>: HREF="#foot843"><SUP>1.1</SUP></A>:
<P> <P>
...@@ -195,7 +195,7 @@ END ...@@ -195,7 +195,7 @@ END
</BLOCKQUOTE> </BLOCKQUOTE>
The compiler would read this ASN.1 definition and produce the following The compiler would read this ASN.1 definition and produce the following
C type<A NAME="tex2html2" C type<A NAME="tex2html2"
HREF="#foot819"><SUP>1.2</SUP></A>: HREF="#foot844"><SUP>1.2</SUP></A>:
<P> <P>
...@@ -219,8 +219,8 @@ Quick start with asn1c</A> ...@@ -219,8 +219,8 @@ Quick start with asn1c</A>
<P> <P>
After building and installing the compiler, the <I>asn1c</I><A NAME="tex2html3" After building and installing the compiler, the <I>asn1c</I><A NAME="tex2html3"
HREF="#foot820"><SUP>1.3</SUP></A> command may be used to compile the ASN.1 module<A NAME="tex2html4" HREF="#foot845"><SUP>1.3</SUP></A> command may be used to compile the ASN.1 module<A NAME="tex2html4"
HREF="#foot821"><SUP>1.4</SUP></A>: HREF="#foot846"><SUP>1.4</SUP></A>:
<P> <P>
...@@ -328,7 +328,7 @@ the compiler's behavior. ...@@ -328,7 +328,7 @@ the compiler's behavior.
<P> <P>
<BR><P></P> <BR><P></P>
<DIV ALIGN="CENTER"><A NAME="826"></A> <DIV ALIGN="CENTER"><A NAME="851"></A>
<TABLE> <TABLE>
<CAPTION><STRONG><A NAME=Table1>Table 1:</A></STRONG> <CAPTION><STRONG><A NAME=Table1>Table 1:</A></STRONG>
The list of asn1c command line options</CAPTION> The list of asn1c command line options</CAPTION>
...@@ -336,92 +336,101 @@ The list of asn1c command line options</CAPTION> ...@@ -336,92 +336,101 @@ The list of asn1c command line options</CAPTION>
<COLGROUP><COL ALIGN=LEFT><COLGROUP><COL ALIGN=JUSTIFY WIDTH="3in"> <COLGROUP><COL ALIGN=LEFT><COLGROUP><COL ALIGN=JUSTIFY WIDTH="3in">
<TBODY> <TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>
<B>Overall Options</B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <B><FONT SIZE="-1">Overall Options</FONT></B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<B>Description</B></TD></TR> <B><FONT SIZE="-1">Description</FONT></B></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-E</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-E</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Stop after the parsing stage and print the reconstructed ASN.1 <FONT SIZE="-1">Stop after the parsing stage and print the reconstructed ASN.1
specification code to the standard output.</FONT></TD></TR> specification code to the standard output.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-F</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-F</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Used together with -E, instructs the compiler to stop after <FONT SIZE="-1">Used together with -E, instructs the compiler to stop after
the ASN.1 syntax tree fixing stage and dump the reconstructed ASN.1 the ASN.1 syntax tree fixing stage and dump the reconstructed ASN.1
specification to the standard output.</FONT></TD></TR> specification to the standard output.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-P</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-P</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Dump the compiled output to the standard output instead of <FONT SIZE="-1">Dump the compiled output to the standard output instead of
cre- ating the target language files on disk.</FONT></TD></TR> cre- ating the target language files on disk.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-R</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-R</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Restrict the compiler to generate only the ASN.1 tables, omit- <FONT SIZE="-1">Restrict the compiler to generate only the ASN.1 tables, omit-
ting the usual support code.</FONT></TD></TR> ting the usual support code.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-S <I>&lt;directory&gt;</I></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-S</FONT> <I><FONT SIZE="-1">&lt;directory&gt;</FONT></I></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Use the specified directory with ASN.1 skeleton files.</FONT></TD></TR> <FONT SIZE="-1">Use the specified directory with ASN.1 skeleton files.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-X</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-X</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
Generate the XML DTD for the specified ASN.1 modules.</TD></TR> <FONT SIZE="-1">Generate the XML DTD for the specified ASN.1 modules.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><B>Warning Options</B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><B><FONT SIZE="-1">Warning Options</FONT></B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<B>Description</B></TD></TR> <B><FONT SIZE="-1">Description</FONT></B></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-Werror</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-Werror</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Treat warnings as errors; abort if any warning is produced.</FONT></TD></TR> <FONT SIZE="-1">Treat warnings as errors; abort if any warning is produced.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-Wdebug-lexer</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-Wdebug-lexer</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Enable lexer debugging during the ASN.1 parsing stage.</FONT></TD></TR> <FONT SIZE="-1">Enable lexer debugging during the ASN.1 parsing stage.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-Wdebug-fixer</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-Wdebug-fixer</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Enable ASN.1 syntax tree fixer debugging during the <FONT SIZE="-1">Enable ASN.1 syntax tree fixer debugging during the
fixing stage.</FONT></TD></TR> fixing stage.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-Wdebug-compiler</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-Wdebug-compiler</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Enable debugging during the actual compile time.</FONT></TD></TR> <FONT SIZE="-1">Enable debugging during the actual compile time.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><B>Language Options</B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><B><FONT SIZE="-1">Language Options</FONT></B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<B>Description</B></TD></TR> <B><FONT SIZE="-1">Description</FONT></B></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-fall-defs-global</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-fall-defs-global</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
Normally the compiler hides the definitions (asn_DEF_xxx) of the <FONT SIZE="-1">Normally the compiler hides the definitions (asn_DEF_xxx)
inner structure elements (members of SEQUENCE, SET and other types). of the inner structure elements (members of SEQUENCE, SET and other
This option makes all such definitions global. Enabling this option types). This option makes all such definitions global. Enabling this
may pollute the namespace by making lots of asn_DEF_xxx structures option may pollute the namespace by making lots of asn_DEF_xxx structures
globally visible, but will allow you to manipulate (encode and decode) globally visible, but will allow you to manipulate (encode and decode)
the individual members of any complex ASN.1 structure.</TD></TR> the individual members of any complex ASN.1 structure.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-fbless-SIZE</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-fbless-SIZE</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Allow SIZE() constraint for INTEGER, ENUMERATED, and other <FONT SIZE="-1">Allow SIZE() constraint for INTEGER, ENUMERATED, and other
types for which this constraint is normally prohibited by the standard. types for which this constraint is normally prohibited by the standard.
This is a violation of an ASN.1 standard and compiler may fail to This is a violation of an ASN.1 standard and compiler may fail to
produce the meaningful code.</FONT></TD></TR> produce the meaningful code.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-fnative-types</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-fcompound-names</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Use complex names for C structures. Using complex names prevents
name clashes in case the module reuses the same identifiers in multiple
contexts.</FONT></TD></TR>
</TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-fnative-types</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Use the native machine's data types (int, double) whenever <FONT SIZE="-1">Use the native machine's data types (int, double) whenever
possible, instead of the compound INTEGER_t, ENUMERATED_t and REAL_t possible, instead of the compound INTEGER_t, ENUMERATED_t and REAL_t
types. </FONT></TD></TR> types. </FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-fno-constraints</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-fno-constraints</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
Do not generate ASN.1 subtype constraint checking code. This may make <FONT SIZE="-1">Do not generate ASN.1 subtype constraint checking code. This
a shorter executable.</TD></TR> may produce a shorter executable.</FONT></TD></TR>
</TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-fno-include-deps</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Do not generate courtesy #include lines for non-critical
dependencies.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-funnamed-unions</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-funnamed-unions</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Enable unnamed unions in the definitions of target language's <FONT SIZE="-1">Enable unnamed unions in the definitions of target language's
structures.</FONT></TD></TR> structures.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-ftypes88</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-ftypes88</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Pretend to support only ASN.1:1988 embedded types. Certain <FONT SIZE="-1">Pretend to support only ASN.1:1988 embedded types. Certain
reserved words, such as UniversalString and BMPString, become ordinary reserved words, such as UniversalString and BMPString, become ordinary
type references and may be redefined by the specification.</FONT></TD></TR> type references and may be redefined by the specification.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><B>Output Options</B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><B><FONT SIZE="-1">Output Options</FONT></B></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<B>Description</B></TD></TR> <B><FONT SIZE="-1">Description</FONT></B></TD></TR>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>
-print-constraints</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <FONT SIZE="-1">-print-constraints</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">When -EF are also specified, this option forces the compiler <FONT SIZE="-1">When -EF are also specified, this option forces the compiler
to explain its internal understanding of subtype constraints.</FONT></TD></TR> to explain its internal understanding of subtype constraints.</FONT></TD></TR>
</TBODY><TBODY> </TBODY><TBODY>
<TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP>-print-lines</TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216"> <TR><TD VALIGN=BASELINE ALIGN=LEFT NOWRAP><FONT SIZE="-1">-print-lines</FONT></TD><TD VALIGN=BASELINE ALIGN=LEFT WIDTH="216">
<FONT SIZE="-1">Generate &#34;- #line&#34; comments in -E output.</FONT></TD></TR> <FONT SIZE="-1">Generate &#34;- #line&#34; comments in -E output.</FONT></TD></TR>
</TBODY> </TBODY>
</TABLE> </TABLE>
...@@ -485,7 +494,7 @@ are of interest: ...@@ -485,7 +494,7 @@ are of interest:
<DL> <DL>
<DT><STRONG>ber_decoder</STRONG></DT> <DT><STRONG>ber_decoder</STRONG></DT>
<DD>This is the generic <I>restartable</I><A NAME="tex2html6" <DD>This is the generic <I>restartable</I><A NAME="tex2html6"
HREF="#foot156"><SUP>2.1</SUP></A> BER decoder (Basic Encoding Rules). This decoder would create HREF="#foot181"><SUP>2.1</SUP></A> BER decoder (Basic Encoding Rules). This decoder would create
and/or fill the target structure for you. Please refer to Section and/or fill the target structure for you. Please refer to Section
sub:Decoding-BER. sub:Decoding-BER.
</DD> </DD>
...@@ -719,7 +728,7 @@ DER encoder will essentially do the same thing (i.e., encode the data) ...@@ -719,7 +728,7 @@ DER encoder will essentially do the same thing (i.e., encode the data)
but no callbacks will be invoked (so the data goes nowhere). It may but no callbacks will be invoked (so the data goes nowhere). It may
prove useful to determine the size of the structure's encoding before prove useful to determine the size of the structure's encoding before
actually doing the encoding<A NAME="tex2html7" actually doing the encoding<A NAME="tex2html7"
HREF="#foot225"><SUP>2.2</SUP></A>. HREF="#foot250"><SUP>2.2</SUP></A>.
<P> <P>
Please look into der_encoder.h for the precise definition of der_encode() Please look into der_encoder.h for the precise definition of der_encode()
...@@ -1262,7 +1271,7 @@ END ...@@ -1262,7 +1271,7 @@ END
main() routine shown in the Section <A HREF="#sec:A-Rectangle-Decoder">A Rectangle Decoder</A>) main() routine shown in the Section <A HREF="#sec:A-Rectangle-Decoder">A Rectangle Decoder</A>)
by placing the following snippet of code <I>before</I> encoding and/or by placing the following snippet of code <I>before</I> encoding and/or
<I>after</I> decoding the Rectangle type<A NAME="tex2html8" <I>after</I> decoding the Rectangle type<A NAME="tex2html8"
HREF="#foot898"><SUP>4.1</SUP></A>: HREF="#foot923"><SUP>4.1</SUP></A>:
<P> <P>
...@@ -1732,44 +1741,44 @@ ISBN:0-12-6333361-0. ...@@ -1732,44 +1741,44 @@ ISBN:0-12-6333361-0.
<P> <P>
<BR><HR><H4>Footnotes</H4> <BR><HR><H4>Footnotes</H4>
<DL> <DL>
<DT><A NAME="foot818">... given</A><A <DT><A NAME="foot843">... given</A><A
HREF="asn1c-usage.html#tex2html1"><SUP>1.1</SUP></A></DT> HREF="asn1c-usage.html#tex2html1"><SUP>1.1</SUP></A></DT>
<DD>Please look into Part par:ASN.1-Basics for a quick reference <DD>Please look into Part par:ASN.1-Basics for a quick reference
on how to understand the ASN.1 notation. on how to understand the ASN.1 notation.
</DD> </DD>
<DT><A NAME="foot819">... type</A><A <DT><A NAME="foot844">... type</A><A
HREF="asn1c-usage.html#tex2html2"><SUP>1.2</SUP></A></DT> HREF="asn1c-usage.html#tex2html2"><SUP>1.2</SUP></A></DT>
<DD><I>-fnative-types</I> compiler option is used to produce basic C <I>int</I> <DD><I>-fnative-types</I> compiler option is used to produce basic C <I>int</I>
types instead of infinite width INTEGER_t structures. See <A HREF=#Table1>Table 1</A>. types instead of infinite width INTEGER_t structures. See <A HREF=#Table1>Table 1</A>.
</DD> </DD>
<DT><A NAME="foot820">...asn1c</A><A <DT><A NAME="foot845">...asn1c</A><A
HREF="asn1c-usage.html#tex2html3"><SUP>1.3</SUP></A></DT> HREF="asn1c-usage.html#tex2html3"><SUP>1.3</SUP></A></DT>
<DD>The 1 symbol in asn<B>1</B>c is a digit, not an ''ell'' letter. <DD>The 1 symbol in asn<B>1</B>c is a digit, not an ''ell'' letter.
</DD> </DD>
<DT><A NAME="foot821">... module</A><A <DT><A NAME="foot846">... module</A><A
HREF="asn1c-usage.html#tex2html4"><SUP>1.4</SUP></A></DT> HREF="asn1c-usage.html#tex2html4"><SUP>1.4</SUP></A></DT>
<DD>This is probably <B>not</B> what you want to try out right now - <DD>This is probably <B>not</B> what you want to try out right now -
read through the rest of this chapter and check the <A HREF=#Table1>Table 1</A> read through the rest of this chapter and check the <A HREF=#Table1>Table 1</A>
to find out about <B>-P</B> and <B>-R</B> options. to find out about <B>-P</B> and <B>-R</B> options.
</DD> </DD>
<DT><A NAME="foot156">...restartable</A><A <DT><A NAME="foot181">...restartable</A><A
HREF="asn1c-usage.html#tex2html6"><SUP>2.1</SUP></A></DT> HREF="asn1c-usage.html#tex2html6"><SUP>2.1</SUP></A></DT>
<DD>Restartable means that if the decoder encounters the end of the buffer, <DD>Restartable means that if the decoder encounters the end of the buffer,
it will fail, but may later be invoked again with the rest of the it will fail, but may later be invoked again with the rest of the
buffer to continue decoding. buffer to continue decoding.
</DD> </DD>
<DT><A NAME="foot225">... encoding</A><A <DT><A NAME="foot250">... encoding</A><A
HREF="asn1c-usage.html#tex2html7"><SUP>2.2</SUP></A></DT> HREF="asn1c-usage.html#tex2html7"><SUP>2.2</SUP></A></DT>
<DD>It is actually faster too: the encoder might skip over some computations <DD>It is actually faster too: the encoder might skip over some computations
which aren't important for the size determination. which aren't important for the size determination.
</DD> </DD>
<DT><A NAME="foot898">... type</A><A <DT><A NAME="foot923">... type</A><A
HREF="asn1c-usage.html#tex2html8"><SUP>4.1</SUP></A></DT> HREF="asn1c-usage.html#tex2html8"><SUP>4.1</SUP></A></DT>
<DD>Placing the constraint checking code <I>before</I> encoding helps <DD>Placing the constraint checking code <I>before</I> encoding helps
to make sure you know the data is correct and within constraints before to make sure you know the data is correct and within constraints before
...@@ -1784,7 +1793,7 @@ the application got the valid contents before making use of it. ...@@ -1784,7 +1793,7 @@ the application got the valid contents before making use of it.
</DL><BR><HR> </DL><BR><HR>
<ADDRESS> <ADDRESS>
Lev Walkin Lev Walkin
2005-02-21 2005-03-04
</ADDRESS> </ADDRESS>
</BODY> </BODY>
</HTML> </HTML>
...@@ -71,7 +71,7 @@ status Open ...@@ -71,7 +71,7 @@ status Open
\backslash \backslash
lhead{This document describes lhead{This document describes
\backslash \backslash
href{http://lionet.info/asn1c}{asn1c-0.9.9}} href{http://lionet.info/asn1c}{asn1c-0.9.11}}
\layout Standard \layout Standard
\backslash \backslash
...@@ -459,7 +459,7 @@ collapsed false ...@@ -459,7 +459,7 @@ collapsed false
\begin_inset Tabular \begin_inset Tabular
<lyxtabular version="3" rows="22" columns="2"> <lyxtabular version="3" rows="24" columns="2">
<features islongtable="true"> <features islongtable="true">
<column alignment="left" valignment="top" leftline="true" width="0"> <column alignment="left" valignment="top" leftline="true" width="0">
<column alignment="block" valignment="top" leftline="true" rightline="true" width="3in"> <column alignment="block" valignment="top" leftline="true" rightline="true" width="3in">
...@@ -471,6 +471,7 @@ collapsed false ...@@ -471,6 +471,7 @@ collapsed false
\series bold \series bold
\size small
Overall Options Overall Options
\end_inset \end_inset
</cell> </cell>
...@@ -481,6 +482,7 @@ Overall Options ...@@ -481,6 +482,7 @@ Overall Options
\series bold \series bold
\size small
Description Description
\end_inset \end_inset
</cell> </cell>
...@@ -491,6 +493,8 @@ Description ...@@ -491,6 +493,8 @@ Description
\layout Standard \layout Standard
\size small
-E -E
\end_inset \end_inset
</cell> </cell>
...@@ -512,6 +516,8 @@ Stop after the parsing stage and print the reconstructed ASN.1 specification ...@@ -512,6 +516,8 @@ Stop after the parsing stage and print the reconstructed ASN.1 specification
\layout Standard \layout Standard
\size small
-F -F
\end_inset \end_inset
</cell> </cell>
...@@ -534,6 +540,8 @@ Used together with -E, instructs the compiler to stop after the ASN.1 syntax ...@@ -534,6 +540,8 @@ Used together with -E, instructs the compiler to stop after the ASN.1 syntax
\layout Standard \layout Standard
\size small
-P -P
\end_inset \end_inset
</cell> </cell>
...@@ -555,6 +563,8 @@ Dump the compiled output to the standard output instead of cre- ating the ...@@ -555,6 +563,8 @@ Dump the compiled output to the standard output instead of cre- ating the
\layout Standard \layout Standard
\size small
-R -R
\end_inset \end_inset
</cell> </cell>
...@@ -576,6 +586,8 @@ Restrict the compiler to generate only the ASN.1 tables, omit- ting the usual ...@@ -576,6 +586,8 @@ Restrict the compiler to generate only the ASN.1 tables, omit- ting the usual
\layout Standard \layout Standard
\size small
-S -S
\emph on \emph on
<directory> <directory>
...@@ -598,6 +610,8 @@ Use the specified directory with ASN.1 skeleton files. ...@@ -598,6 +610,8 @@ Use the specified directory with ASN.1 skeleton files.
\layout Standard \layout Standard
\size small
-X -X
\end_inset \end_inset
</cell> </cell>
...@@ -606,6 +620,8 @@ Use the specified directory with ASN.1 skeleton files. ...@@ -606,6 +620,8 @@ Use the specified directory with ASN.1 skeleton files.
\layout Standard \layout Standard
\size small
Generate the XML DTD for the specified ASN.1 modules. Generate the XML DTD for the specified ASN.1 modules.
\end_inset \end_inset
</cell> </cell>
...@@ -618,6 +634,7 @@ Generate the XML DTD for the specified ASN.1 modules. ...@@ -618,6 +634,7 @@ Generate the XML DTD for the specified ASN.1 modules.
\series bold \series bold
\size small
Warning Options Warning Options
\end_inset \end_inset
</cell> </cell>
...@@ -628,6 +645,7 @@ Warning Options ...@@ -628,6 +645,7 @@ Warning Options
\series bold \series bold
\size small
Description Description
\end_inset \end_inset
</cell> </cell>
...@@ -638,6 +656,8 @@ Description ...@@ -638,6 +656,8 @@ Description
\layout Standard \layout Standard
\size small
-Werror -Werror
\end_inset \end_inset
</cell> </cell>
...@@ -658,6 +678,8 @@ Treat warnings as errors; abort if any warning is produced. ...@@ -658,6 +678,8 @@ Treat warnings as errors; abort if any warning is produced.
\layout Standard \layout Standard
\size small
-Wdebug-lexer -Wdebug-lexer
\end_inset \end_inset
</cell> </cell>
...@@ -678,6 +700,8 @@ Enable lexer debugging during the ASN.1 parsing stage. ...@@ -678,6 +700,8 @@ Enable lexer debugging during the ASN.1 parsing stage.
\layout Standard \layout Standard
\size small
-Wdebug-fixer -Wdebug-fixer
\end_inset \end_inset
</cell> </cell>
...@@ -698,6 +722,8 @@ Enable lexer debugging during the ASN.1 parsing stage. ...@@ -698,6 +722,8 @@ Enable lexer debugging during the ASN.1 parsing stage.
\layout Standard \layout Standard
\size small
-Wdebug-compiler -Wdebug-compiler
\end_inset \end_inset
</cell> </cell>
...@@ -720,6 +746,7 @@ Enable debugging during the actual compile time. ...@@ -720,6 +746,7 @@ Enable debugging during the actual compile time.
\series bold \series bold
\size small
Language Options Language Options
\end_inset \end_inset
</cell> </cell>
...@@ -730,6 +757,7 @@ Language Options ...@@ -730,6 +757,7 @@ Language Options
\series bold \series bold
\size small
Description Description
\end_inset \end_inset
</cell> </cell>
...@@ -740,6 +768,8 @@ Description ...@@ -740,6 +768,8 @@ Description
\layout Standard \layout Standard
\size small
-fall-defs-global -fall-defs-global
\end_inset \end_inset
</cell> </cell>
...@@ -748,6 +778,8 @@ Description ...@@ -748,6 +778,8 @@ Description
\layout Standard \layout Standard
\size small
Normally the compiler hides the definitions (asn_DEF_xxx) of the inner structure Normally the compiler hides the definitions (asn_DEF_xxx) of the inner structure
elements (members of SEQUENCE, SET and other types). elements (members of SEQUENCE, SET and other types).
This option makes all such definitions global. This option makes all such definitions global.
...@@ -763,6 +795,8 @@ Normally the compiler hides the definitions (asn_DEF_xxx) of the inner structure ...@@ -763,6 +795,8 @@ Normally the compiler hides the definitions (asn_DEF_xxx) of the inner structure
\layout Standard \layout Standard
\size small
-fbless-SIZE -fbless-SIZE
\end_inset \end_inset
</cell> </cell>
...@@ -786,6 +820,32 @@ Allow SIZE() constraint for INTEGER, ENUMERATED, and other types for which ...@@ -786,6 +820,32 @@ Allow SIZE() constraint for INTEGER, ENUMERATED, and other types for which
\layout Standard \layout Standard
\size small
-fcompound-names
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\size small
Use complex names for C structures.
Using complex names prevents name clashes in case the module reuses the
same identifiers in multiple contexts.
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\size small
-fnative-types -fnative-types
\end_inset \end_inset
</cell> </cell>
...@@ -808,6 +868,8 @@ Use the native machine's data types (int, double) whenever possible, instead ...@@ -808,6 +868,8 @@ Use the native machine's data types (int, double) whenever possible, instead
\layout Standard \layout Standard
\size small
-fno-constraints -fno-constraints
\end_inset \end_inset
</cell> </cell>
...@@ -816,8 +878,10 @@ Use the native machine's data types (int, double) whenever possible, instead ...@@ -816,8 +878,10 @@ Use the native machine's data types (int, double) whenever possible, instead
\layout Standard \layout Standard
\size small
Do not generate ASN.1 subtype constraint checking code. Do not generate ASN.1 subtype constraint checking code.
This may make a shorter executable. This may produce a shorter executable.
\end_inset \end_inset
</cell> </cell>
</row> </row>
...@@ -827,6 +891,30 @@ Do not generate ASN.1 subtype constraint checking code. ...@@ -827,6 +891,30 @@ Do not generate ASN.1 subtype constraint checking code.
\layout Standard \layout Standard
\size small
-fno-include-deps
\end_inset
</cell>
<cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
\begin_inset Text
\layout Standard
\size small
Do not generate courtesy #include lines for non-critical dependencies.
\end_inset
</cell>
</row>
<row topline="true">
<cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
\begin_inset Text
\layout Standard
\size small
-funnamed-unions -funnamed-unions
\end_inset \end_inset
</cell> </cell>
...@@ -847,6 +935,8 @@ Enable unnamed unions in the definitions of target language's structures. ...@@ -847,6 +935,8 @@ Enable unnamed unions in the definitions of target language's structures.
\layout Standard \layout Standard
\size small
-ftypes88 -ftypes88
\end_inset \end_inset
</cell> </cell>
...@@ -871,6 +961,7 @@ Pretend to support only ASN.1:1988 embedded types. ...@@ -871,6 +961,7 @@ Pretend to support only ASN.1:1988 embedded types.
\series bold \series bold
\size small
Output Options Output Options
\end_inset \end_inset
</cell> </cell>
...@@ -881,6 +972,7 @@ Output Options ...@@ -881,6 +972,7 @@ Output Options
\series bold \series bold
\size small
Description Description
\end_inset \end_inset
</cell> </cell>
...@@ -891,6 +983,8 @@ Description ...@@ -891,6 +983,8 @@ Description
\layout Standard \layout Standard
\size small
-print-constraints -print-constraints
\end_inset \end_inset
</cell> </cell>
...@@ -912,6 +1006,8 @@ When -EF are also specified, this option forces the compiler to explain ...@@ -912,6 +1006,8 @@ When -EF are also specified, this option forces the compiler to explain
\layout Standard \layout Standard
\size small
-print-lines -print-lines
\end_inset \end_inset
</cell> </cell>
......
No preview for this file type
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment