#include <astobj2.h>
Data Fields | |
int | bucket |
struct ao2_container * | c |
unsigned int | c_version |
int | flags |
void * | obj |
unsigned int | version |
You are not supposed to know the internals of an iterator! We would like the iterator to be opaque, unfortunately its size needs to be known if we want to store it around without too much trouble. Anyways... The iterator has a pointer to the container, and a flags field specifying various things e.g. whether the container should be locked or not while navigating on it. The iterator "points" to the current object, which is identified by three values:
Definition at line 555 of file astobj2.h.
int bucket |
struct ao2_container* c [read] |
the container
Definition at line 557 of file astobj2.h.
Referenced by ao2_iterator_destroy(), ao2_iterator_init(), and ao2_iterator_next().
unsigned int c_version |
int flags |
operation flags
Definition at line 559 of file astobj2.h.
Referenced by ao2_iterator_init(), and ao2_iterator_next().
void* obj |
pointer to the current object
Definition at line 565 of file astobj2.h.
Referenced by ao2_iterator_next().
unsigned int version |
container version when the object was created
Definition at line 567 of file astobj2.h.
Referenced by ao2_iterator_next().