\
/*\
 * chains.c\
 * This module contains stuff that ought to get macroized.\
 * [eichin:19880331.2032EST]\
 */\
\
\
/*\
 * DEC: assumes that the refptr is NOT at the first location.\
 */\
/*\
 * no assumptions?\
 */\
\
/*\
 * Here some things get a tad confusing:\
 * NEXT_FORWARD: the next block is begun at the beginning, this is at\
 * 		the end.\
 * NEXT_BACKWARD: the previous block is at the end, this is\
 * 		at the beginning.\
 * NEXT_FORWARD_UNALIGNED: the next block is begun at the beginning,\
 * 		this is NOT at end.\
 * NEXT_BACKWARD_UNALIGNED: this is at the beginning, but the previous\
 * 		block is NOT at end.\
 *\
 * So, blocks always begin at the beginning, but they may end at\
 * different places; we must always be able to tell from either end\
 * what to do. [though perhaps we could just know at one end...]\
 */\
\
/*\
 * useup: takes a pointer (to a `beginning' of a list) and eats the\
 * current element; if it skips a block, it frees that. Maintains the\
 * `BEGIN' pointer as needed.\
 *\
 * It should really check the following conditions:\
 * 	NEXT_FORWARD_UNALIGN (and free on it)\
 * 	END.notend in the new item: free the block AND `break'...\
 * 	END.end in the new item: same?\
 */\
/*\
 * back_trace: goes back to the start of this `block' and then frees\
 * the whole thing. Assumes a BEGIN tag, so that it can actually free\
 * it...\
 */\
\
\
\
/*\
 * Since we spec rope[0] = { BEGIN, endptr }, anything that adds to\
 * the end of a chain just needs to reference through the first\
 * element. Such as:\
 * wire->data.NEXT->{data,tag}\
 */\
\
/*\
 * special case for events:\
 */\
\
\
\
\
\
