X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/72a12576750f52947eb043106ba5c12c0d07decf..b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195:/libsecurity_transform/lib/LinkedList.h diff --git a/libsecurity_transform/lib/LinkedList.h b/libsecurity_transform/lib/LinkedList.h new file mode 100644 index 00000000..75eddfae --- /dev/null +++ b/libsecurity_transform/lib/LinkedList.h @@ -0,0 +1,22 @@ +#ifndef __LINKED_LIST__ +#define __LINKED_LIST__ + + +class LinkedListHeader +{ +protected: + LinkedListHeader *mBackward; + LinkedListHeader *mForward; + +public: + LinkedListHeader(); + virtual ~LinkedListHeader(); + + void InsertAfter(LinkedListHeader* header); + LinkedListHeader* Forward() {return mForward;} + LinkedListHeader* Backward() {return mBackward;} +}; + + + +#endif