, char *I, size_t I);
Attach the storage array starting at I with size I at the end of
-the assembly list. Its content becomes part of the assembly list
-and is subject to assembly list operations. The storage array must stay
-in scope for the whole life time of the assembly list, there is no way
-to detach it from the assembly list.
+the assembly line. Its content becomes part of the assembly line
+and is subject to assembly line operations. The storage array must stay
+in scope for the whole life time of the assembly line, there is no way
+to detach it from the assembly line.
Example: C
@@ -201,21 +201,21 @@
B.
I and I are byte counts that define a span of bytes within the
-source assembly list I. These bytes are moved to the target list
-I while the content of the new list I is moved to the source
+source assembly line I. These bytes are moved to the target assembly line
+I while the content of the new assembly line I is moved to the source
to replace the selected span.
There are two deviations from the Perl operator to avoid copying:
-The move to the target list I appends the data to its end.
-The move from the new list I removes the data from its origin.
+The move to the target assembly line I appends the data to its end.
+The move from the new assembly line I removes the data from its origin.
-The target list I may be B, the data bytes that would
+The target assembly line I may be B, the data bytes that would
be moved to the target are then discarded. This avoids creation
and destruction of a dummy target.
-The new list I may be B, then nothing is inserted into
-the source. This avoids creation and destruction of an empty list.
+The new assembly line I may be B, then nothing is inserted into
+the source. This avoids creation and destruction of an empty assembly line.
Examples:
@@ -254,7 +254,7 @@
=item size_t B(const al_t *I);
-Returns the number of bytes stored in the assembly list.
+Returns the number of bytes stored in the assembly line.
Example: C
@@ -278,25 +278,25 @@
=item al_rc_t B(al_t *I, size_t I, size_t I, al_td_t I, al_tx_t *I);
-Start traversing the assembly list I beginning at byte offset I
+Start traversing the assembly line I beginning at byte offset I
for up to I bytes in direction I. The state of the traversal is
stored in the supplied context I.
-This function fails when the offset is outside the assembly list bounds.
+This function fails when the offset is outside the assembly line bounds.
=item al_rc_t B(al_t *I, al_tx_t *I, al_chunk_t **I);
-Complete a traversal step on the assembly list I using the initialized
+Complete a traversal step on the assembly line I using the initialized
context I. In each step a chunk descriptor is filled and stored in
I. All bytes of the chunk are guaranteed to be stored in a flat
array and can be accessed through the chunk operations described below.
The function returns AL_ERR_EOF when it passes the end (or beginning
-in case of backward traversal) of the list.
+in case of backward traversal) of the assembly line.
=item al_rc_t B(al_t *I, size_t I, size_t I, al_td_t I, al_rc_t (*I)(al_chunk_t *, void *), void *u);
-B is a wrapper function that does a full list traversal in
+B is a wrapper function that does a full assembly line traversal in
a single call. In every step a chunk descriptor is passed to the callback
function I together with a user supplied pointer I. When the
callback function returns AL_OK the traversal continues, when it returns
@@ -313,10 +313,10 @@
=item al_rc_t B(al_t *I, size_t I, size_t I, char *I, size_t *I);
I and I are byte counts that define a span of bytes with the
-assembly list I. These bytes are copied to the storage array I
+assembly line I. These bytes are copied to the storage array I
which must be sized appropriately.
I must be a valid offset, I must be positive but may exceed
-the size of the assembly list.
+the size of the assembly line.
The actual number of bytes that is copied to the destination is stored
in I.
@@ -331,10 +331,10 @@
=item al_rc_t B(al_t *I, size_t I, size_t I, al_t *I and I are byte counts that define a span of bytes within the
-assembly list I. These bytes are appended to the target list I,
+assembly line I. These bytes are appended to the target assembly line I,
memory is allocated as necessary.
I must be a valid offset, I must be positive but may exceed
-the size of the assembly list.
+the size of the assembly line.
Example:
Index: ossp-pkg/sio/al_test.c
RCS File: /v/ossp/cvs/ossp-pkg/sio/Attic/al_test.c,v
rcsdiff -q -kk '-r1.7' '-r1.8' -u '/v/ossp/cvs/ossp-pkg/sio/Attic/al_test.c,v' 2>/dev/null
--- al_test.c 2002/10/16 14:20:48 1.7
+++ al_test.c 2002/10/17 15:02:49 1.8
@@ -1,5 +1,5 @@
/*
-** OSSP al -- Assembly Lists
+** OSSP al -- Assembly Line
** Copyright (c) 2002 The OSSP Project
** Copyright (c) 2002 Cable & Wireless Deutschland
** Copyright (c) 2002 Ralf S. Engelschall
@@ -26,7 +26,7 @@
** OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
** SUCH DAMAGE.
**
-** al_test.c: assembly lists library, minimal test suite
+** al_test.c: assembly line library, minimal test suite
*/
#include