From 0f54e7f02656b6634ae15870c2af272a4d8c4eac Mon Sep 17 00:00:00 2001
From: Lukas Larsson
Date: Tue, 5 Jul 2011 18:19:17 +0200
Subject: Update documentation with replacement of driver with nif
---
lib/asn1/doc/src/asn1rt.xml | 65 ++++-----------------------------------------
1 file changed, 5 insertions(+), 60 deletions(-)
(limited to 'lib/asn1/doc/src/asn1rt.xml')
diff --git a/lib/asn1/doc/src/asn1rt.xml b/lib/asn1/doc/src/asn1rt.xml
index 1217a07e9b..0c3c257189 100644
--- a/lib/asn1/doc/src/asn1rt.xml
+++ b/lib/asn1/doc/src/asn1rt.xml
@@ -4,7 +4,7 @@
- 19972009
+ 19972011
Ericsson AB. All Rights Reserved.
@@ -41,36 +41,6 @@
-
- start() -> ok |{error,Reason}
- Starts the asn1 server.
-
- Reason = term()
-
-
- Starts the asn1 server that loads the drivers.
- The server schedules a driver that is not blocked by
- another caller. The driver is used by the asn1 application if
- specs are compiled with options [per_bin, optimize] or
- [ber_bin, optimize, driver]. The server will be started
- automatically at encode/decode if it isn't done explicitly. If
- encode/decode with driver is used in test or industrial code
- it is a performance gain to start it explicitly to avoid the
- one time load in run-time.
-
-
-
-
- stop() -> ok |{error,Reason}
- Stops the asn1 server.
-
- Reason = term()
-
-
- Stops the asn1 server and unloads the drivers.
-
-
-
decode(Module,Type,Bytes) -> {ok,Value}|{error,Reason}
Decode from bytes into an ASN.1 value.
@@ -126,35 +96,23 @@
load_driver() -> ok | {error,Reason}
- Loads the linked-in driver.
+ Loads the linked-in driver. (deprecated)
Reason = term()
- This function loads the linked-in driver before the first call
- to encode. If this function is not called the driver will be loaded
- automatically at the first call to encode. If one doesn't want the
- performance cost of a driver load when the application is running,
- this function makes it possible to load the driver in an
- initialization.
- The driver is only used when encoding/decoding ASN.1 files that
- were compiled with the options per_bin and optimize.
+ This function is obsolete and will be removed in R16A
unload_driver() -> ok | {error,Reason}
- Unloads the linked-in driver.
+ Unloads the linked-in driver. (deprecated)
Reason = term()
- This function unloads the linked-in driver.
- When the driver has been loaded it remains in the environment until
- it is unloaded. Normally the driver should remain loaded, it is
- crucial for the performance of ASN.1 encoding.
- The driver is only used when ASN.1 modules have been compiled
- with the flags per_bin and optimize.
+ This function is obsolete and will be removed in R16A
@@ -188,19 +146,6 @@
value, to a UTF8 encoded binary.
-
-
- validate(Module,Type,Value) -> ok | {error,Reason}
- Validate an ASN.1 value.
-
- Module = Type = atom()
- Value = term()
-
-
- Validates that Value conforms to Type
- from Module. Not implemented in this version of the ASN.1 application.
-
-
--
cgit v1.2.3