--- al.h 2002/10/14 08:04:46 1.1
+++ al.h 2002/10/14 12:32:16 1.2
@@ -30,13 +30,14 @@
al_rc_t al_append_bytes(al_t *al, const char *src, size_t n);
al_rc_t al_prepend_bytes(al_t *al, const char *src, size_t n);
al_rc_t al_attach_buffer(al_t *al, char *p, size_t n);
-al_rc_t al_splice(al_t *al, size_t off, size_t n, al_t *tal);
-al_rc_t al_truncate(al_t *al, size_t off, size_t n);
+al_rc_t al_splice(al_t *al, size_t off, size_t n, al_t *nal, al_t *tal);
+al_rc_t al_txalloc(al_t *al, al_tx_t **txpp);
+al_rc_t al_txfree(al_t *al, al_tx_t *txp);
al_rc_t al_traverse(al_t *al, size_t off, size_t n, al_td_t dir, al_tx_t *txp);
al_rc_t al_traverse_next(al_t *al, al_tx_t *txp, al_chunk_t **alcp);
al_rc_t al_traverse_cb(al_t *al, size_t off, size_t n, al_td_t dir,
al_rc_t (*cb)(al_chunk_t *, void *), void *u);
-al_rc_t al_flatten(al_t *al, size_t off, size_t n, char *dst);
+al_rc_t al_flatten(al_t *al, size_t off, size_t n, char *dst, size_t *lenp);
size_t al_bytes(const al_t *al);
size_t al_chunk_len(al_chunk_t *alc);
|