--- al.h 2002/10/22 15:33:16 1.13
+++ al.h 2002/10/23 16:49:29 1.14
@@ -50,7 +50,9 @@
typedef enum {
AL_FORWARD,
- AL_BACKWARD
+ AL_BACKWARD,
+ AL_FORWARD_SPAN,
+ AL_BACKWARD_SPAN
} al_td_t;
struct al_tx_st;
@@ -69,7 +71,8 @@
al_rc_t al_traverse_cb (al_t *al, size_t off, size_t n, al_td_t dir, al_label_t, al_rc_t (*cb)(al_chunk_t *, void *), void *u);
al_rc_t al_copy (al_t *al, size_t off, size_t n, al_label_t label, al_t *tal);
al_rc_t al_splice (al_t *al, size_t off, size_t n, al_t *nal, al_t *tal);
-al_rc_t al_flatten (al_t *al, size_t off, size_t n, al_label_t label, char *dst, size_t *lenp);
+al_rc_t al_flatten (al_t *al, size_t off, size_t n, al_td_t dir, al_label_t label, char *dst, size_t *lenp);
+al_rc_t al_firstlabel (al_t *al, size_t off, size_t n, al_td_t dir, al_label_t label, al_label_t *labelp);
size_t al_bytes (const al_t *al);
size_t al_chunk_len (al_chunk_t *alc);
|