aboutsummaryrefslogtreecommitdiffstats
path: root/lib/asn1/doc/src/asn1ct.xml
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2011-07-05 18:19:17 +0200
committerLukas Larsson <[email protected]>2011-08-01 16:38:20 +0200
commit0f54e7f02656b6634ae15870c2af272a4d8c4eac (patch)
tree9eb59b670029a60c4a6512f60fa828cdd7bf8226 /lib/asn1/doc/src/asn1ct.xml
parent802ac96adf90d4f8868f1a0b49cb912d4796efb8 (diff)
downloadotp-0f54e7f02656b6634ae15870c2af272a4d8c4eac.tar.gz
otp-0f54e7f02656b6634ae15870c2af272a4d8c4eac.tar.bz2
otp-0f54e7f02656b6634ae15870c2af272a4d8c4eac.zip
Update documentation with replacement of driver with nif
Diffstat (limited to 'lib/asn1/doc/src/asn1ct.xml')
-rw-r--r--lib/asn1/doc/src/asn1ct.xml29
1 files changed, 7 insertions, 22 deletions
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml
index 2c8bef5dd8..d7c2572dc8 100644
--- a/lib/asn1/doc/src/asn1ct.xml
+++ b/lib/asn1/doc/src/asn1ct.xml
@@ -52,7 +52,7 @@
<v>Options = [Option| OldOption]</v>
<v>Option = ber_bin | per_bin | uper_bin | der | compact_bit_string |
noobj | {n2n,EnumTypeName} |{outdir,Dir} | {i,IncludeDir} | optimize |
- driver | asn1config | undec_rest | {inline,OutputName} | inline |
+ nif | asn1config | undec_rest | {inline,OutputName} | inline |
{macro_name_prefix, Prefix} | {record_name_prefix, Prefix} | verbose</v>
<v>OldOption = ber | per</v>
<v>Reason = term()</v>
@@ -212,24 +212,21 @@ Binary = binary()
<c>per_bin</c>
or <c>ber_bin</c> option. It gives time optimized code
generated and it uses another runtime module and
- in the <c>per_bin</c> case a linked-in driver. The result
+ in the <c>per_bin</c> case a nif. The result
in the <c>per_bin</c> case from an encode when compiled
with this option will be a binary.</p>
</item>
<tag><c>driver</c></tag>
<item>
- <p>Option valid together with <c>ber_bin</c> and <c>optimize</c>
- options. It enables the use of a linked-in driver that gives
- considerable faster decode. In <c>ber_bin</c> the driver is
- enabled only by explicit use of the option <c>driver</c>.</p>
+ <p>As of R15B this means the same as the <c>nif</c> option. Kept for
+ backwards compatability reasons.</p>
</item>
<tag><c>nif</c></tag>
<item>
<p>Option valid together with <c>ber_bin</c> and <c>optimize</c>
- or <c>per_bin</c> and <c>optimize</c> options. It enables the
- use of several nifs that gives faster decode for
- ber and encode for per than the driver options gives. Nifs are
- only enabled by the explicit use of the option <c>nif</c></p>
+ options. It enables the use of several nifs that gives faster
+ decode. Nifs are only enabled by the explicit use of the option
+ <c>nif</c></p>
</item>
<tag><c>asn1config</c></tag>
<item>
@@ -351,18 +348,6 @@ Binary = binary()
</desc>
</func>
<func>
- <name>validate(Module,Type,Value) -> ok | {error,Reason}</name>
- <fsummary>Validate an ASN.1 value.</fsummary>
- <type>
- <v>Module = Type = atom()</v>
- <v>Value = term()</v>
- </type>
- <desc>
- <p>Validates that <c>Value</c> conforms to <c>Type</c>
- from <c>Module</c>. <em>Not implemented in this version of the ASN.1 application.</em></p>
- </desc>
- </func>
- <func>
<name>value(Module ,Type) -> {ok,Value} | {error,Reason}</name>
<fsummary>Create an ASN.1 value for test purposes.</fsummary>
<type>