X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=doc%2Fpod%2Flist.pod;fp=doc%2Fpod%2Flist.pod;h=0000000000000000000000000000000000000000;hb=b7a32e2d73e3ab1add8208d3e157f7269a31ef4d;hp=6b9f63114eeb09b5803664a5f7e9782b7b473dd8;hpb=ac902a8299ff4469b356836f431ead31c3377377;p=innduct.git diff --git a/doc/pod/list.pod b/doc/pod/list.pod deleted file mode 100644 index 6b9f631..0000000 --- a/doc/pod/list.pod +++ /dev/null @@ -1,83 +0,0 @@ -=head1 NAME - -list - list routines - -=head1 SYNOPSIS - -B<#include Einn/list.hE> - -struct node { - struct node *succ; - struct node *pred; -}; - -struct list { - struct node *head; - struct node *tail; - struct node *tailpred; -}; - -BIB<);> - -BIB<, struct node *>IB<);> - -BIB<, struct node *>IB<);> - -BIB<);> - -BIB<);> - -BIB<);> - -BIB<);> - -BIB<);> - -BIB<);> - -BIB<);> - -BIB<, struct node *>IB<, struct node *>IB<);> - -BIB<);> - -=head1 DESCRIPTION - -B initialises the list header I so as to create an -empty list. - -B adds I to the head of I, returning the node -just added. - -B adds I to the tail of I, returning the node -just added. - -B returns a pointer to the the node at the head of I -or B if the list is empty. - -B returns a pointer to the the node at the tail of I -or B if the list is empty. - -B returns the next (successor) node on the list after -I or B if I was the final node. - -B returns the previous (predecessor) node on the list before -I or B if I was the first node. - -B removes the first node from I and returns it to -the caller. If the list is empty B is returned. - -B removes the last node from I and returns it to -the caller. If the list is empty B is returned. - -B removes I from the list it is on and returns it -to the caller. - -B inserts I onto I after the node I. If -I is B then I is added to the head of I. - -=head1 HISTORY - -Written by Alex Kiernan for InterNetNews 2.4.0. - -$Id: list.pod 6168 2003-01-21 06:27:32Z alexk $