]>
git.saurik.com Git - apple/security.git/blob - OSX/libsecurity_transform/lib/LinkedList.cpp
1 #include "LinkedList.h"
5 LinkedListHeader::LinkedListHeader()
7 mBackward
= mForward
= this;
12 LinkedListHeader::~LinkedListHeader()
15 mBackward
->mForward
= mForward
;
16 mForward
->mBackward
= mBackward
;
21 void LinkedListHeader::InsertAfter(LinkedListHeader
* header
)
24 header
->mForward
= mForward
;
25 mForward
->mBackward
= header
;
26 header
->mBackward
= this;