List header.
Source position: exec.pas line 200
type TList = packed record |
||
lh_Head: PNode; |
|
Pointer to first node in list. |
lh_Tail: PNode; |
|
Pointer to last node in list. |
lh_TailPred: PNode; |
|
Pointer to node before last node in list. |
lh_Type: Byte; |
|
Type of List (NT_*) |
lh_pad: Byte; |
|
|
end; |
Exec system lists, which are used to link various things. Exec provides several routines to handle list processing, so you can use these routines to save yourself the trouble of writing a list package.
|
Insert a node at the head of a list |
|
|
Append node to tail of a list |
|
|
Remove the head node from a list |
|
|
Remove the tail node from a list |
|
|
Remove a node from a list |
|
|
Insert or append node to a system list |
|
|
Insert a node into a list |
|
|
Find a node in a system list by name |