]> git.ipfire.org Git - thirdparty/strongswan.git/blobdiff - src/libstrongswan/utils/linked_list.h
Finally removed deprecated iterator_t.
[thirdparty/strongswan.git] / src / libstrongswan / utils / linked_list.h
index fa92d539d7be199bf5334ff06aba0707fe786dce..47c003d329aaced2075ed8653bbb307aeb15df26 100644 (file)
@@ -25,7 +25,6 @@
 
 typedef struct linked_list_t linked_list_t;
 
-#include <utils/iterator.h>
 #include <utils/enumerator.h>
 
 /**
@@ -61,19 +60,6 @@ struct linked_list_t {
         */
        int (*get_count) (linked_list_t *this);
 
-       /**
-        * Creates a iterator for the given list.
-        *
-        * @warning Created iterator_t object has to get destroyed by the caller.
-        *
-        * @deprecated Iterator is obsolete and will disappear, it is too
-        * complicated to implement. Use enumerator instead.
-        *
-        * @param forward       iterator direction (TRUE: front to end)
-        * @return                      new iterator_t object
-        */
-       iterator_t *(*create_iterator) (linked_list_t *this, bool forward);
-
        /**
         * Create an enumerator over the list.
         *